1 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
3 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
4 (generic_memcpy): Include generic C memcpy.
5 * benchtests/bench-memmove.c (simple_memmove): Remove.
6 (generic_memmove): Include generic C memmove.
7 * benchtests/bench-memset.c (simple_memset): Remove.
8 (generic_memset): Include generic C memset.
9 * benchtests/bench-memset-large.c (simple_memset): Remove.
10 (generic_memset): Include generic C memset.
11 * benchtests/bench-memset-walk.c (simple_memset): Remove.
12 (generic_memset): Include generic C memset.
13 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
14 * string/memset.c (MEMSET): Likewise.
15 * sysdeps/x86_64/memcopy.h: Remove empty file.
17 2019-08-30 Florian Weimer <fweimer@redhat.com>
19 nptl: Move pthread_attr_getinheritsched implementation into libc.
20 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
21 (libpthread-routines): Remove pthread_attr_getinheritsched.
22 * nptl/Versions (libpthread GLIBC_2.0): Remove
23 pthread_attr_getinheritsched.
24 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
25 * nptl/nptl-init.c (pthread_functions): Remove initializer for
26 ptr_pthread_attr_getinheritsched.
27 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
28 Remove ptr_pthread_attr_getinheritsched member.
29 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
30 Remove pthread_attr_getinheritsched.
31 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
33 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
35 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
37 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
39 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
41 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
43 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
45 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
46 (GLIBC_2.4): Likewise.
47 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
48 (GLIBC_2.0): Likewise.
49 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
50 (GLIBC_2.18): Likewise.
51 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
52 (GLIBC_2.18): Likewise.
53 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
54 (GLIBC_2.0): Likewise.
55 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
56 (GLIBC_2.0): Likewise.
57 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
59 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
60 (GLIBC_2.0): Likewise.
61 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
62 (GLIBC_2.3): Likewise.
63 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
64 (GLIBC_2.17): Likewise.
65 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
66 (GLIBC_2.27): Likewise.
67 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
68 (GLIBC_2.0): Likewise.
69 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
70 (GLIBC_2.2): Likewise.
71 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
73 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
75 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
76 (GLIBC_2.0): Likewise.
77 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
78 (GLIBC_2.2): Likewise.
79 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
80 (GLIBC_2.2.5): Likewise.
81 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
82 (GLIBC_2.16): Likewise.
84 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
86 * sysdeps/mach/hurd/getcwd.c
87 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
88 slash if we got an unknown root directory. (__getcwd): Do not fail with
89 EGRATUITOUS if we got an unknown root directory.
90 * hurd/hurdselect.c (SELECT_ERROR): New macro.
92 - Add `error' field to `d' structures array.
93 - If a poll descriptor is bogus, set EBADF, but continue with a zero
95 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
96 EBADF there is any bit set above _hurd_dtablesize.
97 - Do not request io_select on bogus descriptors (SELECT_ERROR).
98 - On io_select request error, record the error.
99 - On io_select bogus reply, use EIO error code.
100 - On io_select bogus or error reply, record the error.
101 - Do not destroy reply port for bogus FDs.
102 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
103 EBADF case, or else POLLERR.
104 - On error, make select simulated readiness.
107 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
110 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
111 unlocks SS and returns to the saved PC.
112 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
113 thread stack instead of the saved PC.
115 2019-08-30 Richard Braun <rbraun@sceen.net>
117 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
119 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
120 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
121 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
123 (_hurd_select): Replace the call to __io_select with either
124 __io_select_request or __io_select_timeout_request, depending on the
125 timeout. Count the number of ready descriptors (replies for which at
126 least one type bit is set). Implement the timeout locally when there is
129 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
131 * elf/dl-addr.c (determine_info): Calculate the symbol index
132 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
133 * elf/dl-lookup.c (do_lookup_x): Ditto.
134 (_dl_setup_hash): Initialize MIPS xhash translation table.
135 * elf/elf.h (SHT_MIPS_XHASH): New define.
136 (DT_MIPS_XHASH): New define.
137 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
139 (ELF_MACHINE_HASH_SYMIDX): Ditto.
140 (ELF_MACHINE_XHASH_SETUP): Ditto.
141 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
143 (ELF_MACHINE_HASH_SYMIDX): Ditto.
144 (ELF_MACHINE_XHASH_SETUP): Ditto.
145 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
146 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
148 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
150 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
152 * sysdeps/sh/preconfigure.ac: New file.
153 * sysdeps/sh/preconfigure: Regenerate.
154 * sysdeps/sh/be/sh3/Implies: New file.
155 * sysdeps/sh/be/sh4/Implies: Likewise.
156 * sysdeps/sh/le/sh3/Implies: Likewise.
157 * sysdeps/sh/le/sh4/Implies: Likewise.
158 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
159 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
160 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
161 sysdeps/unix/sysv/linux/sh/le/*.abilist.
162 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
164 * sysdeps/microblaze/preconfigure.ac: New file.
165 * sysdeps/microblaze/preconfigure: Regenerate.
166 * sysdeps/microblaze/be/implies: New file.
167 * sysdeps/microblaze/le/implies: Likewise.
168 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
169 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
170 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
171 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
172 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
174 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
175 * sysdeps/arm/preconfigure: Regenerate.
176 * sysdeps/arm/be/Implies: New file.
177 * sysdeps/arm/be/armv6/Implies: Likewise.
178 * sysdeps/arm/be/armv6t2/Implies: Likewise.
179 * sysdeps/arm/be/armv7/Implies: Likewise.
180 * sysdeps/arm/le/Implies: Likewise.
181 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
182 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
183 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
184 sysdeps/unix/sysv/linux/arm/le/*.abilist.
185 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
187 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
189 Fix posix/tst-regex by using UTF-8 and own test input
190 Problem reported by Stefan Liebler in:
191 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
192 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
193 (do_test, test_expr): Adjust to the fact that this source file,
194 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
195 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
196 so that it is now UTF-8.
198 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
200 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
201 (fegetenv_status): Generate 'mffsl' unconditionally.
203 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
205 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
207 (_FPU_MASK_ALL): Delete.
209 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
211 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
212 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
214 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
215 with simpler required steps, set fewer FPSCR bits if possible.
217 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
219 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
220 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
221 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
222 weight access to FPSCR; remove unnecessary second FPSCR read and
224 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
225 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
226 access to FPSCR; Use macros in fenv_libc.h in favor of local.
228 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
230 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
231 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
232 (fenv_exceptions_to_reg): New.
233 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
234 operation with call to fenv_exceptions_to_reg().
235 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
237 2019-08-28 Florian Weimer <fweimer@redhat.com>
239 * misc/mntent.c (struct mntent_buffer): Define.
240 (mntent_buffer): Adjust type to void *.
241 (allocate): Adjust for allocate_once.
242 (deallocate): New function.
243 (getmntent): Call allocate_once.
245 2019-08-28 Florian Weimer <fweimer@redhat.com>
247 nptl: Move pthread_attr_setdetachstate implementation into libc.
248 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
249 (libpthread-routines): Remove pthread_attr_setdetachstate.
250 * nptl/Versions (libpthread GLIBC_2.0): Remove
251 pthread_attr_setdetachstate.
252 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
253 * nptl/nptl-init.c (pthread_functions): Remove initializer for
254 ptr_pthread_attr_setdetachstate.
255 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
256 Remove ptr_pthread_attr_setdetachstate member.
257 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
258 Remove pthread_attr_setdetachstate.
259 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
261 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
263 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
265 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
267 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
269 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
271 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
272 (GLIBC_2.4): Likewise.
273 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
274 (GLIBC_2.0): Likewise.
275 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
276 (GLIBC_2.18): Likewise.
277 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
278 (GLIBC_2.0): Likewise.
279 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
280 (GLIBC_2.0): Likewise.
281 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
284 (GLIBC_2.0): Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
286 (GLIBC_2.3): Likewise.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
288 (GLIBC_2.17): Likewise.
289 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
290 (GLIBC_2.27): Likewise.
291 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
292 (GLIBC_2.0): Likewise.
293 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
294 (GLIBC_2.2): Likewise.
295 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
297 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
298 (GLIBC_2.0): Likewise.
299 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
300 (GLIBC_2.2): Likewise.
301 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
302 (GLIBC_2.2.5): Likewise.
303 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
304 (GLIBC_2.16): Likewise.
306 2019-08-28 Florian Weimer <fweimer@redhat.com>
309 * login/Makefile (tests): Add tst-pututxline-lockfail.
310 (tst-pututxline-lockfail): Link with -lpthread.
311 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
312 (__libc_getutid_r): Adjust.
313 (__libc_pututline): Likewise. Check for file_offset == -1.
314 * login/tst-pututxline-lockfail.c: New file.
316 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
318 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
319 * posix/tst-regex.input: New file.
321 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
324 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
326 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
327 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
328 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
329 * sysdeps/mips/tst-undefined-weak.c: Likewise.
330 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
331 Increment highest valid ABIVERSION value.
333 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
335 * sysdeps/unix/sysv/linux/mips/Makefile
336 (test-xfail-check-execstack):
337 Move under mips-has-gnustack != yes.
338 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
339 Apply -Wa,-execstack if mips-force-execstack == yes.
340 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
341 * sysdeps/unix/sysv/linux/mips/configure.ac
342 (mips-force-execstack): New var.
343 Set to yes for hard-float builds with minimum_kernel < 4.8.0
344 or minimum_kernel not set at all.
345 (mips-has-gnustack): New var.
346 Use value of libc_cv_as_noexecstack
347 if mips-force-execstack != yes, otherwise set to no.
349 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
350 Florian Weimer <fweimer@redhat.com>
352 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
353 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
354 Make a compat_symbol.
355 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
356 (__profil_counter_global): Likewise.
358 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
359 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
361 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
362 sigcontext_get_pc and return aligned cast to uintptr_t.
363 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
364 * sysdeps/posix/profil.c (profil_count): Change PC argument to
366 (__profil): Use SA_SIGINFO.
367 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
369 (__sprofil): Use SA_SIGINFO.
370 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
371 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
372 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
373 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
374 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
375 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
376 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
377 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
378 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
379 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
380 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
381 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
382 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
383 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
384 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
385 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
386 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
387 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
388 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
389 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
390 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
391 GET_PC, __sigaction, sigaction): Remove defines.
392 (sigcontext_get_pc): New function.
393 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
394 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
395 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
396 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
397 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
398 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
399 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
400 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
401 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
402 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
403 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
404 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
405 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
406 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
407 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
408 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
410 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
411 Handle CTX argument as ucontext_t.
412 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
414 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
415 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
416 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
417 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
418 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
419 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
420 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
421 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
422 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
423 tst-sigcontextinfo-get_pc.
424 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
425 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
427 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
429 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
432 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
435 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
436 * localedata/locales/ug_CN (first_weekday): Likewise.
437 * localedata/locales/zh_CN (first_weekday): Likewise.
439 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
441 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
442 field name in mcontext_t struct.
444 2019-08-22 Joseph Myers <joseph@codesourcery.com>
446 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
447 unsupported with libidn2 before 2.0.5.
448 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
450 * manual/time.texi (strftime): Document %Ob and %OB as C2X
453 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
455 Remove dead regex code
456 * posix/regex_internal.c (re_node_set_insert):
457 Remove unnecessary assignment. Reported by Tim Rühsen in:
458 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
460 Fix bad pointer / leak in regex code
461 This was found by Coverity (CID 1484201). [BZ#24844]
462 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
463 pointer and/or memory leak when storage is exhausted.
465 2019-08-21 Zack Weinberg <zackw@panix.com>
467 * misc/syslog.c (__vsyslog_internal)
468 * time/getdate.c (__getdate_r)
469 * time/tst_wcsftime.c (main):
470 Use return value of time, not its argument.
472 * string/strfry.c (strfry)
473 * sysdeps/mach/sleep.c (__sleep):
474 Remove unnecessary casts of NULL in calls to time.
476 2019-08-21 Joseph Myers <joseph@codesourcery.com>
478 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
479 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
480 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
481 (__TGMATH_2_NARROW_F): Likewise.
482 (__TGMATH_2_NARROW_D): New macro.
483 (__TGMATH_2_NARROW_F16): Likewise.
484 (__TGMATH_2_NARROW_F32): Likewise.
485 (__TGMATH_2_NARROW_F64): Likewise.
486 (__TGMATH_2_NARROW_F32X): Likewise.
487 (__TGMATH_2_NARROW_F64X): Likewise.
488 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
489 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
490 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
491 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
492 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
493 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
494 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
495 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
496 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
497 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
498 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
499 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
500 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
501 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
503 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
505 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
507 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
509 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
511 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
513 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
515 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
517 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
518 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
519 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
520 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
521 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
522 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
523 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
524 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
525 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
527 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
529 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
531 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
533 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
534 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
535 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
536 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
537 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
538 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
539 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
540 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
541 * math/gen-tgmath-tests.py (Type): Add members
542 non_standard_real_argument_types_list, long_double_type,
543 complex_float64_type and float32x_ext_type.
544 (Type.__init__): Set the new members.
545 (Type.floating_type): Add new argument floatn.
546 (Type.real_floating_type): Likewise.
547 (Type.can_combine_types): Likewise.
548 (Type.combine_types): Likewise.
549 (Type.init_types): Create internal Float32x_ext type.
550 (Tests.__init__): Define Float32x_ext in generated C code.
551 (Tests.add_tests): Handle narrowing functions.
552 (Tests.add_all_tests): Likewise.
553 (Tests.tests_text): Allow variation in mant_dig for narrowing
554 functions with compilers before GCC 8.
555 * math/Makefile (tgmath3-narrow-types): New variable.
556 (tgmath3-narrow-macros): Likewise.
557 (tgmath3-macros): Add $(tgmath3-narrow-macros).
559 2019-08-20 Andreas Schwab <schwab@suse.de>
561 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 2019-08-19 Carlos O'Donell <carlos@redhat.com>
565 * nscd/nscd.conf: Add warning and comment about shared option.
567 2019-08-19 Carlos O'Donell <carlos@redhat.com>
569 * nss/nsswitch.conf: Expand comments, and simplify defaults.
570 * manual/nss.texi (NSS Basics): List all known databases.
571 (Services in the NSS configuration): Mention automount.
573 2019-08-19 Florian Weimer <fweimer@redhat.com>
575 Do not print backtraces on fatal errors.
576 * debug/fortify_fail.c (__libc_argv): Remove declaration.
577 (__fortify_fail_abort): Remove definition.
578 (__fortify_fail): Call __libc_message directly.
579 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
580 (__stack_chk_fail): Call __fortify_fail instead of
581 __fortify_fail_abort.
582 * include/stdio.h (__fortify_fail_abort): Remove declaration.
583 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
585 (__libc_message): Do not handle do_backtrace. Do not call
587 (__libc_fatal): Do not pass do_backtrace to __libc_message.
588 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
589 (before_abort): Remove definitions.
591 2019-08-16 Florian Weimer <fweimer@redhat.com>
593 nptl: Move pthread_attr_getdetachstate implementation into libc.
594 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
595 (libpthread-routines): Remove pthread_attr_getdetachstate.
596 * nptl/Versions (libpthread GLIBC_2.0): Remove
597 pthread_attr_getdetachstate.
598 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
599 * nptl/nptl-init.c (pthread_functions): Remove initializer for
600 ptr_pthread_attr_getdetachstate.
601 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
602 Remove ptr_pthread_attr_getdetachstate member.
603 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
604 Remove pthread_attr_getdetachstate.
605 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
607 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
609 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
611 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
613 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
615 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
617 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
618 (GLIBC_2.4): Likewise.
619 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
620 (GLIBC_2.0): Likewise.
621 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
622 (GLIBC_2.18): Likewise.
623 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
624 (GLIBC_2.0): Likewise.
625 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
626 (GLIBC_2.0): Likewise.
627 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
630 (GLIBC_2.0): Likewise.
631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
632 (GLIBC_2.3): Likewise.
633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
634 (GLIBC_2.17): Likewise.
635 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
636 (GLIBC_2.27): Likewise.
637 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
638 (GLIBC_2.0): Likewise.
639 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
640 (GLIBC_2.2): Likewise.
641 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
643 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
644 (GLIBC_2.0): Likewise.
645 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
646 (GLIBC_2.2): Likewise.
647 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
648 (GLIBC_2.2.5): Likewise.
649 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
650 (GLIBC_2.16): Likewise.
652 2019-08-16 Joseph Myers <joseph@codesourcery.com>
654 * math/libm-test-compat_totalorder.inc (do_test)
655 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
656 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
657 * math/libm-test-compat_totalordermag.inc (do_test)
658 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
660 2019-08-15 Florian Weimer <fweimer@redhat.com>
662 nptl: Move pthread_attr_init implementation into libc.
663 * nptl/Makefile (routines): Add pthread_attr_init.
664 (libpthread-routines): Remove pthread_attr_init.
665 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
666 (libpthread GLIBC_2.0): Likewise.
667 * nptl/pthread_attr_init.c: Check for libc compat version instead
668 of libpthread compat version.
669 * nptl/forward.c (__pthread_attr_init_2_0)
670 (__pthread_attr_init_2_1): Remove definitions.
671 * nptl/nptl-init.c (pthread_functions): Remove initializers for
672 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
673 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
674 Remove members ptr___pthread_attr_init_2_0,
675 ptr___pthread_attr_init_2_1.
676 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
677 Remove pthread_attr_init.
678 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
680 (GLIBC_2.1): Likewise.
681 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
683 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
685 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
687 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
689 (GLIBC_2.1): Likewise.
690 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
692 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
693 (GLIBC_2.4): Likewise.
694 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
695 (GLIBC_2.0): Likewise.
696 (GLIBC_2.1): Likewise.
697 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
698 (GLIBC_2.18): Likewise.
699 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
700 (GLIBC_2.0): Likewise.
701 (GLIBC_2.1): Likewise.
702 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
703 (GLIBC_2.0): Likewise.
704 (GLIBC_2.1): Likewise.
705 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
708 (GLIBC_2.0): Likewise.
709 (GLIBC_2.1): Likewise.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
711 (GLIBC_2.3): Likewise.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
713 (GLIBC_2.17): Likewise.
714 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
715 (GLIBC_2.27): Likewise.
716 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
717 (GLIBC_2.0): Likewise.
718 (GLIBC_2.1): Likewise.
719 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
720 (GLIBC_2.2): Likewise.
721 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
723 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
724 (GLIBC_2.0): Likewise.
725 (GLIBC_2.1): Likewise.
726 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
727 (GLIBC_2.2): Likewise.
728 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
729 (GLIBC_2.2.5): Likewise.
730 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
731 (GLIBC_2.16): Likewise.
733 2019-08-15 Florian Weimer <fweimer@redhat.com>
736 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
737 new object in __RTLD_OPENEXEC mode (except for the origin).
738 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
739 check for the error message.
740 (do_test): Call it. Add check using relative path.
741 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
742 (tst-dlopen-aout-container): Link with libpthread.
743 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
745 2019-08-15 Joseph Myers <joseph@codesourcery.com>
747 * math/bits/mathcalls.h
748 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
749 (totalorder): Take pointer arguments.
750 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
751 (totalordermag): Likewise.
752 * manual/arith.texi (totalorder): Likewise.
753 (totalorderf): Likewise.
754 (totalorderl): Likewise.
755 (totalorderfN): Likewise.
756 (totalorderfNx): Likewise.
757 (totalordermag): Likewise.
758 (totalordermagf): Likewise.
759 (totalordermagl): Likewise.
760 (totalordermagfN): Likewise.
761 (totalordermagfNx): Likewise.
762 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
763 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
764 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
765 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
766 totalorderl, totalordermag, totalordermagf, totalordermagl,
767 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
768 totalordermagf64, totalordermagf32x, totalorderf64x,
769 totalordermagf64x, totalorderf128 and totalordermagf128.
770 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
771 and compat_totalordermag.
772 (libm-test-funcs-compat): New variable.
773 (libm-tests-compat): Likewise.
774 (tests): Do not include compat tests.
775 (tests-internal): Add compat tests.
776 ($(foreach t,$(libm-tests-base),
777 $(objpfx)$(t)-compat_totalorder.o)): Depend
778 on $(objpfx)libm-test-totalorder.c.
779 ($(foreach t,$(libm-tests-base),
780 $(objpfx)$(t)-compat_totalordermag.o): Depend on
781 $(objpfx)libm-test-totalordermag.c.
782 (tgmath3-macros): Remove totalorder and totalordermag.
783 * math/libm-test-compat_totalorder.inc: New file.
784 * math/libm-test-compat_totalordermag.inc: Likewise.
785 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
786 (RUN_TEST_fpfp_b): New macro.
787 (RUN_TEST_LOOP_fpfp_b): Likewise.
788 * math/libm-test-totalorder.inc (totalorder_test_data): Use
790 (totalorder_test): Condition on [!COMPAT_TEST].
792 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
794 (totalordermag_test): Condition on [!COMPAT_TEST].
796 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
797 totalorder and totalordermag.
798 * math/test-tgmath.c (NCALLS): Change to 132.
799 (F(compile_test)): Do not call totalorder or totalordermag.
800 (F(totalorder)): Remove.
801 (F(totalordermag)): Likewise.
802 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
803 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
804 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
806 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
807 [!_ISOMAC] (TEST_SIZE): Update call to STR.
808 [!_ISOMAC] (TEST_ALIGN): Likewise.
809 [!_ISOMAC] (TEST_OFFSET): Likewise.
810 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
811 and <first-versions.h>.
812 (__totalorder): Take pointer arguments. Add symbol versions and
814 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
815 <shlib-compat.h> and <first-versions.h>.
816 (__totalordermag): Take pointer arguments. Add symbol versions
818 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
819 <shlib-compat.h> and <first-versions.h>.
820 (__totalorder): Take pointer arguments. Add symbol versions and
822 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
823 <shlib-compat.h> and <first-versions.h>.
824 (__totalordermag): Take pointer arguments. Add symbol versions
826 * sysdeps/ieee754/float128/float128_private.h
827 (__totalorder_compatl): New macro.
828 (__totalordermag_compatl): Likewise.
829 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
830 and <first-versions.h>.
831 (__totalorderf): Take pointer arguments. Add symbol versions and
833 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
834 <shlib-compat.h> and <first-versions.h>.
835 (__totalordermagf): Take pointer arguments. Add symbol versions
837 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
838 <shlib-compat.h> and <first-versions.h>.
839 (__totalorderl): Take pointer arguments. Add symbol versions and
841 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
842 <shlib-compat.h> and <first-versions.h>.
843 (__totalordermagl): Take pointer arguments. Add symbol versions
845 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
847 (__totalorderl): Take pointer arguments. Add symbol versions and
849 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
851 (__totalordermagl): Take pointer arguments. Add symbol versions
853 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
854 <shlib-compat.h> and <first-versions.h>.
855 (__totalorderl): Take pointer arguments. Add symbol versions and
857 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
858 <shlib-compat.h> and <first-versions.h>.
859 (__totalordermagl): Take pointer arguments. Add symbol versions
861 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
863 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
865 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
866 (do_test): Update calls to totalorderl and totalordermagl.
867 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
868 Update calls to totalorderl and totalordermagl.
869 * sysdeps/mach/hurd/i386/libm.abilist: Update.
870 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
871 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
872 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
873 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
874 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
875 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
876 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
877 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
878 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
879 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
880 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
881 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
882 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
891 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
892 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
893 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
894 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
895 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
896 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
898 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
900 2019-08-15 Florian Weimer <fweimer@redhat.com>
903 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
904 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
905 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
907 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
908 __attribute_nonstring__ to ut_id.
909 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
912 2019-08-15 Florian Weimer <fweimer@redhat.com>
915 * login/utmp_file.c (file_locking_failed): Use struct flock64.
916 (file_locking_unlock): Likewise.
918 2019-08-15 Florian Weimer <fweimer@redhat.com>
921 login: Disarm timer after utmp lock acquisition.
922 * login/utmp_file.c (struct file_locking): Remove.
923 (try_file_lock): Adjust.
924 (file_lock_restore): Remove function.
925 (__libc_getutent_r): .
926 (internal_getut_r): Likewise.
927 (__libc_getutline_r): Likewise.
928 (__libc_pututline): Likewise.
929 (__libc_updwtmp): Likewise.
931 2019-08-15 Florian Weimer <fweimer@redhat.com>
933 nptl: Remove pthread_self compatibility symbol from libpthread.
934 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
936 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
937 * nptl/compat-pthread_self.c: Remove file.
938 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
940 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
942 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
944 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
946 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
948 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
950 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
951 (GLIBC_2.4): Likewise.
952 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
953 (GLIBC_2.0): Likewise.
954 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
955 (GLIBC_2.18): Likewise.
956 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
957 (GLIBC_2.0): Likewise.
958 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
959 (GLIBC_2.0): Likewise.
960 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
963 (GLIBC_2.0): Likewise.
964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
965 (GLIBC_2.3): Likewise.
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
967 (GLIBC_2.17): Likewise.
968 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
969 (GLIBC_2.0): Likewise.
970 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
971 (GLIBC_2.2): Likewise.
972 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
974 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
975 (GLIBC_2.0): Likewise.
976 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
977 (GLIBC_2.2): Likewise.
978 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
979 (GLIBC_2.2.5): Likewise.
980 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
981 (GLIBC_2.16): Likewise.
983 2019-08-15 Florian Weimer <fweimer@redhat.com>
985 nptl: Move pthread_attr_destroy implementation into libc.
986 * nptl/Makefile (routines): Add pthread_attr_destroy.
987 (libpthread-routines): Remove pthread_attr_destroy.
988 * nptl/Versions (libpthread GLIBC_2.0): Remove
989 pthread_attr_destroy.
990 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
991 libc compat version instead of libpthread compat version.
992 * nptl/forward.c (pthread_attr_destroy): Remove definition.
993 * nptl/nptl-init.c (pthread_functions): Remove initializer for
994 ptr_pthread_attr_destroy.
995 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
996 Remove ptr_pthread_attr_destroy member.
997 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
998 Remove pthread_attr_destroy.
999 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1001 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1003 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1005 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1007 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1009 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1011 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1012 (GLIBC_2.4): Likewise.
1013 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1014 (GLIBC_2.0): Likewise.
1015 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1016 (GLIBC_2.18): Likewise.
1017 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1018 (GLIBC_2.0): Likewise.
1019 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1020 (GLIBC_2.0): Likewise.
1021 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1024 (GLIBC_2.0): Likewise.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1026 (GLIBC_2.3): Likewise.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1028 (GLIBC_2.17): Likewise.
1029 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1030 (GLIBC_2.27): Likewise.
1031 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1032 (GLIBC_2.0): Likewise.
1033 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1034 (GLIBC_2.2): Likewise.
1035 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1037 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1038 (GLIBC_2.0): Likewise.
1039 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1040 (GLIBC_2.2): Likewise.
1041 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1042 (GLIBC_2.2.5): Likewise.
1043 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1044 (GLIBC_2.16): Likewise.
1046 2019-08-15 Andreas Schwab <schwab@suse.de>
1048 * sysdeps/i386/fpu/libm-test-ulps: Update.
1050 2019-08-15 Florian Weimer <fweimer@redhat.com>
1052 * malloc/Makefile (tests): Only add tst-mxfast for
1054 * malloc/tst-mxfast.c: Fix copyright year.
1055 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1058 2019-08-15 Florian Weimer <fweimer@redhat.com>
1060 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1062 * login/Makefile (tests): Add tst-updwtmpx.
1063 * login/tst-updwtmpx.c: New file.
1065 2019-08-15 Florian Weimer <fweimer@redhat.com>
1067 nptl: Move pthread_equal implementation into libc.
1068 * nptl/Makefile (routines): Add pthread_equal.
1069 * nptl/forward.c (pthread_equal): Remove definition.
1070 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1072 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1073 Remove ptr_pthread_equal member.
1074 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1075 Remove pthread_equal.
1076 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1078 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1080 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1082 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1084 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1086 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1088 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1089 (GLIBC_2.4): Likewise.
1090 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1091 (GLIBC_2.0): Likewise.
1092 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1093 (GLIBC_2.18): Likewise.
1094 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1095 (GLIBC_2.0): Likewise.
1096 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1097 (GLIBC_2.0): Likewise.
1098 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1101 (GLIBC_2.0): Likewise.
1102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1103 (GLIBC_2.3): Likewise.
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1105 (GLIBC_2.17): Likewise.
1106 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1107 (GLIBC_2.27): Likewise.
1108 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1109 (GLIBC_2.0): Likewise.
1110 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1111 (GLIBC_2.2): Likewise.
1112 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1114 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1115 (GLIBC_2.0): Likewise.
1116 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1117 (GLIBC_2.2): Likewise.
1118 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1119 (GLIBC_2.2.5): Likewise.
1120 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1121 (GLIBC_2.16): Likewise.
1123 2019-08-14 Florian Weimer <fweimer@redhat.com>
1125 * support/support_descriptors.c: Include <support/descriptors.h>.
1127 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1129 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1130 Disable DC ZVA code if this macro is defined as zero.
1131 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1132 Change to zero to disable using DC ZVA.
1134 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1136 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1138 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1139 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1140 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1141 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1144 2019-08-13 Florian Weimer <fweimer@redhat.com>
1146 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1148 (struct file_locking): New.
1149 (try_file_lock, file_unlock, file_lock_restore): New functions.
1150 (__libc_getutent_r): Use the new functions.
1151 (internal_getut_r): Likewise.
1152 (__libc_getutline_r): Likewise.
1153 (__libc_pututline): Likewise.
1154 (__libc_updwtmp): Likewise.
1156 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1158 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1160 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1161 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1162 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1163 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1164 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1165 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1166 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1168 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1169 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1170 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1172 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1174 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1176 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1178 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1180 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1182 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1184 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1185 (IEC_60559_BFP_EXT)]: Likewise.
1186 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1188 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1190 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1192 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1194 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1196 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1198 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1200 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1202 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1203 Likewise, except for totalorder, totalordermag, getpayload,
1204 setpayload and setpayloadsig.
1205 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1206 except for totalorder and totalordermag.
1208 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1210 (strndup): Likewise.
1212 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1213 Undefine and define to 1 if [_GNU_SOURCE].
1214 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1215 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1216 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1217 (__USE_ISOC99): Likewise.
1218 (__USE_ISOC95): Likewise.
1219 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1221 2019-08-13 Florian Weimer <fweimer@redhat.com>
1223 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1225 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1226 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1227 * login/getutmpx.c (getutmpx): Likewise.
1228 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1230 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1231 _HAVE_UT_TV are always true.
1232 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1233 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1234 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1235 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1237 (internal_getut_r): _HAVE_UT_TYPE is always true.
1238 (__libc_pututline): Likewise.
1239 * login/programs/utmpdump.c (print_entry): Assume that
1240 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1241 _HAVE_UT_TV are always true.
1242 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1243 _HAVE_UT_ID are always true.
1244 * sysdeps/gnu/bits/utmp.h: Move to ...
1245 * bits/utmp.h: ... here, replacing the old file.
1247 2019-08-12 Florian Weimer <fweimer@redhat.com>
1249 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1250 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1252 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1253 (do_test): Open the executable using an absolute path. Print
1254 error message to standard output.
1256 2019-08-09 DJ Delorie <dj@redhat.com>
1258 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1259 * manual/tunables.texi: Document it.
1260 * malloc/malloc.c (do_set_mxfast): New.
1261 (__libc_mallopt): Call it.
1262 * malloc/arena.c: Add mxfast tunable.
1263 * malloc/tst-mxfast.c: New.
1264 * malloc/Makefile: Add it.
1266 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1267 Carlos O'Donell <carlos@redhat.com>
1270 * malloc/malloc.c (__malloc_info): Account for top chunk.
1272 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1274 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1275 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1277 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1279 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1281 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1283 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1285 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1287 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1290 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1293 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1295 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1297 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1299 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1301 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1302 (ALWAYS_USE_VSYSCALL): Likewise.
1303 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1304 (ALWAYS_USE_VSYSCALL): Likewise.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1306 (ALWAYS_USE_VSYSCALL): Likewise.
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1308 (ALWAYS_USE_VSYSCALL): Likewise.
1309 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1312 (ALWAYS_USE_VSYSCALL): Likewise.
1313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1314 (ALWAYS_USE_VSYSCALL): Likewise.
1315 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1319 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1320 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1321 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1322 USE_VSYSCALL): Remove defitions.
1325 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1326 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1327 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1331 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1332 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1333 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1334 (ALWAYS_USE_VSYSCALL): Define.
1335 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1336 (ALWAYS_USE_VSYSCALL): Likewise.
1339 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1340 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1341 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1344 * sysdeps/sh/libm-test-ulps: Update.
1346 2019-08-05 Florian Weimer <fweimer@redhat.com>
1349 * login/uptmp-private.h (struct ufuncs): Remove definition.
1350 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1351 (__libc_utmp_jump_table): Remove declarations.
1352 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1353 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1354 (__libc_updwtmp): Declare.
1355 * login/getutent_r.c (__libc_utmp_unknown_functions)
1356 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1357 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1358 (endutent_unknown): Remove definitions.
1359 (__setutent): Call __libc_setutent.
1360 (__getutent_r): Call __libc_getutent_r.
1361 (__pututline): Call __libc_pututline.
1362 (__endutent): Call __libc_endutent.
1363 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1364 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1365 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1366 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1367 (__libc_setutent): Rename from stetutent_file. Drop static.
1368 (maybe_setutent): New function.
1369 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1370 Check for initialization.
1371 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1372 Check for initialization.
1373 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1374 Check for initialization.
1375 (__libc_pututline): Rename from pututline_file. Drop static.
1376 Check for initialization.
1377 (__libc_endutent): Rename from endutent_file. Drop static. Check
1379 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1380 * login/utmpname.c (__utmpname): Call __libc_endutent.
1381 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1382 __libc_getutlien_r, __libc_endutent.
1383 * manual/users.texi (Who Logged In, Manipulating the Database):
1386 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1388 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1390 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1392 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1394 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1395 kernel version number to 5.2.
1397 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1399 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1400 mnemonics and set .machine power8.
1401 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1403 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1404 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1405 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1406 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1408 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1409 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1410 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1412 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1414 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1416 2019-08-01 Florian Weimer <fweimer@redhat.com>
1419 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1422 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1425 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1428 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1430 * version.h (RELEASE): Set to "stable".
1431 (VERSION): Set to "2.30".
1432 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1434 * manual/install.texi: Update component versions.
1435 * INSTALL: Regenerate.
1438 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1440 * po/be.po: Update translations.
1441 * po/bg.po: Likewise.
1442 * po/ca.po: Likewise.
1443 * po/cs.po: Likewise.
1444 * po/da.po: Likewise.
1445 * po/de.po: Likewise.
1446 * po/el.po: Likewise.
1447 * po/eo.po: Likewise.
1448 * po/es.po: Likewise.
1449 * po/fi.po: Likewise.
1450 * po/fr.po: Likewise.
1451 * po/gl.po: Likewise.
1452 * po/hr.po: Likewise.
1453 * po/hu.po: Likewise.
1454 * po/ia.po: Likewise.
1455 * po/id.po: Likewise.
1456 * po/it.po: Likewise.
1457 * po/ja.po: Likewise.
1458 * po/ko.po: Likewise.
1459 * po/lt.po: Likewise.
1460 * po/nb.po: Likewise.
1461 * po/nl.po: Likewise.
1462 * po/pl.po: Likewise.
1463 * po/pt_BR.po: Likewise.
1464 * po/ru.po: Likewise.
1465 * po/rw.po: Likewise.
1466 * po/sk.po: Likewise.
1467 * po/sl.po: Likewise.
1468 * po/sv.po: Likewise.
1469 * po/tr.po: Likewise.
1470 * po/uk.po: Likewise.
1471 * po/vi.po: Likewise.
1472 * po/zh_CN.po: Likewise.
1473 * po/zh_TW.po: Likewise.
1475 2019-07-31 Florian Weimer <fweimer@redhat.com>
1479 iconv, libio: Revert reference counting changes.
1480 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1481 free the steps array.
1482 * libio/Makefile (tests): Remove tst-wfile-gconv.
1483 (tests-container): Do not add tst-wfile-ascii.
1484 (tst-wfile-gconv-ENV): Do not set.
1485 (generated): Do not add tst-wfile-gconv.mtrace,
1486 tst-wfile-gconv.check.
1487 [($run-built-tests)] (tests-special): Do not add
1488 tst-wfile-gconv-mem.out.
1489 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1490 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1491 instead of __wcsmbs_clone_conv.
1492 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1493 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1495 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1498 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1500 2019-07-30 Florian Weimer <fweimer@redhat.com>
1502 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1503 type to uintptr_t. Update comment.
1504 (check_stack_top): Adjust.
1506 2019-07-29 Florian Weimer <fweimer@redhat.com>
1508 Linux: Move declaration of getdents64 to <dirent.h>.
1509 * bits/dirent_ext.h: New file.
1510 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1511 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1512 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1513 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1515 * manual/filesys.texi (Low-level Directory Access): Update header
1518 2019-07-29 DJ Delorie <dj@redhat.com>
1519 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1522 * Makeconfig (all-subdirs): Improved source comments.
1523 * Makefile (testroot.pristine/install.stamp): Pass
1524 subdirs='$(sorted-subdirs)' to make install.
1526 2019-07-25 Florian Weimer <fweimer@redhat.com>
1529 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1530 counter before freeing array.
1532 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1535 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1537 * sysdeps/x86_64/configure: Regenerated.
1538 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1539 to -mprefer-vector-width=128 if supported.
1541 2019-07-24 Florian Weimer <fweimer@redhat.com>
1543 * scripts/build-many-glibcs.py (Context.checkout): Default to
1546 2019-07-24 Florian Weimer <fweimer@redhat.com>
1549 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1550 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1551 (sysdep_headers): Add bits/socket-constants.h.
1552 (tests-special): Add tst-socket-consts.out.
1553 (tst-socket-consts.out): New target.
1554 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1555 around <asm/unistd.h>.
1556 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1557 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1559 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1560 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1561 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1562 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1563 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1564 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1566 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1568 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1571 * Makefile (testroot.pristine/install.stamp): Pass
1572 subdirs='$(all-subdirs)' to make install.
1574 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1575 the same arguments used in all tests.
1577 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1579 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1581 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1584 * locale/C-translit.h.in: Add Cyrillic transliteration.
1586 2019-07-19 Florian Weimer <fweimer@redhat.com>
1588 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1590 (fsconfig): Add system call name.
1591 (fsmount): Likewise.
1594 (move_mount): Likewise.
1595 (open_tree): Likewise.
1597 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1599 * po/libc.pot: Regenerate.
1601 2019-07-18 Mike Crowe <mac@mcrowe.com>
1603 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1604 functions recently added to sysdeps/nptl/pthread.h:
1605 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1606 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1608 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1609 pthread_cond_clockwait forwarding functions. There are no internal
1610 users, so it is unnecessary to expose these functions in libc.so.
1611 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1612 unnecessary ptr___pthread_cond_clockwait member.
1613 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1616 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1619 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1620 begin with an uppercase letter now.
1622 (mon): Update from CLDR, reword February from "Kudo" to
1623 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1624 and August from "Liiqen" to "Leqeeni".
1625 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1626 April from "Agda Baxisso" to "Agda Baxis" and August from
1627 "Leqeeni" to "Liiqen".
1628 * localedata/locales/aa_ER@saaho (mon): Likewise.
1629 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1630 abbreviated February from "Kud" to "Nah".
1631 (mon): Update from CLDR, reword February from "Kudo" to
1632 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1634 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1637 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1639 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1642 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1643 name_mrs, name_miss, and name_ms.
1644 * localedata/locales/nl_NL (LC_NAME): Likewise.
1646 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1649 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1650 * localedata/locales/en_IE (first_weekday): Likewise.
1652 2019-07-12 Mike Crowe <mac@mcrowe.com>
1654 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1655 that is only useful if futex_supports_exact_relative_timeouts ()
1657 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1659 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1660 timeouts potentially being imprecise since it's no longer true.
1661 Remove declaration of futex_supports_exact_relative_timeouts.
1662 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1663 of futex_supports_exact_relative_timeouts.
1665 * NEWS: Mention recently-added pthread_cond_clockwait,
1666 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1667 sem_clockwait functions.
1669 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1670 works like pthread_mutex_timedlock but takes a clockid parameter to
1671 measure the abstime parameter against.
1672 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1673 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1674 * nptl/pthread_mutex_timedlock.c
1675 (__pthread_mutex_clocklock_common): Rename from
1676 __pthread_mutex_timedlock and add clockid parameter. Pass this
1677 parameter to lll_clocklock and lll_clocklock_elision in place of
1678 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1679 LIBC_PROBE and validate clockid parameter before calling
1680 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1681 implementation to add LIBC_PROBE and calls
1682 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1684 * nptl/Makefile: Add tst-mutex11.c.
1685 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1686 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1687 clockid parameters to pthread_mutex_clocklock.
1688 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1689 clockid parameter to indicate which clock to be used. Call
1690 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1691 (do_test): Call do_test_clock to separately test
1692 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1693 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1694 * nptl/tst-mutex9.c: Likewise.
1695 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1696 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1698 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1700 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1702 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1704 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1706 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1708 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1710 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1711 (GLIBC_2.30): Likewise.
1712 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1713 (GLIBC_2.30): Likewise.
1714 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1715 (GLIBC_2.30): Likewise.
1716 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1717 (GLIBC_2.30): Likewise.
1718 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1719 (GLIBC_2.30): Likewise.
1720 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1723 (GLIBC_2.30): Likewise.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1725 (GLIBC_2.30): Likewise.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1727 (GLIBC_2.30): Likewise.
1728 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1729 (GLIBC_2.30): Likewise.
1730 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1731 (GLIBC_2.30): Likewise.
1732 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1733 (GLIBC_2.30): Likewise.
1734 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1736 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1737 (GLIBC_2.30): Likewise.
1738 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1739 (GLIBC_2.30): Likewise.
1740 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1741 (GLIBC_2.30): Likewise.
1742 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1743 (GLIBC_2.30): Likewise.
1745 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1746 parameter to indicate the clock that the abstime parameter should
1747 be measured against in preparation for adding
1748 pthread_mutex_clocklock.
1749 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1750 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1751 from __lll_timedlock and add clockid parameter.
1752 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1754 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1755 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1756 rather than __gettimeofday so that clockid can be used. This means
1757 that conversion from struct timeval is no longer required.
1758 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1760 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1761 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1762 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1763 from lll_timedlock_elision, add clockid parameter and use
1764 meaningful names for other parameters. (__pthread_mutex_timedlock):
1765 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1766 lll_clocklock_elision.
1767 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1768 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1769 clockid parameter. (__lll_clocklock_elision): Rename from
1770 __lll_timedlock_elision and add clockid parameter.
1771 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1772 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1774 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1775 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1776 (LLL_LOCK): Likewise.
1777 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1778 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1780 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1781 pthread_rwlock_clockwrlock which behave like
1782 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1783 respectively, except they always measure abstime against the
1784 supplied clockid. The functions currently support CLOCK_REALTIME
1785 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1787 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1788 pthread_wrlock_clockwrlock.
1789 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1790 pthread_rwlock_clockwrlock.c.
1791 * nptl/pthread_rwlock_clockrdlock.c: Implement
1792 pthread_rwlock_clockrdlock.
1793 * nptl/pthread_rwlock_clockwrlock.c: Implement
1794 pthread_rwlock_clockwrlock.
1795 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1796 clockid parameter and verify that it indicates a supported clock on
1797 entry so that we fail even if it doesn't end up being used. Pass
1798 that clock on to futex_abstimed_wait when necessary.
1799 (__pthread_rwlock_wrlock_full): Likewise.
1800 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1801 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1802 be used because there's no timeout.
1803 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1804 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1805 be used because there is no timeout.
1806 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1807 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1809 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1810 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1812 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1813 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1814 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1815 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1816 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1817 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1818 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1819 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1820 (GLIBC_2.30): Likewise.
1821 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1822 (GLIBC_2.30): Likewise.
1823 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1824 (GLIBC_2.30): Likewise.
1825 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1826 (GLIBC_2.30): Likewise.
1827 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1828 (GLIBC_2.30): Likewise.
1829 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1831 (GLIBC_2.30): Likewise.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1833 (GLIBC_2.30): Likewise.
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1835 (GLIBC_2.30): Likewise.
1836 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1837 (GLIBC_2.30): Likewise.
1838 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1839 (GLIBC_2.30): Likewise.
1840 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1841 (GLIBC_2.30): Likewise.
1842 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1843 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1844 (GLIBC_2.30): Likewise.
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1846 (GLIBC_2.30): Likewise.
1847 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1848 (GLIBC_2.30): Likewise.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1850 (GLIBC_2.30): Likewise.
1851 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1852 pthread_rwlock_clockwrlock timeout tests to match the existing
1853 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1854 * nptl/tst-rwlock14.c (do_test): Likewise.
1855 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1856 ancillary output throughout. (tf): Accept thread_args structure so
1857 that rwlock, a clockid and function name can be passed to the
1858 thread. (do_test_clock): Rename from do_test. Accept clockid
1859 parameter to specify test clock. Use the magic clockid value of
1860 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1861 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1862 specified clockid to pthread_rwlock_clockrdlock and
1863 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1864 (do_test): Call do_test_clock to test each clockid in turn.
1865 * nptl/tst-rwlock7.c: Likewise.
1866 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1867 thread_args structure so that the (now int) thread number, the
1868 clockid and the function name can be passed to the thread.
1869 (do_test_clock): Renamed from do_test. Pass the necessary
1870 thread_args when creating the reader and writer threads. Use
1871 xpthread_create and xpthread_join.
1872 (do_test): Call do_test_clock to test each clockid in turn.
1873 * manual/threads.texi: Add documentation for
1874 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1876 nptl: pthread_rwlock: Move timeout validation into _full functions
1877 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1878 Check validity of abstime parameter.
1879 (__pthread_rwlock_rwlock_full): Likewise.
1880 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1881 Remove check for validity of abstime parameter.
1882 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1885 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1886 like pthread_cond_timedwait except it always measures abstime
1887 against the supplied clockid.
1888 * nptl/Makefile: Add tst-cond26 and tst-cond27
1889 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1890 * sysdeps/nptl/pthread.h: Likewise
1891 * nptl/forward.c: Add __pthread_cond_clockwait
1892 * nptl/forward.c: Likewise
1893 * nptl/pthreadP.h: Likewise
1894 * sysdeps/nptl/pthread-functions.h: Likewise
1895 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1896 clockid parameter and comment describing why we don't need to check
1897 its value. Use that value when calling
1898 futex_abstimed_wait_cancelable rather than reading the clock from
1899 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1900 (__pthread_cond_timedwait): Read clock from flags and pass it to
1901 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1902 function with weak alias from pthread_cond_clockwait.
1903 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1904 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1905 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1906 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1907 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1908 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1909 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1910 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1911 (GLIBC_2.30): Likewise.
1912 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1913 (GLIBC_2.30): Likewise.
1914 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1915 (GLIBC_2.30): Likewise.
1916 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1917 (GLIBC_2.30): Likewise.
1918 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1919 (GLIBC_2.30): Likewise.
1920 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1922 (GLIBC_2.30): Likewise.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1924 (GLIBC_2.30): Likewise.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1926 (GLIBC_2.30): Likewise.
1927 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1928 (GLIBC_2.30): Likewise.
1929 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1930 (GLIBC_2.30): Likewise.
1931 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1932 (GLIBC_2.30): Likewise.
1933 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1934 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1935 (GLIBC_2.30): Likewise.
1936 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1937 (GLIBC_2.30): Likewise.
1938 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1939 (GLIBC_2.30): Likewise.
1940 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1941 (GLIBC_2.30): Likewise.
1942 * nptl/tst-cond11.c (run_test): Support testing
1943 pthread_cond_clockwait too by using a special magic
1944 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1945 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1946 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1947 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1948 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1949 clocks to pthread_cond_clockwait.
1950 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1951 struct timespec and pthread_cond_clockwait.
1952 * manual/threads.texi: Document pthread_cond_clockwait.
1954 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1955 sem_timedwait, but measures abstime against the specified clock.
1956 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1957 clockid parameters to indicate the clock which abstime should be
1959 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1960 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1961 __new_sem_wait_slow.
1962 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1964 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1965 sem_clockwait.c to match those used for sem_timedwait.c.
1966 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1967 * nptl/Versions (GLIBC_2.30): Likewise.
1968 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1969 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1970 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1971 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1972 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1973 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1974 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1975 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1976 (GLIBC_2.30): Likewise.
1977 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1978 (GLIBC_2.30): Likewise.
1979 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1980 (GLIBC_2.30): Likewise.
1981 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1982 (GLIBC_2.30): Likewise.
1983 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1984 (GLIBC_2.30): Likewise.
1985 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1987 (GLIBC_2.30): Likewise.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1989 (GLIBC_2.30): Likewise.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1991 (GLIBC_2.30): Likewise.
1992 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1993 (GLIBC_2.30): Likewise.
1994 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1995 (GLIBC_2.30): Likewise.
1996 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1997 (GLIBC_2.30): Likewise.
1998 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1999 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2000 (GLIBC_2.30): Likewise.
2001 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2002 (GLIBC_2.30): Likewise.
2003 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2004 (GLIBC_2.30): Likewise.
2005 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2006 (GLIBC_2.30): Likewise.
2007 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2009 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2010 tests to also test sem_clockwait.
2011 * manual/threads.texi: Document sem_clockwait.
2013 nptl: Add clockid parameter to futex timed wait calls
2014 * sysdeps/nptl/lowlevellock-futex.h,
2015 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2016 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2017 takes a clockid rather than a special clockbit.
2018 * sysdeps/nptl/lowlevellock-futex.h: Add
2019 lll_futex_supported_clockid so that client functions can check
2020 whether their clockid parameter is valid even if they don't
2021 ultimately end up calling lll_futex_clock_wait_bitset.
2022 * sysdeps/nptl/futex-internal.h,
2023 sysdeps/unix/sysv/linux/futex-internal.h
2024 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2025 clockid_t parameter to indicate which clock the absolute time
2026 passed should be measured against. Pass that clockid onto
2027 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2029 * sysdeps/nptl/futex-internal.h,
2030 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2031 futex_abstimed_supported_clockid so that client functions can check
2032 whether their clockid parameter is valid even if they don't
2033 ultimately end up calling futex_abstimed_wait.
2034 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2035 code to calculate relative timeout for
2036 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2037 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2038 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2039 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2040 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2041 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2042 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2044 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2047 * posix/tst-mmap-offset.c: Mention BZ #24699.
2048 (do_test_bz21270): Rename to do_test_large_offset and use
2049 mmap64_maximum_offset to check for maximum expected offset value.
2050 * sysdeps/generic/mmap_info.h: New file.
2051 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2052 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2055 2019-07-10 DJ Delorie <dj@redhat.com>
2056 Sergei Trofimovich <slyfox@inbox.ru>
2060 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2062 * nss/tst-nss-db-endgrent.c: New.
2063 * nss/tst-nss-db-endgrent.root: New.
2064 * nss/tst-nss-db-endpwent.c: New.
2065 * nss/tst-nss-db-endpwent.root: New.
2066 * nss/Makefile: Add new tests.
2067 * support/links-dso-program-c.c: Add selinux dependency.
2068 * support/links-dso-program.cc: Add selinux dependency.
2069 * support/Makefile: Build those with -lselinux if enabled.
2071 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2073 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2074 DT_AARCH64_VARIANT_PCS check.
2075 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2076 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2079 2019-07-10 Andreas Schwab <schwab@suse.de>
2082 * malloc/malloc.h (__malloc_check_init): Don't declare.
2083 * include/malloc.h (__malloc_check_init): Likewise.
2084 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2085 * manual/memory.texi (__malloc_check_init): Don't mention it.
2087 2019-07-10 Mao Han <han_mao@c-sky.com>
2089 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2091 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2093 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2094 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2096 2019-07-08 DJ Delorie <dj@redhat.com>
2099 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2100 * io/tst-ftw-lnk.c: New test.
2101 * io/Makefile: Run it.
2103 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2105 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2106 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2107 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2108 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2109 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2110 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2112 Adjust implementation path.
2113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2114 Adjust implementation path.
2115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2116 Adjust implementation path.
2117 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2118 (libm-sysdep_routines): Add s_log* objects.
2119 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2120 CFLAGS-s_logb-power7.c): New fule.
2121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2123 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2127 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2130 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2133 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2137 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2140 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2143 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2147 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2150 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2152 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2153 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2154 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2157 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2158 powerpc32 integer 0 converting to -0.
2160 * benchtests/Makefile (bench-math): Add logb.
2161 * benchtests/logb-inputs: New file.
2162 * benchtests/logbf-inputs: New file.
2164 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2165 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2166 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2167 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2172 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2173 sysdep_routines): Add s_modf* objects.
2174 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2175 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2178 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2182 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2185 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2188 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2191 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2194 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2196 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2197 twoM500, twoM600, two60factor, pdnum): Remove.
2198 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2199 (__ieee754_hypot): Replace static variables with inline definition,
2200 remove ununsed branches.
2201 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2202 (libm-sysdep_routines): Remove e_hypot-* objects.
2203 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2204 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2206 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2210 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2212 * benchtests/Makefile (bench-math): Add hypot.
2213 * benchtests/hypot-inputs: New file.
2215 2019-07-08 Vincent Chen <vincentc@andestech.com>
2217 * sysdeps/unix/sysv/linux/dl-vdso.h
2218 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2220 2019-07-04 Andreas Schwab <schwab@suse.de>
2223 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2225 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2227 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2228 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2229 * sysdeps/aarch64/sys/ifunc.h: New file.
2230 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2231 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2233 2019-07-01 Florian Weimer <fweimer@redhat.com>
2236 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2237 Replace __vfork with __libpthread_version_placeholder for
2239 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2240 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2242 * nptl/pt-vfork.c: Remove file.
2243 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2244 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2245 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2246 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2247 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2248 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2249 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2250 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2251 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2252 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2253 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2254 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2255 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2256 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2257 Remove vfork, __vfork.
2258 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2260 (GLIBC_2.1.2): Replace __vfork with
2261 __libpthread_version_placeholder.
2262 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2263 Remove vfork, __vfork.
2264 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2266 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2268 (GLIBC_2.1.2): Replace __vfork with
2269 __libpthread_version_placeholder.
2270 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2272 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2273 (GLIBC_2.4): Remove vfork, __vfork.
2274 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2275 (GLIBC_2.0): Remove vfork.
2276 (GLIBC_2.1.2): Replace __vfork with
2277 __libpthread_version_placeholder.
2278 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2279 (GLIBC_2.18): Remove vfork, __vfork.
2280 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2281 (GLIBC_2.0): Remove vfork.
2282 (GLIBC_2.2): Remove __vfork.
2283 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2284 (GLIBC_2.2): Remove vfork, __vfork.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2286 (GLIBC_2.0): Remove vfork.
2287 (GLIBC_2.1.2): Replace __vfork with
2288 __libpthread_version_placeholder.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2290 (GLIBC_2.3): Remove vfork, __vfork.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2292 (GLIBC_2.17): Likewise.
2293 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2294 (GLIBC_2.0): Remove vfork.
2295 (GLIBC_2.1.2): Replace __vfork with
2296 __libpthread_version_placeholder.
2297 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2298 (GLIBC_2.2): Remove vfork, __vfork.
2299 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2301 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2302 (GLIBC_2.0): Remove vfork.
2303 (GLIBC_2.1.2): Replace __vfork with
2304 __libpthread_version_placeholder.
2305 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2306 (GLIBC_2.2): Remove vfork, __vfork.
2307 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2308 (GLIBC_2.2.5): Likewise.
2309 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2310 (GLIBC_2.16): Likewise.
2311 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2312 Remove __errno_location.
2314 2019-07-02 Florian Weimer <fweimer@redhat.com>
2317 * malloc/Depend: Add nptl and htl, due to potential indirect
2318 libpthread dependency of memusagestat.
2320 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2322 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2325 2019-07-01 Florian Weimer <fweimer@redhat.com>
2327 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2328 variant for arm-linux-gnueabi.
2330 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2333 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2335 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2336 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2337 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2338 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2339 and tst-cet-legacy-mod-6c.
2340 (CFLAGS-tst-cet-legacy-5a.c): New.
2341 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2342 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2343 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2344 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2345 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2346 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2347 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2348 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2349 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2350 ($(objpfx)tst-cet-legacy-5a): Likewise.
2351 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2352 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2353 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2354 ($(objpfx)tst-cet-legacy-5b): Likewise.
2355 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2356 (tst-cet-legacy-5b-ENV): Likewise.
2357 ($(objpfx)tst-cet-legacy-6a): Likewise.
2358 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2359 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2360 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2361 ($(objpfx)tst-cet-legacy-6b): Likewise.
2362 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2363 (tst-cet-legacy-6b-ENV): Likewise.
2364 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2365 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2366 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2367 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2368 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2369 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2370 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2371 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2372 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2373 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2374 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2375 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2376 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2377 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2379 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2381 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2382 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2383 (__fegetround_ISA300) New.
2384 (__fegetround_ISA2) New.
2385 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2386 (_FPU_MFFS): Move implementation...
2388 (_FPU_MFFSL): Move implementation....
2389 (_FPU_GET_RC_ISA300): Here. New.
2390 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2391 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2392 (fegetenv_status): New.
2393 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2394 instead of fegetenv_register().
2395 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2397 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2399 * benchtests/bench-math-inlines.c: Increase iterations.
2400 * benchtests/bench-memcmp.c: Likewise.
2401 * benchtests/bench-rawmemchr.c: Likewise.
2402 * benchtests/bench-strcmp.c: Likewise.
2403 * benchtests/bench-strcpy_chk.c: Likewise.
2404 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2405 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2406 (INNER_LOOP_ITERS_SMALL): Likewise.
2407 * benchtests/bench-strncat.c: Increase iterations.
2408 * benchtests/bench-strncmp.c: Increase iterations.
2409 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2410 * benchtests/bench-strrchr.c: Increase iterations.
2411 * benchtests/bench-strstr.c: Keep iterations unchanged.
2412 * benchtests/bench-strtod.c: Increase iterations.
2414 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2416 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2417 with INNER_LOOP_ITERS_LARGE.
2418 * benchtests/bench-memchr.c: Likewise.
2419 * benchtests/bench-rawmemchr.c: Likewise.
2420 * benchtests/bench-strcat.c: Likewise.
2421 * benchtests/bench-strchr.c: Likewise.
2422 * benchtests/bench-string.h: Likewise.
2423 * benchtests/bench-strlen.c: Likewise.
2424 * benchtests/bench-strncpy.c: Likewise.
2425 * benchtests/bench-strnlen.c: Likewise.
2427 2019-06-28 Florian Weimer <fweimer@redhat.com>
2429 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2430 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2431 entire allocated memory range.
2433 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2435 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2436 (prepare_version_base): New helper inline function.
2437 (prepare_version): New macro replacing PREPARE_VERSION.
2438 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2440 2019-06-28 Florian Weimer <fweimer@redhat.com>
2443 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2444 mismatch in a versioned symbol reference.
2445 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2446 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2447 tst-sonamemove-dlopen.
2448 (module-names): Add tst-sonamemove-linkmod1,
2449 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2450 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2451 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2452 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2453 (tst-sonamemove-runmod1.so): Link against
2454 tst-sonamemove-runmod2.so.
2455 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2456 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2457 tst-sonamemove-runmod2.so.
2458 (tst-sonamemove-dlopen): Link with -ldl.
2459 (tst-sonamemove-dlopen.out): Likewise.
2460 * elf/tst-sonamemove-link.c: New file.
2461 * elf/tst-sonamemove-dlopen.c: Likewise.
2462 * elf/tst-sonamemove-linkmod1.c: Likewise.
2463 * elf/tst-sonamemove-linkmod1.map: Likewise.
2464 * elf/tst-sonamemove-runmod1.c: Likewise.
2465 * elf/tst-sonamemove-runmod1.map: Likewise.
2466 * elf/tst-sonamemove-runmod2.c: Likewise.
2467 * elf/tst-sonamemove-runmod2.map: Likewise.
2469 2019-06-28 Florian Weimer <fweimer@redhat.com>
2471 * support/xdlfcn.h (xdlvsym): Declare function.
2472 * support/xdlfcn.c (xdlvsym): Define funciton.
2474 2019-06-28 Florian Weimer <fweimer@redhat.com>
2477 io: Remove the copy_file_range emulation.
2478 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2479 not define and call copy_file_range_compat.
2480 * io/Makefile (tests-static, tests-internal): Do not add
2481 tst-copy_file_range-compat.
2482 * io/copy_file_range-compat.c: Remove file.
2483 * io/copy_file_range.c (copy_file_range): Define as stub.
2484 * io/tst-copy_file_range-compat.c: Remove file.
2485 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2486 (typical_sizes): Update comment. Remove 16K sizes.
2487 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2489 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2490 (delayed_write_failure_beginning, delayed_write_failure_end)
2491 (cross_device_failure, enospc_failure_1, enospc_failure)
2492 (oappend_failure): Remove functions.
2493 (tests): Adjust test case list.
2494 (do_test): Remove file system search code. Check for ENOSYS from
2495 copy_file_range. Do not free xdevfile.
2496 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2497 copy_file_range. Do not document the EXDEV error, which future
2498 kernels may not report. Update the wording to reflect that
2499 further errors are possible.
2500 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2501 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2503 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2504 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2506 * sysdeps/unix/sysv/linux/kernel-features.h
2507 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2509 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2510 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2512 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2513 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2516 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2518 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2519 used as a mask for the mode argument of __vfprintf_internal.
2520 * stdio-common/printf-parse.h (printf_arg): New union member:
2522 * stdio-common/vfprintf-internal.c
2523 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2524 (PARSE_FLOAT_VA_ARG): Likewise.
2525 (SETUP_FLOAT128_INFO): Likewise.
2526 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2527 SETUP_FLOAT128_INFO.
2528 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2529 floating-point value to the new union member, pa_float128.
2530 (printf_positional): Zero-initialize args_value[cnt] with memset.
2532 2019-06-27 Florian Weimer <fweimer@redhat.com>
2535 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2536 buffer size if necessary.
2537 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2539 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2541 (large_buffer_checks): Likewise.
2542 (do_test): Call large_buffer_checks.
2544 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2546 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2547 * sysdeps/x86/dl-lookupcfg.h: Here.
2548 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2550 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2553 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2554 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2557 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2558 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2559 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2560 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2562 * sysdeps/powerpc/powerpc32/fpu/Makefile
2563 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2564 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2565 and fctidz optimization.
2566 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2567 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2569 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2570 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2571 CFLAGS-s_lround-power5+.c): New rule.
2572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2592 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2594 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2596 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2597 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2598 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2600 2019-06-26 Vincent Chen <vincentc@andestech.com>
2602 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2603 specific system calls, fp_udfiex_crtl and udftrap.
2605 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2607 * nptl/tst-eintr1.c (tf1): Add return statement.
2608 (do_test): Remove unused th variable.
2610 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2612 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2613 Return error if get_character fails.
2615 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2617 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2619 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
2622 * localedata/locales/szl_PL (day): Use the correct Unicode
2623 sequences instead of non-ASCII characters.
2625 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2628 * localedata/locales/szl_PL (abday): Spelling corrections.
2632 (alt_mon): This, then apply spelling corrections.
2633 (mon): New entry, month names in the genitive case.
2635 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
2638 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2639 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2640 (thousands_sep): Likewise.
2641 (grouping): Set to 3;3.
2643 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2645 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2646 PREPARE_VERSION_KNOWN.
2647 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2648 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2650 (VDSO_HASH_LINUX_2_6_39): Likewise.
2651 (VDSO_NAME_LINUX_4_9): Likewise.
2652 (VDSO_HASH_LINUX_4_9): Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2654 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2655 (_libc_vdso_platform_setup): Likewise.
2656 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2657 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2659 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2662 2019-06-20 Mike Crowe <mac@mcrowe.com>
2664 * nptl/eintr.c: Use libsupport.
2665 * nptl/tst-eintr1.c: Likewise.
2666 * nptl/tst-eintr2.c: Likewise.
2667 * nptl/tst-eintr3.c: Likewise.
2668 * nptl/tst-eintr4.c: Likewise.
2669 * nptl/tst-eintr5.c: Likewise.
2670 * nptl/tst-mutex-errorcheck.c: Likewise.
2671 * nptl/tst-mutex5.c: Likewise.
2673 * support/test-driver.h: Add verbose_printf macro.
2675 * support/xtime.h: Add xclock_now() helper function.
2677 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2678 Florian Weimer <fweimer@redhat.com>
2681 * libio/genops.c (_IO_unbuffer_all)
2682 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2683 buffers and access _IO_FILE_complete members of legacy libio streams.
2684 * libio/tst-bz24228.c: New file.
2685 * libio/tst-bz24228.map: Likewise.
2686 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2687 [build-shared] (generated): Add tst-bz24228.mtrace and
2689 [run-built-tests && build-shared] (tests-special): Add
2690 $(objpfx)tst-bz24228-mem.out.
2691 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2692 ($(objpfx)tst-bz24228-mem.out): New rule.
2694 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2696 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2697 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2698 (__FPU_MFFSL): Likewise.
2699 (_FPU_SETCW): Likewise.
2701 2019-06-19 Stan Shebs <stanshebs@google.com>
2702 Raoni Fassina Firmino <raoni@linux.ibm.com>
2705 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2706 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2707 static-linking version.
2708 * sysdeps/unix/sysv/linux/powerpc/Makefile
2709 (tests-static): Add test-gettimebasefreq-static.
2711 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2714 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
2717 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2718 between the currency symbol and the minus sign).
2719 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2721 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2724 * string/test-strcasestr.c (check_result): Add NULL check.
2725 * nss/tst-field.c (check_rewrite): Likewise.
2726 * benchtests/bench-strstr.c (do_one_test): Likewise.
2727 * string/test-strstr.c (check_result): Likewise.
2728 * argp/argp-test.c (popt): Increase size of buf to 12.
2729 * benchtests/bench-malloc-simple.c (bench):
2730 Do not initialize tests array out of bounds.
2732 2019-06-19 Florian Weimer <fweimer@redhat.com>
2735 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2738 2019-06-18 Florian Weimer <fweimer@redhat.com>
2741 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2742 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2743 fail when called from dlopen.
2744 * elf/Makefile [have-fpie && build-shared] (tests): Add
2746 (tst-dlopen-pie): Link with -ldl.
2747 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2748 * elf/tst-dlopen-pie.c (do_test): New file.
2750 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2753 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2754 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2755 between the currency symbol and the minus sign).
2756 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2757 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2759 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2761 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2762 sysdep-rtld-routines): Remove rules.
2763 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2764 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2765 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2766 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2767 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2768 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2769 vDSO path for SHARED.
2770 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2771 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2772 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2773 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2774 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2775 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2777 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2778 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2779 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2780 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2781 CFLAGS-s_llround-power5+.c): New rule.
2782 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2784 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2786 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2788 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2790 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2793 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2795 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2797 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2798 * sysdeps/powerpc/powerpc64/fpu/Makefile
2799 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2801 (libm-sysdep_routines): Remove s_llround-* objects.
2802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2812 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2813 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2814 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2815 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2816 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2817 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2818 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2819 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2820 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2821 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2822 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2823 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2824 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2825 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2827 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2828 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2829 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2830 * sysdeps/powerpc/powerpc32/fpu/Makefile
2831 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2832 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2834 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2835 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2836 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2838 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2839 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2840 CFLAGS-s_lrint-ppc32.c): New rule.
2841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2852 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2853 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2866 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2867 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2869 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2870 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2872 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2874 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2877 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2879 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2881 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2882 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2883 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2885 (libm-sysdep_routines): Remove s_llrint-* objects.
2886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2891 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2892 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2893 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2894 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2895 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2896 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2897 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2898 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2901 2019-06-14 Florian Weimer <fweimer@redhat.com>
2903 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2904 argument to __glibc_has_include to inhibit macro expansion.
2906 2019-06-14 Florian Weimer <fweimer@redhat.com>
2908 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2909 function-like macro, so that __has_include can inhibit expansion
2912 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2914 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2918 Allow memset in libc.so.
2920 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2922 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2923 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2924 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2925 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2926 symbols at load time.
2927 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2929 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2931 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2932 (DT_AARCH64_VARIANT_PCS): Define.
2934 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2937 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2947 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2948 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2950 Remove s_finite* objects.
2951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2957 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2958 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2959 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2960 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2962 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2963 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2966 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2976 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2977 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2979 Remove s_isinf* and s_isinf* objects.
2980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
2981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
2982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
2983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
2985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2986 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2987 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
2988 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2989 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
2991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
2992 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
2994 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
2995 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
2996 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2998 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3014 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3015 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3016 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3017 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3018 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3019 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3021 Remove s_isnan-* and s_isnanf-* objects.
3022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3031 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3032 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3033 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3034 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3035 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3036 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3037 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3038 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3041 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3043 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3044 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3045 CFLAGS-bench-isfinite.c): New rule.
3046 * benchtests/isnan-input: New file.
3047 * benchtests/isinf-input: New file.
3048 * benchtests/isfinite-input: New file.
3050 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3051 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3052 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3053 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3055 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3065 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3066 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3067 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3068 Remove s_copysign-power6 s_copysign-ppc64.
3069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3075 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3076 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3077 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3078 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3080 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3081 round_to_integer_float, round_mode): Add RINT handling.
3082 (reset_fenv_mode): New symbol.
3083 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3084 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3085 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3086 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3087 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3088 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3090 2019-06-12 Florian Weimer <fweimer@redhat.com>
3093 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3094 * libio/freopen.c (freopen): Use it.
3096 2019-06-12 Florian Weimer <fweimer@redhat.com>
3098 Linux: Deprecate sysctl.
3099 * include/sysctl.h (__sysctl): Remove declaration.
3100 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3102 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3103 (sysctl): Add deprecation attribute.
3104 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3105 directly, to avoid the deprecation warning. Do not include
3107 (__sysctl): Remove hidden alias.
3109 2019-06-12 Florian Weimer <fweimer@redhat.com>
3111 Linux: Use kernel headers for statx definitions if available.
3112 * include/bits/statx-generic.h: New file.
3113 * include/bits/types/struct_statx.h: Likewise.
3114 * include/bits/types/struct_statx_timestamp.h: Likewise.
3115 * io/Makefile (headers): Add bits/statx-generic.h.
3116 * io/bits/statx-generic.h: New file. Partly copied from
3118 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3119 define original_statx.
3120 * io/bits/types/struct_statx.h: Likewise.
3121 * io/bits/types/struct_statx_timestamp.h: Likewise.
3122 (statx_generic): Use original_statx.
3123 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3124 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3126 2019-06-12 Florian Weimer <fweimer@redhat.com>
3128 * misc/sys/cdefs.h (__glibc_has_include): Define.
3130 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3132 * string/memmem.c (__memmem): Rewrite to improve performance.
3134 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3136 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3138 (two_way_long_needle): Block inlining.
3139 * string/strstr.c (strstr2): Add new function.
3140 (strstr3): Likewise.
3141 (STRSTR): Completely rewrite strstr to improve performance.
3143 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3145 * benchtests/bench-strstr.c (test_hard_needle): New function.
3147 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3149 * malloc/tst-calloc.c: Include <libc-diag.h>.
3150 (null_test): Ignore -Wunused-result around calls to calloc.
3151 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3152 (do_test): Ignore -Wunused-result around call to malloc.
3154 2019-06-07 Florian Weimer <fweimer@redhat.com>
3156 Linux: Add getdents64 system call.
3157 * include/dirnent.h (getdents): Add comment and change buffer
3158 argument type to void *.
3159 (getdents64): Likewise. Add hidden prototype.
3160 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3162 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3164 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3165 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3166 argument type to void *.
3167 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3168 Add hidden definition and getdents64 alias.
3169 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3171 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3172 * manual/filesys.texi (Accessing Directories): Add Low-level
3173 Directory Access node reference.
3174 (Opening a Directory): Cross-reference it.
3175 (Low-level Directory Access): New node.
3176 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3178 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3180 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3181 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3183 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3185 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3187 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3189 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3191 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3193 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3195 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3196 (GLIBC_2.30): Likewise.
3197 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3198 (GLIBC_2.30): Likewise.
3199 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3200 (GLIBC_2.30): Likewise.
3201 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3202 (GLIBC_2.30): Likewise.
3203 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3206 (GLIBC_2.30): Likewise.
3207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3208 (GLIBC_2.30): Likewise.
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3210 (GLIBC_2.30): Likewise.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3212 (GLIBC_2.30): Likewise.
3213 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3215 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3217 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3219 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3220 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3222 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3224 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3226 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3229 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3231 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3235 (_FPU_GETCW): Use __FPU_MFFS().
3236 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3238 2019-06-06 Florian Weimer <fweimer@redhat.com>
3240 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3241 internal GCC preprocessor identifier __has_include__.
3243 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3245 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3246 with call to equivalent function.
3248 2019-06-04 Florian Weimer <fweimer@redhat.com>
3250 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3251 (do_release_shlib): Adjust for __twalk_r.
3252 (__gconv_release_shlib): Call __twalk_r.
3254 2019-06-04 Andreas Schwab <schwab@suse.de>
3257 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3258 no irreversible characters occurred.
3259 * iconv/gconv_simple.c (internal_ucs4_loop)
3260 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3261 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3262 (ucs4_internal_loop_single, internal_ucs4le_loop)
3263 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3264 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3265 (ucs4le_internal_loop_single): Add const to outend.
3266 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3267 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3268 * iconv/Makefile (tests): Add tst-iconv7.
3269 * iconv/tst-iconv7.c: New file.
3271 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3273 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3275 2019-06-01 Florian Weimer <fweimer@redhat.com>
3277 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3278 * sysdeps/unix/sysv/linux/arm/Makefile
3279 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3280 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3281 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3282 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3283 compatibility symbols.
3285 2019-05-31 Florian Weimer <fweimer@redhat.com>
3287 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3288 system calls for the arm architecture: breakpoint, get_tls,
3289 set_tls, usr26, usr32.
3291 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3293 * sysdeps/powerpc/Makefile
3294 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3295 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3296 Declare '.machine power7' to get support for ldbrx.
3297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3298 directive based on the directory of the file.
3299 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3300 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3301 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3302 '.machine' directive.
3303 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3304 (VADDUQM_V7_V8): Remove.
3305 (__STRCASECMP): Replace macros with actual instructions.
3306 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3307 '.machine' directive.
3308 (VCLZD_V8_v7): Remove.
3309 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3311 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3313 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3315 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3317 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3319 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3321 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3322 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3323 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3328 2019-05-28 mansayk <6688000@gmail.com>
3331 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3333 2019-05-28 mansayk <6688000@gmail.com>
3336 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3337 (abmon): Likewise, but remove the trailing dots.
3339 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3341 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3343 2019-05-27 Florian Weimer <fweimer@redhat.com>
3345 * nptl/nptl-init.c: Add comment.
3347 2019-05-24 Florian Weimer <fweimer@redhat.com>
3349 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3350 struct in_addr/struct in6_addr alignment.
3352 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3355 (F_SEAL_FUTURE_WRITE): New macro.
3357 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3359 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3360 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3361 * elf/tst-ldconfig_aux-cache.root: New directory.
3362 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3363 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3364 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3366 2019-05-22 Zack Weinberg <zackw@panix.com>
3368 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3370 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3371 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3373 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3378 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3379 Issue an #error if used with a compiler in SPE-float mode.
3380 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3381 * sysdeps/powerpc/powerpc32/setjmp_common.S
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3388 Remove code to preserve SPE register state.
3390 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3391 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3392 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3393 Remove __SPE__ ifndefs.
3395 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3397 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3398 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3399 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3400 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3401 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3402 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3403 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3404 (INNER_LOOP_ITERS_MEDIUM): New define.
3405 (INNER_LOOP_ITERS_SMALL): New define.
3406 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3407 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3408 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3409 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3410 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3412 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3414 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3416 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3417 (SEMTIMEDOP_IPC_ARGS): Likewise.
3419 2019-05-21 Florian Weimer <fweimer@redhat.com>
3422 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3423 before updating __counter field and release it afterwards. Add
3425 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3426 requirement for __counter member.
3428 2019-05-21 Florian Weimer <fweimer@redhat.com>
3431 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3432 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3433 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3434 instead of __gconv_release_step.
3435 * libio/Makefile (tests): Add tst-wfile-gconv.
3436 (tests-container): Add tst-wfile-ascii.
3437 (tst-wfile-gconv-ENV): Enable mtrace.
3438 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3439 (tests-special): Add tst-wfile-gconv-mem.out.
3440 (tst-wfile-gconv.out): Depend on locales.
3441 (tst-wfile-gconv-mem.out): Add mtrace rule.
3442 * libio/tst-wfile-ascii.c: New file.
3443 * libio/tst-wfile-gconv.c: Likewise.
3445 2019-05-20 Florian Weimer <fweimer@redhat.com>
3448 libio: Remove codecvt vtable.
3449 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3451 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3452 __libio_codecvt_encoding.
3453 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3454 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3455 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3456 * libio/iofwide.c (__libio_codecvt): Remove variable.
3457 (_IO_fwide): Do not copy __libio_codecvt.
3458 (__libio_codecvt_out): Rename from do_out and export.
3459 (do_unshift): Remove function.
3460 (__libio_codecvt_in): Rename from do_in and export.
3461 (__libio_codecvt_encoding): Rename from do_encoding and export.
3462 (do_always_noconv): Remove function.
3463 (__libio_codecvt_length): Rename from do_length and export.
3464 (do_max_length): Remove function.
3465 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3467 (struct _IO_codecvt): Remove fields __codecvt_destr,
3468 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3469 __codecvt_do_encoding, __codecvt_do_always_noconv,
3470 __codecvt_do_length, __codecvt_do_max_length.
3471 * libio/libioP.h (enum __codecvt_result): Define; moved from
3473 (__libio_codecvt_out, __libio_codecvt_in)
3474 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3476 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3477 (_IO_wfile_underflow): Call __libio_codecvt_in.
3478 (_IO_wfile_underflow): Likewise.
3479 (_IO_wfile_underflow_mmap): Likewise.
3480 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3481 __libio_codecvt_length.
3482 (adjust_wide_data): Call __libio_codecvt_encoding,
3484 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3485 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3486 __libio_codecvt_length.
3488 2019-05-20 Florian Weimer <fweimer@redhat.com>
3490 * support/support.h (support_sbindir_prefix): Declare.
3491 (support_install_rootsbindir): Update comment.
3492 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3493 * support/support_paths.c (support_sbindir_prefix): Define.
3495 2019-05-20 Mike Crowe <mac@mcrowe.com>
3497 * support/timespec.c: Add backslash to correct newline in failure
3500 * support/timespec.h: Correct confusing comment.
3502 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3504 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3506 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3507 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3508 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3509 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3512 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3515 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3517 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3518 (NT_ARM_PACG_KEYS): Likewise.
3520 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3522 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3523 (tcache_put): Remove redundant assert.
3524 (tcache_get): Remove redundant asserts.
3525 (__libc_malloc): Check tcache count is not zero.
3526 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3528 2019-05-17 Florian Weimer <fweimer@redhat.com>
3530 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3532 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3534 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3535 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3537 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3539 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3540 (__ASSUME_STATX): Likewise.
3542 2019-05-16 Florian Weimer <fweimer@redhat.com>
3544 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3546 (LINE_PARSER): Do not map IPv4 addresses.
3547 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3549 (_nss_nis_gethostent_r): Always pass AF_INET to
3550 internal_nis_gethostent_r.
3551 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3553 (_nss_nis_gethostbyname2_r): Adjust call to
3554 internal_nis_gethostent_r.
3555 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3556 call to internal_nis_gethostent_r.
3557 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3559 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3560 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3561 Remove flags argument. Do not map IPv4 addresses.
3562 (internal_nisplus_gethostent_r): Adjust call to
3563 _nss_nisplus_parse_hostent.
3564 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3565 to _nss_nisplus_parse_hostent.
3566 (_nss_nisplus_gethostbyname2_r): Adjust call to
3567 internal_gethostbyname2_r.
3568 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3569 Adjust call to internal_gethostbyname2_r.
3570 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3571 _nss_nisplus_parse_hostent.
3572 (_nss_nisplus_gethostbyname4_r): Adjust call to
3573 internal_gethostbyname2_r.
3575 2019-05-16 Florian Weimer <fweimer@redhat.com>
3577 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3579 (LINE_PARSER): Remove address mapping.
3580 (EXTRA_ARGS_VALUE): Remove flags argument.
3581 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3582 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3583 gethostbyname3_multi.
3584 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3585 _nss_files_gethostbyname3_r.
3586 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3588 2019-05-16 Florian Weimer <fweimer@redhat.com>
3590 * support/support_test_compare_blob.c (report_blob): Report
3591 incorrect NULL blobs.
3593 2019-05-15 Mark Wielaard <mark@klomp.org>
3596 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3597 __libc_once_get (once) and static_buf == NULL.
3598 (__dlerror): Check we have a valid key, set result to static_buf
3601 2019-05-15 Andreas Schwab <schwab@suse.de>
3604 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3605 __codecvt_do_length.
3606 * libio/Makefile (tests): Add tst-wfile-sync.
3607 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3608 * libio/tst-wfile-sync.c: New file.
3609 * libio/tst-wfile-sync.input: New file.
3611 2019-05-15 Florian Weimer <fweimer@redhat.com>
3613 nss: Turn __nss_database_lookup into a compatibility symbol.
3614 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3615 __nss_database_lookup.
3616 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3617 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3618 __nss_database_lookup.
3619 (__nss_next): Move to …
3620 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3622 (__nss_database_lookup): New function.
3623 * nss/Versions (GLIBC_2.0): Update comment.
3624 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3625 * grp/initgroups.c (internal_getgrouplist): Call
3626 __nss_database_lookup2 instead of __nss_database_lookup.
3627 * nscd/aicache.c (addhstaiX): Likewise.
3628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3629 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3630 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3631 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3632 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3634 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3635 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3638 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
3640 * support/support.h (support_install_rootsbindir): New variable.
3641 * support/support_paths.c: Likewise.
3642 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3644 2019-05-15 Florian Weimer <fweimer@redhat.com>
3646 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3647 * iconv/gconv_int.h (__gconv_transliterate): … here.
3648 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3649 * iconv/skeleton.c: Likewise.
3651 2019-05-14 Florian Weimer <fweimer@redhat.com>
3653 Linux: Add the tgkill function.
3654 * bits/signal_ext.h: New file.
3655 * manual/signal.texi (Signaling Another Process): Document tgkill.
3656 * signal/Makefile (headers): Add bits/signal_ext.h.
3657 * signal/signal.h: Include <bits/signal_ext.h>.
3658 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3659 (tst-tgkill): Link with libpthread.
3660 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3661 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3662 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3663 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3665 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3666 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3667 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3668 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3669 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3670 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3671 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3672 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3673 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3674 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3675 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3677 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3678 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3679 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3688 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3689 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3690 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3691 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3692 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3694 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3695 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3697 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3699 * manual/search.texi (Tree Search Function): Adjust twalk_r
3702 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3705 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3708 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3709 * support/support.h (support_bindir_prefix): New variable.
3710 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3712 * config.make.in (bindir): New variable.
3714 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3715 (lll_trylock): Call __lll_trylock.
3716 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3717 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3718 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3719 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3720 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3721 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3722 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3724 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3725 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3726 lowlevellock-futex.h.
3728 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3729 initialization for LLL_LOCK_INITIALIZER different than 0.
3730 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3731 Assume LLL_LOCK_INITIALIZER being 0.
3732 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3733 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3735 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3736 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3738 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3739 Optimize futex call and add systemtap probe.
3741 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3742 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3743 __libc_disable_asynccancel, __librt_enable_asynccancel,
3744 __libc_disable_asynccancel, __librt_enable_asynccancel,
3745 __librt_disable_asynccancel): Move to ...
3746 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3747 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3748 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3749 * sysdeps/generic/single-thread.h: New file.
3750 * sysdeps/unix/sysdep.h: Include single-thread.h.
3751 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3752 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3754 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3757 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3758 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3760 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3761 * localedata/unicode-gen/PropList.txt: Likewise.
3762 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3763 * localedata/charmaps/UTF-8: Regenerate.
3764 * localedata/locales/i18n_ctype: Likewise.
3765 * localedata/locales/tr_TR: Likewise.
3766 * localedata/locales/translit_circle: Likewise.
3767 * localedata/locales/translit_cjk_compat: Likewise.
3768 * localedata/locales/translit_combining: Likewise.
3769 * localedata/locales/translit_compat: Likewise.
3770 * localedata/locales/translit_font: Likewise.
3771 * localedata/locales/translit_fraction: Likewise.
3773 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3776 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3777 (do_set_tcache_count): Only update if count is small enough.
3778 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3780 2019-05-10 Florian Weimer <fweimer@redhat.com>
3782 * nptl/sem_close.c (struct walk_closure): Define.
3783 (walker): Adjust for __twalk_r.
3784 (sem_close): Call __twalk_r.
3786 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3788 * support/timespec.c (test_timespec_before_impl,
3789 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3792 2019-05-09 Mike Crowe <mac@mcrowe.com>
3794 * nptl/tst-abstime.c: Use libsupport.
3796 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3797 small bug where only tv.tv_usec was checked which could cause an
3798 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3801 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3804 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3805 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3807 * nptl/tst-cond11.c: Use libsupport.
3809 * support/timespec.h: New file. Provide timespec helper functions
3810 along with macros in the style of those in check.h.
3811 * support/timespec.c: New file. Implement check functions declared
3812 in support/timespec.h.
3813 * support/timespec-add.c: New file from gnulib containing
3814 timespec_add implementation that handles overflow.
3815 * support/timespec-sub.c: New file from gnulib containing
3816 timespec_sub implementation that handles overflow.
3817 * support/README: Mention timespec.h.
3819 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3822 * nptl/Makefile: Move tst-eintr1 to xtests.
3824 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3826 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3828 (round_mode): Add definition for TRUNC.
3829 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3830 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3831 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3832 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3833 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3835 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3837 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3839 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3841 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3843 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3845 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3847 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3849 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3850 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3851 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3852 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3853 s_truncf-power5+, and s_truncf-ppc64.
3854 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3855 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3857 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3859 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3860 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3862 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3865 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3867 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3868 s_truncf-power5+, and s_truncf-ppc64.
3869 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3871 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3872 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3874 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3875 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3876 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3877 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3878 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3880 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3882 (round_mode): Add definition for ROUND.
3883 (round_to_integer_float): Likewise.
3884 * sysdeps/powerpc/fpu/s_round.c: New file.
3885 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3886 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3887 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3888 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3890 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3892 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3894 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3896 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3898 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3900 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3902 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3904 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3905 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3906 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3907 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3908 s_roundf-power5+, and s_roundf-ppc64.
3909 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3910 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3912 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3914 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3915 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3917 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3920 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3922 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3923 s_roundf-power5+, and s_roundf-ppc64.
3924 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3926 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3927 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3929 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3932 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3933 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3935 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3937 (round_mode): Add definition for FLOOR.
3938 * sysdeps/powerpc/fpu/s_floor.c: New file.
3939 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3940 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3941 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3958 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3959 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3960 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3961 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3962 s_floorf-power5+, and s_floorf-ppc64.
3963 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3964 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3966 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3968 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3969 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3971 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3974 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3976 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3977 s_floorf-power5+, and s_floorf-ppc64.
3978 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
3980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
3982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
3984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
3986 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3987 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
3989 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
3991 2019-05-08 Mike Crowe <mac@mcrowe.com>
3993 * support/xclock_gettime.c (xclock_gettime): New file. Provide
3994 clock_gettime wrapper for use in tests that fails the test rather
3995 than returning failure.
3997 * support/xtime.h: New file to declare xclock_gettime.
3999 * support/Makefile: Add xclock_gettime.c.
4001 * support/README: Mention xtime.h.
4003 2019-05-08 Florian Weimer <fweimer@redhat.com>
4005 malloc/tst-mallocfork2: Use process-shared barriers.
4006 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4007 (signal_count, sigusr1_sender_pid): Remove.
4008 (iterations): Define constant.
4009 (shared): New variable.
4010 (sigusr1_received): Update comment.
4011 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4012 (signal_sender): Optional use barriers to avoid sending signals
4013 during irrelevant times.
4014 (do_it): Initialize variable shared. Use xfork for error
4015 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4016 the iteration count, independent of signal delivery. Check for
4017 deadlocks in fork. Introduce barriers for reducing signal
4018 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4019 replaced by the barriers. Count signals during fork/free/malloc
4021 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4023 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4025 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4027 (clock_adjtime64) New syscall.
4028 (clock_getres_time64) Likewise.
4029 (clock_gettime64) Likewise.
4030 (clock_nanosleep_time64) Likewise.
4031 (clock_settime64) Likewise.
4032 (futex_time64) Likewise.
4033 (io_pgetevents_time64) Likewise.
4034 (io_uring_enter) Likewise.
4035 (io_uring_register) Likewise.
4036 (io_uring_setup) Likewise.
4037 (mq_timedreceive_time64) Likewise.
4038 (mq_timedsend_time64) Likewise.
4039 (pidfd_send_signal) Likewise.
4040 (ppoll_time64) Likewise.
4041 (pselect6_time64) Likewise.
4042 (recvmmsg_time64) Likewise.
4043 (rt_sigtimedwait_time64) Likewise.
4044 (sched_rr_get_interval_time64) Likewise.
4045 (semtimedop_time64) Likewise.
4046 (timer_gettime64) Likewise.
4047 (timer_settime64) Likewise.
4048 (timerfd_gettime64) Likewise.
4049 (timerfd_settime64) Likewise.
4050 (utimensat_time64) Likewise.
4052 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4053 version to 9 branch.
4055 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4057 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4058 __memmove_thunderx2 to the list of implementations
4059 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4060 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4061 (__memmove_thunderx2): Rewritten using SIMD ld/st
4062 (__memcpy_thunderx2): Fixed handling overlapping cases.
4063 Used ldp/stp instead of ldr/str if possible. Made loops
4066 2019-05-03 Florian Weimer <fweimer@redhat.com>
4068 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4070 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4073 * elf/tst-pldd.c (in_str_list): New function.
4074 (do_test): Add default names for ld and libc as one option.
4076 2019-05-02 Florian Weimer <fweimer@redhat.com>
4078 misc: Add twalk_r function.
4079 * include/search.h (__twalk_r): Declare.
4080 * manual/examples/twalk.c: New file.
4081 * manual/search.texi (Tree Search Function): Document twalk_r.
4082 * misc/Versions (2.30): Export twalk_r.
4083 (GLIBC_PRIVATE): Export __twalk_r.
4084 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4085 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4086 (twalk_r): Add weak alias.
4087 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4088 (walk_trace): New variable.
4089 (struct twalk_with_twalk_r_closure): Define.
4090 (twalk_with_twalk_r_action): New function.
4091 (twalk_with_twalk_r): Likewise.
4092 (walk_action): Call walk_trace_add.
4093 (walk_tree_with): Rename from walk_tree. Add walk argument.
4094 (walk_tree): New function.
4095 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4096 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4098 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4100 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4101 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4102 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4103 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4104 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4105 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4107 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4109 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4111 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4112 (GLIBC_2.30): Likewise.
4113 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4114 (GLIBC_2.30): Likewise.
4115 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4116 (GLIBC_2.30): Likewise.
4117 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4118 (GLIBC_2.30): Likewise.
4119 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4122 (GLIBC_2.30): Likewise.
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4124 (GLIBC_2.30): Likewise.
4125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4126 (GLIBC_2.30): Likewise.
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4128 (GLIBC_2.30): Likewise.
4129 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4131 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4133 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4135 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4136 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4138 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4140 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4142 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4145 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4147 Make mktime etc. compatible with __time64_t
4148 Keep these functions compatible with Gnulib while adding
4149 __time64_t support. The basic idea is to move private API
4150 declarations from include/time.h to time/mktime-internal.h, since
4151 the former file cannot easily be shared with Gnulib whereas the
4153 Also, do some other minor cleanup while in the neighborhood.
4154 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4155 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4156 since Gnulib needs it.
4157 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4158 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4159 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4160 (in_time_t_range): New static function.
4161 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4162 so that glibc users are not tempted to use __time64_t.
4163 * time/mktime-internal.h: Rewrite so that it does both glibc
4164 and Gnulib work. Include time.h if not _LIBC.
4165 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4166 (__time64_t): New type or macro, moved here from
4168 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4169 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4170 from include/time.h.
4171 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4172 New macros, taken from GNulib.
4173 (__mktime_internal): New prototype, moved here from include/time.h.
4174 * time/mktime.c (mktime_min, mktime_max, convert_time)
4175 (ranged_convert, __mktime_internal, __mktime64):
4176 * time/timegm.c (__timegm64):
4177 Use __time64_t, not time_t.
4178 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4179 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4181 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4182 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4183 for libc_hidden_def.
4185 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4187 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4189 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4192 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4193 from `-Wmaybe-uninitialized'.
4194 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4196 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4198 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4200 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4201 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4202 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4203 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4204 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4206 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4223 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4224 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4225 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4226 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4228 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4231 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4232 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4234 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4237 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4240 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4241 s_ceilf-power5+, and s_ceilf-ppc64.
4242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4247 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4248 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4249 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4250 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4252 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4253 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4254 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4256 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4258 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4259 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4260 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4261 (sem_getvalue): Likewise.
4263 2019-04-26 Florian Weimer <fweimer@redhat.com>
4265 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4266 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4268 2019-04-26 Florian Weimer <fweimer@redhat.com>
4270 Makeconfig: Move -Wl,-rpath-link options before library references.
4271 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4272 (link-libc): Remove $(link-libc-rpath-link).
4274 2019-04-25 Florian Weimer <fweimer@redhat.com>
4276 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4277 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4278 (+link-static-before-libc): Remove $(CC).
4279 (+link-static, +link-static-tests): Add $(CC).
4280 (+link-before-libc): Remove $(CC).
4281 (+link, +link-pie, +link-pie-printers): Add $(CC).
4283 2019-04-26 Florian Weimer <fweimer@redhat.com>
4285 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4286 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4287 (+link-static-before-libc): Remove $(CC).
4288 (+link-static, +link-static-tests): Add $(CC).
4289 (+link-before-libc): Remove $(CC).
4290 (+link, +link-pie, +link-pie-printers): Add $(CC).
4292 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4295 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4297 2019-04-25 Florian Weimer <fweimer@redhat.com>
4299 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4300 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4301 (bench-link-targets): New variable.
4302 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4304 2019-04-25 Florian Weimer <fweimer@redhat.com>
4306 Also enable BIND_NOW for programs if --enable-bind-now.
4307 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4308 (+link-pie): Use $(link-extra-flags).
4309 (+link-static): Likewise.
4310 [! $(build-pie-default)] (+link): Likewise.
4311 * manual/install.texi (Configuring and compiling): Update
4312 --enable-bind-now description.
4313 * INSTALL: Regenerated.
4315 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4317 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4318 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4320 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4323 * malloc/Makefile (others): Add memusagestat.
4324 ($(objpfx)memusagestat): Delete rule.
4325 (LDLIBS-memusagestat): New variable.
4327 2019-04-24 Florian Weimer <fweimer@redhat.com>
4329 * locale/Makefile (tests-special): Guard setting by
4330 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4331 to run while cross-compiling.
4333 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4336 * elf/Makefile (tests-container): Add tst-pldd.
4337 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4338 (E(find_maps)): Avoid use alloca, use default read file operations
4339 instead of explicit LFS names, and fix infinite loop.
4340 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4341 (get_process_info): Use _Static_assert instead of assert, use default
4342 directory operations instead of explicit LFS names, and free some
4344 * elf/tst-pldd.c: New file.
4346 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4348 * malloc/arena.c (do_set_mallopt_check): Removed.
4350 2019-04-23 Florian Weimer <fweimer@redhat.com>
4352 locale: Add LOCPATH diagnostics to the locale program.
4353 * locale/programs/locale.c (setlocale_failed): New variable.
4354 (try_setlocale): New function.
4355 (quote_string): Likewise.
4356 (setlocale_diagnostics): Likewise.
4357 (main): Call try_setlocale instead of setlocale. Call
4358 setlocale_diagnostics.
4359 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4360 (tst-locale-locpath.out): New target.
4361 * locale/tst-locale-locpath.sh: New file.
4363 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4365 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4368 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4371 * malloc/hooks.c (malloc_check, realloc_check): Use
4372 __builtin_add_overflow on overflow check and adapt to
4373 checked_request2size change.
4374 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4375 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4376 allocation size to PTRDIFF_MAX.
4377 (REQUEST_OUT_OF_RANGE): Remove macro.
4378 (checked_request2size): Change to inline function and limit maximum
4379 requested size to PTRDIFF_MAX.
4380 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4381 maximum allocation size to PTRDIFF_MAX.
4382 (_mid_memalign): Use _int_memalign call for overflow check.
4383 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4384 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4385 limit maximum requested size to PTRDIFF_MAX.
4386 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4387 valloc, pvalloc): Add __attribute_alloc_size__.
4388 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4389 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4390 larger than PTRDIFF_MAX.
4391 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4392 around tests of malloc with negative sizes.
4393 * malloc/tst-posix_memalign.c (do_test): Likewise.
4394 * malloc/tst-pvalloc.c (do_test): Likewise.
4395 * malloc/tst-valloc.c (do_test): Likewise.
4396 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4397 with resulting size allocation larger than PTRDIFF_MAX with
4398 reallocarray_nowarn.
4399 (reallocarray_nowarn): New function.
4400 * NEWS: Mention the malloc function semantic change.
4402 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4404 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4405 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4407 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4408 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4409 * sysdeps/powerpc/fpu/s_fma.c: New file.
4410 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4412 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4413 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4415 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4416 the magic flag store.
4417 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4419 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4421 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4422 Remove rt_sigreturn call.
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4425 Remove rt_sigreturn call.
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4431 * support/Makefile (libsupport-routines): Add support_subprocess,
4432 xposix_spawn, xposix_spawn_file_actions_addclose, and
4433 xposix_spawn_file_actions_adddup2.
4434 (tst-support_capture_subprocess-ARGS): New rule.
4435 * support/capture_subprocess.h (support_capture_subprogram): New
4437 * support/support_capture_subprocess.c (support_capture_subprocess):
4438 Refactor to use support_subprocess and support_capture_poll.
4439 (support_capture_subprogram): New function.
4440 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4441 str_to_write_mode, test_common, parse_int, handle_restart,
4442 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4443 (do_test): Add support_capture_subprogram tests.
4444 * support/subprocess.h: New file.
4445 * support/support_subprocess.c: Likewise.
4446 * support/xposix_spawn.c: Likewise.
4447 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4448 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4449 * support/xspawn.h: Likewise.
4451 2019-04-17 Mike Gerow <gerow@google.com>
4453 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4456 2019-04-11 Florian Weimer <fweimer@redhat.com>
4458 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4459 domain with empty string.
4460 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4462 2019-04-11 Florian Weimer <fweimer@redhat.com>
4464 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4466 (alloc_buffer_next): Change return type to non-const. Update
4469 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4471 * manual/time.texi (Formatting Calendar Time): Add missing percent
4472 sign to conversion specifier.
4474 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4475 Kwok Cheung Yeung <kcy@codesourcery.com>
4478 * malloc/mtrace.c: Define prototypes for all hooks.
4479 (set_default_hooks): New function.
4480 (set_trace_hooks): Likewise.
4481 (save_default_hooks): Likewise.
4482 (tr_freehook): Use new s*_hooks functions.
4483 (tr_mallochook): Likewise.
4484 (tr_reallochook): Likewise.
4485 (tr_memalignhook): Likewise.
4487 (muntrace): Likewise.
4489 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4491 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4492 (generic_stpcpy): New function.
4493 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4494 (generic_stpncpy): New function.
4495 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4496 (generic_strcat): New function.
4497 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4498 (generic_strcpy): New function.
4499 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4500 (STUPID_STRNCAT): Remove function.
4501 (generic_strncat): New function.
4502 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4503 (STUPID_STRNCPY): Remove function.
4504 (generic_strncpy): New function.
4505 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4506 (generic_strnlen): New function.
4507 (memchr_strnlen): New function.
4508 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4509 (memchr_strlen): Likewise.
4511 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4513 * benchtests/bench-strstr.c (input): Add realistic input text.
4514 (stupid_strstr): Remove function.
4515 (basic_strstr): Add function.
4516 (twoway_strstr): Add function.
4517 (do_one_test): Add result checking.
4518 (do_test): Use new input text. Remove accidental early matches.
4519 (test_main): Improve range of tests, reduce unaligned cases.
4521 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4523 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4524 (basic_memmem): Add function.
4525 (twoway_memmem): Add function.
4527 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4529 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4530 * benchtests/bench-malloc-thread.c: Likewise.
4531 * benchtests/bench-skeleton.c: Likewise.
4532 * benchtests/bench-strtod.c: Likewise.
4533 * benchtests/bench-timing.h: Likewise.
4535 2019-04-08 Florian Weimer <fweimer@redhat.com>
4537 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4539 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4540 RES_INSECURE2 security checks.
4541 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4542 RES_INSECURE2 handling.
4544 2019-04-08 Florian Weimer <fweimer@redhat.com>
4546 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4547 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4548 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4550 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4551 (tests-internal): Update justification for tst-resolv-res_init,
4552 tst-resolv-res_init-thread.
4553 (tst-res_use_inet6): Remove target.
4554 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4555 * resolv/res_debug.c (p_option): Remove "inet6" support.
4556 * resolv/res_init.c (res_setoptions): Likewise.
4557 * resolv/res_use_inet6.h: Remove file.
4558 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4560 (res_use_inet6): Always return false.
4561 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4562 * resolv/resolv_context.h: Adjust file comment.
4563 (struct resolv_context): Update comment on __next field.
4564 (__resolv_context_put): Update comment.
4565 * resolv/tst-res_use_inet6.c: Remove file.
4566 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4568 (test_cases): Adjust test case.
4569 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4570 (thread_byname2_af_inet6): Use old byname_inet6 code.
4571 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4572 (gai): Remove do_inet6 argument.
4573 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4574 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4575 (thread_gai_unspec_inet6): Remove functions.
4576 (do_test): Adjust thread_funcs.
4577 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4579 (gaih_inet): Do not disable RES_USE_INET6 flag.
4581 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4583 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4584 and remove redundant code.
4586 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4588 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4590 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4598 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4599 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4600 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4601 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4602 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4604 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4606 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4609 Remove wcsrchr optimizations.
4610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4612 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4615 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4617 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4625 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4626 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4627 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4628 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4629 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4630 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4631 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4633 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4636 Remove wcschr optimizations.
4637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4639 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4642 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4644 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4652 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4655 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4656 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4658 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4660 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4663 Remove wcscpy optimizations.
4664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4666 * include/loop_unroll.h: New file.
4667 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4668 besides generic implementation.
4670 2019-04-03 DJ Delorie <dj@redhat.com>
4672 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4673 snprintf truncating output.
4675 2019-04-02 DJ Delorie <dj@redhat.com>
4677 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4680 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4683 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4685 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4686 (mkreftable): Add rules for the new Japanese era and the new dates.
4688 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4689 Rafał Lużyński <digitalfreak@lingonborough.com>
4691 * time/tst-strftime2.c (date_t): Explicitly define the type.
4692 (dates): Use natural month and year numbers to express a date.
4693 (is_before): New function to compare dates.
4694 (mkreftable): Minor improvements to simplify maintenance.
4695 (do_test): Reflect the changes in dates array.
4698 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4699 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4700 * time/tst-strftime2.c (locales): Likewise.
4701 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4702 2010-04-01, and 2011-04-01.
4703 (mkreftable): Add rules for the new locales and the new dates.
4705 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4707 * localedata/locales/ja_JP: Add comments to era entries.
4709 2019-04-01 DJ Delorie <dj@redhat.com>
4712 * time/strptime_l.c (%Ey): Fix fencepost error.
4713 * time/tst-strftime3.c: New.
4714 * time/Makefile (tests): Add tst-strftime3.
4716 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
4718 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4719 conditional branch to DIVBYZERO. Fix unwind info.
4720 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4721 excb after conditional branch to $powerof2. Add missing unop
4722 instructions and .align directives and reorder instructions to
4725 2019-04-01 Richard Henderson <rth@twiddle.net>
4727 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4729 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4732 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4734 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4735 $libc_cv_riscv_float_abi in `test' invocation.
4736 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4738 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4740 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4742 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4744 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4745 (_GET_SI_FPSCR): Likewise.
4746 (_SET_SI_FPSCR): Likewise.
4748 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4750 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4752 (signbit): Use builtin for clang 3.3.
4753 (isinf): Use builtin for clang 3.7.
4755 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4757 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4759 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4761 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4764 2019-03-25 Mike Crowe <mac@mcrowe.com>
4766 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4767 pthread_rwlock_timedrdlock with calls to
4768 pthread_rwlock_timedwrlock to ensure that the latter is tested
4769 too. Use new function name in diagnostic messages too.
4771 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4772 (do_test) Use libsupport test macros rather than hand-coded
4773 conditionals and error messages. Ensure that sem_init returns zero
4774 rather than not -1. Use <support/test-driver.c> rather than
4777 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4778 test macros rather than hand-coded conditionals and error messages.
4779 Use <support/test-driver.c> rather than test-skeleton.c.
4781 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4783 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4785 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4786 (NT_MIPS_MSA): Likewise.
4788 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4790 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4791 * benchtests/README: Update description.
4792 * benchtests/bench-timing.h: Default to hp-timing.
4793 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4794 HP_TIMING_PRINT): Remove.
4795 (HP_TIMING_NOW): Add generic implementation.
4796 (hp_timing_t): Change to uint64_t.
4798 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4800 * nptl/descr.h: Likewise.
4801 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4802 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4803 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4804 Abstract hp-timing usage with RTLD_* macros.
4805 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4806 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4807 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4808 HP_TIMING_NONAVAIL): Likewise.
4809 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4811 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4812 HP_SMALL_TIMING_AVAIL): Likewise.
4813 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4814 HP_SMALL_TIMING_AVAIL): Likewise.
4815 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4816 HP_SMALL_TIMING_AVAIL): Likewise.
4817 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4818 HP_SMALL_TIMING_AVAIL): Likewise.
4819 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4821 * sysdeps/generic/hp-timing-common.h: Update comment with
4822 HP_TIMING_AVAIL removal.
4824 * include/random-bits.h: New file.
4825 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4826 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4828 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4829 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4832 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4833 * rt/Makefile (clock-routines): Remove get_clockfreq.
4834 * rt/get_clockfreq.c: Remove file.
4835 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4836 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4837 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4838 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4839 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4841 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4842 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4843 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4844 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4845 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4847 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4848 pthread_clock_settime.
4849 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4850 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4851 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4852 * elf/rtld.c (_dl_start_final): Likewise.
4853 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4854 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4856 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4857 (_dl_cpuclock_offset): Remove.
4858 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4859 cpuclock_offset_ununsed.
4860 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4861 cpuclock_offset set.
4862 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4863 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4864 * nptl/pthread_clock_gettime.c: Remove file.
4865 * nptl/pthread_clock_settime.c: Likewise.
4866 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4867 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4868 and CLOCK_PROCESS_CPUTIME_ID support.
4869 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4870 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4871 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4872 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4873 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4875 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4877 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4879 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4880 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4881 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4883 * sysdeps/s390/memmem-arch13.S: New file.
4884 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4885 if it is only used as fallback.
4886 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4887 * sysdeps/s390/multiarch/ifunc-impl-list.c
4888 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4890 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4892 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4893 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4894 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4896 * sysdeps/s390/multiarch/ifunc-impl-list.c
4897 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4898 * sysdeps/s390/strstr-arch13.S: New file.
4899 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4900 if it is only used as fallback.
4901 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4903 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4905 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4906 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4907 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4908 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4910 * sysdeps/s390/multiarch/ifunc-impl-list.c
4911 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4912 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4913 S390_IS_ARCH13_MIE3): New defines.
4915 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4917 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4918 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4919 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4920 * sysdeps/s390/configure: Regenerated.
4922 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4924 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4925 Add vxe2, vxp, dflt, sort flags.
4926 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4927 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4929 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4930 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4931 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4932 HWCAP_S390_DFLT): Define.
4934 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4937 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4938 of compiler warning.
4939 * locale/programs/ld-collate.c (collate_output): Likewise.
4941 2019-03-21 DJ Delorie <dj@redhat.com>
4944 * iconv/iconvconfig.c (write_output): Replace floating point math
4945 with integer math to avoid imprecise results.
4946 * locale/programs/ld-collate.c (collate_output): Likewise.
4948 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4950 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4951 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4953 2019-03-20 mansayk <6688000@gmail.com>
4956 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4957 (abday): Likewise, but remove the trailing dots.
4959 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4961 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4963 (HWCAP_PACA): Likewise.
4964 (HWCAP_PACG): Likewise.
4965 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4967 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4969 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4971 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4974 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4976 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4978 (old_getpagesize): New syscall.
4980 2019-03-15 Felix Yan <felixonmars@archlinux.org>
4983 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
4984 * localedata/locales/cmn_TW (era): Likewise.
4985 * localedata/locales/hak_TW (era): Likewise.
4986 * localedata/locales/lzh_TW (era): Likewise.
4987 * localedata/locales/nan_TW (era): Likewise.
4989 2019-03-14 Adam Maris <amaris@redhat.com>
4991 * malloc/malloc.c (_int_malloc): Check for large bin list
4992 corruption when inserting unsorted chunk.
4994 2019-03-14 Florian Weimer <fweimer@redhat.com>
4996 Remove obsolete, never-implemented XSI STREAMS declarations.
4997 * manual/terminal.texi (Allocation): Remove portability note and
4999 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5001 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5002 * sysdeps/unix/inet/Subdirs (streams): Remove.
5003 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5004 (conformtest-headers-UNIX98): Likewise.
5005 (conformtest-headers-XOPEN2K): Likewise.
5006 (conformtest-headers-POSIX2008): Likewise.
5007 * posix/compat-streams.c: New file.
5008 * posix/Makefile (routines): Add it.
5009 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5010 getpmsg, isastream, putmsg, putpmsg.
5011 (GLIBC_2.30): New section.
5012 * bits/stropts.h: Remove file.
5013 * bits/xtitypes.h: Likewise.
5014 * conform/data/stropts.h-data: Likewise.
5015 * include/stropts.h: Likewise.
5016 * include/sys/stropts.h: Likewise.
5017 * include/xtitypes.h: Likewise.
5018 * streams/Makefile: Likewise.
5019 * streams/fattach.c: Likewise.
5020 * streams/fdetach.c: Likewise.
5021 * streams/getmsg.c: Likewise.
5022 * streams/getpmsg.c: Likewise.
5023 * streams/isastream.c: Likewise.
5024 * streams/putmsg.c: Likewise.
5025 * streams/putpmsg.c: Likewise.
5026 * streams/stropts.h: Likewise.
5027 * streams/sys/stropts.h: Likewise.
5028 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5029 * sysdeps/s390/bits/xtitypes.h: Likewise.
5030 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5031 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5032 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5033 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5034 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5035 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5036 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5037 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5038 * sysdeps/x86/bits/xtitypes.h: Likewise.
5040 2019-03-14 Florian Weimer <fweimer@redhat.com>
5042 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5044 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5045 but not with libnss_files.
5046 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5048 2019-03-14 Zack Weinberg <zackw@panix.com>
5050 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5051 Specify encoding="utf-8" when opening headers to check.
5053 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5055 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5057 (Context.checkout_tar): Handle variable major version for Linux
5060 2019-03-13 Florian Weimer <fweimer@redhat.com>
5063 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5065 2019-03-13 Zack Weinberg <zackw@panix.com>
5067 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5069 * include/inttypes.h: Adjust to match.
5070 * include/stdint.h: New wrapper.
5072 2019-03-13 Zack Weinberg <zackw@panix.com>
5074 * scripts/check-obsolete-constructs.py: New test script.
5075 * scripts/check-installed-headers.sh: Remove tests for
5076 obsolete typedefs, superseded by check-obsolete-constructs.py.
5077 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5078 as a special test. Update commentary.
5079 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5080 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5082 * posix/sys/types.h (__u_intN_t): Remove.
5083 (u_int8_t): Typedef using __uint8_t.
5084 (u_int16_t): Typedef using __uint16_t.
5085 (u_int32_t): Typedef using __uint32_t.
5086 (u_int64_t): Typedef using __uint64_t.
5088 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5090 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5092 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5093 Ignore types other than AT_HWCAP.
5094 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5095 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5097 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5098 in the case of falling back to generic output mechanism.
5099 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5102 2019-03-12 Florian Weimer <fweimer@redhat.com>
5104 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5106 2019-03-12 Florian Weimer <fweimer@redhat.com>
5109 resolv: Enable full ICMP errors for UDP DNS sockets
5110 * resolv/res_enable_icmp.c: New file.
5111 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5112 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5113 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5116 2019-03-11 Mao Han <han_mao@c-sky.com>
5118 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5119 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5121 2019-03-11 Mao Han <han_mao@c-sky.com>
5123 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5124 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5125 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5127 2019-03-11 Mao Han <han_mao@c-sky.com>
5129 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5131 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5134 2019-03-11 Mao Han <han_mao@c-sky.com>
5136 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5137 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5140 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5143 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5144 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5146 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5147 * localedata/unicode-gen/PropList.txt: Likewise.
5148 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5149 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5150 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5151 * localedata/charmaps/UTF-8: Regenerate.
5152 * localedata/locales/i18n_ctype: Likewise.
5153 * localedata/locales/tr_TR: Likewise.
5154 * localedata/locales/translit_circle: Likewise.
5155 * localedata/locales/translit_cjk_compat: Likewise.
5156 * localedata/locales/translit_combining: Likewise.
5157 * localedata/locales/translit_compat: Likewise.
5158 * localedata/locales/translit_font: Likewise.
5159 * localedata/locales/translit_fraction: Likewise.
5161 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5163 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5164 than after operators.
5165 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5166 (setitimer_locked): Likewise.
5167 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5168 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5169 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5170 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5171 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5172 (PPC_CPU_SUPPORTED): Likewise.
5173 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5174 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5175 (stat_overflow): Likewise.
5176 (statfs_overflow): Likewise.
5177 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5178 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5179 (eq_ttyname_r): Likewise.
5180 (run_chroot_tests): Likewise.
5182 2019-03-07 Florian Weimer <fweimer@redhat.com>
5184 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5187 2019-03-07 Martin Liska <mliska@suse.cz>
5189 * math/Makefile: Change location where math-vector-fortran.h is
5191 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5192 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5193 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5194 * scripts/check-installed-headers.sh: Skip Fortran header files.
5195 * scripts/check-wrapper-headers.py: Likewise.
5197 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5199 * nptl/nptl-init.c (__have_futex_clock_realtime,
5200 __have_futex_clock_realtime): Remove definition.
5201 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5202 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5203 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5204 __ASSUME_FUTEX_CLOCK_REALTIME support.
5205 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5206 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5207 * sysdeps/unix/sysv/linux/kernel-features.h
5208 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5209 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5212 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5214 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5215 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5216 __GI___wcscpy and wcscpy.
5218 2019-03-04 Florian Weimer <fweimer@redhat.com>
5220 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5222 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5225 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5227 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5228 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5230 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5233 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5234 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5236 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5238 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5240 (do_test): Likewise.
5241 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5242 (do_test_call_varg): Likewise.
5243 (do_test_call_rarg): Likewise.
5244 * sysdeps/ieee754/ldbl-opt/Makefile
5245 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5247 ($(objpfx)tst-nldbl-warn.c): New rule.
5248 ($(objpfx)tst-nldbl-error.c): Likewise.
5249 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5252 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5255 * include/bits/error-ldbl.h: New file.
5256 * include/error.h: Include stdarg.h. Declare internal functions
5257 __error_internal and __error_at_line_internal.
5258 * misc/Makefile (headers): Add bits/error-ldbl.h.
5259 * misc/bits/error-ldbl.h: New file.
5260 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5261 avoid the inclusion of bits/error.h.
5262 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5263 and __nldbl_error_at_line.
5264 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5265 (__nldbl_error, __ndlbl_error_at_line): New functions.
5266 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5267 Redirect error and error_at_line.
5268 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5277 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5278 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5279 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5281 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5284 * include/bits/err-ldbl.h: New file.
5285 * include/err.h: Add prototypes for the internal functions:
5286 __vwarnx_internal and __vwarn_internal.
5287 * misc/Makefile (headers): Add bits/err-ldbl.h.
5288 * misc/bits/err-ldbl.h: New file.
5289 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5290 defined, i.e.: when -mlong-double-64 is in use.
5291 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5292 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5293 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5294 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5295 (VA_CALL): New macro.
5296 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5297 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5299 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5300 declare prototypes for the new functions.
5301 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5310 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5311 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5312 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5314 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5316 * sysdeps/ieee754/ldbl-opt/Makefile
5317 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5318 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5319 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5321 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5324 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5325 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5326 * argp/bits/argp-ldbl.h: New file.
5327 * include/argp.h: Include stdarg.h. Add prototypes for internal
5328 functions: __argp_error_internal and __argp_failure_internal.
5329 * include/bits/argp-ldbl.h: New file.
5330 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5331 __nldbl_argp_error and __nldbl_argp_failure.
5332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5333 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5334 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5335 Redirect argp_error and argp_failure calls.
5336 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5345 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5346 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5349 2019-03-01 Florian Weimer <fweimer@redhat.com>
5352 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5353 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5354 code, to avoid creating an ABI tag note.
5355 (modules-names-nobuild): Add tst-big-note-lib.
5357 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5359 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5360 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5362 2019-03-01 Florian Weimer <fweimer@redhat.com>
5365 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5366 (__netlink_assert_response): Add additional missing newlines.
5368 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5370 * sysdeps/powerpc/powerpc32/dl-machine.c
5371 (__elf_machine_fixup_plt): Use space before '('.
5372 (__process_machine_rela): Likewise.
5373 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5375 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5377 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5379 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5380 (pattern): Likewise.
5382 (check_result): Likewise.
5383 (check_excepts): Likewise.
5384 (check_op): Likewise.
5385 (fail_xr): Likewise.
5386 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5387 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5389 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5392 (__makecontext): Likewise.
5393 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5396 2019-02-28 Florian Weimer <fweimer@redhat.com>
5399 elf: Add test with a local IFUNC resolver.
5400 * elf/ifuncmain9.c: New file.
5401 * elf/ifuncmain9pic.c: Likewise.
5402 * elf/ifuncmain9picstatic.c: Likewise.
5403 * elf/ifuncmain9pie.c: Likewise.
5404 * elf/ifuncmain9static.c: Likewise.
5405 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5406 ifuncmain9static, ifuncmain9picstatic.
5407 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5408 Add ifuncmain9, ifuncmain9pic.
5409 * elf/Makefile [multi-arch && build-shared && have-fpie]
5410 (ifunc-pie-tests): Add ifuncmain9pie.
5411 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5412 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5413 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5415 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5417 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5418 * configure: Regenerated.
5419 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5421 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5423 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5424 symbol as __wcspcy instead of wcscpy.
5426 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5428 * include/stdio.h (__renameat2): New hidden prototype.
5429 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5430 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5431 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5432 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5434 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5436 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5439 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5440 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5441 * benchtests/bench-strlen.c (do_test): Likewise.
5442 (test_main): Likewise.
5443 * catgets/gencat.c (read_old): Likewise.
5444 * elf/cache.c (load_aux_cache): Likewise.
5445 * iconvdata/bug-iconv8.c (do_test): Likewise.
5446 * math/test-tgmath-ret.c (do_test): Likewise.
5447 * nis/nis_call.c (rec_dirsearch): Likewise.
5448 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5449 * nptl/tst-audit-threads.c (do_test): Likewise.
5450 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5451 * nss/nss_test1.c (init): Likewise.
5452 * nss/test-netdb.c (test_hosts): Likewise.
5453 * posix/execvpe.c (maybe_script_execute): Likewise.
5454 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5455 * stdio-common/tst-printf.c (do_test): Likewise.
5456 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5457 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5458 * stdlib/qsort.c (STACK_SIZE): Likewise.
5459 * stdlib/test-canon.c (do_test): Likewise.
5460 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5461 * string/memcmp.c (OPSIZ): Likewise.
5462 * string/test-strcpy.c (do_test): Likewise.
5463 (do_random_tests): Likewise.
5464 * string/test-strlen.c (do_test): Likewise.
5465 (test_main): Likewise.
5466 * string/test-strrchr.c (do_test): Likewise.
5467 (do_random_tests): Likewise.
5468 * string/tester.c (test_memrchr): Likewise.
5469 (test_memchr): Likewise.
5470 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5471 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5472 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5473 (read_encoded_value_with_base): Likewise.
5474 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5475 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5476 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5477 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5478 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5479 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5481 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5483 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5484 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5485 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5487 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5489 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5491 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5493 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5494 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5495 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5496 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5497 * time/test_time.c (main): Likewise.
5499 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5501 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5503 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5506 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5509 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5511 * include/wchar.h (__wcscpy): New prototype.
5512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5513 (__wcscpy): Route internal symbol to generic implementation.
5514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5515 Add internal __wcscpy alias.
5516 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5517 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5518 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5519 * wcsmbs/wcscpy.c (wcscpy): Add
5520 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5521 use generic implementation.
5522 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5524 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5527 * sysdeps/m68k/wcpcpy.c: Remove file.
5528 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5530 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5532 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5533 than after operators.
5534 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5535 * sysdeps/mach/hurd/getcwd.c
5536 (__hurd_canonicalize_directory_name_internal): Likewise.
5537 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5538 (pthread_mutex_consistent): Likewise.
5539 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5541 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5542 (__pthread_mutex_transfer_np): Likewise.
5543 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5544 (__pthread_mutex_unlock): Likewise.
5545 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5546 (mtx_owned_p): Likewise.
5547 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5548 (pthread_mutexattr_getrobust): Likewise.
5549 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5550 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5552 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5553 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5554 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5555 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5556 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5558 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5560 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5562 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5563 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5564 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5565 (____longjmp_chk): Likewise.
5566 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5569 (INTERNAL_SYSCALL): Likewise.
5570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5571 (INTERNAL_SYSCALL): Likewise.
5572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5573 (__get_clockfreq_via_cpuinfo): Likewise.
5575 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5577 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5578 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5579 (WORD_COPY_BWD): Likewise.
5580 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5583 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5584 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5586 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5588 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5590 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5591 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5592 rather than after operators.
5593 * elf/cache.c (print_cache): Likewise.
5594 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5595 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5596 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5597 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5598 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5599 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5600 (reauth_proc): Likewise.
5601 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5602 (__file_name_split_at): Likewise.
5603 (__directory_name_split_at): Likewise.
5604 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5605 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5606 * iconv/gconv_dl.c (do_print): Likewise.
5607 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5608 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5609 * locale/setlocale.c (new_composite_name): Likewise.
5610 * malloc/memusagestat.c (main): Likewise.
5611 * misc/fstab.c (fstab_convert): Likewise.
5612 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5614 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5615 (getgrent_next_file): Likewise.
5616 (internal_getgrnam_r): Likewise.
5617 (internal_getgrgid_r): Likewise.
5618 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5620 (internal_getgrent_r): Likewise.
5621 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5622 (getpwent_next_nss): Likewise.
5623 (getpwent_next_file): Likewise.
5624 (internal_getpwnam_r): Likewise.
5625 (internal_getpwuid_r): Likewise.
5626 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5628 (getspent_next_nss): Likewise.
5629 (internal_getspnam_r): Likewise.
5630 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5631 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5632 * string/strchr.c (STRCHR): Likewise.
5633 * string/strchrnul.c (STRCHRNUL): Likewise.
5634 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5635 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5636 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5637 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5638 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5640 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5641 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5642 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5643 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5644 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5645 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5646 (open_file): Likewise.
5647 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5648 (pthread_mutexattr_setprotocol): Likewise.
5649 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5650 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5651 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5652 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5653 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5655 (elf_machine_rela): Likewise.
5656 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5657 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5658 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5659 * sysdeps/posix/rename.c (rename): Likewise.
5660 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5661 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5662 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5663 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5664 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5665 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5666 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5668 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5670 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5671 * time/tzfile.c (__tzfile_compute): Likewise.
5673 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5675 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5676 rather than after operators.
5677 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5678 * crypt/md5.c (md5_finish_ctx): Likewise.
5679 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5680 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5681 * elf/cache.c (load_aux_cache): Likewise.
5682 * elf/dl-load.c (open_verify): Likewise.
5683 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5684 * elf/readelflib.c (process_elf_file): Likewise.
5685 * elf/rtld.c (dl_main): Likewise.
5686 * elf/sprof.c (generate_call_graph): Likewise.
5687 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5688 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5689 * hurd/dtable.c (reauth_dtable): Likewise.
5690 * hurd/getdport.c (__getdport): Likewise.
5691 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5692 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5693 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5695 * hurd/hurdioctl.c (fioctl): Likewise.
5696 * hurd/hurdselect.c (_hurd_select): Likewise.
5697 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5698 (STOPSIGS): Likewise.
5699 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5700 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5701 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5702 * hurd/msgportdemux.c (msgport_server): Likewise.
5703 * hurd/setauth.c (_hurd_setauth): Likewise.
5704 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5705 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5706 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5707 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5708 * login/tst-utmp.c (do_check): Likewise.
5709 (simulate_login): Likewise.
5710 * mach/lowlevellock.h (lll_lock): Likewise.
5711 (lll_trylock): Likewise.
5712 * math/test-fenv.c (ALL_EXC): Likewise.
5713 * math/test-fenvinline.c (ALL_EXC): Likewise.
5714 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5715 * nis/nis_call.c (__do_niscall3): Likewise.
5716 * nis/nis_callback.c (cb_prog_1): Likewise.
5717 * nis/nis_defaults.c (searchaccess): Likewise.
5718 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5719 * nis/nis_ismember.c (internal_ismember): Likewise.
5720 * nis/nis_local_names.c (nis_local_principal): Likewise.
5721 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5722 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5724 * nis/ypclnt.c (yp_match): Likewise.
5725 (yp_first): Likewise.
5726 (yp_next): Likewise.
5727 (yp_master): Likewise.
5728 (yp_order): Likewise.
5729 * nscd/hstcache.c (cache_addhst): Likewise.
5730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5731 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5732 (internal_getpwuid_r): Likewise.
5733 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5734 * posix/glob.h (__GLOB_FLAGS): Likewise.
5735 * posix/regcomp.c (peek_token): Likewise.
5736 (peek_token_bracket): Likewise.
5737 (parse_expression): Likewise.
5738 * posix/regexec.c (sift_states_iter_mb): Likewise.
5739 (check_node_accept_bytes): Likewise.
5740 * posix/tst-spawn3.c (do_test): Likewise.
5741 * posix/wordexp-test.c (testit): Likewise.
5742 * posix/wordexp.c (parse_tilde): Likewise.
5743 (exec_comm): Likewise.
5744 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5745 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5746 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5747 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5748 * stdio-common/tst-fileno.c (do_test): Likewise.
5749 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5750 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5751 * stdlib/strtod_l.c (round_and_return): Likewise.
5752 (____STRTOF_INTERNAL): Likewise.
5753 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5754 * string/strcspn.c (STRCSPN): Likewise.
5755 * string/test-memmem.c (simple_memmem): Likewise.
5756 * termios/tcsetattr.c (tcsetattr): Likewise.
5757 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5758 * time/asctime.c (asctime_internal): Likewise.
5759 * time/strptime_l.c (__strptime_internal): Likewise.
5760 * time/sys/time.h (timercmp): Likewise.
5761 * time/tzfile.c (__tzfile_compute): Likewise.
5763 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5766 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5768 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5770 * argp/argp-help.c (__argp_error_internal): New function,
5771 renamed from __argp_error, but that takes a 'mode_flags'
5772 parameter to control the format of long double parameters.
5773 (__argp_error): Converted into a call __argp_error_internal.
5774 (__argp_failure_internal): New function, renamed from
5775 __argp_failure, but that takes a 'mode_flags' parameter.
5776 (__argp_failure): Converted into a call __argp_failure_internal.
5777 * misc/err.c (__vwarnx_internal): New function, renamed from
5778 vwarnx, but that takes a 'mode_flags' parameter.
5779 (vwarnx): Converted into a call to __vwarnx_internal.
5780 (__vwarn_internal): New function, renamed from vwarn, but that
5781 takes a 'mode_flags' parameter.
5782 (vwarn): Converted into a call to __vwarn_internal.
5783 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5784 call to __vfxprintf with 'mode_flags'.
5785 (__error_internal): New function, renamed from error, but that
5786 takes a 'mode_flags' parameter.
5787 (error): Converted into a call to __error_internal.
5788 (__error_at_line_internal): New function, renamed from
5789 error_at_line, but that takes a 'mode_flags' parameter.
5790 (error_at_line): Converted into a call to
5791 __error_at_line_internal.
5792 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5793 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5796 2019-02-20 Martin Liska <mliska@suse.cz>
5798 * math/Makefile: Install math-vector-fortran.h.
5799 * bits/math-vector-fortran.h: New file.
5800 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5802 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5804 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5805 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5807 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5809 * nptl/pthread_mutex_trylock.c: Fix comment.
5811 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5813 * nptl/pthread_tryjoin.c: Fix comment.
5815 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5818 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5819 after R_SPARC_H34 case.
5821 2019-02-18 Florian Weimer <fweimer@redhat.com>
5823 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5824 (getanswer): Do not call Dprintf.
5825 (res_gethostbyname2_context): Likewise.
5826 (res_gethostbyaddr_context): Likewise.
5828 2019-02-18 Florian Weimer <fweimer@redhat.com>
5830 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5832 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5834 * libio/stdfiles.c: Update comment.
5835 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5836 set _IO_stdin, _IO_stdout, _IO_stderr.
5837 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5838 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5840 (_IO_deallocate_file): New inline function.
5841 * libio/iolibio.h (_IO_vprintf): Remove definition.
5842 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5843 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5844 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5846 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5847 __builtin_expect. Use _IO_legacy_file.
5849 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5851 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5852 Initialize ctid with a known value and remove update of ctid
5854 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5855 as assumed current value of ctid_ptr.
5857 2019-02-16 Florian Weimer <fweimer@redhat.com>
5859 Check that non-sysdeps headers have wrapper headers.
5860 * scripts/check-wrapper-headers.py: New file.
5861 * Makefile (tests-special): Add check-wrapper-headers.out.
5862 (check-wrapper-headers.out): New target.
5863 * Rules (tests-special): Add check-wrapper-headers.out.
5864 (check-wrapper-headers.out): New target.
5866 2019-02-16 Florian Weimer <fweimer@redhat.com>
5868 Add missing header wrappers under include/.
5869 * include/ar.h: New file.
5870 * include/bits/mqueue2.h: Likewise.
5871 * include/bits/stdio.h: Likewise.
5872 * include/bits/stdio2.h: Likewise.
5873 * include/fstab.h: Likewise.
5874 * include/fts.h: Likewise.
5875 * include/lastlog.h: Likewise.
5876 * include/netinet/icmp6.h: Likewise.
5877 * include/netinet/igmp.h: Likewise.
5878 * include/netinet/ip6.h: Likewise.
5879 * include/re_comp.h: Likewise.
5880 * include/regexp.h: Likewise.
5881 * include/rpcsvc/bootparam.h: Likewise.
5882 * include/rpcsvc/yp_prot.h: Likewise.
5883 * include/sys/random.h: Likewise.
5884 * include/sys/stropts.h: Likewise.
5885 * include/sys/ttychars.h: Likewise.
5886 * include/sys/vfs.h: Likewise.
5887 * include/wait.h: Likewise.
5889 2019-02-16 Florian Weimer <fweimer@redhat.com>
5891 * nptl_db/proc_service.h: Move to ...
5892 * sysdeps/nptl/proc_service.h: ... here.
5893 * nptl_db/thread_db.h: Move to ...
5894 * sysdeps/nptl/thread_db.h: ... here.
5895 * nptl/descr.h: Include <thread_db.h>.
5897 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5899 * io/Makefile (tests): Add tst-lockf.
5900 * io/lockf.c (lockf): Use __fcntl and only define for
5901 !__OFF_T_MATCHES_OFF64_T.
5902 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5903 __OFF_T_MATCHES_OFF64_T case.
5904 * io/tst-lockf.c: New file.
5905 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5906 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5907 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5908 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5909 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5911 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5912 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5913 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5915 2019-02-15 Florian Weimer <fweimer@redhat.com>
5918 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5919 pd->result after the thread descriptor has been freed.
5921 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5923 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5924 from function return type.
5926 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5928 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5930 * scripts/test_printers_common.py: Set TERM to a known harmless
5933 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5935 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5936 (xdr_u_int): Likewise.
5937 (xdr_enum): Likewise.
5938 (xdr_bytes): Reword fall-through comment.
5939 (xdr_string): Likewise.
5941 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5944 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5945 (tests): Add tst-join8 tst-join9.
5946 * nptl/lll_timedwait_tid.c: Remove file.
5947 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5948 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5949 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5950 * nptl/pthread_join_common.c (timedwait_tid): New function.
5951 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5953 * nptl/tst-join5.c (thread_join): New function.
5954 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5956 * nptl/tst-join8.c: New file.
5957 * nptl/tst-join9.c: Likewise.
5958 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5959 lll_futex_timed_wait_cancel): Add generic macros.
5960 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5962 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5963 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5964 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5965 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5967 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5969 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5970 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5971 (lll_futex_timed_wait_cancel): New macro.
5973 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5975 * benchtests/Makefile: Add malloc-simple benchmark.
5976 * benchtests/bench-malloc-simple.c: New benchmark.
5978 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
5980 * benchtests/bench-memmove.c (do_one_test): Remove unused
5983 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
5987 2019-01-13 Jim Wilson <jimw@sifive.com>
5990 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
5991 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
5993 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
5995 * nptl/Makefile (tests): Add tst-unwind-thread.
5996 (CFLAGS-tst-unwind-thread.c): Define.
5997 * nptl/tst-unwind-thread.c: New file.
5998 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6001 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6003 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6005 * nis/nis_call.c (__do_niscall3): Likewise.
6007 * catgets/gencat.c (normalize_line): Use braces around empty
6009 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6010 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6011 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6012 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6013 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6014 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6015 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6018 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6021 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6023 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6024 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6025 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6026 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6027 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6028 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6029 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6030 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6031 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6032 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6033 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6034 * benchtests/bench-bcopy.c: Delete file.
6035 * benchtests/bench-bzero.c: Likewise.
6036 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6037 (simple_memccpy): Remove.
6038 (generic_memccpy): Add function.
6039 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6040 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6041 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6042 (generic_mempcpy): Add new function.
6043 * benchtests/bench-memset.c (simple_bzero): Remove.
6044 (builtin_bzero): Remove.
6045 (builtin_memset): Remove.
6046 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6047 (generic_rawmemchr): Add new function.
6049 2019-02-12 Florian Weimer <fweimer@redhat.com>
6051 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6053 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6056 * elf/Makefile (tests): Add tst-audit13.
6057 (modules-names): Add tst-audit13mod1.
6058 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6060 * elf/tst-audit13.c: New file.
6061 * elf/tst-audit13mod1.c: Likewise.
6063 2019-02-12 Florian Weimer <fweimer@redhat.com>
6066 * elf/rtld.c (unload_audit_module): New function.
6067 (report_audit_module_load_error): Likewise.
6068 (load_audit_module): Likewise. Extracted from dl_main. Call
6069 _dl_close if the laversion symbol cannot be found. Use early
6070 returns for error handling. Add malloc error check. Check for a
6071 zero return value from la_version. Remove spurious comment about
6072 static TLS initialization. Remove useless casts.
6073 (notify_audit_modules_of_loaded_object): New function. Extracted
6075 (load_audit_module): Likewise.
6076 (dl_main): Call load_audit_modules.
6078 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6080 * elf/dl-exception.c (_dl_exception_create_format): Add
6081 fall-through comments.
6082 * elf/ldconfig.c (parse_conf_include): Likewise.
6083 * elf/rtld.c (print_statistics): Likewise.
6084 * locale/programs/charmap.c (parse_charmap): Likewise.
6085 * misc/mntent_r.c (__getmntent_r): Likewise.
6086 * posix/wordexp.c (parse_arith): Likewise.
6087 (parse_backtick): Likewise.
6088 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6089 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6092 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6094 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6095 Use float instead of double.
6097 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6099 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6101 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6103 * sysdeps/powerpc/bits/mathinline.h: Remove.
6105 2019-02-08 Florian Weimer <fweimer@redhat.com>
6107 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6108 * math/bits/math-finite.h: Move to ...
6109 * bits/math-finite.h: ... here.
6111 2019-02-08 Florian Weimer <fweimer@redhat.com>
6113 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6114 * bits/unistd_ext.h: here.
6116 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6119 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6120 * nss/tst-nss-files-hosts-long.c: New file.
6121 * nss/tst-nss-files-hosts-long.root: New directory.
6122 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6123 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6125 2019-02-08 Florian Weimer <fweimer@redhat.com>
6127 * include/bits/unistd_ext.h: Remove file.
6128 * posix/bits/unistd_ext.h: Move to ...
6129 * sysdeps/generic/bits/unistd_ext.h: ... here.
6131 2019-02-08 Florian Weimer <fweimer@redhat.com>
6133 * include/bits/unistd_ext.h: New file.
6135 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6137 * time/tst-strftime2.c: Use array_length macros instead of magic
6140 2019-02-08 Florian Weimer <fweimer@redhat.com>
6143 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6145 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6146 locking if the new do_locking argument is true.
6147 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6148 __run_fork_handlers.
6150 2019-02-08 Florian Weimer <fweimer@redhat.com>
6153 Linux: Add gettid system call wrapper.
6154 * posix/Makefile (headers): Add bits/unistd_ext.h.
6155 * posix/bits/unistd_ext.h: New file.
6156 * posix/unistd.h: Include it.
6157 * manual/process.texi (Process Identification): Document gettid.
6158 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6159 tst-gettid, tst-gettid-kill.
6160 (tst-gettid): Link with $(shared-thread-library).
6161 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6162 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6163 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6164 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6165 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6166 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6168 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6170 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6171 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6173 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6175 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6177 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6179 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6181 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6183 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6185 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6186 (GLIBC_2.30): Likewise.
6187 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6188 (GLIBC_2.30): Likewise.
6189 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6190 (GLIBC_2.30): Likewise.
6191 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6192 (GLIBC_2.30): Likewise.
6193 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6196 (GLIBC_2.30): Likewise.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6198 (GLIBC_2.30): Likewise.
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6200 (GLIBC_2.30): Likewise.
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6202 (GLIBC_2.30): Likewise.
6203 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6205 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6207 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6209 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6210 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6212 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6214 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6216 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6218 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6220 2019-02-08 Florian Weimer <fweimer@redhat.com>
6222 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6223 compatibility symbols.
6225 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6228 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6229 Add compiler barriers and comments.
6231 2019-02-07 Florian Weimer <fweimer@redhat.com>
6233 * include/array_length.h (array_length): Do not use a statement
6234 expression and _Static_assert, so that array_length can be used at
6235 file scope and as a constant expression.
6237 2019-02-07 Florian Weimer <fweimer@redhat.com>
6239 * support/xdlfcn.h (xdlmopen): Declare.
6240 * support/xdlmopen.c: New file.
6241 * support/Makefile (libsupport-routines): Add xdlmopen.
6243 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6245 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6246 before return type, without separate inline.
6247 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6248 * elf/dl-tunables.h (tunable_is_name): Likewise.
6249 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6250 (do_set_top_pad): Likewise.
6251 (do_set_mmap_threshold): Likewise.
6252 (do_set_mmaps_max): Likewise.
6253 (do_set_mallopt_check): Likewise.
6254 (do_set_perturb_byte): Likewise.
6255 (do_set_arena_test): Likewise.
6256 (do_set_arena_max): Likewise.
6257 (do_set_tcache_max): Likewise.
6258 (do_set_tcache_count): Likewise.
6259 (do_set_tcache_unsorted_limit): Likewise.
6260 * nis/nis_subr.c (count_dots): Likewise.
6261 * nptl/allocatestack.c (advise_stack_range): Likewise.
6262 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6264 (reduce_sincos): Likewise.
6265 (do_sincos): Likewise.
6266 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6267 (do_set_elision_enable): Likewise.
6268 (TUNABLE_CALLBACK_FNDECL): Likewise.
6270 2019-02-06 Florian Weimer <fweimer@redhat.com>
6272 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6273 (xdlsym): Use dlerror to detect a NULL symbol.
6275 2019-02-06 Florian Weimer <fweimer@redhat.com>
6277 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6279 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6281 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6283 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6285 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6287 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6288 __wmemcmp and weak alias to wmemcmp.
6290 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6293 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6294 TLS_TCB_AT_TP tls variant.
6295 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6296 Add alignment checks.
6297 * support/Makefile (libsupport-routines): Add xposix_memalign and
6299 * support/support.h: Add xposix_memalign.
6300 * support/xthread.h: Add xpthread_attr_setstack.
6301 * support/xposix_memalign.c: New File.
6302 * support/xpthread_attr_setstack.c: Likewise.
6304 2019-02-05 Florian Weimer <fweimer@redhat.com>
6307 arm: Use "nr" constraint for Systemtap probes, to avoid the
6308 compiler using memory operands for constants, due to the "o"
6309 alternative in the default "nor" constraint.
6310 * include/stap-probe.h [USE_STAP_PROBE]: Include
6311 <stap-probe-machine.h>
6312 * sysdeps/generic/stap-probe-machine.h: New file.
6313 * sysdeps/arm/stap-probe-machine.h: Likewise.
6315 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6317 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6318 with 0, not tcache->entries[tc_idx].
6320 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6323 2019-02-04 Andreas Schwab <schwab@suse.de>
6327 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6328 looking up collating elements match against (wide) character
6329 sequence instead of name. Correct alignment adjustment.
6330 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6331 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6332 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6333 (LOCALES): Add cs_CZ.ISO-8859-2.
6334 * posix/tst-fnmatch4.c: New file.
6335 * posix/tst-fnmatch5.c: New file.
6336 * include/wchar.h (__wmemcmp): Declare.
6337 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6338 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6339 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6340 * sysdeps/s390/wmemcmp.c: Likewise.
6342 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6346 * NEWS: Updated for CVE-2019-7309.
6347 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6348 upper 32 bits of RDX register for x32. Use unsigned Jcc
6349 instructions, instead of signed.
6350 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6351 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6353 2019-02-04 Florian Weimer <fweimer@redhat.com>
6355 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6356 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6357 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6359 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6360 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6361 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6362 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6364 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6366 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6368 (posix_spawn_file_actions_addopen): Likewise.
6369 (posix_spawn_file_actions_addclose): Likewise.
6370 (posix_spawn_file_actions_adddup2): Likewise.
6371 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6373 (posix_spawn_file_actions_addfchdir_np): Likewise.
6375 2019-02-04 David Newall <glibc@davidnewall.com>
6377 elf: Implement --preload option for the dynamic linker.
6378 * elf/rtld.c (preloadarg): New variable.
6379 (handle_preload_list): Pass through “where” argument to
6381 (dl_main): Handle "--preload" and add second call to
6382 handle_preload_list.
6383 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6384 (tst-rtld-preload-OBJS): Set variable.
6385 (tst-rtld-preload.out): New target.
6386 * elf/tst-rtld-preload.sh: New file.
6388 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6390 * Makefile (testrun.sh): Exit in case of incorrect argument.
6392 2019-02-04 Florian Weimer <fweimer@redhat.com>
6394 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6397 2019-02-03 Florian Weimer <fweimer@redhat.com>
6399 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6400 implicit overflow checks.
6402 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6404 * stdlib/isomac.c: Include <unistd.h>.
6406 2019-02-03 Florian Weimer <fweimer@redhat.com>
6408 * include/time.h (__tzfile_default): Use int, not long int, for
6410 * time/tzfile.c (struct ttinfo): Change type of the offset member
6412 (__tzfile_read): Remove useless cast.
6413 (__tzfile_default): Adjust prototype.
6414 * time/tzset.c (tz_rule): Change type of the offset member to int.
6415 (parse_offset): Change the type of the sign variable to int.
6417 2019-02-03 Florian Weimer <fweimer@redhat.com>
6420 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6421 * libio/getchar.c (getchar): Likewise.
6422 * libio/getchar_u.c (getchar_unlocked): Likewise.
6423 * libio/getwchar.c (getwchar): Likewise.
6424 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6425 * libio/iogets.c (_IO_gets): Likewise.
6426 * libio/vscanf.c (_IO_vscanf): Likewise.
6427 * libio/vwscanf.c (__vwscanf): Likewise.
6428 * libio/tst-bz24153.c: New file.
6429 * libio/Makefile (tests): Add it.
6431 2019-02-02 Florian Weimer <fweimer@redhat.com>
6434 * manual/resource.texi (Basic Scheduling Functions): Add
6435 portability note. Change process to task throughout the section.
6436 Remove incorrect comment about sched_yield as it affects
6437 tasks/threads, not entire processes.
6438 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6439 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6441 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6443 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6444 * configure: Regenerated.
6445 * manual/install.texi (Tools for Compilation): Update minimum GCC
6447 * INSTALL: Regenerated.
6449 2019-02-01 Florian Weimer <fweimer@redhat.com>
6451 * support/support_test_compare_string.c
6452 (support_test_compare_string): Use "string" in error message.
6453 * support/tst-test_compare_string.c (do_test): Adjust.
6455 2019-02-01 Florian Weimer <fweimer@redhat.com>
6457 * support/support_format_address_family.c
6458 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6460 2019-02-01 Florian Weimer <fweimer@redhat.com>
6462 * manual/socket.texi (Internet Address Formats): Clarify the byte
6463 order of struct sockaddr_in, struct sockaddr_in6. Document
6464 sin6_flowinfo and sin6_scope_id.
6466 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6468 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6469 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6470 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6471 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6472 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6473 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6475 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6477 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6478 [!MEMCHR](MEMCHR): Set to __memchr.
6479 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6480 Add memchr_generic and memchr_nosimd.
6481 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6482 (__libc_ifunc_impl_list): Add memchr ifuncs.
6483 * sysdeps/aarch64/multiarch/memchr.c: New file.
6484 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6485 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6487 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6489 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6491 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6492 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6493 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6494 Add IS_EMAG check for ifunc dispatch.
6495 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6496 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6498 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6500 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6501 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6503 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6506 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6508 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6510 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6512 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6513 syscall-template file.
6515 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6516 Torvald Riegel <triegel@redhat.com>
6517 Rik Prohaska <prohaska7@gmail.com>
6520 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6521 tst-rwlock-trywrlock-stall.
6522 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6523 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6524 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6525 Set __wrphase_fute to 1 only if we started the write phase.
6526 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6527 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6528 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6529 * support/xpthread_rwlock_destroy.c: New file.
6530 * support/xthread.h: Declare xpthread_rwlock_destroy.
6532 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6534 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6537 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6540 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6541 * libio/fileops.c (_IO_new_file_underflow): Likewise
6542 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6543 * libio/putchar.c (putchar): Likewise.
6544 * libio/putchar_u.c (putchar_unlocked): Likewise.
6545 * libio/putwchar.c (putchar): Likewise.
6546 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6547 * libio/tst-bz24051.c: New test.
6548 * libio/Makefile (tests): Add tst-bz24051
6550 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6553 regex: fix read overrun [BZ #24114]
6554 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6555 https://debbugs.gnu.org/34140
6556 * posix/regexec.c (proceed_next_node):
6557 Do not read past end of input buffer.
6559 2019-01-31 Florian Weimer <fweimer@redhat.com>
6562 * nss/nss_files/files-alias.c (get_next_alias): Handle
6563 continuation line without newline at the end.
6564 * nss/tst-nss-files-alias-truncated.c: New file.
6565 * nss/Makefile [$(build-shared)] (tests): Add
6566 tst-nss-files-alias-truncated.
6567 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6568 * support/namespace.h (struct support_chroot_configuration): Add
6570 (struct support_chroot): Add path_aliases member.
6571 * support/support_chroot.c (support_chroot_create): Handle
6573 (support_chroot_free): Free path_aliases.
6575 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6577 * version.h (RELEASE): Set to "development".
6578 (VERSION): Set to "2.29.9000".
6579 * NEWS: Add section for 2.30.
6581 * version.h (RELEASE): Set to "stable".
6582 (VERSION): Set to "2.29".
6583 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6585 * NEWS: Add the list of bugs fixed in 2.29.
6586 * manual/contrib.texi: Update contributors list with some more
6588 * manual/install.texi: Update latest versions of packages
6590 * INSTALL: Regenerated.
6592 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6594 * po/be.po: Update translations.
6595 * po/bg.po: Likewise.
6596 * po/ca.po: Likewise.
6597 * po/cs.po: Likewise.
6598 * po/da.po: Likewise.
6599 * po/de.po: Likewise.
6600 * po/el.po: Likewise.
6601 * po/eo.po: Likewise.
6602 * po/es.po: Likewise.
6603 * po/fi.po: Likewise.
6604 * po/fr.po: Likewise.
6605 * po/gl.po: Likewise.
6606 * po/hr.po: Likewise.
6607 * po/hu.po: Likewise.
6608 * po/ia.po: Likewise.
6609 * po/id.po: Likewise.
6610 * po/it.po: Likewise.
6611 * po/ja.po: Likewise.
6612 * po/ko.po: Likewise.
6613 * po/lt.po: Likewise.
6614 * po/nb.po: Likewise.
6615 * po/nl.po: Likewise.
6616 * po/pl.po: Likewise.
6617 * po/pt_BR.po: Likewise.
6618 * po/ru.po: Likewise.
6619 * po/rw.po: Likewise.
6620 * po/sk.po: Likewise.
6621 * po/sl.po: Likewise.
6622 * po/sv.po: Likewise.
6623 * po/tr.po: Likewise.
6624 * po/uk.po: Likewise.
6625 * po/vi.po: Likewise.
6626 * po/zh_CN.po: Likewise.
6627 * po/zh_TW.po: Likewise.
6629 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6632 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6633 of $f3 register on $y_is_neg path.
6635 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6638 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6639 sigaltstack.ss_flags.
6641 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6644 * manual/time.texi (strftime): Document "%Ey".
6645 * time/strftime_l.c (__strftime_internal): Set the default width
6646 padding with zero of "%Ey" to 2.
6649 * manual/time.texi (strftime): Document "%EC" and "%EY".
6650 * time/Makefile (tests): Add tst-strftime2.
6651 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6652 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6653 override padding for "%Ey".
6654 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6655 "%Ey" in the subformat as if decorated with that flag.
6656 * time/tst-strftime2.c: New file.
6658 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6660 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6664 * elf/Makefile (tests): Add tst-audit13.
6665 (modules-names): Add tst-audit13mod1.
6666 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6668 * elf/rtld.c (dl_main): Handle invalid audit module version.
6669 * elf/tst-audit13.c: New file.
6670 * elf/tst-audit13mod1.c: Likewise.
6672 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6674 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6675 returned by __hurd_at_flags.
6676 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6677 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6678 directly instead of __hurd_file_name_lookup.
6680 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6682 * scripts/build-many-glibcs.py (Context.checkout): Default
6683 binutils version to 2.32 branch.
6685 2019-01-21 Florian Weimer <fweimer@redhat.com>
6689 resolv: Reject trailing characters in host names
6690 * include/arpa/inet.h (__inet_aton_exact): Declare.
6691 (inet_aton): Remove hidden prototype. No longer used internally.
6692 * nscd/gai.c (__inet_aton): Do not define.
6693 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6694 * nss/digits_dots.c (__inet_aton): Likewise.
6695 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6696 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6697 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6698 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6699 (tst-resolv-trailing): Likewise.
6700 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6702 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6703 Make static. Add endp parameter.
6704 (__inet_aton_exact): New function.
6705 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6706 (__inet_addr): Call inet_aton_end.
6707 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6708 not just IPv6. Call __inet_aton_exact.
6709 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6710 (tests): Make const. Add additional test cases with trailing
6712 (do_test): Use array_length.
6713 * resolv/tst-inet_aton_exact.c: New file.
6714 * resolv/tst-resolv-trailing.c: Likewise.
6715 * resolv/tst-resolv-nondecimal.c: Likewise.
6716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6718 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6722 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6723 Clear the upper 32 bits of RSI register.
6724 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6725 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6726 and tst-size_t-wcsnlen.
6727 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6728 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6730 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6734 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6735 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6736 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6737 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6738 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6740 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6744 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6746 * sysdeps/x86_64/strcmp.S: Likewise.
6747 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6748 tst-size_t-strncmp and tst-size_t-wcsncmp.
6749 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6750 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6751 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6753 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6757 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6758 RDX_LP for length. Clear the upper 32 bits of RDX register.
6759 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6760 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6761 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6762 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6764 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6768 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6769 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6770 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6771 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6773 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6777 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6778 length. Clear the upper 32 bits of RDX register.
6779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6780 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6782 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6784 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6786 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6788 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6792 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6793 length. Clear the upper 32 bits of RDX register.
6794 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6795 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6796 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6798 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6799 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6801 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6805 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6806 upper 32 bits of RDX register.
6807 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6808 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6810 * sysdeps/x86_64/x32/test-size_t.h: New file.
6811 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6812 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6814 2019-01-18 Florian Weimer <fweimer@redhat.com>
6817 resolv: Do not send queries for non-host-names in nss_dns.
6818 * resolv/nss_dns/dns-host.c (check_name): New function.
6819 (_nss_dns_gethostbyname2_r): Use it.
6820 (_nss_dns_gethostbyname_r): Likewise.
6821 (_nss_dns_gethostbyname4_r): Likewise.
6823 2019-01-21 Florian Weimer <fweimer@redhat.com>
6825 * resolv/inet_addr.c: Reformat to GNU style.
6826 (__inet_addr, __inet_aton): Update comment.
6828 2019-01-18 Florian Weimer <fweimer@redhat.com>
6830 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6831 ("malloc: Use current (C11-style) atomics for fastbin access").
6832 This commit introduces a substantial performance regression on
6834 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6835 (REMOVE_FB): Define.
6836 (_int_malloc): Use it and reindent.
6837 (_int_free): Use CAS loop with
6838 catomic_compare_and_exchange_val_rel.
6839 (malloc_consolidate): Use atomic_exchange_acq.
6842 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6844 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6846 (LDFLAGS-tst-minsigstksz-2): Likewise.
6847 (LDFLAGS-tst-minsigstksz-3): Likewise.
6848 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6849 (LDFLAGS-tst-minsigstksz-4): Likewise.
6851 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6853 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6856 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6858 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6860 2019-01-16 Zack Weinberg <zackw@panix.com>
6862 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6863 (xget_sigstack_location): New test support functions.
6864 * support/xsigstack.c: New file, implementing them.
6865 * support/tst-xsigstack.c: New test for them.
6866 * support/Makefile: Update.
6868 * signal/tst-minsigstksz-1.c
6869 * signal/tst-minsigstksz-2.c
6870 * signal/tst-minsigstksz-3.c
6871 * signal/tst-minsigstksz-3a.c
6872 * signal/tst-minsigstksz-4.c: New tests.
6873 * signal/Makefile: Run them.
6875 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6877 * po/libc.pot: Regenerate.
6879 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6881 * math/libm-test-fma.inc (fma_test_data): Set
6882 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6884 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6886 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6887 (do_test): Changed __vector __int128_t to __vector unsigned int.
6889 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6892 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6893 stpcpy-avx2 and stpncpy-avx2.
6894 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6895 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6896 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6898 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6899 ifunc-strcpy.h}: rename header for a more generic name.
6900 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6901 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6902 AVX unaligned load is fast and vzeroupper is preferred.
6903 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6904 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6905 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6906 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6907 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6908 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6910 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6912 * argp/argp-help.c: Fix typo in comment.
6913 * misc/sys/cdefs.h: Likewise.
6914 * posix/regexec.c (sift_states_iter_mb): Likewise.
6915 * socket/sockatmark.c: Likewise.
6916 * socket/sys/socket.h: Likewise.
6917 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6918 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6919 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6921 * sysdeps/unix/sockatmark.c: Likewise.
6922 * time/strptime_l.c: Likewise.
6924 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6926 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6927 missing space after the cast of "_NL_CURRENT".
6929 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6931 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6932 ifdef to fix read of VSCR.
6933 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6934 tst-ucontext-ppc64-vscr.c to test list.
6935 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6937 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6939 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6942 2019-01-09 Jim Wilson <jimw@sifive.com>
6944 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6946 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6948 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6949 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6950 __memcpy_falkor for ares.
6951 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6953 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6956 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6959 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6960 4_FP_W_TYPEs are used for IEEE quad precision.
6961 * soft-fp/extendhftf2.c: Likewise.
6962 * soft-fp/extendsftf2.c: Likewise.
6963 * soft-fp/extendxftf2.c: Likewise.
6964 * soft-fp/trunctfdf2.c: Likewise.
6965 * soft-fp/trunctfhf2.c: Likewise.
6966 * soft-fp/trunctfsf2.c: Likewise.
6967 * soft-fp/trunctfxf2.c: Likewise.
6968 * sysdeps/alpha/ots_cvttx.c: Likewise.
6969 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6970 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6971 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6972 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6973 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6974 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6975 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6976 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6977 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6978 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
6979 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
6980 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
6981 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
6982 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
6983 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
6984 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
6985 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
6987 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6990 * Makeconfig: Build libm with -fno-math-errno but build the remaining
6991 code with -fmath-errno.
6992 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
6993 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
6994 * string/test-strerror-errno.c: New file.
6996 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
6999 * localedata/locales/en_US (date_fmt): Add, set to
7000 "%a %d %b %Y %r %Z".
7002 2019-01-07 Florian Weimer <fweimer@redhat.com>
7005 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7006 instead of @var{errno}.
7007 (Parsing of Integers): Likewise.
7008 (Parsing of Floats): Likewise.
7009 * manual/filesys.texi (Working with Directory Trees): Likewise.
7010 (Temporary Files): Likewise.
7011 * manual/job.texi (Terminal Access Functions): Likewise.
7012 * manual/llio.texi (Synchronizing I/O): Likewise.
7013 * manual/math.texi (SVID Random): Likewise.
7014 * manual/message.texi (The catgets Functions): Likewise.
7015 (Translation with gettext): Likewise.
7016 (Locating gettext catalog): Likewise.
7017 (Charset conversion in gettext): Likewise.
7018 * manual/nss.texi (NSS Module Function Internals): Likewise.
7019 * manual/search.texi (Hash Search Function): Likewise.
7020 * manual/setjmp.texi (System V contexts): Likewise.
7021 * manual/time.texi (Sleeping): Likewise.
7022 * manual/users.texi (Lookup User): Likewise.
7023 (Lookup Group): Likewise.
7025 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7027 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7030 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7033 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7034 __builtin_unreachable for default case in switch.
7035 (__ieee754_yn): Likewise.
7036 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7037 (__ieee754_ynl): Likewise.
7038 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7039 (__ieee754_ynl): Likewise.
7040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7041 (__ieee754_ynl): Likewise.
7043 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7045 * manual/maint.texi: Use @{ and @}.
7047 2019-01-04 Florian Weimer <fweimer@redhat.com>
7049 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7051 (do_in_chroot_1): Call it.
7053 Improve error reporting in case it is not possible to create a
7054 collision for the PTY name required by the test.
7056 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7058 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7059 lll_wait_tid with timeout.
7060 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7061 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7062 futex_reltimed_wait_cancelable for cancelabla mode.
7063 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7064 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7066 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7067 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7068 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7069 SYSCALL_CANCEL_NCS): New macro.
7070 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7071 (lll_timedwait_tid): Remove macro.
7072 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7074 (lll_timedwait_tid): Likewise.
7075 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7077 (lll_timedwait_tid): Likewise.
7078 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7080 (lll_timedwait_tid): Likewise.
7081 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7082 Use INTERNAL_SYSCALL_CANCEL.
7083 * sysdeps/unix/sysv/linux/futex-internal.h
7084 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7085 instead of __pthread_{enable,disable}_asynccancel.
7086 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7087 (lll_futex_wait_cancel): New macro.
7089 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7090 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7092 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7093 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7095 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7096 in backtrace analysis.
7097 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7099 (tf_send): Likewise.
7101 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7102 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7103 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7104 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7105 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7106 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7107 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7108 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7109 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7110 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7111 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7112 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7114 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7115 tst-cancel-wrappers.sh.
7116 (generated): Remove tst-cancel-wrappers.out.
7117 (tst-cancel-wrappers.out): Remove rule.
7118 * nptl/tst-cancel-wrappers.sh: Remove file.
7120 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7122 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7123 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7126 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7129 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7130 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7131 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7132 close-on-exec reset for adddup2 file action.
7133 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7135 2019-01-03 Zack Weinberg <zackw@panix.com>
7137 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7138 parameter. Only use deprecated scanf when __USE_GNU is defined
7139 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7140 than 201103L, whichever is relevant for the language being compiled.
7142 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7143 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7144 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7145 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7146 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7150 * libio/iovswscanf.c
7155 * stdio-common/fscanf.c
7156 * stdio-common/scanf.c
7157 * stdio-common/vfscanf.c
7158 * stdio-common/vfwscanf.c
7159 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7160 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7161 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7162 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7163 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7164 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7165 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7166 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7167 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7168 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7169 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7170 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7171 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7172 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7173 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7175 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7176 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7177 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7179 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7180 with a preprocessor macro.
7182 * stdio-common/bug21.c, stdio-common/scanf14.c:
7183 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7184 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7185 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7186 to xscanf, xfscanf, xsscanf.
7188 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7189 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7190 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7191 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7193 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7194 override feature selection macros or provide definitions of u_char etc.
7195 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7196 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7197 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7200 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7203 bits/termios-misc.h.
7204 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7205 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7206 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7208 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7209 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7211 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7212 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7213 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7214 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7215 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7216 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7218 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7219 (sysdep_headers): Add termios-misc.h.
7221 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7222 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7223 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7225 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7227 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7228 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7229 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7230 TCSAFLUSH): Move to termios-tcflow.h.
7231 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7232 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7233 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7234 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7238 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7239 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7240 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7241 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7242 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7243 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7244 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7245 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7247 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7248 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7249 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7250 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7254 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7255 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7256 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7257 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7258 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7260 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7261 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7262 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7268 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7269 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7270 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7272 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7273 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7274 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7275 __MAX_BAUD): Move to termios-baud.h.
7276 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7277 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7278 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7279 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7282 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7284 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7285 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7286 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7287 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7288 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7289 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7291 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7292 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7294 [USE_MISC] (XTABS): Likewise.
7295 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7296 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7297 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7298 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7300 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7302 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7303 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7305 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7306 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7307 IUTF8): Move to termios-c_iflag.h.
7308 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7309 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7310 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7311 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7313 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7315 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7316 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7317 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7319 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7320 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7321 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7322 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7323 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7324 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7325 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7326 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7328 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7329 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7330 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7331 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7334 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7336 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7338 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7340 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7342 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7344 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7345 _HAVE_C_OSPEED): Define.
7346 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7347 _HAVE_C_OSPEED): Likewise.
7348 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7349 _HAVE_C_OSPEED): Likewise.
7350 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7351 (cfsetospeed): Check for define value instead of existence.
7352 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7353 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7354 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7355 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7356 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7359 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7361 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7362 (TIOCSER_TEMT): Likewise.
7363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7364 (TEOCSER_TEMT): Likewise.
7366 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7369 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7371 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7373 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7375 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7377 * sysdeps/htl/pt-barrierattr-setpshared.c
7378 (pthread_barrierattr_setpshared): Add stub warning.
7379 * sysdeps/htl/pt-condattr-setpshared.c
7380 (pthread_condattr_setpshared): Likewise.
7381 * sysdeps/htl/pt-mutexattr-setpshared.c
7382 (pthread_mutexattr_setpshared): Likewise.
7383 * sysdeps/htl/pt-rwlockattr-setpshared.c
7384 (pthread_rwlockattr_setpshared): Likewise.
7385 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7386 (pthread_mutexattr_setpshared): Likewise.
7388 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7390 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7391 constants to match with Linux 4.20.
7393 * sysdeps/mips/mips32/libm-test-ulps: Update.
7394 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7396 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7399 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7400 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7401 than __typeof (...) for the a_ptr variable.
7403 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7405 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7406 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7407 * libio/Makefile (tests): Add tst-sprintf-ub and
7409 (CFLAGS-tst-sprintf-ub.c): New variable.
7410 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7411 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7412 destination buffer and check for overflows in fortified mode.
7413 * libio/libioP.h (PRINTF_CHK): New macro.
7414 * libio/tst-sprintf-chk-ub.c: New file.
7415 * libio/tst-sprintf-ub.c: Likewise.
7417 2019-01-02 Florian Weimer <fweimer@redhat.com>
7420 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7423 2019-01-02 Florian Weimer <fweimer@redhat.com>
7425 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7427 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7429 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7432 * sysdeps/unix/sysv/linux/netpacket/packet.h
7433 (PACKET_IGNORE_OUTGOING): New macro.
7435 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7438 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7440 (riscv_flush_icache): New syscall.
7442 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7443 trailing whitespace removed.
7444 * scripts/config.guess: Update to version 2019-01-01.
7445 * scripts/config.sub: Update to version 2019-01-01.
7446 * scripts/move-if-change: Update from gnulib.
7448 * NEWS: Update copyright dates.
7449 * catgets/gencat.c (print_version): Likewise.
7450 * csu/version.c (banner): Likewise.
7451 * debug/catchsegv.sh: Likewise.
7452 * debug/pcprofiledump.c (print_version): Likewise.
7453 * debug/xtrace.sh (do_version): Likewise.
7454 * elf/ldconfig.c (print_version): Likewise.
7455 * elf/ldd.bash.in: Likewise.
7456 * elf/pldd.c (print_version): Likewise.
7457 * elf/sotruss.sh: Likewise.
7458 * elf/sprof.c (print_version): Likewise.
7459 * iconv/iconv_prog.c (print_version): Likewise.
7460 * iconv/iconvconfig.c (print_version): Likewise.
7461 * locale/programs/locale.c (print_version): Likewise.
7462 * locale/programs/localedef.c (print_version): Likewise.
7463 * login/programs/pt_chown.c (print_version): Likewise.
7464 * malloc/memusage.sh (do_version): Likewise.
7465 * malloc/memusagestat.c (print_version): Likewise.
7466 * malloc/mtrace.pl: Likewise.
7467 * manual/libc.texinfo: Likewise.
7468 * nptl/version.c (banner): Likewise.
7469 * nscd/nscd.c (print_version): Likewise.
7470 * nss/getent.c (print_version): Likewise.
7471 * nss/makedb.c (print_version): Likewise.
7472 * posix/getconf.c (main): Likewise.
7473 * scripts/test-installation.pl: Likewise.
7474 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7476 * All files with FSF copyright notices: Update copyright dates
7477 using scripts/update-copyrights.
7478 * locale/programs/charmap-kw.h: Regenerated.
7479 * locale/programs/locfile-kw.h: Likewise.
7481 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7483 * timezone/zdump.c: Update from tzcode 2018i.
7484 * timezone/zic.c: Likewise.
7486 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7488 regex: improve Gnulib port to AIX
7489 From the glibc point of view, this removes duplicate macro
7490 definitions and is obviously safe.
7491 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7492 * posix/regex_internal.h:
7493 (__attribute__, __attribute_warn_unused_result__):
7494 Remove; already defined elsewhere.
7496 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7499 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7500 copying operation. (ncopies had the wrong type, resulting in an
7501 integer wraparound and too few elements being copied.)
7503 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7506 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7507 <asm/syscalls.h> exists with __has_include__ before including it.
7509 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7511 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7514 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7516 * hurd/lookup-retry: Include <unistd.h>.
7517 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7518 Release it on return. Handle "pid" magical lookup retry.
7520 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7523 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7524 (t_fmt_ampm): Likewise.
7525 * localedata/locales/aa_ER (t_fmt): Likewise.
7526 (t_fmt_ampm): Likewise.
7527 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7528 (t_fmt_ampm): Likewise.
7529 * localedata/locales/aa_ET (t_fmt): Likewise.
7530 (t_fmt_ampm): Likewise.
7531 * localedata/locales/am_ET (t_fmt): Likewise.
7532 (t_fmt_ampm): Likewise.
7533 * localedata/locales/byn_ER (t_fmt): Likewise.
7534 (t_fmt_ampm): Likewise.
7535 * localedata/locales/om_ET (t_fmt): Likewise.
7536 (t_fmt_ampm): Likewise.
7537 * localedata/locales/sid_ET (t_fmt): Likewise.
7538 (t_fmt_ampm): Likewise.
7539 * localedata/locales/so_DJ (t_fmt): Likewise.
7540 (t_fmt_ampm): Likewise.
7541 * localedata/locales/so_ET (t_fmt): Likewise.
7542 (t_fmt_ampm): Likewise.
7543 * localedata/locales/so_SO (t_fmt): Likewise.
7544 (t_fmt_ampm): Likewise.
7545 * localedata/locales/ti_ER (t_fmt): Likewise.
7546 (t_fmt_ampm): Likewise.
7547 * localedata/locales/ti_ET (t_fmt): Likewise.
7548 (t_fmt_ampm): Likewise.
7549 * localedata/locales/tig_ER (t_fmt): Likewise.
7550 (t_fmt_ampm): Likewise.
7551 * localedata/locales/wal_ET (t_fmt): Likewise.
7552 (t_fmt_ampm): Likewise.
7554 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7555 * localedata/locales/ar_IN (t_fmt): Likewise.
7556 * localedata/locales/bhb_IN (t_fmt): Likewise.
7557 * localedata/locales/bho_IN (t_fmt): Likewise.
7558 * localedata/locales/bi_VU (t_fmt): Likewise.
7559 * localedata/locales/bn_BD (t_fmt): Likewise.
7560 * localedata/locales/bn_IN (t_fmt): Likewise.
7561 * localedata/locales/brx_IN (t_fmt): Likewise.
7562 * localedata/locales/doi_IN (t_fmt): Likewise.
7563 * localedata/locales/en_HK (t_fmt): Likewise.
7564 (t_fmt_ampm): Likewise.
7565 * localedata/locales/en_IN (t_fmt): Likewise.
7566 * localedata/locales/en_PH (t_fmt): Likewise.
7567 * localedata/locales/gu_IN (t_fmt): Likewise.
7568 * localedata/locales/hi_IN (t_fmt): Likewise.
7569 * localedata/locales/hif_FJ (t_fmt): Likewise.
7570 * localedata/locales/hne_IN (t_fmt): Likewise.
7571 * localedata/locales/kn_IN (t_fmt): Likewise.
7572 * localedata/locales/kok_IN (t_fmt): Likewise.
7573 * localedata/locales/ks_IN (t_fmt): Likewise.
7574 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7575 * localedata/locales/mag_IN (t_fmt): Likewise.
7576 * localedata/locales/mai_IN (t_fmt): Likewise.
7577 * localedata/locales/mjw_IN (t_fmt): Likewise.
7578 * localedata/locales/ml_IN (t_fmt): Likewise.
7579 * localedata/locales/mni_IN (t_fmt): Likewise.
7580 * localedata/locales/mr_IN (t_fmt): Likewise.
7581 * localedata/locales/ms_MY (t_fmt): Likewise.
7582 * localedata/locales/pa_IN (t_fmt): Likewise.
7583 * localedata/locales/raj_IN (t_fmt): Likewise.
7584 * localedata/locales/sa_IN (t_fmt): Likewise.
7585 * localedata/locales/sat_IN (t_fmt): Likewise.
7586 * localedata/locales/sd_IN (t_fmt): Likewise.
7587 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7588 * localedata/locales/tcy_IN (t_fmt): Likewise.
7589 * localedata/locales/the_NP (t_fmt): Likewise.
7590 * localedata/locales/to_TO (t_fmt): Likewise.
7591 * localedata/locales/ur_IN (t_fmt): Likewise.
7593 * localedata/locales/hif_FJ (d_t_fmt): Set to
7594 "%A %d %b %Y %I:%M:%S %p".
7595 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7597 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7598 * localedata/locales/ar_BH (t_fmt): Likewise.
7599 * localedata/locales/ar_DZ (t_fmt): Likewise.
7600 * localedata/locales/ar_EG (t_fmt): Likewise.
7601 * localedata/locales/ar_IQ (t_fmt): Likewise.
7602 * localedata/locales/ar_JO (t_fmt): Likewise.
7603 * localedata/locales/ar_KW (t_fmt): Likewise.
7604 * localedata/locales/ar_LB (t_fmt): Likewise.
7605 * localedata/locales/ar_LY (t_fmt): Likewise.
7606 * localedata/locales/ar_OM (t_fmt): Likewise.
7607 * localedata/locales/ar_QA (t_fmt): Likewise.
7608 * localedata/locales/ar_SD (t_fmt): Likewise.
7609 * localedata/locales/ar_SS (t_fmt): Likewise.
7610 * localedata/locales/ar_SY (t_fmt): Likewise.
7611 * localedata/locales/ar_TN (t_fmt): Likewise.
7612 * localedata/locales/ar_YE (t_fmt): Likewise.
7614 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7615 (t_fmt_ampm): Likewise.
7616 * localedata/locales/gez_ET (t_fmt): Likewise.
7617 (t_fmt_ampm): Likewise.
7619 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7620 (t_fmt_ampm): Likewise.
7621 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7623 * localedata/locales/zh_HK (t_fmt):
7624 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7626 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7627 because this locale does not use the 12-hour clock.
7628 (t_fmt): Set to "%Z %H:%M:%S".
7629 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7631 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7632 because this locale does not use the 12-hour clock.
7633 (t_fmt): Set to "%H:%M:%S %Z".
7634 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7636 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7637 because this locale does not use the 12-hour clock.
7638 (t_fmt): Set to "%T".
7639 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7640 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7642 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7643 because this locale does not use the 12-hour clock.
7644 (t_fmt): Set to "%H:%M:%S %Z".
7645 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7647 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7648 because this locale does not use the 12-hour clock.
7649 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7650 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7652 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7656 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7657 (t_fmt_ampm): Likewise.
7658 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7659 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7660 (d_fmt): Set to "%-d.%-m.%y".
7662 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7664 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7665 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7666 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7668 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7669 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7670 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7672 * support/blob_repeat.c (check_mul_overflow_size_t,
7673 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7675 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7677 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7679 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7681 regex: simplify Gnulib port
7682 This simplifies the code, by removing stuff intended for porting
7683 to Gnulib but no longer needed there.
7684 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7685 uses of libc_hidden_def, weak_alias.
7686 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7687 _Restrict_ except for public-facing headers.
7688 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7689 Remove; already defined elsewhere.
7690 * posix/regex.c, posix/regex_internal.h:
7691 Use __GNUC_PREREQ instead of rolling our own.
7692 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7694 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7696 * benchtests/bench-strlen.c (generic_strlen): New function.
7697 (memchr_strlen): New function.
7699 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7701 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7702 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7703 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7705 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7707 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7709 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7711 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7712 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7713 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7714 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7715 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7716 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7717 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7719 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7722 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7723 PLT reference in libc.so.
7724 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7725 _Q_lltoq and _Q_qtod PLT references in libc.so.
7727 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7729 * benchtests/bench-memchr.c: Cleanup defines.
7730 * benchtests/bench-memcmp.c: Likewise.
7731 * benchtests/bench-memset.c: Likewise.
7732 * benchtests/bench-memset-large.c: Likewise.
7733 * benchtests/bench-memset-walk.c: Likewise.
7734 * benchtests/bench-stpcpy.c: Likewise.
7735 * benchtests/bench-stpncpy.c: Likewise.
7736 * benchtests/bench-strcat.c: Likewise.
7737 * benchtests/bench-strchr.c: Likewise.
7738 * benchtests/bench-strcmp.c: Likewise.
7739 * benchtests/bench-strcpy.c: Likewise.
7740 * benchtests/bench-strcspn.c: Likewise.
7741 * benchtests/bench-string.h: Likewise.
7742 * benchtests/bench-strlen.c: Likewise.
7743 * benchtests/bench-strncat.c: Likewise.
7744 * benchtests/bench-strncmp.c: Likewise.
7745 * benchtests/bench-strncpy.c: Likewise.
7746 * benchtests/bench-strnlen.c: Likewise.
7747 * benchtests/bench-strpbrk.c: Likewise.
7748 * benchtests/bench-strrchr.c: Likewise.
7749 * benchtests/bench-strspn.c: Likewise.
7751 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7753 * stdlib/longlong.h: Update from GCC.
7756 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7757 * configure: Regenerated.
7758 * manual/install.texi (Tools for Compilation): Update minimum GCC
7760 * INSTALL: Regenerated.
7762 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7764 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7766 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7768 * malloc/malloc.c (mremap_chunk): Additional checks.
7770 2018-12-21 Mao Han <han_mao@c-sky.com>
7772 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7773 * scripts/build-many-glibcs.py: Add C-SKY targets.
7774 * sysdeps/csky/Implies: New file.
7775 * sysdeps/csky/Makefile: Likewise.
7776 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7777 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7778 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7779 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7780 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7781 * sysdeps/csky/abiv2/memmove.S: Likewise.
7782 * sysdeps/csky/abiv2/memset.S: Likewise.
7783 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7784 * sysdeps/csky/abiv2/start.S: Likewise.
7785 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7786 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7787 * sysdeps/csky/abiv2/strlen.S: Likewise.
7788 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7789 * sysdeps/csky/abort-instr.h: Likewise.
7790 * sysdeps/csky/atomic-machine.h: Likewise.
7791 * sysdeps/csky/bits/endian.h: Likewise.
7792 * sysdeps/csky/bits/fenv.h: Likewise.
7793 * sysdeps/csky/bits/link.h: Likewise.
7794 * sysdeps/csky/bits/setjmp.h: Likewise.
7795 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7796 * sysdeps/csky/bsd-setjmp.S: Likewise.
7797 * sysdeps/csky/configure: Likewise.
7798 * sysdeps/csky/configure.ac: Likewise.
7799 * sysdeps/csky/dl-machine.h: Likewise.
7800 * sysdeps/csky/dl-procinfo.c: Likewise.
7801 * sysdeps/csky/dl-procinfo.h: Likewise.
7802 * sysdeps/csky/dl-sysdep.h: Likewise.
7803 * sysdeps/csky/dl-tls.h: Likewise.
7804 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7805 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7806 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7807 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7808 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7809 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7810 * sysdeps/csky/fpu/fegetround.c: Likewise.
7811 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7812 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7813 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7814 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7815 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7816 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7817 * sysdeps/csky/fpu/fesetround.c: Likewise.
7818 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7819 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7820 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7821 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7822 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7823 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7824 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7825 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7826 * sysdeps/csky/fpu_control.h: Likewise.
7827 * sysdeps/csky/gccframe.h: Likewise.
7828 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7829 * sysdeps/csky/ldsodefs.h: Likewise.
7830 * sysdeps/csky/libc-tls.c: Likewise.
7831 * sysdeps/csky/linkmap.h: Likewise.
7832 * sysdeps/csky/machine-gmon.h: Likewise.
7833 * sysdeps/csky/memusage.h: Likewise.
7834 * sysdeps/csky/nofpu/Implies: Likewise.
7835 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7836 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7837 * sysdeps/csky/nptl/Makefile: Likewise.
7838 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7839 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7840 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7841 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7842 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7843 * sysdeps/csky/nptl/tls.h: Likewise.
7844 * sysdeps/csky/preconfigure: Likewise.
7845 * sysdeps/csky/sfp-machine.h: Likewise.
7846 * sysdeps/csky/sotruss-lib.c: Likewise.
7847 * sysdeps/csky/stackinfo.h: Likewise.
7848 * sysdeps/csky/sysdep.h: Likewise.
7849 * sysdeps/csky/tininess.h: Likewise.
7850 * sysdeps/csky/tst-audit.h: Likewise.
7851 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7852 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7853 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7854 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7855 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7856 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7857 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7858 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7859 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7860 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7861 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7862 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7863 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7864 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7865 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7866 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7867 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7868 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7869 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7870 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7871 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7872 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7873 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7874 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7875 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7876 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7877 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7878 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7879 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7880 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7881 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7882 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7883 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7884 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7885 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7886 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7887 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7888 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7889 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7890 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7891 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7892 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7893 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7894 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7896 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7898 * include/time.h (__difftime64): Add.
7899 * time/difftime.c (subtract): convert to 64-bit time.
7900 * time/difftime.c (__difftime64): Add.
7901 * time/difftime.c (__difftime): Wrap around __difftime64.
7903 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7905 * manual/examples/add.c: Remove redundant "if not".
7906 * manual/examples/argp-ex1.c: Likewise.
7907 * manual/examples/argp-ex2.c: Likewise.
7908 * manual/examples/argp-ex3.c: Likewise.
7909 * manual/examples/argp-ex4.c: Likewise.
7910 * manual/examples/atexit.c: Likewise.
7911 * manual/examples/db.c: Likewise.
7912 * manual/examples/dir.c: Likewise.
7913 * manual/examples/dir2.c: Likewise.
7914 * manual/examples/execinfo.c: Likewise.
7915 * manual/examples/filecli.c: Likewise.
7916 * manual/examples/filesrv.c: Likewise.
7917 * manual/examples/fmtmsgexpl.c: Likewise.
7918 * manual/examples/genpass.c: Likewise.
7919 * manual/examples/inetcli.c: Likewise.
7920 * manual/examples/inetsrv.c: Likewise.
7921 * manual/examples/isockad.c: Likewise.
7922 * manual/examples/longopt.c: Likewise.
7923 * manual/examples/memopen.c: Likewise.
7924 * manual/examples/memstrm.c: Likewise.
7925 * manual/examples/mkdirent.c: Likewise.
7926 * manual/examples/mkfsock.c: Likewise.
7927 * manual/examples/mkisock.c: Likewise.
7928 * manual/examples/mygetpass.c: Likewise.
7929 * manual/examples/pipe.c: Likewise.
7930 * manual/examples/popen.c: Likewise.
7931 * manual/examples/rprintf.c: Likewise.
7932 * manual/examples/search.c: Likewise.
7933 * manual/examples/select.c: Likewise.
7934 * manual/examples/setjmp.c: Likewise.
7935 * manual/examples/sigh1.c: Likewise.
7936 * manual/examples/sigusr.c: Likewise.
7937 * manual/examples/stpcpy.c: Likewise.
7938 * manual/examples/strdupa.c: Likewise.
7939 * manual/examples/strftim.c: Likewise.
7940 * manual/examples/subopt.c: Likewise.
7941 * manual/examples/swapcontext.c: Likewise.
7942 * manual/examples/termios.c: Likewise.
7943 * manual/examples/testopt.c: Likewise.
7944 * manual/examples/testpass.c: Likewise.
7945 * manual/examples/timeval_subtract.c: Likewise.
7947 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7949 * sysdeps/x86/fpu/math_private.h: New file.
7950 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7952 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7957 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7959 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7960 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7961 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7962 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7964 (_dl_show_auxv): Give a special treatment to
7965 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7966 and AT_L3_CACHEGEOMETRY.
7967 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7968 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7969 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7970 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7972 2018-12-19 Andreas Schwab <schwab@suse.de>
7974 * nscd/connections.c (check_use): Don't abort on invalid len.
7976 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7978 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
7979 values in the 64bit value cases.
7981 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7987 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
7993 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
7996 (__gmtime64_r): Add.
7998 (__gmtime64_r): Add.
7999 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8005 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8008 (__localtime64_r): Add.
8010 (__localtime64_r): Add.
8011 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8013 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8015 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8016 kernel_sigction definition.
8018 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8020 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8022 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8023 __syscall_rt_sigaction.
8024 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8025 (kernel_sigaction): Use Linux generic defintion.
8027 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8028 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8029 (__syscall_rt_sigaction): Remove implementation.
8030 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8032 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8033 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8034 INTERNAL_SYSCALL): Remove definitions.
8035 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8036 action and signal set size.
8037 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8040 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8041 James Clarke <jrtc27@jrtc27.com>
8044 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8045 Define if SA_RESTORER is defined.
8046 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8047 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8049 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8050 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8052 (HAS_SA_RESTORER): Define.
8053 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8054 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8055 (HAS_SA_RESTORER): Define.
8056 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8057 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8058 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8059 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8060 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8062 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8064 * sysdeps/unix/sysv/linux/kernel-features.h
8065 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8066 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8067 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8068 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8069 (__ASSUME_ST_INO_64_BIT): Likewise.
8070 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8071 <kernel-features.h>.
8072 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8073 Remove conditional code.
8074 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8075 <kernel-features.h>.
8076 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8077 Remove conditional code.
8078 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8079 <kernel-features.h>.
8080 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8081 Remove conditional code.
8082 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8083 <kernel-features.h>.
8084 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8085 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8087 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8089 * sysdeps/s390/multiarch/ifunc-resolve.h
8090 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8091 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8092 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8093 Delete macro definition.
8094 (s390_libc_ifunc_init): Rename to
8095 s390_libc_ifunc_expr_stfle_init.
8096 * sysdeps/s390/bzero: Use
8097 s390_libc_ifunc_expr_stfle_init instead of
8098 s390_libc_ifunc_init.
8099 * sysdeps/s390/memcmp.c: Likewise.
8100 * sysdeps/s390/memcpy.c: Likewise.
8101 * sysdeps/s390/mempcpy.c: Likewise.
8102 * sysdeps/s390/memset.c: Likewise.
8104 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8106 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8107 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8109 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8111 * sysdeps/s390/multiarch/Makefile
8112 (sysdep_routines): Remove wmemcmp variants.
8113 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8114 * sysdeps/s390/multiarch/ifunc-impl-list.c
8115 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8116 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8117 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8118 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8119 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8120 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8121 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8122 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8124 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8126 * sysdeps/s390/multiarch/Makefile
8127 (sysdep_routines): Remove wmemset variants.
8128 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8129 * sysdeps/s390/multiarch/ifunc-impl-list.c
8130 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8131 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8132 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8133 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8134 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8135 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8136 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8137 * sysdeps/s390/ifunc-wmemset.h: New file.
8139 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8141 * sysdeps/s390/multiarch/Makefile
8142 (sysdep_routines): Remove wmemchr variants.
8143 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8144 * sysdeps/s390/multiarch/ifunc-impl-list.c
8145 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8146 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8147 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8148 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8149 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8150 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8151 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8152 * sysdeps/s390/ifunc-wmemchr.h: New file.
8154 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8156 * sysdeps/s390/multiarch/Makefile
8157 (sysdep_routines): Remove wcscspn variants.
8158 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8159 * sysdeps/s390/multiarch/ifunc-impl-list.c
8160 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8161 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8162 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8163 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8164 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8165 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8166 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8167 * sysdeps/s390/ifunc-wcscspn.h: New file.
8169 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8171 * sysdeps/s390/multiarch/Makefile
8172 (sysdep_routines): Remove wcspbrk variants.
8173 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8174 * sysdeps/s390/multiarch/ifunc-impl-list.c
8175 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8176 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8177 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8178 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8179 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8180 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8181 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8182 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8184 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8186 * sysdeps/s390/multiarch/Makefile
8187 (sysdep_routines): Remove wcsspn variants.
8188 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8189 * sysdeps/s390/multiarch/ifunc-impl-list.c
8190 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8191 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8192 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8193 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8194 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8195 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8196 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8197 * sysdeps/s390/ifunc-wcsspn.h: New file.
8199 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8201 * sysdeps/s390/multiarch/Makefile
8202 (sysdep_routines): Remove wcsrchr variants.
8203 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8204 * sysdeps/s390/multiarch/ifunc-impl-list.c
8205 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8206 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8207 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8208 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8209 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8210 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8211 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8212 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8214 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8216 * sysdeps/s390/multiarch/Makefile
8217 (sysdep_routines): Remove wcschrnul variants.
8218 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8219 * sysdeps/s390/multiarch/ifunc-impl-list.c
8220 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8221 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8222 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8223 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8224 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8225 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8226 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8227 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8229 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8231 * sysdeps/s390/multiarch/Makefile
8232 (sysdep_routines): Remove wcschr variants.
8233 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8234 * sysdeps/s390/multiarch/ifunc-impl-list.c
8235 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8236 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8237 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8238 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8239 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8240 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8241 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8242 * sysdeps/s390/ifunc-wcschr.h: New file.
8244 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8246 * sysdeps/s390/multiarch/Makefile
8247 (sysdep_routines): Remove wcsncmp variants.
8248 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8249 * sysdeps/s390/multiarch/ifunc-impl-list.c
8250 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8251 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8252 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8253 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8254 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8255 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8256 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8257 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8259 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8261 * sysdeps/s390/multiarch/Makefile
8262 (sysdep_routines): Remove wcscmp variants.
8263 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8264 * sysdeps/s390/multiarch/ifunc-impl-list.c
8265 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8266 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8267 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8268 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8269 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8270 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8271 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8272 * sysdeps/s390/ifunc-wcscmp.h: New file.
8274 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8276 * sysdeps/s390/multiarch/Makefile
8277 (sysdep_routines): Remove wcsncat variants.
8278 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8279 * sysdeps/s390/multiarch/ifunc-impl-list.c
8280 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8281 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8282 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8283 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8284 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8285 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8286 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8287 * sysdeps/s390/ifunc-wcsncat.h: New file.
8289 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8291 * sysdeps/s390/multiarch/Makefile
8292 (sysdep_routines): Remove wcscat variants.
8293 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8294 * sysdeps/s390/multiarch/ifunc-impl-list.c
8295 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8296 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8297 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8298 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8299 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8300 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8301 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8302 * sysdeps/s390/ifunc-wcscat.h: New file.
8304 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8306 * sysdeps/s390/multiarch/Makefile
8307 (sysdep_routines): Remove wcpncpy variants.
8308 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8309 * sysdeps/s390/multiarch/ifunc-impl-list.c
8310 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8311 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8312 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8313 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8314 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8315 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8316 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8317 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8319 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8321 * sysdeps/s390/multiarch/Makefile
8322 (sysdep_routines): Remove wcsncpy variants.
8323 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8324 * sysdeps/s390/multiarch/ifunc-impl-list.c
8325 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8326 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8327 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8328 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8329 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8330 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8331 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8332 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8334 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8336 * sysdeps/s390/multiarch/Makefile
8337 (sysdep_routines): Remove wcpcpy variants.
8338 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8339 * sysdeps/s390/multiarch/ifunc-impl-list.c
8340 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8341 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8342 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8343 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8344 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8345 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8346 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8347 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8349 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8351 * sysdeps/s390/multiarch/Makefile
8352 (sysdep_routines): Remove wcscpy variants.
8353 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8354 * sysdeps/s390/multiarch/ifunc-impl-list.c
8355 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8356 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8357 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8358 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8359 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8360 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8361 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8362 * sysdeps/s390/ifunc-wcscpy.h: New file.
8364 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8366 * sysdeps/s390/multiarch/Makefile
8367 (sysdep_routines): Remove wcsnlen variants.
8368 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8369 * sysdeps/s390/multiarch/ifunc-impl-list.c
8370 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8371 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8372 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8373 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8374 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8375 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8376 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8377 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8379 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8381 * sysdeps/s390/multiarch/Makefile
8382 (sysdep_routines): Remove wcslen variants.
8383 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8384 * sysdeps/s390/multiarch/ifunc-impl-list.c
8385 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8386 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8387 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8388 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8389 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8390 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8391 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8392 * sysdeps/s390/ifunc-wcslen.h: New file.
8394 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8396 * sysdeps/s390/multiarch/Makefile
8397 (sysdep_routines): Remove memrchr variants.
8398 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8399 * sysdeps/s390/multiarch/ifunc-impl-list.c
8400 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8401 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8402 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8403 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8404 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8405 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8406 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8407 * sysdeps/s390/ifunc-memrchr.h: New file.
8409 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8411 * sysdeps/s390/multiarch/Makefile
8412 (sysdep_routines): Remove memccpy variants.
8413 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8414 * sysdeps/s390/multiarch/ifunc-impl-list.c
8415 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8416 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8417 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8418 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8419 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8420 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8421 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8422 * sysdeps/s390/ifunc-memccpy.h: New file.
8424 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8426 * sysdeps/s390/multiarch/Makefile
8427 (sysdep_routines): Remove rawmemchr variants.
8428 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8429 * sysdeps/s390/multiarch/ifunc-impl-list.c
8430 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8431 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8432 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8433 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8434 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8435 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8436 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8437 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8439 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8441 * sysdeps/s390/multiarch/Makefile
8442 (sysdep_routines): Remove memchr variants.
8443 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8444 * sysdeps/s390/multiarch/ifunc-impl-list.c
8445 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8446 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8447 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8448 * sysdeps/s390/multiarch/memchr.c: Move to ...
8449 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8450 * sysdeps/s390/ifunc-memchr.h: New file.
8451 * sysdeps/s390/s390-64/memchr.S: Move to ...
8452 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8453 for 31/64bit and ifunc handling.
8454 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8455 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8456 * sysdeps/s390/s390-32/memchr.S: Likewise.
8458 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8460 * sysdeps/s390/multiarch/Makefile
8461 (sysdep_routines): Remove strcspn variants.
8462 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8463 * sysdeps/s390/multiarch/ifunc-impl-list.c
8464 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8465 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8466 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8467 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8468 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8469 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8470 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8471 * sysdeps/s390/ifunc-strcspn.h: New file.
8473 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8475 * sysdeps/s390/multiarch/Makefile
8476 (sysdep_routines): Remove strpbrk variants.
8477 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8478 * sysdeps/s390/multiarch/ifunc-impl-list.c
8479 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8480 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8481 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8482 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8483 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8484 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8485 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8486 * sysdeps/s390/ifunc-strpbrk.h: New file.
8488 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8490 * sysdeps/s390/multiarch/Makefile
8491 (sysdep_routines): Remove strspn variants.
8492 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8493 * sysdeps/s390/multiarch/ifunc-impl-list.c
8494 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8495 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8496 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8497 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8498 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8499 * sysdeps/s390/multiarch/strspn.c: Move to ...
8500 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8501 * sysdeps/s390/ifunc-strspn.h: New file.
8503 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8505 * sysdeps/s390/multiarch/Makefile
8506 (sysdep_routines): Remove strrchr variants.
8507 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8508 * sysdeps/s390/multiarch/ifunc-impl-list.c
8509 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8510 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8511 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8512 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8513 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8514 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8515 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8516 * sysdeps/s390/ifunc-strrchr.h: New file.
8518 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8520 * sysdeps/s390/multiarch/Makefile
8521 (sysdep_routines): Remove strchrnul variants.
8522 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8523 * sysdeps/s390/multiarch/ifunc-impl-list.c
8524 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8525 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8526 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8527 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8528 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8529 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8530 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8531 * sysdeps/s390/ifunc-strchrnul.h: New file.
8533 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8535 * sysdeps/s390/multiarch/Makefile
8536 (sysdep_routines): Remove strchr variants.
8537 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8538 * sysdeps/s390/multiarch/ifunc-impl-list.c
8539 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8540 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8541 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8542 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8543 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8544 * sysdeps/s390/multiarch/strchr.c: Move to ...
8545 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8546 * sysdeps/s390/ifunc-strchr.h: New file.
8548 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8550 * sysdeps/s390/multiarch/Makefile
8551 (sysdep_routines): Remove strncmp variants.
8552 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8553 * sysdeps/s390/multiarch/ifunc-impl-list.c
8554 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8555 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8556 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8557 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8558 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8559 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8560 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8561 * sysdeps/s390/ifunc-strncmp.h: New file.
8563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8565 * sysdeps/s390/multiarch/Makefile
8566 (sysdep_routines): Remove strcmp variants.
8567 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8568 * sysdeps/s390/multiarch/ifunc-impl-list.c
8569 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8570 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8571 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8572 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8573 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8574 * sysdeps/s390/ifunc-strcmp.h: New file.
8575 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8576 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8577 for 31/64bit and ifunc handling.
8578 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8579 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8580 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8582 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8584 * sysdeps/s390/multiarch/Makefile
8585 (sysdep_routines): Remove strncat variants.
8586 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8587 * sysdeps/s390/multiarch/ifunc-impl-list.c
8588 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8589 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8590 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8591 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8592 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8593 * sysdeps/s390/multiarch/strncat.c: Move to ...
8594 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8595 * sysdeps/s390/ifunc-strncat.h: New file.
8597 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8599 * sysdeps/s390/multiarch/Makefile
8600 (sysdep_routines): Remove strcat variants.
8601 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8602 * sysdeps/s390/multiarch/ifunc-impl-list.c
8603 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8604 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8605 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8606 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8607 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8608 * sysdeps/s390/multiarch/strcat.c: Move to ...
8609 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8610 * sysdeps/s390/ifunc-strcat.h: New file.
8612 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8614 * sysdeps/s390/multiarch/Makefile
8615 (sysdep_routines): Remove stpncpy variants.
8616 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8617 * sysdeps/s390/multiarch/ifunc-impl-list.c
8618 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8619 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8620 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8621 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8622 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8623 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8624 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8625 * sysdeps/s390/ifunc-stpncpy.h: New file.
8627 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8629 * sysdeps/s390/multiarch/Makefile
8630 (sysdep_routines): Remove strncpy variants.
8631 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8632 * sysdeps/s390/multiarch/ifunc-impl-list.c
8633 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8634 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8635 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8636 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8637 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8638 * sysdeps/s390/ifunc-strncpy.h: New file.
8639 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8640 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8641 and adjust ifunc handling.
8642 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8643 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8644 and adjust ifunc handling.
8645 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8646 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8648 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8650 * sysdeps/s390/multiarch/Makefile
8651 (sysdep_routines): Remove stpcpy variants.
8652 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8653 * sysdeps/s390/multiarch/ifunc-impl-list.c
8654 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8655 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8656 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8657 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8658 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8659 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8660 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8661 * sysdeps/s390/ifunc-stpcpy.h: New file.
8663 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8665 * sysdeps/s390/multiarch/Makefile
8666 (sysdep_routines): Remove strcpy variants.
8667 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8668 * sysdeps/s390/multiarch/ifunc-impl-list.c
8669 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8670 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8671 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8672 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8673 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8674 * sysdeps/s390/ifunc-strcpy.h: New file.
8675 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8676 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8677 for 31/64bit and ifunc handling.
8678 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8679 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8680 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8682 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8684 * sysdeps/s390/multiarch/Makefile
8685 (sysdep_routines): Remove strnlen variants.
8686 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8687 * sysdeps/s390/multiarch/ifunc-impl-list.c
8688 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8689 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8690 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8691 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8692 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8693 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8694 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8695 * sysdeps/s390/ifunc-strnlen.h: New file.
8697 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8699 * sysdeps/s390/multiarch/Makefile
8700 (sysdep_routines): Remove strlen variants.
8701 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8702 * sysdeps/s390/multiarch/ifunc-impl-list.c
8703 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8704 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8705 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8706 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8707 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8708 * sysdeps/s390/multiarch/strlen.c: Move to ...
8709 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8710 * sysdeps/s390/ifunc-strlen.h: New file.
8712 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8714 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8715 * sysdeps/s390/multiarch/ifunc-impl-list.c
8716 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8717 * sysdeps/s390/ifunc-memmem.h: New file.
8718 * sysdeps/s390/memmem.c: Likewise.
8719 * sysdeps/s390/memmem-c.c: Likewise.
8720 * sysdeps/s390/memmem-vx.c: Likewise.
8722 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8724 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8725 * sysdeps/s390/multiarch/ifunc-impl-list.c
8726 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8727 * sysdeps/s390/ifunc-strstr.h: New file.
8728 * sysdeps/s390/strstr.c: Likewise.
8729 * sysdeps/s390/strstr-c.c: Likewise.
8730 * sysdeps/s390/strstr-vx.c: Likewise.
8732 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8734 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8735 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8736 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8737 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8739 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8740 * sysdeps/s390/memmove-c.c: New file.
8741 * sysdeps/s390/memmove.c: Likewise.
8742 * sysdeps/s390/multiarch/ifunc-impl-list.c
8743 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8745 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8747 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8748 * sysdeps/s390/configure.ac: Add check for z13 support.
8749 * sysdeps/s390/configure: Regenerated.
8751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8753 * sysdeps/s390/memcopy.h: New file.
8755 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8757 * sysdeps/s390/s390-32/bcopy.S: Remove.
8758 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8760 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8762 * sysdeps/s390/ifunc-memcpy.h: New File.
8763 * sysdeps/s390/memcpy.S: Move to ...
8764 * sysdeps/s390/memcpy-z900.S ... here.
8765 Move implementations from memcpy-s390x.s to here.
8766 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8767 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8768 Remove memcpy/mempcpy variants.
8769 * sysdeps/s390/Makefile (sysdep_routines):
8770 Add memcpy/mempcpy variants.
8771 * sysdeps/s390/multiarch/ifunc-impl-list.c
8772 (__libc_ifunc_impl_list): Adjust ifunc variants for
8774 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8776 * sysdeps/s390/memcpy.c: ... here.
8777 Adjust ifunc variants for memcpy.
8778 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8779 * sysdeps/s390/mempcpy.c: ... here.
8780 Adjust ifunc variants for mempcpy.
8781 * sysdeps/s390/mempcpy.S: Delete file.
8783 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8785 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8786 * sysdeps/s390/memcpy.S: ... here.
8787 Adjust to be usable for 31/64bit.
8788 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8789 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8790 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8791 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8792 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8793 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8794 Adjust to be usable for 31/64bit.
8795 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8796 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8797 * sysdeps/s390/multiarch/memcpy.c: ... here.
8798 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8800 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8802 * sysdeps/s390/ifunc-memcmp.h: New File.
8803 * sysdeps/s390/memcmp.S: Move to ...
8804 * sysdeps/s390/memcmp-z900.S ... here.
8805 Move implementations from memcmp-s390x.s to here.
8806 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8807 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8808 Remove memcmp variants.
8809 * sysdeps/s390/Makefile (sysdep_routines):
8810 Add memcmp variants.
8811 * sysdeps/s390/multiarch/ifunc-impl-list.c
8812 (__libc_ifunc_impl_list): Adjust ifunc variants for
8814 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8816 * sysdeps/s390/memcmp.c: ... here.
8817 Adjust ifunc variants for memcmp.
8819 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8821 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8822 * sysdeps/s390/memcmp.S: ... here.
8823 Adjust to be usable for 31/64bit.
8824 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8825 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8826 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8828 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8829 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8830 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8831 Adjust to be usable for 31/64bit.
8832 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8833 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8834 * sysdeps/s390/multiarch/memcmp.c: ... here.
8835 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8837 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8839 * sysdeps/s390/s390-32/bzero.S: Delete file.
8840 * sysdeps/s390/s390-64/bzero.S: Likewise.
8841 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8842 * sysdeps/s390/bzero.c: New file.
8843 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8844 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8845 * sysdeps/s390/multiarch/ifunc-impl-list.c
8846 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8848 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8850 * sysdeps/s390/ifunc-memset.h: New File.
8851 * sysdeps/s390/memset.S: Move to ...
8852 * sysdeps/s390/memset-z900.S ... here.
8853 Move implementations from memset-s390x.s to here.
8854 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8855 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8856 Remove memset variants.
8857 * sysdeps/s390/Makefile (sysdep_routines):
8858 Add memset variants.
8859 * sysdeps/s390/multiarch/ifunc-impl-list.c
8860 (__libc_ifunc_impl_list): Adjust ifunc variants for
8862 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8864 * sysdeps/s390/memset.c: ... here.
8865 Adjust ifunc variants for memset.
8867 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8869 * sysdeps/s390/s390-64/memset.S: Move to ...
8870 * sysdeps/s390/memset.S: ... here.
8871 Adjust to be usable for 31/64bit.
8872 * sysdeps/s390/s390-32/memset.S: Delete File.
8873 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8874 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8876 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8877 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8878 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8879 Adjust to be usable for 31/64bit.
8880 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8881 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8882 * sysdeps/s390/multiarch/memset.c: ... here.
8883 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8885 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8887 * sysdeps/s390/multiarch/ifunc-resolve.h
8888 (s390_libc_ifunc_init, s390_libc_ifunc,
8889 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8891 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8893 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8894 * sysdeps/s390/configure.ac: Add check for z10 support.
8895 * sysdeps/s390/configure: Regenerated.
8897 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8899 * sysdeps/i386/atomic-machine.h: Merged with ...
8900 * sysdeps/x86_64/atomic-machine.h: To ...
8901 * sysdeps/x86/atomic-machine.h: This. New file.
8903 2018-12-18 Florian Weimer <fweimer@redhat.com>
8905 Rewrite locale/gen-translit.pl in Python.
8906 * locale/Makefile (generated): Add C-translit.h.
8907 (before-compile): Add $(objpfx)C-translit.h.
8908 (C-translit.h): Move to $(objpfx). Create target directory.
8909 Build using Python script.
8910 * locale/gen-translit.py: New file.
8911 * locale/gen-translit.pl: Remove file.
8912 * locale/C-translit.h.in: Change comment character to '#' for
8913 easier parsing without a C preprocessor.
8914 * locale/C-translit.h: Remove generated file.
8915 * manual/install.texi (Tools for Compilation): Do not mention
8917 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8918 Remove locale/C-translit.h.
8919 * scripts/update-copyrights: Likewise.
8920 * INSTALL: Regenerate.
8922 2018-12-18 Florian Weimer <fweimer@redhat.com>
8925 * localedata/locales/bi_VU: Remove executable bit from file.
8927 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8930 (__localtime64): Add.
8931 * manual/maint.texi: Document Y2038 symbol handling.
8933 (__localtime64): Add.
8934 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8936 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8938 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8941 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8942 to allow extra macros from first or second sources.
8943 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8944 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8945 (tests-special): Add $(objpfx)tst-mman-consts.out.
8946 ($(objpfx)tst-mman-consts.out): New makefile target.
8948 2018-12-17 Mao Han <han_mao@c-sky.com>
8950 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8951 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8952 without stat64 system call support.
8953 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8954 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8955 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8956 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8957 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8958 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8959 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8960 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8961 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8962 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8963 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8965 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8967 regex: fix storage-exhaustion error
8969 * posix/regexec.c (get_subexp):
8970 Do not continue if storage is exhausted.
8972 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8974 regex: fix heap-use-after-free error
8976 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8977 https://debbugs.gnu.org/32592
8978 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
8979 call extend_buffers which reallocates the re_string_t internal buffer.
8980 Local variable 'buf' was not updated in such case, resulting in
8982 * posix/regexec.c (get_subexp): Update 'buf' after call to
8985 2018-12-15 Florian Weimer <fweimer@redhat.com>
8987 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
8988 (minimum_stride_size): Use it.
8989 (support_blob_repeat_allocate): Likewise.
8991 2018-12-14 Joseph Myers <joseph@codesourcery.com>
8993 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
8998 2018-12-14 Florian Weimer <fweimer@redhat.com>
9000 * manual/process.texi (Process Creation Concepts): Remove
9001 documentation of process (ID) lifetime. List more process
9002 creation functions. Reference Process Identification section.
9003 (Process Identification): Add information about process ID
9004 lifetime. Describe Linux thread/task IDs.
9005 * manual/signal.texi (Signaling Another Process): Mention that the
9006 signal is always sent to the process.
9008 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9010 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9011 and tst-ldbl-efgcvt.
9012 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9013 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9014 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9015 (fcvt_tests, output_error, output_r_error, do_test): Use the
9016 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9017 select the type of floating-point variables and arguments; to
9018 produce extra tests for double and conversion specifiers for
9019 printf; and to set the names of called functions.
9020 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9021 in tst-efgcvt-template.c.
9022 * misc/tst-ldbl-efgcvt.c: Likewise.
9024 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9026 * nss/Makefile (tst-nss-test3.out): New rule.
9028 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9030 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9033 2018-12-13 fanjinke <fanjinke@hygon.cn>
9035 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9038 2018-12-13 Andreas Schwab <schwab@suse.de>
9041 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9042 (__pthread_rwlock_rdlock_full): Update expected value for
9043 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9044 * nptl/tst-rwlock-pwn.c: New file.
9045 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9047 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9049 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9052 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9054 * benchtests/scripts/compare_bench.py (do_compare): write to
9055 stderr in casestat is not present.
9056 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9057 stderr in case timings field is not present. Also string showing
9058 the output filename goes into the stderr.
9060 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9062 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9063 and ZeroDivisorError exceptions.
9064 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9065 argument to loop through user provided statistics.
9066 * benchtests/scripts/compare_bench.py (main): Include the --stats
9069 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9071 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9074 2018-12-12 Florian Weimer <fweimer@redhat.com>
9076 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9077 clause to copyright header.
9079 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9082 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9083 registers saved in the stack frame.
9084 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9085 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9087 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9089 * include/bits/monetary-ldbl.h: New file.
9090 * include/bits/printf-ldbl.h: Likewise.
9091 * include/bits/stdio-ldbl.h: Likewise.
9092 * include/bits/stdlib-ldbl.h: Likewise.
9093 * include/bits/syslog-ldbl.h: Likewise.
9094 * include/bits/wchar-ldbl.h: Likewise.
9096 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9098 * libio/libio.h: Remove redirection for _IO_vfprintf.
9100 2018-12-11 Andreas Schwab <schwab@suse.de>
9102 * Makerules: Remove all references to abilist-pattern.
9103 (update-all-abi): Simplify find expression.
9105 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9108 * math/auto-libm-test-in: Add new test case.
9109 * math/auto-libm-test-out-pow: Regenerated.
9110 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9112 2018-12-10 DJ Delorie <dj@redhat.com>
9115 * support/test-container.c: Move postclean step to before we
9118 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9120 * scripts/gen-as-const.py (main): Handle --python option.
9121 * scripts/gen-py-const.awk: Remove.
9122 * Makerules (py-const-script): Use gen-as-const.py.
9123 ($(py-const)): Likewise.
9124 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9125 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9126 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9127 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9128 ~PTHREAD_MUTEX_NO_ELISION_NP.
9129 * manual/README.pretty-printers: Update reference to
9132 * scripts/glibcextract.py: New file.
9133 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9134 or tempfile. Import glibcexctract.
9135 (compute_c_consts): Remove. Moved to glibcextract.py.
9136 (gen_test): Update reference to compute_c_consts.
9138 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9139 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9140 * sysdeps/unix/sysv/linux/Makefile
9141 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9142 Redirect stderr as well as stdout.
9144 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9147 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9148 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9149 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9150 ALWAYS_USE_VSYSCALL.
9151 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9152 ALWAYS_USE_VSYSCALL.
9153 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9154 ALWAYS_USE_VSYSCALL.
9156 2018-12-10 Florian Weimer <fweimer@redhat.com>
9159 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9160 offset instead of count for clarity. Fix typo in comment.
9161 (__old_getdents64): Keep track of previous offset. Use it to call
9163 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9164 that d_off is never zero.
9166 2018-12-10 Andreas Schwab <schwab@suse.de>
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9169 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9171 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9172 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9174 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9176 * timezone/private.h: Update from tzcode 2018g.
9177 * timezone/tzfile.h: Likewise.
9178 * timezone/tzselect.ksh: Likewise.
9179 * timezone/zdump.c: Likewise.
9180 * timezone/zic.c: Likewise.
9182 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9185 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9186 (do_test): Adjust buffer size and fix format.
9188 2018-12-07 DJ Delorie <dj@redhat.com>
9191 * malloc/tst-tcfree3.c: New.
9192 * malloc/Makefile: Add it.
9194 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9196 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9198 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9200 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9201 used as a mask for the mode argument of __vfscanf_internal and
9202 __vfwscanf_internal.
9203 * stdio-common/vfscanf-internal.c
9204 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9205 (__strtof128_internal): Define to __wcstof128_internal.
9206 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9207 __strtof128_internal or __wcstof128_internal when the format of
9208 long double is the same as _Float128.
9210 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9212 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9213 * posix/confstr.c (confstr): Rename to __confstr.
9214 (__confstr): Add hidden def.
9215 (confstr): Add weak alias for __confstr.
9216 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9219 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9221 * NEWS: Mention getcpu.
9222 * include/sched.h (__getcpu): New libc_hidden_proto.
9223 * manual/resource.texi: Document getcpu.
9224 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9225 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9226 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9227 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9228 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9229 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9230 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9231 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9232 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9233 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9235 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9236 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9238 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9239 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9240 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9249 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9250 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9251 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9252 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9253 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9254 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9255 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9256 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9257 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9258 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9259 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9262 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9264 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9266 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9268 2018-12-07 Florian Weimer <fweimer@redhat.com>
9271 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9272 * posix/Versions (GLIBC_2.29): Export
9273 posix_spawn_file_actions_addfchdir_np.
9274 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9275 * posix/spawn_faction_destroy.c
9276 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9277 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9278 and the field action.fchdir_action.
9279 * posix/tst-spawn-chdir.c (add_chdir): New function.
9280 (do_test): Add do_fchdir loop. Call add_chdir.
9281 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9282 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9283 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9284 posix_spawn_file_actions_addfchdir_np.
9285 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9287 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9289 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9290 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9292 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9294 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9296 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9298 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9300 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9302 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9303 (GLIBC_2.29): Likewise.
9304 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9305 (GLIBC_2.29): Likewise.
9306 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9307 (GLIBC_2.29): Likewise.
9308 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9309 (GLIBC_2.29): Likewise.
9310 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9313 (GLIBC_2.29): Likewise.
9314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9315 (GLIBC_2.29): Likewise.
9316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9317 (GLIBC_2.29): Likewise.
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9319 (GLIBC_2.29): Likewise.
9320 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9322 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9324 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9326 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9327 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9329 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9331 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9333 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9336 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9338 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9339 trailing whitespace removed.
9340 * scripts/config.guess: Update to version 2018-11-28.
9341 * scripts/config.sub: Update to version 2018-11-28.
9342 * scripts/install-sh: Update to version 2018-03-11.20.
9343 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9344 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9346 2018-12-07 Florian Weimer <fweimer@redhat.com>
9350 * inet/tst-if_index-long.c: New file.
9351 * inet/Makefile (tests): Add tst-if_index-long.
9353 2018-12-07 Florian Weimer <fweimer@redhat.com>
9355 * support/check.h (support_record_failure_is_failed): Declare.
9356 * support/descriptors.h: New file.
9357 * support/support_descriptors.c: Likewise.
9358 * support/tst-support_descriptors.c: Likewise.
9359 * support/support_record_failure.c
9360 (support_record_failure_is_failed): New function.
9361 * support/Makefile (libsupport-routines): Add support_descriptors.
9362 (tests): Add tst-support_descriptors.
9364 2018-12-05 Zack Weinberg <zackw@panix.com>
9365 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9367 * stdio-common/vfprintf-internal.c
9368 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9369 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9370 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9371 and __no_long_double.
9372 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9373 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9374 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9375 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9376 and __nldbl_*syslog* functions.
9377 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9378 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9379 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9380 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9381 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9382 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9383 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9384 (__nldbl_vwprintf, __nldbl_wprintf):
9385 Directly call the appropriate __v*printf_internal routine, passing
9386 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9388 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9389 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9390 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9391 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9392 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9393 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9394 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9395 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9396 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9397 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9398 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9399 (__nldbl_syslog, __nldbl_vsyslog):
9400 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9401 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9403 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9406 2018-12-05 Zack Weinberg <zackw@panix.com>
9407 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9410 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9411 Moved here from debug/vsprintf_chk.c.
9412 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9413 and completion logic for the strfile to match exactly what
9414 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9415 _IO_str_init_static_internal instead of maxlen-1.
9416 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9417 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9418 __vsprintf_internal.
9420 * debug/vsprintf_chk.c (__vsprintf_chk)
9421 * debug/sprintf_chk.c (__sprintf_chk):
9422 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9423 'flags' argument is positive, and slen as maxlen. No need to lock
9424 the FILE and/or construct a temporary FILE. Minimize and normalize
9425 header inclusions and variable names. Do not libc_hidden_def anything.
9427 * debug/asprintf_chk.c (__asprintf_chk)
9428 * debug/dprintf_chk.c (__dprintf_chk)
9429 * debug/fprintf_chk.c (__fprintf_chk)
9430 * debug/fwprintf_chk.c (__fwprintf_chk)
9431 * debug/printf_chk.c (__printf_chk)
9432 * debug/snprintf_chk.c (__snprintf_chk)
9433 * debug/swprintf_chk.c (__swprintf_chk)
9434 * debug/vasprintf_chk.c (__vasprintf_chk)
9435 * debug/vdprintf_chk.c (__vdprintf_chk)
9436 * debug/vfprintf_chk.c (__vfprintf_chk)
9437 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9438 * debug/vprintf_chk.c (__vprintf_chk)
9439 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9440 * debug/vswprintf_chk.c (__vswprintf_chk)
9441 * debug/vwprintf_chk.c (__vwprintf_chk)
9442 * debug/wprintf_chk.c (__wprintf_chk):
9443 Directly call the corresponding vxxprintf_internal function, passing
9444 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9445 the FILE and/or construct a temporary FILE. Minimize and normalize
9446 header inclusions and variable names. Do not libc_hidden_def anything.
9448 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9449 __obstack_vprintf_internal.
9450 (__obstack_vprintf_chk): Convert into a wrapper that calls
9451 __obstack_vprintf_internal (these two functions already had the
9452 same code) and move to new file...
9453 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9455 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9456 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9457 * debug/Makefile (routines): Add vobprintf_chk.
9459 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9460 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9461 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9462 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9463 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9464 (__nldbl___obstack_vfprintf_chk):
9465 Directly call the corresponding vxxprintf_internal function,
9466 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9467 duplicate comparison of slen with 0 or maxlen from the corresponding
9468 non-__nldbl function.
9470 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9471 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9472 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9473 Remove libc_hidden_proto.
9475 * stdio-common/vfprintf-internal.c
9476 (__vfprintf_internal, __vfwprintf_internal):
9477 Do not check _IO_FLAGS2_FORTIFY.
9478 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9479 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9480 a comment explaining why it has the maxlen argument.
9481 (_IO_acquire_lock_clear_flags2_fct): Remove.
9482 (_IO_acquire_lock_clear_flags2): Remove.
9483 (_IO_release_lock): Remove conditional statement which will
9485 (_IO_acquire_lock): Remove variable which is now unused.
9486 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9487 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9489 * stdio-common/Makefile (tests): Add tst-bz11319 and
9490 tst-bz11319-fortify2.
9491 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9492 * stdio-common/tst-bz11319-fortify2.c: New file.
9493 * stdio-common/tst-bz11319.c: Likewise.
9495 2018-12-05 Zack Weinberg <zackw@panix.com>
9496 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9498 * misc/syslog.c: Include libioP.h, not iolibio.h.
9499 (__vsyslog_internal): New function with the former body of
9500 __vsyslog_chk; takes mode_flags argument same as
9501 __v*printf_internal. Call __vfprintf_internal directly.
9503 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9504 Remove libc_hidden_def.
9505 (__syslog, __syslog_chk): Use __vsyslog_internal.
9506 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9508 * include/sys/syslog.h: Add multiple inclusion guard.
9509 Add prototype for __vsyslog_internal.
9510 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9512 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9513 Use __vsyslog_internal.
9515 2018-12-05 Zack Weinberg <zackw@panix.com>
9516 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9518 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9519 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9520 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9522 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9523 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9525 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9526 Include wctype.h here if COMPILE_WPRINTF is defined.
9527 Define __vfprintf_internal or __vfwprintf_internal, depending
9529 Temporarily, on entry to this function, update mode_flags
9530 according to the environmental settings corresponding to
9531 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9532 Throughout, check mode_flags instead of __ldbl_is_dbl and
9533 _IO_FLAGS2_FORTIFY on the destination FILE.
9534 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9535 Include vfprintf-internal.c. Don't include wctype.h.
9536 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9537 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9539 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9540 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9542 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9544 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9545 and add mode_flags argument; use __vfprintf_internal.
9546 (__vdprintf): New function. Alias vdprintf to this.
9547 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9548 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9549 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9550 (__obstack_printf): Use __obstack_printf_internal.
9551 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9552 public aliases __vsnprintf and vsnprintf.
9553 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9555 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9556 public aliases _IO_vsprintf and vsprintf.
9557 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9558 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9559 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9560 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9561 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9563 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9564 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9565 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9566 * stdio-common/printf.c: Use __vfprintf_internal.
9568 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9569 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9570 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9572 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9573 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9574 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9575 __vfwprintf_internal.
9577 * libio/libio.h: Remove libc_hidden_proto and declaration for
9579 Remove declaration of _IO_vfwprintf.
9580 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9582 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9584 * include/stdio.h: Add prototype for __vasprintf.
9585 (__vsnprintf): Remove declaration, because there are no more
9587 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9588 declaration, because there are no more internal calls.
9590 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9591 __vsnprintf_internal, instead of _IO_vsnprintf.
9592 * argp/argp-help.c (__argp_error, __argp_failure): Use
9593 __vasprintf_internal, instead of _IO_vasprintf.
9594 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9595 redefine, because there are no more internal calls.
9597 2018-12-05 Zack Weinberg <zackw@panix.com>
9598 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9600 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9601 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9602 Include libio/strfile.h instead of libioP.h.
9603 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9604 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9605 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9606 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9607 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9608 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9609 necessary. Do not set __no_long_double. Normalize variable names.
9610 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9611 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9612 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9613 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9614 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9615 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9616 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9617 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9618 Do not set __no_long_double. Normalize variable names.
9620 2018-12-05 Zack Weinberg <zackw@panix.com>
9621 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9623 * stdio-common/isoc99_scanf.c
9624 * stdio-common/isoc99_fscanf.c
9625 * stdio-common/isoc99_sscanf.c
9626 * stdio-common/isoc99_vscanf.c
9627 * stdio-common/isoc99_vfscanf.c
9628 * stdio-common/isoc99_vsscanf.c
9629 * wcsmbs/isoc99_wscanf.c
9630 * wcsmbs/isoc99_fwscanf.c
9631 * wcsmbs/isoc99_swscanf.c
9632 * wcsmbs/isoc99_vwscanf.c
9633 * wcsmbs/isoc99_vfwscanf.c
9634 * wcsmbs/isoc99_vswscanf.c:
9635 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9636 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9637 No need to lock and unlock the FILE passed to that function.
9639 * stdio-common/vfscanf-internal.c
9640 (__vfscanf_internal, __vfwscanf_internal):
9641 Don't look at _IO_FLAGS2_SCANF_STD.
9642 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9643 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9644 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9646 2018-12-05 Zack Weinberg <zackw@panix.com>
9647 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9649 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9650 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9651 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9652 * libio/strfile.h: Add multiple inclusion guard.
9653 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9655 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9656 consistency with the other version of this file.
9657 (ldbl_compat_symbol): New macro.
9658 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9661 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9662 Define __vfscanf_internal or __vfwscanf_internal, depending on
9663 COMPILE_WSCANF; don't define any other public symbols.
9664 Remove errval and code to set errp.
9665 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9666 as the mode_flags argument.
9667 (encode_error, conv_error, input_error): Don't set errval.
9668 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9669 Include vfscanf-internal.c.
9670 * stdio-common/vfscanf.c: New file defining the public entry
9671 point vfscanf, which calls __vfscanf_internal.
9672 * stdio-common/vfwscanf.c: New file defining the public entry
9673 point vfwscanf, which calls __vfwscanf_internal.
9675 * stdio-common/iovfscanf.c: New file.
9676 * stdio-common/iovfwscanf.c: Likewise.
9678 * stdio-common/Makefile (routines): Add vfscanf-internal,
9679 vfwscanf-internal, iovfscanf, iovfwscanf.
9680 * stdio-common/Versions: Mention GLIBC_2.29, so that
9681 it can be used in SHLIB_COMPAT expressions.
9682 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9683 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9684 Call __vfscanf_internal, instead of _IO_vfscanf.
9685 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9687 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9690 * libio/iovsscanf.c: Clean up includes, when possible. Use
9691 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9692 __vfscanf_internal or __vfwscanf_internal directly.
9693 * libio/iovswscanf.c: Likewise.
9694 * libio/swscanf.c: Likewise.
9695 * libio/vscanf.c: Likewise.
9696 * libio/vwscanf.c: Likewise.
9697 * libio/wscanf.c: Likewise.
9698 * stdio-common/isoc99_fscanf.c: Likewise.
9699 * stdio-common/isoc99_scanf.c: Likewise.
9700 * stdio-common/isoc99_sscanf.c: Likewise.
9701 * stdio-common/isoc99_vfscanf.c: Likewise.
9702 * stdio-common/isoc99_vscanf.c: Likewise.
9703 * stdio-common/isoc99_vsscanf.c: Likewise.
9704 * stdio-common/scanf.c: Likewise.
9705 * stdio-common/sscanf.c: Likewise.
9706 * wcsmbs/isoc99_fwscanf.c: Likewise.
9707 * wcsmbs/isoc99_swscanf.c: Likewise.
9708 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9709 * wcsmbs/isoc99_vswscanf.c: Likewise.
9710 * wcsmbs/isoc99_vwscanf.c: Likewise.
9711 * wcsmbs/isoc99_wscanf.c: Likewise.
9713 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9716 (__tz_compute): Replace time_t with __time64_t.
9717 (__tz_convert): Replace time_t* with __time64_t.
9718 (__offtime): Replace time_t* with __time64_t.
9720 (__gmtime_r): Adjust call to __tz_convert.
9723 (__localtime_r): Likewise.
9724 (localtime): Likewise.
9725 * time/offtime.c: Replace time_t with __time64_t.
9726 * time/tzset.c: Likewise.
9728 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9730 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9731 dynamic linker unless [$(run-built-tests) = yes].
9733 2018-12-03 DJ Delorie <dj@delorie.com>
9735 * support/test-container.c (check_for_unshare_hints): New.
9736 (main): Call it if unshare fails. Add support for "su" scriptlet
9739 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9741 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9742 'START' to indicate that start text should be output.
9743 (gen_test): Likewise.
9744 (main): Generate 'START' for first symbol or '--' line, or at end
9745 of input if not previously generated.
9747 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9750 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9751 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9752 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9753 ALWAYS_USE_VSYSCALL.
9755 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9758 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9761 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9764 * locale/programs/localedef.c: Declare boolean hard_links default true.
9765 (options): Add --no-hard-links option.
9766 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9767 * locale/programs/localedef.h: Declare prototype for hard_links.
9768 * locale/programs/locfile.c (write_locale_data): Don't use hard
9769 links if hard_links is false.
9771 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9773 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9775 (__cache_sysconf): Likewise.
9776 (init_cacheinfo): Likewise.
9777 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9778 populate COMMON_CPUID_INDEX_80000007 and
9779 COMMON_CPUID_INDEX_80000008.
9780 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9781 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9782 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9783 (init_cpu_features): Use _Static_assert on
9784 index_arch_Fast_Unaligned_Load.
9785 __get_cpuid_registers and __get_arch_feature. Updated for
9786 cpu_features_basic. Set stepping in cpu_features.
9787 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9788 (FEATURE_INDEX_2): New.
9789 (FEATURE_INDEX_MAX): Changed to enum.
9790 (COMMON_CPUID_INDEX_D_ECX_1): New.
9791 (COMMON_CPUID_INDEX_80000007): Likewise.
9792 (COMMON_CPUID_INDEX_80000008): Likewise.
9793 (cpuid_registers): Likewise.
9794 (cpu_features_basic): Likewise.
9795 (CPU_FEATURE_USABLE): Likewise.
9796 (bit_arch_XXX_Usable): Likewise.
9797 (cpu_features): Use cpuid_registers and cpu_features_basic.
9798 (bit_arch_XXX): Reweritten.
9799 (bit_cpu_XXX): Likewise.
9800 (index_cpu_XXX): Likewise.
9801 (reg_XXX): Likewise.
9802 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9804 (CHECK_CPU_FEATURE): New.
9805 (CHECK_CPU_FEATURE_USABLE): Likewise.
9806 (cpu_kinds): Likewise.
9807 (do_test): Print vendor, family, model and stepping. Check
9808 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9809 (TEST_FUNCTION): Removed.
9810 Include <support/test-driver.c> instead of
9811 "../../test-skeleton.c".
9812 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9813 Check POPCNT instead of POPCOUNT.
9814 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9816 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9818 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9819 there is no element in `consts'.
9821 2018-12-01 Florian Weimer <fweimer@redhat.com>
9823 * support/support_capture_subprocess.c
9824 (support_capture_subprocess): Check that pipe descriptors have
9825 expected values. Close original pipe descriptors in subprocess.
9827 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9830 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9831 attr with __pthread_default_barrierattr.
9832 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9833 attr with __pthread_default_condattr.
9834 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9835 attr with __pthread_default_mutexattr.
9836 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9837 attr with __pthread_default_rwlockattr.
9839 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9841 * manual/tunables.texi (POSIX Thread Tunables): New node.
9842 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9843 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9844 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9845 __pthread_tunables_init.
9846 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9847 (max_adaptive_count): Define.
9848 * nptl/pthread_mutex_conf.c: New file.
9849 * nptl/pthread_mutex_conf.h: New file.
9850 * sysdeps/generic/adaptive_spin_count.h: New file.
9851 * sysdeps/nptl/dl-tunables.list: New file.
9852 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9853 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9854 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9857 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9860 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9861 * stdlib/on_exit.c (__on_exit): Likewise.
9862 * stdlib/Makefile (tests): Add tst-bz20544.
9863 * stdlib/tst-bz20544.c: New test.
9865 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9868 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9869 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9872 2018-11-30 Florian Weimer <fweimer@redhat.com>
9874 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9875 Extend error logging.
9876 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9879 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9881 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9882 __sigismember instead of sigismember.
9883 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9884 cancel_handler): New definitions.
9885 (do_system): Use posix_spawn instead of fork and execl and remove
9887 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9888 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9889 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9890 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9891 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9892 * sysdeps/unix/sysv/linux/system.c: Likewise.
9896 * NEWS: Add new semantic for atfork with popen and system.
9897 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9900 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9903 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9904 modification order when accessing reloc_result->addr.
9905 * include/link.h (reloc_result): Add field init.
9906 * nptl/Makefile (tests): Add tst-audit-threads.
9907 (modules-names): Add tst-audit-threads-mod1 and
9908 tst-audit-threads-mod2.
9909 Add rules to build tst-audit-threads.
9910 * nptl/tst-audit-threads-mod1.c: New file.
9911 * nptl/tst-audit-threads-mod2.c: Likewise.
9912 * nptl/tst-audit-threads.c: Likewise.
9913 * nptl/tst-audit-threads.h: Likewise.
9915 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9917 * scripts/gen-as-const.py: New file.
9918 * scripts/gen-as-const.awk: Remove.
9919 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9921 ($(objpfx)test-as-const-%.c): Likewise.
9923 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9925 * elf/dl-exception.c: Include <_itoa.h>.
9927 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9929 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9930 returned by __f_setlk.
9932 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9933 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9935 * elf/Makefile (tests-internal): Add tst-create_format1.
9936 * elf/dl-exception.c (_dl_exception_create_format): Support
9938 * elf/tst-create_format1.c: New file.
9940 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9942 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9943 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9945 * argp/argp-help.c (__argp_failure): Likewise.
9947 2018-11-29 Mao Han <han_mao@c-sky.com>
9949 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9950 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9951 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9952 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9953 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9954 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9955 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9956 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9957 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9958 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9959 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9960 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9961 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9962 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9963 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9964 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9965 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9966 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9967 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9968 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9969 (R_CKCORE_TLS_TPOFF32): New defines.
9971 2018-11-29 Florian Weimer <fweimer@redhat.com>
9973 * posix/Makefile (before-compile): Remove testcases.h and
9975 (generated): Add testcases.h and ptestcases.h.
9976 (testcases.h, ptestcases.h): Move to $(objpfx).
9977 (runtests.o): Add dependency on testcases.h.
9978 (runptests.o): Add dependency on ptestcases.h.
9979 * posix/testcases.h, posix/ptestcases.h: Remove files.
9980 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
9981 not touch posix/testcases.h and posix/ptestcases.h.
9983 2018-11-28 Florian Weimer <fweimer@redhat.com>
9985 support: Add signal support to support_capture_subprocess_check.
9986 * support/capture_subprocess.h (support_capture_subprocess_check):
9987 Adjust comment and rename parameter.
9988 * support/support_capture_subprocess_check.c
9989 (print_actual_status): New function.
9990 (support_capture_subprocess_check): Support negative
9991 status_or_signal. Call print_actual_status.
9992 * support/tst-support_capture_subprocess.c (do_test): Call
9993 support_capture_subprocess_check.
9994 * libio/tst-vtables-common.c (termination_status)
9995 (init_termination_status): Remove.
9996 (check_for_termination): Adjust support_capture_subprocess_check
9998 (do_test): Remove call to init_termination_status.
10000 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10002 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10003 source directory instead of a copy.
10004 (CommandList.create_copy_dir): Remove.
10006 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10008 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10010 2018-11-28 Florian Weimer <fweimer@redhat.com>
10012 * support/support.h (support_quote_string): Do not use str
10015 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10017 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10018 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10020 2018-11-27 Florian Weimer <fweimer@redhat.com>
10022 * support/support.h (support_quote_string): Declare.
10023 * support/support_quote_string.c: New file.
10024 * support/tst-support_quote_string.c: Likewise.
10025 * support/Makefile (libsupport-routines): Add
10026 support_quote_string.
10027 (tests): Add tst-support_quote_string.
10029 2018-11-27 Florian Weimer <fweimer@redhat.com>
10033 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10034 descriptor leak in case of ENODEV error.
10036 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10039 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10040 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10043 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10045 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10046 Error for unknown lines.
10048 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10050 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10051 Touch additional files.
10053 2018-11-26 Florian Weimer <fweimer@redhat.com>
10056 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10059 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10062 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10063 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10064 SHARED. Include sysdep.h.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10066 ALWAYS_USE_VSYSCALL.
10067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10068 ALWAYS_USE_VSYSCALL.
10070 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10073 * nptl/Makefile (tests-static): Add tst-cond11-static.
10075 * nptl/tst-cond11-static.c: New File.
10076 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10077 tst-affinity-static.
10079 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10081 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10082 (USE_VSYSCALL): Likewise.
10083 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10084 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10086 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10091 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10094 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10095 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10098 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10100 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10101 (tst-cet-legacy-1a-ARGS): New.
10102 ($(objpfx)tst-cet-legacy-1a): New target.
10103 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10105 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10107 * conform/conformtest.py (CompileSubTest.__init__): Set
10108 self.run_early to False.
10109 (ExecuteSubTest.__init__): Likewise.
10110 (HeaderTests.run): Try running all non-optional, non-XFAILed
10111 compilation tests in a single execution of the compiler.
10113 * conform/conformtest.py (CompileSubTest): New class.
10114 (ExecuteSubTest): Likewise.
10115 (ElementTest.run): Rename to gen_subtests. Append tests to
10116 self.subtests instead of running them.
10117 (ConstantTest.run): Likewise.
10118 (SymbolTest.run): Likewise.
10119 (TypeTest.run): Likewise.
10120 (TagTest.run): Likewise.
10121 (FunctionTest.run): Likewise.
10122 (VariableTest.run): Likewise.
10123 (MacroFunctionTest.run): Likewise.
10124 (MacroStrTest.run): Likewise.
10125 (HeaderTests.handle_test_line): Generate subtests for tests.
10126 (HeaderTests.run): Run subtests for tests.
10128 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10130 * math/Versions (GLIBC_2.29): Add pow.
10131 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10133 * math/w_pow.c: New file.
10134 * sysdeps/i386/fpu/w_pow.c: New file.
10135 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10137 and add necessary aliases.
10138 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10139 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10140 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10141 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10142 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10143 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10144 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10145 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10146 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10147 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10148 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10149 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10150 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10151 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10152 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10157 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10158 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10159 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10160 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10161 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10162 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10164 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10166 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10167 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10168 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10170 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10172 * math/Versions (GLIBC_2.29): Add log2.
10173 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10175 * math/w_log2.c: New file.
10176 * sysdeps/i386/fpu/w_log2.c: New file.
10177 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10178 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10179 and add necessary aliases.
10180 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10181 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10182 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10183 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10184 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10185 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10186 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10187 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10188 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10189 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10190 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10191 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10192 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10193 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10194 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10199 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10200 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10201 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10202 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10203 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10204 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10205 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10207 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10209 * math/Versions (GLIBC_2.29): Add log.
10210 * math/w_log_compat.c (__log_compat): Change to versioned compat
10212 * math/w_log.c: New file.
10213 * sysdeps/i386/fpu/w_log.c: New file.
10214 * sysdeps/ia64/fpu/e_log.S: Update.
10215 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10216 and add necessary aliases.
10217 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10218 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10219 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10220 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10221 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10222 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10223 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10224 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10225 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10226 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10227 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10228 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10229 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10230 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10231 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10236 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10237 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10238 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10239 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10240 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10241 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10242 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10243 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10245 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10246 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10247 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10248 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10250 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10252 * math/Versions (GLIBC_2.29): Add exp and exp2.
10253 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10254 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10255 * math/w_exp_compat.c (__exp_compat): Likewise.
10256 * math/w_exp.c: New file.
10257 * math/w_exp2.c: New file.
10258 * sysdeps/i386/fpu/w_exp.c: New file.
10259 * sysdeps/i386/fpu/w_exp2.c: New file.
10260 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10261 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10262 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10263 and add necessary aliases.
10264 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10265 and add necessary aliases.
10266 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10267 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10268 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10269 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10270 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10271 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10272 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10273 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10274 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10275 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10276 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10277 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10278 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10279 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10280 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10281 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10282 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10287 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10288 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10289 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10290 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10291 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10292 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10293 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10294 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10295 (__ieee754_exp): Rename to __exp.
10296 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10297 (__ieee754_exp): Rename to __exp.
10298 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10299 (__ieee754_exp): Rename to __exp.
10300 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10302 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10304 2018-11-20 DJ Delorie <dj@redhat.com>
10306 * malloc/malloc.c (tcache_entry): Add key field.
10307 (tcache_put): Set it.
10308 (tcache_get): Likewise.
10309 (_int_free): Check for double free in tcache.
10310 * malloc/tst-tcfree1.c: New.
10311 * malloc/tst-tcfree2.c: New.
10312 * malloc/Makefile: Run the new tests.
10313 * manual/probes.texi: Document memory_tcache_double_free probe.
10315 * dlfcn/dlerror.c (check_free): Prevent double frees.
10317 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10319 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10321 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10323 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10324 in tests. Use names for format arguments.
10325 (ConstantTest.run): Likewise.
10326 (SymbolTest.run): Likewise.
10327 (TypeTest.run): Likewise.
10328 (TagTest.run): Likewise.
10329 (FunctionTest.run): Likewise.
10330 (VariableTest.run): Likewise.
10331 (MacroFunctionTest.run): Likewise.
10332 (MacroStrTest.run): Likewise.
10333 (HeaderTests.__init__): Set self.num_tests.
10334 (HeaderTests.handle_test_line): Set test.num. Increment
10337 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10339 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10340 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10343 2018-11-19 Mao Han <han_mao@c-sky.com>
10345 * scripts/config.guess: Update to version 2018-08-29.
10346 * scripts/config.sub: Update to version 2018-08-29.
10348 2018-11-19 Florian Weimer <fweimer@redhat.com>
10350 support: Print timestamps in timeout handler.
10351 * support/support_test_main.c (print_timestamp): New function.
10352 (signal_handler): Use it to print the termination time and the
10353 time of the last write to standard output.
10355 2018-11-16 Zack Weinberg <zackw@panix.com>
10356 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10358 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10359 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10361 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10362 and add flags argument. Check flags instead of __ldbl_is_dbl when
10363 deciding whether to set is_long_double.
10364 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10365 passing zero for flags argument.
10366 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10368 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10369 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10370 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10371 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10372 variable names. Remove libc_hidden_def/libc_hidden_proto from
10373 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10374 longer called from within the library.
10375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10376 for __nldbl___vstrfmon_l, declare it explicitly.
10378 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10380 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10382 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10384 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10385 F_SETLK64, F_SETLKW64, respectively.
10386 * sysdeps/mach/hurd/f_setlk.c: New file.
10387 * sysdeps/mach/hurd/f_setlk.h: New file.
10388 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10390 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10391 (__libc_fcntl): Move non-flock operations to...
10392 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10393 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10395 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10397 mktime: DEBUG_MKTIME cleanup
10398 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10399 And it’s no longer needed now that glibc and Gnulib both have
10400 their own testing mechanisms for mktime.
10401 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10403 mktime: fix non-EOVERFLOW errno handling
10405 mktime was not properly reporting failures when the underlying
10406 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10407 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10408 The problem could happen on non-glibc platforms, with Gnulib.
10409 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10410 (tm_diff): ... this simpler function, which does not change errno.
10411 All callers changed to deal with errno themselves.
10412 (ranged_convert, __mktime_internal): Return failure immediately if
10413 the underlying function reports any failure other than EOVERFLOW.
10414 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10417 mktime: fix bug with Y2038 DST transition
10419 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10420 mishandle a DST transition that jumps over the Y2038 boundary.
10421 No such DST transitions are known so this is only a theoretical
10422 bug, but we might as well do things right.
10424 mktime: make more room for overflow
10426 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10427 This is so that we can add tm_diff results to a previous guess,
10428 which will be useful in a later patch.
10430 mktime: simplify offset guess
10432 * time/mktime.c (__mktime_internal): Omit excess precision.
10434 mktime: new test for mktime failure
10436 Based on a test suggested by Albert Aribaud in:
10437 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10438 * time/Makefile (tests): Add bug-mktime4.
10439 * time/bug-mktime4.c: New file.
10441 mktime: fix EOVERFLOW bug
10443 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10444 Include libc-config.h, not config.h, for __set_errno.
10445 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10447 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10449 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10450 __attribute_copy__ to copy attributes from name. Drop static qualifier
10451 to avoid warnings about leaf attribute not having effect on static
10454 2018-11-13 Florian Weimer <fweimer@redhat.com>
10456 * malloc/malloc.c (fastbin_push_entry): New function.
10457 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10458 (REMOVE_FB): Remove macro.
10459 (_int_malloc): Use fastbin_pop_entry and reindent.
10460 (_int_free): Use fastbin_push_entry.
10461 (malloc_consolidate): Use atomic_exchange_acquire.
10463 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10465 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10466 alias attribute, not with strong_alias.
10468 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10469 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10470 with additional parameter thread.
10471 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10472 in terms of __hidden_ver2.
10473 (hidden_tls_def): New macro.
10474 (libc_hidden_tls_def): Likewise.
10475 (rtld_hidden_tls_def): Likewise.
10476 (libm_hidden_tls_def): Likewise.
10477 (libmvec_hidden_tls_def): Likewise.
10478 (libresolv_hidden_tls_def): Likewise.
10479 (librt_hidden_tls_def): Likewise.
10480 (libdl_hidden_tls_def): Likewise.
10481 (libnss_files_hidden_tls_def): Likewise.
10482 (libnsl_hidden_tls_def): Likewise.
10483 (libnss_nisplus_hidden_tls_def): Likewise.
10484 (libutil_hidden_tls_def): Likewise.
10485 (libutil_hidden_tls_def): Likweise.
10486 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10487 libc_hidden_tls_def.
10488 (__sim_disabled_exceptions_thread): Likewise.
10489 (__sim_round_mode_thread): Likewise.
10491 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10492 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10493 copy attributes from name.
10495 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10497 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10498 Use __attribute_copy__ to copy attributes from name.
10500 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10501 with __hidden_ver1 call.
10502 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10503 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10504 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10505 (__cosf): Do not declare here.
10506 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10507 (__sincosf): Do not declare here.
10508 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10509 (__sinf): Do not declare here.
10511 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10512 (__BIG_ENDIAN): Likewise.
10513 (__BYTE_ORDER): Likewise.
10514 (strong_alias): Likewise.
10515 (_strong_alias): Likewise.
10517 2018-11-12 Florian Weimer <fweimer@redhat.com>
10519 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10520 function. Move after the definition of in_smallbin_range. Do not
10521 use __builtin_expect for paths that lead to a noreturn function.
10522 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10523 because it is unclear whether this is in fact an unlikely
10525 (_int_malloc, _int_free): Adjust.
10526 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10528 * malloc/arena.c (heap_trim): Likewise.
10530 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10532 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10533 it, free it if needed.
10534 (reauthenticate): Test and use ccwdir.
10535 (child_init_port): In non-resetids case, test and use ccwdir.
10536 (child_chdir): New nested function to set ccwdir.
10537 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10538 * hurd/hurd/port.h (_hurd_port_move): New function.
10539 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10540 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10541 * hurd/Versions (_hurd_port_move): Export function.
10542 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10544 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10545 of dtablesize for allocating dtable_cloexec.
10547 2018-11-09 Martin Sebor <msebor@redhat.com>
10549 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10550 it's already defined.
10551 (_strong_alias): Use __attribute_copy__.
10552 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10553 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10554 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10555 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10556 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10557 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10558 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10559 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10560 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10561 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10562 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10563 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10564 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10565 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10566 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10567 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10568 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10569 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10570 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10572 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10574 * misc/tst-efgcvt.c: Include support/check.h and
10575 support/test-driver.c. Do not include test-skeleton.c.
10576 (error_count): Remove.
10577 (output_error): Replace increments to error_count with calls to
10578 support_record_failure.
10579 (output_r_error): Likewise.
10580 (special): Likewise.
10581 (do_test): Unconditionally return zero.
10582 (TEST_FUNCTION): Remove.
10584 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10586 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10588 ($(linknamespace-header-tests)): Likewise.
10590 * conform/conformtest.py: New file.
10591 * conform/conformtest.pl: Remove.
10592 * conform/GlibcConform.pm: Likewise.
10593 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10594 (KEYWORDS_C99): Likewise.
10595 (KEYWORDS): Likewise.
10596 * conform/Makefile ($(conformtest-header-tests)): Use
10597 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10598 option. Use --header instead of --headers.
10599 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10601 * conform/data/spawn.h-data: Likewise.
10602 * conform/data/fcntl.h-data (openat): Add space after function
10604 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10605 (wcscasecmp_l): Likewise.
10606 * conform/data/termios.h-data (c_cc): Add space after element
10609 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10611 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10612 instead of manually comparing and reporting mismatching strings.
10613 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10614 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10616 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10618 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10619 __ASSUME_SOCKETCALL.
10620 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10621 (__ASSUME_SOCKETCALL): Remove.
10622 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10623 (__ASSUME_SOCKETCALL): Likewise.
10624 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10625 (__ASSUME_SOCKETCALL): Likewise.
10626 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10627 (__ASSUME_SOCKETCALL): Likewise.
10628 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10629 (__ASSUME_SOCKETCALL): Likewise.
10630 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10631 (__ASSUME_SOCKETCALL): Likewise.
10632 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10633 (__ASSUME_SOCKETCALL): Likewise.
10635 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10638 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10639 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10640 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10641 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10642 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10645 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10648 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10650 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10653 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10654 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10655 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10656 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10658 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10660 * support/support_test_compare_string.c
10661 (support_test_compare_string): Fix printf format.
10663 2018-11-07 Florian Weimer <fweimer@redhat.com>
10665 Implement TEST_COMPARE_STRING.
10666 * support/check.h (TEST_COMPARE_STRING): Define.
10667 (support_test_compare_string): Declare.
10668 * support/Makefile (libsupport-routines): Add
10669 support_test_compare_string.
10670 (tests): Add tst-test_compare_string.
10671 * support/support_test_compare_string.c: New file.
10672 * support/tst-test_compare_string.c: Likewise.
10674 2018-11-07 Andreas Schwab <schwab@suse.de>
10677 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10678 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10681 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10684 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10685 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10686 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10687 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10690 2018-11-06 Florian Weimer <fweimer@redhat.com>
10693 * posix/Makefile (routines): Add spawn_faction_addchdir.
10694 (tests): Add tst-spawn-chdir.
10695 * posix/Versions (GLIBC_2.29): Add
10696 posix_spawn_file_actions_addchdir_np.
10697 * posix/spawn_faction_addchdir.c: New file.
10698 * posix/spawn_faction_destroy.c
10699 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10700 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10701 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10703 * posix/tst-spawn-chdir.c: New file.
10704 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10705 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10706 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10707 posix_spawn_file_actions_addchdir_np.
10708 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10710 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10712 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10713 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10715 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10717 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10719 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10721 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10723 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10725 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10726 (GLIBC_2.29): Likewise.
10727 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10728 (GLIBC_2.29): Likewise.
10729 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10730 (GLIBC_2.29): Likewise.
10731 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10732 (GLIBC_2.29): Likewise.
10733 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10736 (GLIBC_2.29): Likewise.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10738 (GLIBC_2.29): Likewise.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10740 (GLIBC_2.29): Likewise.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10742 (GLIBC_2.29): Likewise.
10743 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10745 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10749 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10750 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10752 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10754 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10756 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10759 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10761 * misc/Makefile (tests): Add tst-ldbl-error.
10762 * misc/tst-ldbl-error.c: New file.
10764 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10766 * misc/Makefile (tests): Add tst-ldbl-warn.
10767 * misc/tst-ldbl-warn.c: New file.
10769 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10771 * argp/Makefile (tests): Add tst-ldbl-argp.
10772 * argp/tst-ldbl-argp.c: New file.
10774 2018-11-05 Arjun Shankar <arjun@redhat.com>
10776 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10777 __gconv_path_elem and call __gconv_get_path unconditionally.
10779 2018-11-05 Andreas Schwab <schwab@suse.de>
10782 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10783 creating the first helper thread failed.
10785 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10787 * sysdeps/mach/hurd/msync.c: New file.
10789 2018-11-02 Florian Weimer <fweimer@redhat.com>
10791 * support/shell-container.c (copy_func): Call
10792 support_copy_file_range instead of copy_file_range to support
10793 cross-device copies.
10795 2018-11-02 Florian Weimer <fweimer@redhat.com>
10797 * support/test-container.c: Include <libc-pointer-arith.h> for
10800 2018-11-01 Zong Li <zong@andestech.com>
10802 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10803 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10804 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10805 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10807 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10808 variable to avoid overlap arguments.
10810 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10812 * posix/bug-regex22.c (main): Use puts with distinct error
10813 messages for unexpected success of re_compile_pattern, not printf
10814 with NULL argument to %s.
10816 * stdio-common/bug22.c: Include <libc-diag.h>.
10817 (do_test): Disable -Wformat-overflow= warnings around fprintf
10818 calls outputting more than INT_MAX characters.
10819 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10820 around printf call with NULL %s argument.
10823 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10824 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10826 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10827 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10828 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10829 (__ASSUME_SENDTO_SYSCALL): Likewise.
10830 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10831 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10833 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10834 (__ASSUME_CONNECT_SYSCALL): Likewise.
10835 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10836 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10837 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10839 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10841 [__LINUX_KERNEL_VERSION >= 0x040400]
10842 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10843 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10845 (listen): Likewise.
10846 (setsockopt): Likewise.
10848 2018-11-01 Fredrik Noring <noring@nocrew.org>
10850 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10851 with the ISA override.
10853 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
10855 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10858 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10860 * manual/errno.texi (EIEIO): Document how translators should
10861 translate the error message.
10862 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10863 printing trailing whitespaces refused by git.
10864 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10865 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10866 * hurd/Makefile (user-interfaces): Add pci.
10868 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10870 * conform/linknamespace.py: New file.
10871 * conform/linknamespace.pl: Remove file.
10872 * conform/Makefile ($(linknamespace-header-tests)): Use
10873 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10876 2018-10-30 Florian Weimer <fweimer@redhat.com>
10878 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10881 2018-10-30 Florian Weimer <fweimer@redhat.com>
10883 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10885 2018-10-30 Florian Weimer <fweimer@redhat.com>
10887 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10888 support_blob_repeat.
10890 2018-10-30 Florian Weimer <fweimer@redhat.com>
10892 Avoid spurious test failures in stdlib/test-bz22786.
10893 * support/Makefile (libsupport-routines): Add blob_repeat.
10894 (tests): Add tst-support_blob_repeat.
10895 * support/blob_repeat.h: New file.
10896 * support/blob_repeat.c: Likewise.
10897 * support/tst-support_blob_repeat.c: Likewise.
10898 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10899 support_blob_repeat_allocate.
10901 2018-10-30 Andreas Schwab <schwab@suse.de>
10904 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10905 Don't use tail call.
10906 * elf/tst-unwind-main.c: New file.
10907 * elf/Makefile (tests): Add tst-unwind-main.
10908 (CFLAGS-tst-unwind-main.c): Define.
10910 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10913 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10914 n_cs_precedes to 0.
10915 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10917 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10919 * conform/glibcconform.py: Do not import shutil.
10920 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10923 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10924 critic_missing for versions before 3.4.
10925 * configure: Regenerated.
10926 * manual/install.texi (Tools for Compilation): Document
10927 requirement for Python to build glibc.
10928 * INSTALL: Regenerated.
10929 * Rules [PYTHON]: Make code unconditional.
10930 * benchtests/Makefile [PYTHON]: Likewise.
10931 * conform/Makefile [PYTHON]: Likewise.
10932 * manual/Makefile [PYTHON]: Likewise.
10933 * math/Makefile [PYTHON]: Likewise.
10935 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10937 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10938 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10939 answer to interrupt_operation, return EIEIO instead of EINTR.
10940 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10941 _hurd_intr_rpc_msg_about_to global point to start of controlled
10942 assembly snippet. Make it check canceled flag.
10943 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10944 the _hurd_intr_rpc_msg_about_to point.
10945 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10946 issue, remove cancel flag check.
10948 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10950 * scripts/build-many-glibcs.py: Remove compatibility for missing
10951 os.cpu_count and re.fullmatch.
10953 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10956 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10957 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10958 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10960 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10962 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10965 2018-10-25 Florian Weimer <fweimer@redhat.com>
10969 XFAIL siginfo_t si_band conform test on sparc64.
10970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10971 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10972 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10973 (conformtest-xfail-conds): Add sparc64-linux.
10974 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10976 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10978 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10980 * elf/elf.h (NT_MIPS_DSP): New macro.
10981 (NT_MIPS_FP_MODE): Likewise.
10983 2018-10-25 Zong Li <zong@andestech.com>
10985 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
10986 name by adding the file extension (.so).
10988 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
10990 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10991 (test-xfail-ISO11/threads.h/linknamespace,
10992 test-xfail-ISO11/threads.h/conform): Add.
10994 2018-10-24 Joseph Myers <joseph@codesourcery.com>
10996 * math/gen-libm-test.py: Import os.
10997 (ALL_FLOATS_MANUAL): New constant.
10998 (ALL_FLOATS_SUFFIX): Likewise.
10999 (Ulps.all_functions): New function.
11000 (real_all_ulps): Likewise.
11001 (generate_err_table_sub): Likewise.
11002 (generate_err_table): Likewise.
11003 (main): Handle -s and -m options.
11004 * manual/libm-err-tab.pl: Remove.
11005 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11006 instead of libm-err-tab.pl.
11007 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11009 * manual/install.texi (Tools for Compilation): Document
11010 requirement for Python to build manual.
11011 * INSTALL: Regenerated.
11013 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11015 * bits/time64.h: New file.
11016 * include/time.h: Replace internal_time_t with __time64_t.
11017 * posix/bits/types (__time64_t): Add.
11018 * stdlib/Makefile: Add bits/time64.h to includes.
11019 * time/tzfile.c: Replace internal_time_t with __time64_t.
11021 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11023 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11024 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11025 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11026 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11027 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11029 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11030 * posix/spawn_faction_addclose.c
11031 (__posix_spawn_file_actions_addclose): Add hidden definition.
11032 * posix/spawn_faction_adddup2.c
11033 (__posix_spawn_file_actions_adddup2): Likewise.
11034 * posix/spawn_faction_destroy.c
11035 (__posix_spawn_file_actions_destroy): Likewise.
11036 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11038 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11039 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11040 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11042 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11043 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11046 2018-10-24 Andreas Schwab <schwab@suse.de>
11049 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11051 * elf/cache.c (print_cache): Likewise.
11053 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11055 * bits/timesize.h: New file.
11056 * stdlib/Makefile (headers): Add bits/timesize.h.
11057 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11058 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11059 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11060 (__SEM_PAD_AFTER_TIME): Likewise.
11061 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11062 (__SHM_PAD_AFTER_TIME): Likewise.
11063 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11064 (__MSQ_PAD_BEFORE_TIME): Likewise.
11065 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11066 (__SEM_PAD_BEFORE_TIME): Likewise.
11067 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11068 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11069 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11070 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11071 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11072 (__MSQ_PAD_BEFORE_TIME): Likewise.
11073 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11074 (__SEM_PAD_BEFORE_TIME): Likewise.
11075 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11076 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11077 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11078 (__MSQ_PAD_BEFORE_TIME): Likewise.
11079 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11080 (__SEM_PAD_BEFORE_TIME): Likewise.
11081 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11082 (__SHM_PAD_BEFORE_TIME): Likewise.
11083 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11084 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11085 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11087 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11089 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11090 USE_RDTSCP is defined.
11091 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11092 USE_RDTSCP is defined.
11094 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11096 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11100 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11101 independently of other flags.
11103 2018-10-23 Florian Weimer <fweimer@redhat.com>
11105 * time/tst-mktime2.c (N_STRINGS): Remove.
11106 (set_timezone): New function.
11107 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11108 (mktime_test1): Report localtime failure and check errno value.
11110 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11111 (do_test): Remove alarm call. Use set_timezone and array_length.
11113 2018-10-23 Andreas Schwab <schwab@suse.de>
11115 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11116 (__start_context): Use END instead of PSEUDO_END.
11118 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11120 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11123 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11127 * wcsmbs/c32rtomb.c: New file.
11128 * wcsmbs/mbrtoc32.c: Likewise.
11129 * wcsmbs/tst-c32-state.c: Likewise.
11130 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11131 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11132 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11133 (tests): Add tst-c32-state.
11134 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11137 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11139 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11140 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11142 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11145 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11146 pair and return 0 in that case, and use saved character to
11147 interpret following character.
11148 * wcsmbs/tst-c16-surrogate.c: New file.
11149 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11150 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11151 Depend on $(gen-locales)
11153 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11156 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11157 (struct siginfo_t): Use correct type for si_band.
11159 2018-10-19 Florian Weimer <fweimer@redhat.com>
11162 * resource/bits/types/struct_rusage.h (struct rusage): Update
11163 comment on struct. Remove extraneous field comment.
11165 2018-10-18 David S. Miller <davem@davemloft.net>
11167 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11168 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11169 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11170 sysdep_routines in subdir elf.
11171 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11172 version for __vdso_clock_gettime.
11173 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11175 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11176 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11178 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11180 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11182 * sysdeps/i386/init-arch.h: Removed.
11183 * sysdeps/i386/i586/init-arch.h: Likewise.
11184 * sysdeps/i386/i686/init-arch.h: Likewise.
11185 * sysdeps/i386/i686/hp-timing.h: Likewise.
11186 * sysdeps/x86_64/hp-timing.h: Likewise.
11187 * sysdeps/i386/isa.h: New file.
11188 * sysdeps/i386/i586/isa.h: Likewise.
11189 * sysdeps/i386/i686/isa.h: Likewise.
11190 * sysdeps/x86_64/isa.h: Likewise.
11191 * sysdeps/x86/hp-timing.h: New file.
11192 * sysdeps/x86/init-arch.h: Include <isa.h>.
11194 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11196 * math/libm-test-pow.inc (pow_test_data): Do not allow
11197 divide-by-zero exception for pow(+/- 0, -Inf).
11199 2018-10-17 Zack Weinberg <zackw@panix.com>
11201 * manual/job.texi (Job Control is Optional): Remove node, as
11202 job control has not been optional in quite some time.
11203 (Job Control): Mention briefly that systems older than
11204 POSIX.1-2001 might not support job control.
11205 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11206 defined on systems conforming to POSIX.1-2001.
11208 2018-10-17 Arjun Shankar <arjun@redhat.com>
11211 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11213 * (__gconv_read_conf): Mark function static.
11214 * (once): New static variable.
11215 * (__gconv_load_conf): New function.
11216 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11217 * iconv/gconv_db.c (once): Remove static variable.
11218 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11220 * (__gconv_find_transform): Likewise.
11221 * iconv/tst-iconv-mt.c: New test.
11222 * iconv/Makefile: Add tst-iconv_mt.
11224 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11228 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11229 (shmatt_t): Define as __syscall_ulong_t.
11230 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11231 and [__SHM_PAD_AFTER_TIME].
11232 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11233 Define shm_segsz and associated padding based on
11234 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11235 Use __syscall_ulong_t instead of unsigned long int.
11236 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11238 [__USE_MISC] (struct shm_info): Likewise.
11239 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11240 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11241 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11242 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11243 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11244 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11245 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11246 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11247 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11248 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11249 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11253 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11254 (SHMLBA): Remove macro.
11255 (__getpagesize): Remove function declaration.
11256 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11258 (SHMLBA): Remove macro.
11259 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11261 (SHMLBA): Remove macro.
11262 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11264 (SHMLBA): Remove macro.
11265 (__getpagesize): Remove function declaration.
11266 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11268 (SHMLBA): Remove macro.
11269 (__getshmlba): Remove function declaration.
11270 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11271 (SHMLBA): Remove macro.
11272 (__getpagesize): Remove function declaration.
11273 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11274 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11275 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11276 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11277 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11278 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11279 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11280 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11281 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11282 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11284 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11287 * nptl/tst-mutex10.c: New File.
11288 * nptl/Makefile (tests): Add tst-mutex10.
11289 (tst-mutex10-ENV): New variable.
11290 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11291 Ensure that elision path is used if elision is available.
11292 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11294 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11296 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11297 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11298 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11299 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11301 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11302 (__pthread_mutex_cond_lock_adjust): Likewise.
11303 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11305 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11306 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11307 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11308 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11310 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11311 Use atomic_load_relaxed and atomic_store_relaxed.
11312 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11313 Use atomic_store_relaxed.
11315 2018-10-17 Andreas Schwab <schwab@suse.de>
11317 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11318 * crypt/badsalttest.c (TIMEOUT): Likewise.
11319 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11320 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11321 * io/test-lfs.c (TIMEOUT): Likewise.
11322 * libio/tst-atime.c (TIMEOUT): Likewise.
11323 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11324 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11325 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11326 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11327 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11328 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11329 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11330 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11331 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11332 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11333 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11334 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11335 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11336 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11337 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11338 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11339 * nptl/tst-once2.c (TIMEOUT): Likewise.
11340 * nptl/tst-once3.c (TIMEOUT): Likewise.
11341 * nptl/tst-once4.c (TIMEOUT): Likewise.
11342 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11343 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11344 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11345 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11346 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11347 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11348 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11349 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11350 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11351 * posix/tst-chmod.c (TIMEOUT): Likewise.
11352 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11353 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11354 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11355 * posix/tst-regex2.c (TIMEOUT): Likewise.
11356 * posix/tst-waitid.c (TIMEOUT): Likewise.
11357 * rt/tst-aio.c (TIMEOUT): Likewise.
11358 * rt/tst-aio10.c (TIMEOUT): Likewise.
11359 * rt/tst-aio4.c (TIMEOUT): Likewise.
11360 * rt/tst-aio5.c (TIMEOUT): Likewise.
11361 * rt/tst-aio6.c (TIMEOUT): Likewise.
11362 * rt/tst-aio64.c (TIMEOUT): Likewise.
11363 * rt/tst-aio7.c (TIMEOUT): Likewise.
11364 * rt/tst-aio9.c (TIMEOUT): Likewise.
11365 * rt/tst-clock.c (TIMEOUT): Likewise.
11366 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11367 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11368 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11369 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11370 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11371 * rt/tst-timer4.c (TIMEOUT): Likewise.
11372 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11373 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11374 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11375 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11376 * time/tst-ftime.c (TIMEOUT): Likewise.
11377 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11379 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11381 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11382 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11385 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11389 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11390 instead of <bits/wordsize.h>.
11391 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11392 and [__SEM_PAD_AFTER_TIME].
11393 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11394 __syscall_ulong_t instead of unsigned long int.
11395 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11396 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11397 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11398 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11399 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11400 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11401 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11402 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11404 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11405 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11407 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11409 regex: simplify by using intprops.h
11411 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11412 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11413 intprops.h defines them.
11415 regex: __builtin_expect → __glibc_unlikely
11417 This refactoring was prompted by a problem when the regex code is
11418 used as part of Gnulib and when the builder’s compiler does not grok
11419 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11420 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11421 Although this refactoring does not fix the problem directly,
11422 we might as well have Gawk use the now-preferred glibc style for when
11423 __builtin_expect is unavailable.
11424 * posix/regex_internal.h (BE): Remove.
11425 All uses replaced by __glibc_unlikely or __glibc_likely.
11427 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11431 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11432 instead of <bits/wordsize.h>.
11433 (msgqnum_t): Define as __syscall_ulong_t.
11434 (msglen_t): Likewise.
11435 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11436 and [__MSQ_PAD_AFTER_TIME].
11437 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11438 __syscall_ulong_t instead of unsigned long int.
11439 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11440 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11441 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11442 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11443 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11444 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11445 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11446 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11447 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11448 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11449 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11451 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11453 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11454 (struct shmid_ds): Condition padding after time fields on
11455 [__WORDSIZE == 32].
11456 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11457 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11458 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11460 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11461 (struct semid_ds): Condition padding after time fields on
11462 [__WORDSIZE == 32].
11463 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11464 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11465 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11466 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11468 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11469 (struct msqid_ds): Condition padding after time fields on
11470 [__WORDSIZE == 32].
11471 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11472 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11473 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11474 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11476 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11478 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11480 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11482 * libio/tst-readline.c (TIMEOUT): Define.
11484 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11486 mktime fix for Gnulib + coreutils
11488 This fix affects only Gnulib. Problem discovered when
11489 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11491 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11492 Do not define since it is not used. Defining an unused static
11493 function prompts a warning from GCC when Coreutils is configured
11494 with --enable-gcc-warnings.
11496 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11498 * benchtests/scripts/compare_bench.py (main): set float type on
11499 threshold argument.
11501 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11504 * localedata/locales/kl_GL (mon): Update, the relative case.
11505 (alt_mon): Add, fill with month names in the nominative case.
11506 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11507 (d_fmt): Set to "%b %d %Y".
11509 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11511 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11512 <bits/mman-linux.h>.
11513 (PROT_READ): Don't define here.
11514 (PROT_WRITE): Likewise.
11515 (PROT_EXEC): Likewise.
11516 (PROT_NONE): Likewise.
11517 (PROT_GROWSDOWN): Likewise.
11518 (PROT_GROWSUP): Likewise.
11519 (MAP_SHARED): Likewise.
11520 (MAP_PRIVATE): Likewise.
11521 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11522 [__USE_MISC] (MAP_FILE): Likewise.
11523 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11524 [__USE_MISC] (MAP_ANON): Likewise.
11525 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11526 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11527 (MCL_CURRENT): Likewise.
11528 (MCL_FUTURE): Likewise.
11529 (MCL_ONFAULT): Likewise.
11530 [__USE_MISC] (MADV_NORMAL): Likewise.
11531 [__USE_MISC] (MADV_RANDOM): Likewise.
11532 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11533 [__USE_MISC] (MADV_WILLNEED): Likewise.
11534 [__USE_MISC] (MADV_DONTNEED): Likewise.
11535 [__USE_MISC] (MADV_FREE): Likewise.
11536 [__USE_MISC] (MADV_REMOVE): Likewise.
11537 [__USE_MISC] (MADV_DONTFORK): Likewise.
11538 [__USE_MISC] (MADV_DOFORK): Likewise.
11539 [__USE_MISC] (MADV_HWPOISON): Likewise.
11540 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11541 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11542 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11543 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11544 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11545 (__MAP_ANONYMOUS): New macro.
11546 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11547 <bits/mman-linux.h> inclusion.
11548 (MAP_FIXED): Likewise.
11549 (MS_SYNC): Likewise.
11550 (MS_ASYNC): Likewise.
11551 (MS_INVALIDATE): Likewise.
11552 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11553 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11554 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11555 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11556 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11557 [__USE_MISC] (MADV_DODUMP): Likewise.
11558 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11559 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11562 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11564 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11565 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11566 Add test-nldbl-redirect.
11567 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11568 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11569 $(objpfx)libnldbl_nonshared.a.
11571 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11573 * support/support.h (support_objdir_elf_ldso): New variable.
11574 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11575 * support/Makefile (CFLAGS-support_paths.c): Add definition
11576 for OBJDIR_ELF_LDSO_PATH.
11577 * support/test-container.c (main): Search for the ld.so
11578 which is also used by the testsuite.
11580 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
11583 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11584 should be "sap" rather than "sab".
11585 (day): Fix spelling of Sunday, should be "sapaat" rather than
11588 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11590 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11592 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11595 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11596 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11597 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11599 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11601 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11603 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11605 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11607 (CFLAGS-elision-unlock.c): Likewise.
11608 (CFLAGS-elision-timed.c): Likewise.
11609 (CFLAGS-elision-trylock.c): Likewise.
11610 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11612 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11615 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11616 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11617 new fd_to_filename interface.
11618 * libio/freopen64.c (freopen64): Likewise.
11619 * libio/tst-memstream.h: New file.
11620 * libio/tst-memstream4.c: Likewise.
11621 * libio/tst-wmemstream4.c: Likewise.
11622 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11623 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11624 and remove internal dynamic allocation.
11626 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11628 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11629 (MREMAP_MAYMOVE): Do not define here.
11630 [__USE_GNU] (MREMAP_FIXED): Likewise.
11631 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11632 (MREMAP_MAYMOVE): Define here instead.
11633 [__USE_GNU] (MREMAP_FIXED): Likewise.
11634 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11635 (MREMAP_MAYMOVE): Remove.
11636 [__USE_GNU] (MREMAP_FIXED): Likewise.
11638 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11640 * math/fromfp.h: Do not include <math_private.h>.
11641 * math/s_cacosh_template.c: Likewise.
11642 * math/s_casin_template.c: Likewise.
11643 * math/s_casinh_template.c: Likewise.
11644 * math/s_ccos_template.c: Likewise.
11645 * math/s_cproj_template.c: Likewise.
11646 * math/s_fdim_template.c: Likewise.
11647 * math/s_fmaxmag_template.c: Likewise.
11648 * math/s_fminmag_template.c: Likewise.
11649 * math/s_iseqsig_template.c: Likewise.
11650 * math/s_ldexp_template.c: Likewise.
11651 * math/s_nextdown_template.c: Likewise.
11652 * math/w_log1p_template.c: Likewise.
11653 * math/w_scalbln_template.c: Likewise.
11654 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11655 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11656 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11657 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11658 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11659 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11660 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11661 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11662 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11663 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11664 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11665 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11666 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11667 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11668 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11669 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11670 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11675 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11676 * sysdeps/ieee754/k_standardf.c: Likewise.
11677 * sysdeps/ieee754/k_standardl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11679 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11680 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11686 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11687 * sysdeps/ieee754/s_signgam.c: Likewise.
11688 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11689 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11690 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11691 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11692 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11693 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11694 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11695 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11696 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11697 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11698 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11699 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11700 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11701 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11702 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11703 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11704 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11705 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11706 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11707 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11708 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11709 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11710 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11711 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11712 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11713 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11714 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11715 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11716 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11717 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11718 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11719 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11720 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11721 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11722 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11723 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11724 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11726 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11728 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11731 * sysdeps/i386/dl-cet.c: Removed.
11732 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11734 (_dl_runtime_profile_shstk): Likewise.
11735 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11736 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11738 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11741 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11742 do_test_with_invalid_iov): New tests.
11743 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11744 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11745 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11747 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11748 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11749 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11751 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11753 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11754 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11755 (MATH_REDIRECT_BINARY_ARGS): New macro.
11756 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11757 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11758 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11760 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11762 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11763 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11766 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11773 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11774 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11779 * sysdeps/generic/math_private_calls.h
11780 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11781 Do not declare and define as an inline function.
11782 * math/divtc3.c (__divtc3): Use copysign functions instead of
11783 __copysign variants.
11784 * math/multc3.c (__multc3): Likewise.
11785 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11786 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11787 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11788 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11790 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11791 (__ieee754_yn): Likewise.
11792 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11793 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11794 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11795 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11796 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11798 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11799 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11801 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11803 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11805 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11806 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11808 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11809 (__ieee754_ynf): Likewise.
11810 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11811 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11812 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11813 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11815 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11816 (__ieee754_ynl): Likewise.
11817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11819 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11822 (__ieee754_ynl): Likewise.
11823 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11824 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11825 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11826 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11828 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11830 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11831 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11832 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11833 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11834 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11836 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11837 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11838 using MATH_REDIRECT.
11839 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11841 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11842 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11843 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11844 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11845 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11852 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11853 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11855 (round): Redirect to __round.
11856 (__roundl): Call round instead of __round.
11857 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11859 [_ARCH_PWR5X] (__roundf): Likewise.
11860 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11861 functions instead of __round variants.
11862 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11863 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11865 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11867 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11869 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11870 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11872 (__ieee754_expl): Call roundl instead of __roundl.
11874 2018-09-27 Andreas Schwab <schwab@suse.de>
11877 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11878 (do_test): Make st1 static.
11880 2018-09-26 Andreas Schwab <schwab@suse.de>
11883 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11884 * elf/Makefile (tests): Add tst-unwind-ctor.
11885 (modules-names): Add tst-unwind-ctor-lib.
11886 ($(objpfx)tst-unwind-ctor): Depend on
11887 $(objpfx)tst-unwind-ctor-lib.so.
11889 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11891 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11892 file. Most contents moved from ....
11893 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11894 and include <bits/mman-map-flags-generic.h>.
11895 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11896 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11897 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11898 <bits/mman-map-flags-generic.h>.
11899 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11900 macros defined in <bits/mman-map-flags-generic.h>.
11901 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11902 <bits/mman-map-flags-generic.h>.
11903 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11904 defined in <bits/mman-map-flags-generic.h>.
11906 2018-09-26 Andreas Schwab <schwab@suse.de>
11908 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11911 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11912 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11913 Fangrui Song <maskray@google.com>
11916 * config.make.in (have-textrel_ifunc): New define.
11917 * configure.ac: Add check if linker supports textrel relocation with
11919 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11921 (CFLAGS-tst-ifunc-textrel.c): New rule.
11922 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11923 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11924 * elf/tst-ifunc-textrel.c: New file.
11926 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11928 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11929 <bits/procfs-prregset.h>.
11930 (prgregset_t): Define using __prgregset_t.
11931 (prfpregset_t): Define using __prfpregset_t.
11932 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11933 (sysdep_headers): Add bits/procfs-prregset.h.
11934 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11935 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11936 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11937 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11939 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11940 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11941 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11943 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11944 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11945 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11946 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11947 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11948 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11949 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11950 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11951 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11952 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11953 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11954 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11955 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11956 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11957 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11958 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11959 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11960 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11961 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11962 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11963 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11964 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11965 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11966 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11968 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11969 AArch64 version. Include <bits/procfs.h>.
11970 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11971 (sysdep_headers): Add bits/procfs.h.
11972 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11973 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11974 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11975 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11976 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11977 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11978 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
11979 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
11980 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
11981 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
11982 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
11983 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
11984 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
11985 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
11986 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
11987 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11988 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
11990 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11992 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
11995 2018-09-25 Arjun Shankar <arjun@redhat.com>
11997 * iconv/gconv_int.h (__gconv_path_elem): Remove.
11998 (__gconv_max_path_elem_len): Likewise.
11999 (__gconv_nmodules): Likewise.
12000 (__gconv_get_path): Likewise.
12001 (path_elem): Move to ...
12002 * iconv/gconv_conf.c: ... here.
12003 (__gconv_get_path): Mark function static.
12004 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12005 * iconv/gconv_open.c: ... here.
12007 2018-09-24 Andreas Schwab <schwab@suse.de>
12009 * scripts/haveversions.awk: New file.
12010 * Makerules ($(common-objpfx)Versions.def)
12011 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12012 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12014 * Makeconfig ($(common-objpfx)Versions.def)
12015 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12016 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12018 ($(common-objpfx)Versions.mk): New rule. Include it.
12019 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12020 Emit error if build-obsolete-nsl = yes.
12021 * manual/install.texi (Configuring and compiling): Describe
12022 --enable-obsolete-nsl as unavaiable after version 2.28.
12023 * INSTALL: Regenerate.
12025 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12027 * NEWS: Add note about new TLE support on powerpc64le.
12028 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12029 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12031 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12032 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12033 * sysdeps/powerpc/powerpc32/sysdep.h,
12034 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12035 ABORT_TRANSACTION): Remove macros.
12036 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12037 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12038 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12040 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12041 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12043 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12045 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12048 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12049 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12050 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12051 which is the same as in it_IT.
12052 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12053 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12055 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12057 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12058 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12059 using MATH_REDIRECT.
12060 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12062 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12063 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12064 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12065 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12066 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12067 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12072 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12073 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12074 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12075 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12076 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12077 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12078 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12079 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12080 (ceil): Redirect to __ceil.
12081 (floor): Redirect to __floor.
12082 (trunc): Redirect to __trunc.
12083 (__truncl): Call trunc instead of __trunc.
12084 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12086 [_ARCH_PWR5X] (__truncf): Likewise.
12087 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12088 trunc functions instead of __trunc variants.
12089 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12091 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12093 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12095 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12098 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12099 [__i586__ || __pentium__].
12100 [__i486__]: Handle explicitly.
12101 (HAS_CPUID): Define to 1 if above macros are undefined.
12102 (HAS_I586): Likewise.
12103 (HAS_I686): Likewise.
12105 2018-09-20 Florian Weimer <fweimer@redhat.com>
12107 * misc/tst-gethostid.c: New file.
12108 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12109 (tst-gethostid): Link with -ldl.
12111 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12113 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12114 value from gethostbyname_r.
12116 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12118 * stdlib/tst-setcontext9.c (f1): Rename to...
12120 (f1b): New function implementing lower half of f1 in alternate stack.
12122 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12124 Fix mktime localtime offset confusion
12126 * include/time.h (__mktime_internal): The localtime offset is now
12127 of type long int instead of time_t. This is the longstanding type
12128 in glibc, and it is more than enough to represent difference
12129 between localtime and gmtime even if it is 32 bits and time_t is
12130 64. Changing it now will let us avoid an unnecessary change when
12131 time_t is widened to 64 bits on 32-bit platforms.
12132 * time/mktime-internal.h (mktime_offset_t): Now long int.
12134 Merge mktime, timegm from upstream Gnulib
12135 [BZ #23603][BZ #16346]
12136 This fixes some obscure problems with integer overflow.
12137 Although it looks scary, it is almost all a byte-for-byte copy
12138 from Gnulib, and the Gnulib code has been tested reasonably well.
12139 * include/intprops.h: New file, copied from Gnulib.
12140 * include/verify.h, time/mktime-internal.h:
12141 New tiny files, simplified from Gnulib.
12142 * time/mktime.c: Copy from Gnulib. This has the following changes:
12143 Do not include config.h if DEBUG_MKTIME is nonzero.
12144 Include stdbool.h, intprops.h, verify.h.
12145 Include string.h only if needed.
12146 Include stdlib.h on MS-Windows.
12147 Include mktime-internal.h.
12148 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12149 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12150 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12151 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12152 simplify later conditionals; default the others to zero. Use
12153 these conditionals to express only the code needed on the current
12154 platform. In uses of these conditionals, explicitly spell out how
12155 _LIBC affects things, so it’s easier to review from a glibc
12157 (WRAPV): Remove; no longer needed now that we have
12158 systematic overflow checking.
12159 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12160 compartmentalize tzset issues. Move system-dependent tzsettish
12161 code here from mktime.
12162 (verify): Remove; now done by verify.h. All uses changed.
12163 (long_int): Use a more-conservative definition, to avoid
12165 (SHR): Remove, replacing with ...
12166 (shr): New function, which means we needn’t worry about side
12167 effects in args, and conversion analysis is simpler.
12168 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12169 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12170 (time_t_avg, time_t_add_ok): Remove.
12171 (mktime_min, mktime_max): New constants.
12172 (leapyear, isdst_differ): Use bool for booleans.
12173 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12174 Use long_int, not time_t, for mktime differences.
12175 (long_int_avg): New function, replacing time_t_avg.
12176 INT_ADD_WRAPV replaces time_t_add_ok.
12177 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12179 (convert_time): New function.
12180 (ranged_convert): Use it.
12181 (__mktime_internal): Last arg now points to mktime_offset_t, not
12182 time_t. All uses changed. This is a no-op on glibc, where
12183 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12184 offset guess. Directly check for integer overflow instead of
12185 using a heuristic that works only 99.9...% of the time.
12186 Access *OFFSET only once, to avoid an unlikely race if the
12187 compiler delays a load and if this cascades into a signed integer
12189 (mktime): Move tzsettish code to my_tzset, and move
12190 localtime_offset to within mktime so that it doesn’t
12191 need a separate ifdef.
12192 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12193 instead of localtime.
12194 * time/timegm.c: Copy from Gnulib. This has the following changes:
12195 Include mktime-internal.h.
12196 [!_LIBC]: Include config.h and time.h. Do not include
12197 timegm.h or time_r.h. Make __mktime_internal a macro,
12198 and include mktime-internal.h to get its declaration.
12199 (timegm): Temporary is now mktime_offset_t, not time_t.
12200 This affects only Gnulib.
12202 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12205 * string/test-strstr.c (pr23637): New function.
12206 (test_main): Add tests with longer needles.
12207 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12208 * string/strstr.c (AVAILABLE): Likewise.
12210 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12212 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12214 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12216 * NEWS: Mention pow improvements.
12217 * math/Makefile (type-double-routines): Add e_pow_log_data.
12218 * sysdeps/generic/math_private.h (__exp1): Remove.
12219 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12220 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12221 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12223 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12224 (exp_inline): Remove.
12225 (__ieee754_exp): Only single double input is handled.
12226 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12227 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12228 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12229 (__pow_log_data): Define.
12230 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12231 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12232 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12233 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12235 (CFLAGS-e_pow-fma4.c): Likewise.
12237 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12239 Simplify tzfile fstat failure code
12241 * time/tzfile.c (__tzfile_read): Simplify slightly.
12243 Fix tzfile low-memory assertion failure
12245 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12246 when registering time zone abbreviations.
12248 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12250 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12251 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12252 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12253 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12254 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12255 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12256 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12258 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12262 (__ceill): Call ceil instead of __ceil.
12263 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12265 (__floorl): Call floor instead of __floor.
12267 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12269 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12270 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12271 using MATH_REDIRECT.
12272 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12274 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12277 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12281 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12286 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12287 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12290 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12291 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12292 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12294 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12295 functions instead of __ceil variants.
12296 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12297 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12299 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12301 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12302 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12304 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12305 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12308 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12310 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12311 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12312 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12313 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12314 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12315 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12316 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12317 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12318 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12319 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12320 (ILL_BADIADDR): Remove constant.
12321 (TRAP_BRANCH): Likewise.
12322 (TRAP_HWBKPT): Likewise.
12324 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12327 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12328 Remove [_MIPS_SIM = _ABIN32] conditional case.
12329 (struct elf_prpsinfo): Likewise.
12332 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12333 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12334 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12336 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12337 elf_prpsinfo): Likewise.
12338 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12339 elf_prpsinfo): Likewise.
12340 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12343 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12344 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12345 using MATH_REDIRECT.
12346 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12348 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12349 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12350 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12351 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12352 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12353 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12354 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12355 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12356 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12358 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12359 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12360 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12361 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12362 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12363 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12364 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12365 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12366 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12369 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12370 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12371 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12372 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12373 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12374 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12376 * math/e_scalbf.c (invalid_fn): Likewise.
12377 * math/e_scalbl.c (invalid_fn): Likewise.
12378 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12380 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12382 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12383 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12386 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12388 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12390 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12391 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12393 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12394 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12396 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12397 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12398 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12399 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12400 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12401 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12402 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12403 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12404 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12405 && !NO_MATH_REDIRECT] (floor): Likewise.
12406 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12408 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12411 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12412 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12413 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12414 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12415 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12420 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12421 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12424 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12425 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12426 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12428 [_ARCH_PWR5X] (__floorf): Likewise.
12429 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12431 [__SSE4_1__] (__floorf): Likewise.
12432 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12433 instead of __floor variants.
12434 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12435 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12436 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12437 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12438 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12439 * math/w_tgamma_compat.c (__tgamma): Likewise.
12440 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12441 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12442 * math/w_tgammal_compat.c (__tgammal): Likewise.
12443 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12446 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12448 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12449 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12451 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12452 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12454 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12455 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12458 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12460 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12461 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12462 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12463 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12464 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12465 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12467 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12469 * elf/Makefile (modules-names-tests): New variable.
12471 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12473 * NEWS: Mention log2 improvements.
12474 * math/Makefile (type-double-routines): Add e_log2_data.
12475 * sysdeps/i386/fpu/e_log2_data.c: New file.
12476 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12477 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12478 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12479 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12480 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12481 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12483 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12485 * NEWS: Mention log improvement.
12486 * math/Makefile (type-double-routines): Add e_log_data.
12487 * sysdeps/i386/fpu/e_log_data.c: New file.
12488 * sysdeps/ia64/fpu/e_log_data.c: New file.
12489 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12490 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12491 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12492 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12493 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12494 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12496 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12497 Xuepeng Guo <xuepeng.guo@intel.com>
12500 * sysdeps/i386/start.S: Include <sysdep.h>
12501 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12502 enabled. Add cfi_undefined (eip).
12504 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12506 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12508 (EXTRACT_WORDS64): Likewise.
12509 (INSERT_WORDS64): Likewise.
12510 (GET_FLOAT_WORD): Likewise.
12511 (SET_FLOAT_WORD): Likewise.
12513 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12515 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12516 build, but not for second build if --full-gcc. Use
12517 --enable-languages=all for second build if --full-gcc.
12518 (get_parser): Add --full-gcc option.
12519 (main): Update call to Context.
12521 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12524 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12525 Single Quotation Mark).
12526 (thousands_sep): Likewise.
12527 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12528 * localedata/locales/it_IT (thousands_sep): Use ".".
12529 (grouping): Use "3;3".
12531 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12533 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12534 x86_64 and i686 configs using --enable-obsolete-rpc
12535 --enable-obsolete-nsl.
12537 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12539 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12541 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12543 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12544 Increment size of new_argv by one.
12546 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12549 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12550 * localedata/locales/ar_IN (d_fmt): Likewise.
12551 * localedata/locales/bhb_IN (d_fmt): Likewise.
12552 * localedata/locales/bho_IN (d_fmt): Likewise.
12553 * localedata/locales/bn_BD (d_fmt): Likewise.
12554 * localedata/locales/bn_IN (d_fmt): Likewise.
12555 * localedata/locales/doi_IN (d_fmt): Likewise.
12556 * localedata/locales/gu_IN (d_fmt): Likewise.
12557 * localedata/locales/hi_IN (d_fmt): Likewise.
12558 * localedata/locales/hne_IN (d_fmt): Likewise.
12559 * localedata/locales/kn_IN (d_fmt): Likewise.
12560 * localedata/locales/mag_IN (d_fmt): Likewise.
12561 * localedata/locales/mai_IN (d_fmt): Likewise.
12562 * localedata/locales/mjw_IN (d_fmt): Likewise.
12563 * localedata/locales/ml_IN (d_fmt): Likewise.
12564 * localedata/locales/mni_IN (d_fmt): Likewise.
12565 * localedata/locales/mr_IN (d_fmt): Likewise.
12566 * localedata/locales/pa_IN (d_fmt): Likewise.
12567 * localedata/locales/raj_IN (d_fmt): Likewise.
12568 * localedata/locales/sat_IN (d_fmt): Likewise.
12569 * localedata/locales/sd_IN (d_fmt): Likewise.
12570 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12571 * localedata/locales/ta_IN (d_fmt): Likewise.
12572 * localedata/locales/ta_LK (d_fmt): Likewise.
12573 * localedata/locales/tcy_IN (d_fmt): Likewise.
12574 * localedata/locales/ur_IN (d_fmt): Likewise.
12576 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12577 * localedata/locales/ks_IN (d_fmt): Likewise.
12578 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12580 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12581 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12582 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12583 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12585 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12587 * NEWS: Mention exp and exp2 improvements.
12588 * math/Makefile (libm-support): Remove t_exp.
12589 (type-double-routines): Add math_err and e_exp_data.
12590 * sysdeps/aarch64/libm-test-ulps: Update.
12591 * sysdeps/arm/libm-test-ulps: Update.
12592 * sysdeps/i386/fpu/e_exp_data.c: New file.
12593 * sysdeps/i386/fpu/math_err.c: New file.
12594 * sysdeps/i386/fpu/t_exp.c: Remove.
12595 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12596 * sysdeps/ia64/fpu/math_err.c: New file.
12597 * sysdeps/ia64/fpu/t_exp.c: Remove.
12598 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12599 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12600 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12602 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12603 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12604 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12605 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12606 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12607 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12608 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12609 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12610 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12611 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12615 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12617 * sysdeps/alpha/fpu/math_private.h: Remove.
12619 * sysdeps/generic/math_private.h
12620 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12621 Move this inline function ....
12622 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12623 * include/math.h [!_ISOMAC]: To here....
12625 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12627 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12629 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12630 * include/fenv.h [!_ISOMAC]: ... to here.
12631 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12632 (feraiseexcept): Likewise.
12633 * math/fromfp.h: Do not include <fenv_private.h>.
12634 * math/s_cexp_template.c: Likewise.
12635 * math/s_csin_template.c: Likewise.
12636 * math/s_csinh_template.c: Likewise.
12637 * math/s_ctan_template.c: Likewise.
12638 * math/s_ctanh_template.c: Likewise.
12639 * math/s_iseqsig_template.c: Likewise.
12640 * math/w_acos_compat.c: Likewise.
12641 * math/w_acosf_compat.c: Likewise.
12642 * math/w_acosl_compat.c: Likewise.
12643 * math/w_asin_compat.c: Likewise.
12644 * math/w_asinf_compat.c: Likewise.
12645 * math/w_asinl_compat.c: Likewise.
12646 * math/w_j0_compat.c: Likewise.
12647 * math/w_j0f_compat.c: Likewise.
12648 * math/w_j0l_compat.c: Likewise.
12649 * math/w_j1_compat.c: Likewise.
12650 * math/w_j1f_compat.c: Likewise.
12651 * math/w_j1l_compat.c: Likewise.
12652 * math/w_jn_compat.c: Likewise.
12653 * math/w_jnf_compat.c: Likewise.
12654 * math/w_log10_compat.c: Likewise.
12655 * math/w_log10f_compat.c: Likewise.
12656 * math/w_log10l_compat.c: Likewise.
12657 * math/w_log2_compat.c: Likewise.
12658 * math/w_log2f_compat.c: Likewise.
12659 * math/w_log2l_compat.c: Likewise.
12660 * math/w_log_compat.c: Likewise.
12661 * math/w_logf_compat.c: Likewise.
12662 * math/w_logl_compat.c: Likewise.
12663 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12664 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12665 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12666 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12668 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12669 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12670 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12671 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12672 * sysdeps/ieee754/k_standardl.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12685 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12690 * math/w_ilogb_template.c: Include <fenv.h> instead of
12692 * math/w_llogb_template.c: Likewise.
12693 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12694 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12696 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12698 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12699 * math/fromfp.h: Include <fenv_private.h>.
12700 * math/math-narrow.h: Likewise.
12701 * math/s_cexp_template.c: Likewise.
12702 * math/s_csin_template.c: Likewise.
12703 * math/s_csinh_template.c: Likewise.
12704 * math/s_ctan_template.c: Likewise.
12705 * math/s_ctanh_template.c: Likewise.
12706 * math/s_iseqsig_template.c: Likewise.
12707 * math/w_acos_compat.c: Likewise.
12708 * math/w_acosf_compat.c: Likewise.
12709 * math/w_acosl_compat.c: Likewise.
12710 * math/w_asin_compat.c: Likewise.
12711 * math/w_asinf_compat.c: Likewise.
12712 * math/w_asinl_compat.c: Likewise.
12713 * math/w_ilogb_template.c: Likewise.
12714 * math/w_j0_compat.c: Likewise.
12715 * math/w_j0f_compat.c: Likewise.
12716 * math/w_j0l_compat.c: Likewise.
12717 * math/w_j1_compat.c: Likewise.
12718 * math/w_j1f_compat.c: Likewise.
12719 * math/w_j1l_compat.c: Likewise.
12720 * math/w_jn_compat.c: Likewise.
12721 * math/w_jnf_compat.c: Likewise.
12722 * math/w_llogb_template.c: Likewise.
12723 * math/w_log10_compat.c: Likewise.
12724 * math/w_log10f_compat.c: Likewise.
12725 * math/w_log10l_compat.c: Likewise.
12726 * math/w_log2_compat.c: Likewise.
12727 * math/w_log2f_compat.c: Likewise.
12728 * math/w_log2l_compat.c: Likewise.
12729 * math/w_log_compat.c: Likewise.
12730 * math/w_logf_compat.c: Likewise.
12731 * math/w_logl_compat.c: Likewise.
12732 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12733 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12734 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12735 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12760 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12761 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12762 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12763 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12764 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12765 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12766 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12767 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12768 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12769 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12770 * sysdeps/ieee754/k_standardl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12796 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12797 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12801 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12802 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12807 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12808 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12809 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12810 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12811 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12812 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12813 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12814 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12815 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12816 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12817 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12818 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12819 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12820 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12821 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12822 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12823 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12824 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12825 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12826 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12827 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12828 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12829 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12830 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12831 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12832 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12833 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12834 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12835 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12836 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12837 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12838 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12839 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12840 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12841 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12843 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12846 * include/stdio.h (__libc_fatal): Mention newline in comment.
12847 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12848 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12849 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12850 * nss/nsswitch.c (__nss_next2): Likewise.
12851 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12852 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12853 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12854 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12855 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12856 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12857 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12858 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12859 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12860 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12861 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12862 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12863 (__netlink_assert_response): Likewise.
12865 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12867 * conform/glibcconform.py: New file.
12868 * conform/list-header-symbols.py: Likewise.
12869 * conform/list-header-symbols.pl: Remove.
12870 * conform/Makefile (tests-special): Only add linknamespace tests
12872 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12874 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12877 * support/Makefile (libsupport-routines): Add
12878 support_copy_file_range and xcopy_file_range.
12879 * support/support.h: Include <sys/types.h>.
12880 (support_copy_file_range): New prototype.
12881 * support/support_copy_file_range.c: New file. Copied and
12882 modified from io/copy_file_range-compat.c.
12883 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12884 instead of copy_file_range.
12885 * support/xcopy_file_range.c: New file.
12886 * support/xunistd.h (xcopy_file_range): New prototype.
12888 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12890 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12891 xpthread_create and xpthread_join.
12893 2018-08-30 Florian Weimer <fweimer@redhat.com>
12895 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12897 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12899 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12902 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12904 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12905 and minus_oflow as non-finite.
12907 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12909 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12910 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12911 moved to fenv_private.h except for ...
12912 (TOINT_INTRINSICS): Kept in math_private.h.
12913 (roundtoint): Likewise.
12914 (converttoint): Likewise.
12915 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12916 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12917 * sysdeps/arm/math_private.h: Remove.
12918 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12920 * sysdeps/generic/math_private.h: ... this file. Include
12921 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12922 Include <fenv_private.h>. Remove functions and macros moved to
12924 * sysdeps/i386/fpu/math_private.h: Remove.
12925 * sysdeps/mips/math_private.h: Move to ....
12926 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12927 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12928 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12929 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12930 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12931 * sysdeps/powerpc/fpu/math_private.h: Do not include
12933 * sysdeps/riscv/rvf/math_private.h: Move to ....
12934 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12935 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12937 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12938 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12939 * sysdeps/sparc/fpu/math_private.h: Remove.
12940 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12941 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12942 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12944 * sysdeps/x86_64/fpu/math_private.h: Do not include
12945 <sysdeps/i386/fpu/fenv_private.h>.
12947 2018-08-28 Florian Weimer <fweimer@redhat.com>
12950 * posix/tst-regcomp-truncated.c: New file.
12951 * posix/Makefile (tests): Add it.
12952 (tst-regcomp-truncated.out): Depend on generated locales.
12954 2018-08-28 Florian Weimer <fweimer@redhat.com>
12956 * support/test-container.c (main): Treat unshare failure with
12957 EPERM as an unsupported test.
12959 2018-08-28 Florian Weimer <fweimer@redhat.com>
12962 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12963 * nscd/netgroupcache.c
12964 (addgetnetgrentX): Add tofreep parameter. Do not free
12965 heap-allocated buffer.
12966 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12967 (addgetnetgrentX_ignore): New function.
12968 (addgetnetgrent): Call it.
12969 (readdgetnetgrent): Likewise.
12971 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12973 * string/memmem.c: Use memcmp for first match.
12975 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
12978 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
12980 2018-08-27 DJ Delorie <dj@redhat.com>
12982 * support/Makefile (others): Don't list programs explicitly as a
12983 dependency of "others".
12985 2018-08-27 Joseph Myers <joseph@codesourcery.com>
12987 * sysdeps/generic/math-tests-trap-force.h: New file.
12988 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
12989 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
12990 * sysdeps/powerpc/math-tests.h: Remove file.
12991 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
12993 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
12994 Torvald Riegel <triegel@redhat.com>
12997 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
12998 Update r to include the set wake-request flag if waiters are
12999 remaining after spinning.
13001 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13003 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13005 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13008 regex: fix uninitialized memory access
13009 I introduced this bug into gnulib in commit
13010 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13011 eventually it was merged into glibc. The bug was found by
13012 project-repo <bugs@feusi.co> and reported here:
13013 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13014 Diagnosis and draft fix reported by Assaf Gordon here:
13015 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13016 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13017 * posix/regex_internal.c (build_wcs_upper_buffer):
13018 Fix bug when mbrtowc returns 0.
13020 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13022 * po/be.po: Update translation.
13024 2018-08-24 DJ Delorie <dj@delorie.com>
13026 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13029 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13032 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13033 create temporary files in source tree.
13035 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13037 * sysdeps/generic/math-tests-trap.h: New file.
13038 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13039 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13040 * sysdeps/aarch64/math-tests.h: Remove file.
13041 * sysdeps/arm/math-tests.h: Likewise.
13042 * sysdeps/riscv/math-tests.h: Likewise.
13043 * sysdeps/aarch64/math-tests-trap.h: New file.
13044 * sysdeps/arm/math-tests-trap.h: Likewise.
13045 * sysdeps/riscv/math-tests-trap.h: Likewise.
13047 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13049 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13050 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13051 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13052 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13053 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13054 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13055 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13056 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13058 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13059 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13060 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13061 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13062 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13063 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13064 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13065 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13066 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13068 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13070 * sysdeps/generic/math-tests-exceptions.h: New file.
13071 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13072 (EXCEPTION_TESTS_float): Do not define here.
13073 (EXCEPTION_TESTS_double): Likewise.
13074 (EXCEPTION_TESTS_long_double): Likewise.
13075 (EXCEPTION_TESTS_float128): Likewise.
13076 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13078 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13079 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13080 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13081 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13082 * sysdeps/mips/math-tests.h: Likewise.
13083 * sysdeps/nios2/math-tests.h: Likewise.
13084 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13085 (EXCEPTION_TESTS_float): Do not define here.
13086 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13087 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13088 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13090 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13092 * NEWS: Move optimized sinf entry to 2.29.
13094 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13096 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13098 2018-08-22 DJ Delorie <dj@redhat.com>
13100 * Makefile (testroot.pristine): New rules to initialize the
13101 test-in-container "testroot".
13102 * Makerules (all-testsuite): Add tests-container.
13103 * Rules (tests-expected): Add tests-container.
13104 (binaries-all-tests): Likewise.
13105 (tests-container): New, run these tests in the testroot container.
13106 * support/Makefile (others): Add *-container, support_paths.c,
13107 xmkdirp, and links-dso-program.
13108 * support/links-dso-program-c.c: New.
13109 * support/links-dso-program.cc: New.
13110 * support/test-container.c: New.
13111 * support/shell-container.c: New.
13112 * support/echo-container.c: New.
13113 * support/true-container.c: New.
13114 * support/xmkdirp.c: New.
13115 * support/xsymlink.c: New.
13116 * support/support_paths.c: New.
13117 * support/support.h: Add support paths prototypes.
13118 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13120 * nss/tst-nss-test3.c: Convert to test-in-container.
13121 * nss/tst-nss-test3.root/: New.
13123 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13125 regex: port Gnulib code to z/OS POSIX environment
13126 Problem reported by Arnold Robbins in:
13127 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13128 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13131 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13133 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13134 (ROUNDING_TESTS_double): Remove.
13135 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13136 (ROUNDING_TESTS_double): Remove.
13137 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13138 (ROUNDING_TESTS_double): Remove.
13139 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13140 (ROUNDING_TESTS_float): Remove.
13141 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13142 (ROUNDING_TESTS_float): Remove.
13143 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13144 (ROUNDING_TESTS_float): Remove.
13145 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13146 !TEST_MATHVEC here.
13147 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13148 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13150 * sysdeps/generic/math-tests-rounding.h: New file.
13151 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13152 (ROUNDING_TESTS_float): Do not define here.
13153 (ROUNDING_TESTS_double): Likewise.
13154 (ROUNDING_TESTS_long_double): Likewise.
13155 (ROUNDING_TESTS_float128): Likewise.
13156 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13157 (ROUNDING_TESTS_double): Undefine before defining.
13158 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13159 (ROUNDING_TESTS_double): Undefine before defining.
13160 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13161 (ROUNDING_TESTS_double): Undefine before defining.
13162 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13163 (ROUNDING_TESTS_float): Undefine before defining.
13164 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13165 (ROUNDING_TESTS_float): Undefine before defining.
13166 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13167 (ROUNDING_TESTS_float): Undefine before defining.
13168 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13169 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13171 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13172 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13173 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13174 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13175 (ROUNDING_TESTS_float): Do not define here.
13176 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13177 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13178 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13179 (ROUNDING_TESTS_float): Likewise.
13180 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13181 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13182 * sysdeps/mips/math-tests.h [__mips_soft_float]
13183 (ROUNDING_TESTS_float): Likewise.
13184 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13185 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13186 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13187 (ROUNDING_TESTS_double): Likewise.
13188 (ROUNDING_TESTS_long_double): Likewise.
13190 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13192 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13193 (PF_XDP): New macro.
13194 (AF_XDP): New macro.
13195 (SOL_XDP): New macro.
13197 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13199 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13200 (TCP_INQ): Likewise.
13201 (TCP_CM_INQ): Likewise.
13202 (TCP_REPAIR_ON): Likewise.
13203 (TCP_REPAIR_OFF): Likewise.
13204 (TCP_REPAIR_OFF_NO_WP): Likewise.
13205 (struct tcp_zerocopy_receive): New type.
13207 2018-08-21 Florian Weimer <fweimer@redhat.com>
13209 * support/support.h (support_descriptor_supports_holes): Declare.
13210 * support/Makefile (libsupport-routines): Add
13211 support_descriptor_supports_holes.
13212 * support/support_descriptor_supports_holes.c: New file.
13213 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13214 and stop testing if holes are not supported.
13215 * io/test-lfs.c (do_prepare): Likewise.
13216 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13218 * timezone/tst-tzset.c (create_tz_file): Likewise.
13219 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13221 (do_prepare): Set it.
13222 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13224 2018-08-21 Florian Weimer <fweimer@redhat.com>
13227 * Makeconfig (+cflags): Do not sort (and deduplicate).
13229 2018-08-21 Florian Weimer <fweimer@redhat.com>
13231 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13232 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13234 2018-08-20 Florian Weimer <fweimer@redhat.com>
13236 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13237 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13239 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13241 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13242 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13243 and ssi_arch members.
13245 * elf/elf.c (NT_VMCOREDD): New macro.
13246 (AT_MINSIGSTKSZ): Likewise.
13248 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13251 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13252 s_cosf-ppc64 and s_cosf-power8.
13253 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13254 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13255 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13256 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13263 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13264 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13266 2018-08-17 Florian Weimer <fweimer@redhat.com>
13268 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13270 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13272 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13274 2018-08-16 Florian Weimer <fweimer@redhat.com>
13276 * configure.ac: Add --with-nonshared-cflags option.
13277 * config.make.in (extra-nonshared-cflags): Set variable.
13278 * Makeconfig (CFLAGS-.oS): Use it.
13279 * manual/install.texi (Configuring and compiling): Document
13280 --with-nonshared-cflags.
13281 * configure: Regenerate.
13282 * INSTALL: Likewise.
13284 2018-08-16 Florian Weimer <fweimer@redhat.com>
13286 * Makeconfig (ASFLAGS): Always append required assembler flags.
13288 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13290 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13291 (malloc_consolidate): Likewise.
13293 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13295 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13297 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13299 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13302 * benchtests/bench-strlen.c: Print performance numbers in json.
13304 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13306 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13307 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13308 only for little endian.
13309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13310 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13311 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13312 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13313 Add check for little endian.
13314 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13315 (__strcmp_power9): Add check for little endian.
13316 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13317 Add check for little endian.
13318 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13319 (__strncmp_power9): Add check for little endian.
13320 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13321 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13322 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13323 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13324 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13326 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13328 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13329 [!STRLEN](STRLEN): Set to __strlen.
13330 * sysdeps/aarch64/multiarch/strlen.c: New file.
13331 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13332 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13333 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13334 (__libc_ifunc_impl_list): Add strlen.
13335 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13336 strlen_generic and strlen_asimd.
13338 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13340 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13341 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13342 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13344 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13346 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13348 2018-08-14 Florian Weimer <fweimer@redhat.com>
13351 * include/stdio.h (__vfxprintf): Declare.
13352 * stdio-common/fxprintf.c (__vfxprintf): New function.
13353 (__fxprintf): Call it.
13354 * misc/err.c (convert_and_print): Remove function.
13355 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13356 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13357 * misc/Makefile (tests): Add tst-warn-wide.
13358 * misc/tst-warn-wide.c: New file.
13360 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13361 Szabolcs Nagy <szabolcs.nagy@arm.com>
13363 * NEWS: Mention sinf, cosf, sincosf.
13364 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13365 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13366 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13367 constants rather than including generic sincosf.h.
13368 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13369 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13370 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13371 (reduced_cos): Remove.
13372 (sinf_poly): New function.
13373 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13375 2018-08-14 Florian Weimer <fweimer@redhat.com>
13379 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13380 processing, bail out if no room, and close the stream before
13382 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13383 (tst-nss-files-alias-leak): Link with libdl.
13384 (tst-nss-files-alias-leak.out): Depend on nss_files.
13386 * nss/tst-nss-files-alias-leak.c: New file.
13388 2018-08-14 Florian Weimer <fweimer@redhat.com>
13390 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13391 server_user, stat_user.
13393 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13395 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13397 (io_pgetevents): New syscall.
13400 * manual/install.texi (Configuring and compiling): Do not list
13401 tools used for testing pretty printers here.
13402 (Tools for Compilation): List Python, PExpect and GDB here.
13403 Update descriptions of uses of Perl and Python.
13404 * INSTALL: Regenerate.
13406 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13409 2018-08-13 Florian Weimer <fweimer@redhat.com>
13411 * misc/error.c (error): Add missing va_end call.
13412 (error_at_line): Likewise.
13414 2018-08-13 Florian Weimer <fweimer@redhat.com>
13416 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13418 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13420 * benchtests/scripts/benchout.schema.json (properties): Add
13423 * benchtests/bench-skeleton.c (main): Add duration and
13424 iterations attributes.
13426 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13428 regex: Gnulib unibyte RRI uses bytes not chars
13429 Adjust the non-glibc code to agree with what Gawk needs for
13430 rational range interpretation (RRI) for regular expression ranges.
13431 In unibyte locales, Gawk wants ranges to use the underlying byte
13432 rather than the character code point. This change does not affect
13434 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13435 In unibyte locales, use the byte value rather than
13436 running it through btowc.
13438 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13440 * sysdeps/generic/math-tests-snan.h: New file.
13441 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13442 (SNAN_TESTS_float): Do not define here.
13443 (SNAN_TESTS_double): Likewise.
13444 (SNAN_TESTS_long_double): Likewise.
13445 (SNAN_TESTS_float128): Likewise.
13446 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13447 * sysdeps/i386/fpu/math-tests.h: Remove file.
13448 * sysdeps/ia64/math-tests-snan.h: New file.
13449 * sysdeps/ia64/math-tests.h: Remove file.
13450 * sysdeps/x86/math-tests.h: Likewise.
13451 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13453 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13454 Szabolcs Nagy <szabolcs.nagy@arm.com>
13456 * math/Makefile: Add s_sincosf_data.c.
13457 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13458 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13459 (sincosf_poly): Likewise.
13460 (reduce_small): Likewise.
13461 (reduce_large): Likewise.
13462 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13463 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13464 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13465 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13467 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13468 Szabolcs Nagy <szabolcs.nagy@arm.com>
13470 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13471 (converttoint): Use lround.
13472 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13473 document the semantics when TOINT_INTRINSICS is set.
13474 (converttoint): Likewise.
13475 (TOINT_RINT): Remove.
13476 (TOINT_SHIFT): Remove.
13477 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13480 2018-08-10 Florian Weimer <fweimer@redhat.com>
13483 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13485 (__old_getdents64): Use getdents64. Convert entries without
13487 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13488 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13489 tst-readdir64-compat.
13491 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13493 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13496 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13498 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13499 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13500 code to s390x-mcount.h and #include it.
13501 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13502 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13505 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13507 * stdlib/Versions: Remove __fentry__.
13508 * sysdeps/i386/Versions: Add __fentry__.
13509 * sysdeps/x86_64/Versions: Add __fentry__.
13511 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13513 * sysdeps/s390/Makefile: Register the new tests.
13514 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13515 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13516 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13517 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13518 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13519 * sysdeps/s390/tst-dl-runtime.c: New file.
13521 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13523 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13526 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13528 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13531 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13533 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13536 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13538 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13541 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13543 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13544 Use symbolic offsets for stack variables.
13546 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13548 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13549 Use symbolic offsets for stack variables.
13551 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13553 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13554 Use symbolic offsets for stack variables.
13556 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13558 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13559 Use symbolic offsets for stack variables.
13561 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13563 * math/gen-libm-test.py: New file.
13564 * math/gen-libm-test.pl: Remove.
13565 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13566 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13568 ($(libm-test-c-noauto-obj)): Likewise.
13569 ($(libm-test-c-auto-obj)): Likewise.
13570 ($(libm-test-c-narrow-obj)): Likewise.
13571 (regen-ulps): Likewise.
13572 * math/README.libm-test: Update references to gen-libm-test.pl.
13573 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13574 referencing gen-libm-test.pl.
13575 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13576 * math/libm-test-support.c: Likewise.
13577 * math/libm-test-support.h: Likewise.
13578 * sysdeps/generic/libm-test-ulps: Likewise.
13580 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13582 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13585 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13587 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13588 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13590 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13592 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13594 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13595 __pthread_setspecific): Add hidden proto.
13596 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13597 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13599 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13601 * benchtests/bench-string.h (buf1_size, buf2_size): New
13603 (init_sizes): New function.
13604 (test_init): Use it.
13605 (alloc_buf, exit_error): New functions.
13606 (alloc_bufs): Use ALLOC_BUF.
13607 (realloc_bufs): Remove.
13608 * benchtests/bench-memcmp.c (do_test): Adjust.
13609 * benchtests/bench-memset-large.c (do_test): Likewise.
13610 * benchtests/bench-memset-walk.c (do_test): Likewise.
13611 * benchtests/bench-memset.c (do_test): Likewise.
13612 * benchtests/bench-strncmp.c (do_test): Likewise.
13614 2018-08-06 Andreas Schwab <schwab@suse.de>
13616 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13617 of CONST_THREAD_AREA.
13619 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13621 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13622 (STATE_SAVE_MASK): Likewise.
13623 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13624 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13625 (STATE_SAVE_MASK): Likewise.
13626 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13627 instead of <cpu-features.h>.
13629 2018-08-03 DJ Delorie <dj@redhat.com>
13631 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13632 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13634 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13636 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13638 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13639 after TEST_* calls.
13640 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13641 * math/libm-test-logb.inc (logb_test_data): Likewise.
13643 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13645 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13646 * string/strstr.c (AVAILABLE): Likewise.
13648 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13650 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13652 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13653 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13654 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13656 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13658 * po/be.po: Update translation.
13660 * po/be.po: Update translation.
13662 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13664 * sysdeps/x86/cpu-features-offsets.sym
13665 (rtld_global_ro_offsetof): Removed.
13666 (CPU_FEATURES_SIZE): Likewise.
13667 (CPUID_OFFSET): Likewise.
13668 (CPUID_SIZE): Likewise.
13669 (CPUID_EAX_OFFSET): Likewise.
13670 (CPUID_EBX_OFFSET): Likewise.
13671 (CPUID_ECX_OFFSET): Likewise.
13672 (CPUID_EDX_OFFSET): Likewise.
13673 (FAMILY_OFFSET): Likewise.
13674 (MODEL_OFFSET): Likewise.
13675 (FEATURE_OFFSET): Likewise.
13676 (FEATURE_SIZ): Likewise.
13677 (COMMON_CPUID_INDEX_1): Likewise.
13678 (COMMON_CPUID_INDEX_7): Likewise.
13679 (FEATURE_INDEX_1): Likewise.
13680 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13682 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13684 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13685 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13686 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13687 (install-locales): Depend on install-locale-archive.
13688 (install-locale-archive): Define.
13689 (install-locale-files): Define.
13690 (build-one-locale): Define macro.
13691 * manual/install.texi (Running make install): Document.
13692 * manual/INSTALL: Regenerate.
13694 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13696 * benchtests/scripts/compare_strings.py: Import traceback.
13697 (parse_file): Pretty-print error.
13699 * NEWS: Mention the change.
13700 * elf/dl-tunables.list: Rename tune namespace to cpu.
13701 * sysdeps/powerpc/dl-tunables.list: Likewise.
13702 * sysdeps/x86/dl-tunables.list: Likewise.
13703 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13705 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13706 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13707 * manual/README.tunables: Likewise.
13708 * manual/tunables.texi: Likewise.
13709 * sysdeps/powerpc/cpu-features.c: Likewise.
13710 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13711 (init_cpu_features): Likewise.
13712 * sysdeps/x86/cpu-features.c: Likewise.
13713 * sysdeps/x86/cpu-features.h: Likewise.
13714 * sysdeps/x86/cpu-tunables.c: Likewise.
13715 * sysdeps/x86_64/Makefile: Likewise.
13716 * sysdeps/x86/dl-cet.c: Likewise.
13718 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13721 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13722 [__mips_hard_float].
13723 (FE_UNDERFLOW): Likewise.
13724 (FE_OVERFLOW): Likewise.
13725 (FE_DIVBYZERO): Likewise.
13726 (FE_INVALID): Likewise.
13727 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13728 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13729 (FE_UPWARD): Likewise.
13730 (FE_DOWNWARD): Likewise.
13731 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13732 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13733 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13734 [__mips_hard_float].
13735 (FP_ROUNDMODE): Likewise.
13736 (FP_RND_NEAREST): Likewise.
13737 (FP_RND_ZERO): Likewise.
13738 (FP_RND_PINF): Likewise.
13739 (FP_RND_MINF): Likewise.
13740 (FP_EX_INVALID): Likewise.
13741 (FP_EX_OVERFLOW): Likewise.
13742 (FP_EX_UNDERFLOW): Likewise.
13743 (FP_EX_DIVZERO): Likewise.
13744 (FP_EX_INEXACT): Likewise.
13745 (FP_INIT_ROUNDMODE): Likewise.
13746 * sysdeps/mips/nofpu/fesetenv.c: New file.
13747 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13749 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13751 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13752 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13753 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13754 conditional on [FE_UPWARD].
13756 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13758 regex: fix memory leak in Gnulib
13759 Problem and fix reported by Assaf Gordon in:
13760 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13761 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13762 range_ends members too, as they are defined in 'struct
13763 re_charset_t' even if not _LIBC. This affects only Gnulib.
13765 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13767 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13769 (get_common_indices): This.
13770 (init_cpu_features): Updated.
13772 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13774 * sysdeps/generic/math-tests-snan-payload.h: New file.
13775 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13776 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13777 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13778 * sysdeps/generic/math-tests.h: Include
13779 <math-tests-snan-payload.h>.
13780 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13781 * sysdeps/hppa/math-tests.h: Remove file.
13782 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13783 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13784 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13787 * sysdeps/generic/math-tests-snan-cast.h: New file.
13788 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13789 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13790 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13791 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13793 2018-08-01 Carlos O'Donell <carlos@redhat.com>
13795 * version.h (RELEASE): Set to "development".
13796 (VERSION): Set to "2.28.9000".
13797 * NEWS (2.29): New section.
13799 * version.h (RELEASE): Set to "stable".
13800 (VERSION): Set to "2.28".
13801 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13802 * NEWS: Add the list of bugs fixed in 2.28.
13804 * po/ca.po: Update to latest version.
13805 * po/cs.po: Likewise
13806 * po/da.po: Likewise
13807 * po/el.po: Likewise
13808 * po/eo.po: Likewise
13809 * po/es.po: Likewise
13810 * po/fi.po: Likewise
13811 * po/fr.po: Likewise
13812 * po/gl.po: Likewise
13813 * po/hu.po: Likewise
13814 * po/ia.po: Likewise
13815 * po/id.po: Likewise
13816 * po/it.po: Likewise
13817 * po/ja.po: Likewise
13818 * po/ko.po: Likewise
13819 * po/lt.po: Likewise
13820 * po/nb.po: Likewise
13821 * po/nl.po: Likewise
13822 * po/pt_BR.po: Likewise
13823 * po/ru.po: Likewise
13824 * po/rw.po: Likewise
13825 * po/sk.po: Likewise
13826 * po/sl.po: Likewise
13827 * po/tr.po: Likewise
13828 * po/zh_CN.po: Likewise
13829 * po/zh_TW.po: Likewise
13831 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13833 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13835 (init): ... before initializing libpthread.
13837 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13838 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13839 (__mach_setup_tls): ... new function.
13840 (mach_setup_tls): New alias.
13841 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13842 __mach_setup_thread.
13843 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13844 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13845 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13846 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13848 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13850 * manual/install.texi: Update versions.
13851 * INSTALL: Regenerate.
13853 * manual/contrib.texi (Contributors): Update contributions.
13855 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13857 * po/be.po: Update translations.
13859 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13861 * sysdeps/sh/libm-test-ulps: Update.
13863 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13865 * po/bg.po: Update translations.
13866 * po/de.po: Likewise.
13867 * po/hr.po: Likewise.
13868 * po/pt_BR.po: Likewise.
13869 * po/sv.po: Likewise.
13870 * po/vi.po: Likewise.
13872 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13875 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13876 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13877 (CFLAGS-tst-cet-property-1.o): New.
13878 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13879 ($(objpfx)tst-cet-property-2): Likewise.
13880 ($(objpfx)tst-cet-property-2.out): Likewise.
13881 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13882 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13883 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13884 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13885 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13887 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13890 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13892 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13894 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13895 __sbrk): Do not set attribute_hidden.
13896 * sysdeps/mach/hurd/not-errno.h: New file.
13897 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13898 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13900 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13902 * po/uk.po: Update translations.
13903 * po/cs.po: Likewise.
13904 * po/pl.po: Likewise.
13906 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13908 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13909 parse beyond the note end.
13911 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13913 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13914 kernel does not support OFD locks.
13915 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13917 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13919 * sysdeps/mach/hurd/Versions (libc): Make __access and
13920 __access_noerrno external so they can override the ld symbols.
13921 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13922 __writev, __open64, __access_noerrno extern so they can be overrided.
13923 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13924 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13926 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13928 * po/libc.pot: Regenerate.
13930 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13932 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13934 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13937 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13939 (init_cpu_features): Call get_extended_indices for both Intel
13941 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13942 Remove "for AMD" comment.
13944 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13947 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13948 COMMON_CPUID_INDEX_80000001.
13950 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13952 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13953 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13955 2018-07-26 Florian Weimer <fweimer@redhat.com>
13957 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13958 aliases for symbols not in the implementation namespace.
13960 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13963 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13964 lowercase in LATIN script.
13965 * localedata/Makefile (test-input): Add en_US.UTF-8.
13966 * localedata/en_US.UTF-8.in: New file.
13967 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13968 and restore old tests.
13969 * posix/tst-regexloc.c (do_test): Add back range expression test.
13971 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13973 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13975 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13977 * nptl/threads.h: Move to ...
13978 * sysdeps/nptl/threads.h: ... here.
13979 * sysdeps/hurd/stdc-predef.h: New file.
13981 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13983 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13984 tst-cet-setcontext-1 if CET is enabled.
13985 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
13986 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
13988 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13990 * include/threads.h: Move to ...
13991 * sysdeps/nptl/threads.h: ... here.
13992 * sysdeps/htl/threads.h: New file.
13993 * conform/Makefile (linknamespace-libs-ISO11): Use
13994 static-thread-library instead of linking libpthread.
13995 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
13997 2018-07-25 Florian Weimer <fweimer@redhat.com>
13999 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14000 nanoseconds into seconds.
14001 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14002 (do_test): Likewise.
14003 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14004 (do_test): Likewise. Avoid nanosecond overflow and spurious
14005 timeouts due to system load.
14006 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14007 (child_wait): Increment it.
14008 (do_test): Wait as long as necessary until all expected threads
14011 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14012 H.J. Lu <hongjiu.lu@intel.com>
14014 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14016 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14017 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14018 (__push___start_context): New.
14019 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14021 (__getcontext): Record the current shadow stack base. Save the
14022 caller's shadow stack pointer and base.
14023 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14024 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14025 (__push___start_context): New prototype.
14026 (__makecontext): Call __push___start_context to allocate a new
14027 shadow stack, push __start_context onto the new stack as well
14028 as the new shadow stack.
14029 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14031 (__setcontext): Restore the target shadow stack.
14032 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14034 (__swapcontext): Record the current shadow stack base. Save
14035 the caller's shadow stack pointer and base. Restore the target
14037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14038 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14039 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14041 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14043 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14044 tst-setcontext8 and tst-setcontext9.
14045 * stdlib/tst-setcontext6.c: New file.
14046 * stdlib/tst-setcontext7.c: Likewise.
14047 * stdlib/tst-setcontext8.c: Likewise.
14048 * stdlib/tst-setcontext9.c: Likewise.
14050 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14052 * stdlib/Makefile ((tests): Add tst-setcontext5.
14053 * stdlib/tst-setcontext5.c: New file.
14055 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14057 * stdlib/Makefile (tests): Add tst-setcontext4.
14058 * stdlib/tst-setcontext4.c: New file.
14060 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14062 * stdlib/Makefile (tests): Add tst-swapcontext1.
14063 * stdlib/tst-swapcontext1.c: New test.
14065 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14067 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14068 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14069 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14070 and tst-cet-legacy-4c.
14071 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14072 and tst-cet-legacy-mod-4.
14073 (CFLAGS-tst-cet-legacy-2.c): New.
14074 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14075 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14076 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14077 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14078 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14079 ($(objpfx)tst-cet-legacy-1): Likewise.
14080 ($(objpfx)tst-cet-legacy-2): Likewise.
14081 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14082 ($(objpfx)tst-cet-legacy-2a): Likewise.
14083 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14084 ($(objpfx)tst-cet-legacy-4): Likewise.
14085 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14086 ($(objpfx)tst-cet-legacy-4a): Likewise.
14087 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14088 (tst-cet-legacy-4a-ENV): Likewise.
14089 ($(objpfx)tst-cet-legacy-4b): Likewise.
14090 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14091 (tst-cet-legacy-4b-ENV): Likewise.
14092 ($(objpfx)tst-cet-legacy-4c): Likewise.
14093 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14094 (tst-cet-legacy-4c-ENV): Likewise.
14095 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14096 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14097 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14098 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14099 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14100 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14101 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14102 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14103 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14104 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14105 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14107 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14109 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14110 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14112 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14113 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14116 2018-07-25 Andreas Schwab <schwab@suse.de>
14119 * locale/weightwc.h (findidx): Handle the case where usrc is a
14120 prefix of cp but one character too short.
14122 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14124 * NEWS: Add ISO C threads addition.
14126 2018-07-24 Florian Weimer <fweimer@redhat.com>
14128 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14129 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14130 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14133 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14135 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14136 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14137 <sys/prctl.h> and <asm/prctl.h>.
14138 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14139 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14141 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14142 ARCH_CET_LEGACY_BITMAP.
14143 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14144 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14145 * sysdeps/x86/libc-start.c: Include <startup.h>.
14147 2018-07-24 Florian Weimer <fweimer@redhat.com>
14149 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14150 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14152 2018-07-24 Rical Jasan <rj@2c3t.io>
14153 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14154 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14157 * manual/debug.texi: Update adjacent chapter name.
14158 * manual/probes.texi: Likewise.
14159 * manual/threads.texi (ISO C Threads): New section.
14160 (POSIX Threads): Convert to a section.
14162 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14163 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14166 * nptl/Makefile (tests): Add new test files.
14167 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14168 * nptl/tst-cnd-basic.c: Likewise.
14169 * nptl/tst-cnd-broadcast.c: Likewise.
14170 * nptl/tst-cnd-timedwait.c: Likewise.
14171 * nptl/tst-mtx-basic.c: Likewise.
14172 * nptl/tst-mtx-recursive.c: Likewise.
14173 * nptl/tst-mtx-timedlock.c: Likewise.
14174 * nptl/tst-mtx-trylock.c: Likewise.
14175 * nptl/tst-thrd-basic.c: Likewise.
14176 * nptl/tst-thrd-detach.c: Likewise.
14177 * nptl/tst-thrd-sleep.c: Likewise.
14178 * nptl/tst-tss-basic.c: Likewise.
14180 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14183 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14184 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14186 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14187 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14188 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14189 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14190 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14192 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14193 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14194 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14195 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14197 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14205 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14206 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14207 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14214 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14215 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14216 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14217 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14219 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14237 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14247 * conform/data/threads.h-data (thread_local): New macro.
14248 (TSS_DTOR_ITERATIONS): Likewise.
14250 (tss_dtor_t): Likewise.
14251 (tss_create): New function.
14252 (tss_get): Likewise.
14253 (tss_set): Likewise.
14254 (tss_delete): Likewise.
14255 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14256 tss_get, and tss_set objects.
14257 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14258 * nptl/tss_create.c: New file.
14259 * nptl/tss_delete.c: Likewise.
14260 * nptl/tss_get.c: Likewise.
14261 * nptl/tss_set.c: Likewise.
14262 * sysdeps/nptl/threads.h (thread_local): New define.
14263 (TSS_DTOR_ITERATIONS): Likewise.
14264 (tss_t): New typedef.
14265 (tss_dtor_t): Likewise.
14266 (tss_create): New prototype.
14267 (tss_get): Likewise.
14268 (tss_set): Likewise.
14269 (tss_delete): Likewise.
14272 * conform/data/threads.h-data (cnd_t): New type.
14273 (cnd_init): New function.
14274 (cnd_signal): Likewise.
14275 (cnd_broadcast): Likewise.
14276 (cnd_wait): Likewise.
14277 (cnd_timedwait): Likewise.
14278 (cnd_destroy): Likewise.
14279 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14280 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14282 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14283 * nptl/cnd_broadcast.c: New file.
14284 * nptl/cnd_destroy.c: Likewise.
14285 * nptl/cnd_init.c: Likewise.
14286 * nptl/cnd_signal.c: Likewise.
14287 * nptl/cnd_timedwait.c: Likewise.
14288 * nptl/cnd_wait.c: Likewise.
14289 * sysdeps/nptl/threads.h (cnd_t): New type.
14290 (cnd_init): New prototype.
14291 (cnd_signa): Likewise.
14292 (cnd_broadcast): Likewise.
14293 (cnd_wait): Likewise.
14294 (cnd_timedwait): Likewise.
14295 (cnd_destroy): Likewise.
14298 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14299 (once_flag): New type.
14300 (call_once): New function.
14301 * nptl/Makefile (libpthread-routines): Add call_once object.
14302 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14303 * nptl/call_once.c: New file.
14304 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14305 (once_flag): New type.
14306 (call_once): New prototype.
14309 * conform/data/threads.h-data (mtx_plain): New constant.
14310 (mtx_recursive): Likewise.
14311 (mtx_timed): Likewise.
14313 (mtx_init): New function.
14314 (mtx_lock): Likewise.
14315 (mtx_timedlock): Likewise.
14316 (mtx_trylock): Likewise.
14317 (mtx_unlock): Likewise.
14318 (mtx_destroy): Likewise.
14319 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14320 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14321 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14322 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14323 * nptl/mtx_destroy.c: New file.
14324 * nptl/mtx_init.c: Likewise.
14325 * nptl/mtx_lock.c: Likewise.
14326 * nptl/mtx_timedlock.c: Likewise.
14327 * nptl/mtx_trylock.c: Likewise.
14328 * nptl/mtx_unlock.c: Likewise.
14329 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14330 (mtx_recursive): Likewise.
14331 (mtx_timed): Likewise.
14333 (mtx_init): New prototype.
14334 (mtx_lock): Likewise.
14335 (mtx_timedlock): Likewise.
14336 (mtx_trylock): Likewise.
14337 (mtx_unlock): Likewise.
14338 (mtx_destroy): Likewise.
14341 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14342 (linknamespace-libs-ISO11): Add libpthread.a.
14343 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14345 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14346 * nptl/Makefile (headers): Add threads.h.
14347 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14348 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14350 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14351 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14352 thrd_join, thrd_sleep, and thrd_yield symbols.
14353 * nptl/descr.h (struct pthread): Add c11 field.
14354 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14355 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14356 routine with expected function prototype.
14357 (__pthread_create_2_1): Add C11 threads check based on attribute
14359 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14360 * nptl/thrd_create.c: New file.
14361 * nptl/thrd_current.c: Likewise.
14362 * nptl/thrd_detach.c: Likewise.
14363 * nptl/thrd_equal.c: Likewise.
14364 * nptl/thrd_exit.c: Likewise.
14365 * nptl/thrd_join.c: Likewise.
14366 * nptl/thrd_priv.h: Likewise.
14367 * nptl/thrd_sleep.c: Likewise.
14368 * nptl/thrd_yield.c: Likewise.
14369 * include/threads.h: Likewise.
14371 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14373 * bits/indirect-return.h: New file.
14374 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14375 * sysdeps/x86/bits/indirect-return.h: Likewise.
14376 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14377 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14378 (swapcontext): Add __INDIRECT_RETURN.
14379 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14380 (prepare_test_buffer): Use it.
14382 2018-07-24 Andreas Schwab <schwab@suse.de>
14385 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14386 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14388 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14390 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14391 Redefine if shadow stack is enabled.
14392 (SYSCALL_ERROR_LABEL): Likewise.
14393 (__vfork): Pop shadow stack and jump back to to caller directly
14394 when shadow stack is in use.
14395 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14396 Redefine if shadow stack is enabled.
14397 (SYSCALL_ERROR_LABEL): Likewise.
14398 (__vfork): Pop shadow stack and jump back to to caller directly
14399 when shadow stack is in use.
14401 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14403 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14406 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14409 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14411 * scripts/build-many-glibcs.py (Context.checkout): Default
14412 binutils version to 2.31 branch.
14414 2018-07-20 Zong Li <zong@andestech.com>
14416 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14417 URL of gcc's tarball.
14419 2018-07-20 Florian Weimer <fweimer@redhat.com>
14422 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14423 not compare an extra byte after the end of the weights.
14425 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14427 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14429 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14431 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14432 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14433 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14434 list of libraries whose stack executability is expected.
14435 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14436 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14438 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14439 libc.so libpthread.so.
14441 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14443 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14445 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14447 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14449 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14451 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14453 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14454 library to improve command line parsing.
14455 (__main__): make schema file as optional parameter (--schema),
14456 defaulting to benchtests/scripts/benchout.schema.json.
14457 (main): move out of the parsing stuff to __main_ and leave it
14458 only as caller of main comparison functions.
14460 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14462 * NEWS: Add a note for Intel CET status.
14463 * manual/install.texi: Likewise.
14464 * INSTALL: Regenerated.
14466 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14469 * localedata/locales/oc_FR (mon): Rename to...
14470 (alt_mon): This, then update October (typo fix).
14471 (mon): New content (genitive case, month names preceded by
14475 * localedata/locales/oc_FR (abday): Update all items.
14476 (day): Update Wednesday and Saturday (typo fixes).
14477 (abmon): Update all items, except May.
14478 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14479 (LC_IDENTIFICATION): Bump the revision number and date.
14480 Keep the "category" entries in alphabetic order.
14481 (LC_ADDRESS): Remove no longer needed comment.
14482 (LC_COLLATE): Use “copy "ca_ES"”.
14483 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14486 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14488 * grp/tst_fgetgrent.c: Include <unistd.h>.
14489 (main): Use mkstemp instead of tmpnam.
14490 * io/test-utime.c (main): Likewise.
14491 * posix/annexc.c (macrofile): Change to modifiable array.
14492 (main): Remove macrofile here.
14493 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14495 (check_header): Do not remove macrofile here.
14496 * posix/bug-getopt1.c: Include <stdlib.h>.
14497 (do_test): Use mkstemp instead of tmpnam.
14498 * posix/bug-getopt2.c: Include <stdlib.h>.
14499 (do_test): Use mkstemp instead of tmpnam.
14500 * posix/bug-getopt3.c: Include <stdlib.h>.
14501 (do_test): Use mkstemp instead of tmpnam.
14502 * posix/bug-getopt4.c: Include <stdlib.h>.
14503 (do_test): Use mkstemp instead of tmpnam.
14504 * posix/bug-getopt5.c: Include <stdlib.h>.
14505 (do_test): Use mkstemp instead of tmpnam.
14506 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14507 (main): Use mkstemp instead of tmpnam.
14508 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14509 (main): Use mkstemp instead of tmpnam.
14510 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14511 (main): use mkstemp instead of tmpnam.
14512 * stdlib/isomac.c (macrofile): Change to modifiable array.
14513 (main): Remove macrofile here.
14514 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14516 (check_header): Do not remove macrofile here.
14518 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14520 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14521 glibc.tune.x86_shstk.
14523 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14525 * NEWS: Mention --enable-cet.
14526 * manual/install.texi: Document --enable-cet.
14527 * INSTALL: Regenerated.
14529 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14531 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14532 Add _CET_NOTRACK before indirect jump to jump table.
14534 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14536 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14537 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14540 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14542 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14543 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14546 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14548 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14549 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14552 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14555 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14558 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14560 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14561 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14563 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14565 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14567 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14568 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14571 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14573 * sysdeps/i386/i686/multiarch/memset-sse2.S
14574 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14577 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14579 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14580 indirect jump to jump table.
14582 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14585 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14587 (MEMCPY): Likewise.
14589 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14592 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14594 (MEMCPY): Likewise.
14596 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14598 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14599 _CET_NOTRACK before indirect jump to jump table.
14601 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14603 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14604 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14607 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14609 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14610 indirect jump to jump table.
14612 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14615 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14616 (LOCALES): Likewise.
14617 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14618 * localedata/locales/sah_RU: New file.
14619 * localedata/sah_RU.UTF-8.in: New file.
14621 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14623 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14625 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14626 _CET_ENDBR to indirect jump targets and adjust jump destination
14628 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14630 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14631 _CET_ENDBR to indirect jump targets and adjust jump destination
14633 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14635 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14636 _CET_ENDBR to indirect jump targets and adjust jump destination
14639 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14641 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14644 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14646 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14648 (_dl_tlsdesc_undefweak): Likewise.
14649 (_dl_tlsdesc_dynamic): Likewise.
14650 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14651 (_dl_tlsdesc_resolve_rel): Likewise.
14652 (_dl_tlsdesc_resolve_rela): Likewise.
14653 (_dl_tlsdesc_resolve_hold): Likewise.
14654 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14655 (_dl_tlsdesc_undefweak): Likewise.
14656 (_dl_tlsdesc_dynamic): Likewise.
14657 (_dl_tlsdesc_resolve_rela): Likewise.
14658 (_dl_tlsdesc_resolve_hold): Likewise.
14660 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14662 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14664 * sysdeps/x86_64/crti.S (_init): Likewise.
14667 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
14670 * localedata/locales/os_RU (mon): Rename to...
14672 (mon): Import from CLDR (genitive case).
14674 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14676 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14677 cet-tunables.h> when CET is enabled.
14679 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14682 * configure.ac: Add --enable-cet.
14683 * configure: Regenerated.
14684 * elf/Makefille (all-built-dso): Add a comment.
14685 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14686 Include <dl-prop.h>.
14687 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14689 * elf/dl-open.c: Include <dl-prop.h>.
14690 (dl_open_worker): Call _dl_open_check.
14691 * elf/rtld.c: Include <dl-prop.h>.
14692 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14694 * sysdeps/generic/dl-prop.h: New file.
14695 * sysdeps/i386/dl-cet.c: Likewise.
14696 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14697 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14698 * sysdeps/x86/cet-tunables.h: Likewise.
14699 * sysdeps/x86/check-cet.awk: Likewise.
14700 * sysdeps/x86/configure: Likewise.
14701 * sysdeps/x86/configure.ac: Likewise.
14702 * sysdeps/x86/dl-cet.c: Likewise.
14703 * sysdeps/x86/dl-procruntime.c: Likewise.
14704 * sysdeps/x86/dl-prop.h: Likewise.
14705 * sysdeps/x86/libc-start.h: Likewise.
14706 * sysdeps/x86/link_map.h: Likewise.
14707 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14709 (_dl_runtime_profile): Likewise.
14710 (_dl_runtime_resolve_shstk): New.
14711 (_dl_runtime_profile_shstk): Likewise.
14712 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14714 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14715 (CFLAGS-.os): Likewise.
14716 (CFLAGS-.op): Likewise.
14717 (CFLAGS-.oS): Likewise.
14718 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14720 (tests-special): Add $(objpfx)check-cet.out.
14721 (cet-built-dso): New.
14722 (+$(cet-built-dso:=.note)): Likewise.
14723 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14724 ($(objpfx)check-cet.out): New.
14725 (generated): Add check-cet.out.
14726 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14728 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14729 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14730 (init_cpu_features): Call get_cet_status to check CET status
14731 and update dl_x86_feature_1 with CET status. Call
14732 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14733 (set_x86_shstk). Disable and lock CET in libc.a.
14734 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14735 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14736 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14737 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14738 (_CET_ENDBR): Define if not defined.
14739 (ENTRY): Add _CET_ENDBR.
14740 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14742 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14744 (_dl_runtime_profile): Likewise.
14746 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14749 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14750 restore r2 on longjmp.
14751 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14753 Added rules to build test tst-setjmp-bug21895-static.
14754 Added module setjmp-bug21895 and rules to build a shared object from it.
14755 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14756 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14758 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14760 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14761 * benchtests/bench-strstr.c: Likewise.
14762 * string/memmem.c (FASTSEARCH): Define.
14763 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14764 Add support for FASTSEARCH.
14765 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14766 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14767 (FASTSEARCH): Define.
14768 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14769 * string/test-strstr.c: Likewise.
14771 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14774 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14776 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14777 H.J. Lu <hongjiu.lu@intel.com>
14779 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14780 (__longjmp): Restore shadow stack pointer if shadow stack is
14781 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14782 isn't defined for __longjmp_cancel.
14783 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14784 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14785 and SHADOW_STACK_POINTER_OFFSET is defined.
14786 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14787 (setjmp): Save shadow stack pointer if shadow stack is enabled
14788 and SHADOW_STACK_POINTER_OFFSET is defined.
14789 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14790 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14791 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14792 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14794 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14795 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14796 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14797 Remove jmp_buf-ssp.sym.
14798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14800 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14801 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14802 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14804 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14805 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14806 (__longjmp): Restore shadow stack pointer if shadow stack is
14807 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14808 isn't defined for __longjmp_cancel.
14809 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14810 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14811 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14813 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14816 * nptl/pthread_create.c: Include <tls-setup.h>.
14817 (__pthread_create_2_1): Call tls_setup_tcbhead.
14818 * sysdeps/generic/tls-setup.h: New file.
14819 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14820 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14821 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14823 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14825 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14826 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14827 (X86_FEATURE_1_SHSTK): Likewise.
14828 (CET_ENABLED): Likewise.
14829 (IBT_ENABLED): Likewise.
14830 (SHSTK_ENABLED): Likewise.
14832 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
14835 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14836 (LOCALES): Likewise.
14837 * localedata/dsb_DE.UTF-8.in: New file.
14838 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14840 2018-07-12 Florian Weimer <fweimer@redhat.com>
14842 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14843 __mprotect, not mprotect.
14845 2018-07-11 Florian Weimer <fweimer@redhat.com>
14847 * io/Makefile (headers): Add bits/statx.h.
14849 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14851 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14852 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14854 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14855 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14858 2018-07-10 Florian Weimer <fweimer@redhat.com>
14860 * io/Makefile (routines): Add statx.
14861 (tests-internal): Add tst-statx.
14862 * io/Versions (GLIBC_2.28): Export statx.
14863 * io/bits/statx.h: New file.
14864 * io/sys/stat.h [__USE_GNU]: Include it.
14865 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14866 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14868 * io/statx.c: New file.
14869 * io/statx_generic.: Likewise.
14870 * io/tst-statx.: Likewise.
14871 * include/bits/statx.h: Likewise.
14872 * sysdeps/unix/sysv/linux/kernel-features.h
14873 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14874 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14875 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14876 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14878 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14879 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14880 * sysdeps/unix/sysv/linux/statx.c: New file.
14881 * manual/filesys.texi: Note that statx is undocumented.
14882 * sysdeps/**/libc*.abilist: Update.
14884 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14886 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14887 a kernel issue which lead to test failure in some cases.
14889 2018-07-10 Florian Weimer <fweimer@redhat.com>
14892 * posix/regexec.c (check_node_accept_bytes): When comparing
14893 weights, do not compare an extra byte after the end of the
14896 2018-07-10 Florian Weimer <fweimer@redhat.com>
14898 * libio/readline.c: Fix copyright year.
14899 * libio/tst-readline.c Likewise.
14900 * nss/tst-nss-files-hosts-getent.c: Likewise.
14902 2018-07-06 Florian Weimer <fweimer@redhat.com>
14905 * nss/nss_files/files-XXX.c (internal_getent): Use
14906 __libc_readline_unlocked. Seek back to the start of the line if
14907 parsing failes with ERANGE.
14908 (get_contents_ret, get_contents): Remove.
14909 * nss/tst-nss-files-hosts-getent.c: New file.
14910 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14911 (tst-nss-files-hosts-getent): Link with -ldl.
14913 2018-07-06 Florian Weimer <fweimer@redhat.com>
14915 * include/stdio.h (__libc_readline_unlocked): Declare.
14916 (__ftello64, __fseeko64): Declare aliases.
14917 * libio/readline.c: New file.
14918 * libio/tst-readline.c: Likewise.
14919 (routines): Add readline.
14920 (tests-internal): Add tst-readlime.
14921 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14922 __libc_readline_unlocked.
14923 * libio/fseeko.c (__fseeko): Rename from fseeko.
14924 (fseeko): Add alias.
14925 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14926 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14927 (fseeko64): Add alias.
14928 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14929 * libio/ftello64.c (__ftello64): Rename from ftello64.
14930 (ftello64): Add alias.
14932 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14934 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14937 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14939 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14940 Use dl_hwcap without masking.
14941 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14942 Remove HWCAP_CPUID.
14944 2018-07-06 Florian Weimer <fweimer@redhat.com>
14946 * conform/conformtest.pl (checknamespace): Escape literal braces
14947 in regular expressions.
14949 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14951 * sysdeps/x86/cpu-features.c (get_common_indeces):
14952 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14953 * sysdeps/x86/cpu-features.c (init_cpu_features):
14954 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14956 2018-07-05 Florian Weimer <fweimer@redhat.com>
14958 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14960 (CFLAGS-elf-init.oS): Likewise.
14962 2018-07-05 Florian Weimer <fweimer@redhat.com>
14963 Carlos O'Donell <carlos@redhat.com>
14965 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14966 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14967 with stack protector enabled because there is no risk of infinite
14970 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14974 * libc-abis (ABSOLUTE): New ABI.
14975 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14976 * NEWS: Mention the new ABI.
14978 2018-07-05 Florian Weimer <fweimer@redhat.com>
14981 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
14982 (RENAME_WHITEOUT): Define.
14983 [__USE_GNU] (renameat2): Declare.
14984 * stdio-common/Makefile (routines): Add renameat2.
14985 (tests): Add tst-renameat2.
14986 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
14987 * stdio-common/renameat2.c: New file.
14988 * stdio-common/tst-renameat2.c: Likewise.
14989 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
14990 * manual/filesys.texi (Temporary Files): Note that renameat2 is
14992 * sysdeps/unix/sysv/linux/kernel-features.h
14993 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
14994 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14995 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14996 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14997 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
14998 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14999 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15000 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15001 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15002 * include/stdio.h (__renameat): Add alias for renameat.
15003 * stdio-common/renameat.c (__renameat): Rename from renameat.
15004 Add hidden definition and alias.
15005 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15006 * sysdeps/mach/hurd/renameat.c: Likewise.
15007 * sysdeps/**/libc*.abilist: Add renameat2.
15009 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15011 * posix/bug-regex33.c: Fix build after regex sync.
15013 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15016 * localedata/tst-langinfo-setlocale.c: New file.
15017 * localedata/tst-langinfo-setlocale-static.c: New file.
15018 * localedata/tst-langinfo-newlocale.c: New file.
15019 * localedata/tst-langinfo-newlocale-static.c: New file.
15020 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15021 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15022 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15023 (tests-static): Remove tst-langinfo-static. Add
15024 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15025 (tests-special): Remove $(objpfx)tst-langinfo.out,
15026 $(objpfx)tst-langinfo-static.out. Add
15027 $(objpfx)tst-langinfo-setlocale.out,
15028 $(objpfx)tst-langinfo-newlocale.out,
15029 $(objpfx)tst-langinfo-setlocale-static.out,
15030 $(objpfx)tst-langinfo-newlocale-static.out.
15031 ($(objpfx)tst-langinfo.out): Remove.
15032 ($(objpfx)tst-langinfo-static.out): Remove.
15033 ($(objpfx)tst-langinfo-newlocale.out): New target.
15034 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15035 (test-xfail-tst-langinfo-newlocale-static): Add.
15036 ($(objpfx)tst-langinfo-setlocale.out): New target.
15037 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15038 * localedata/tst-langinfo.c: Call test_locale.
15039 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15042 2018-07-04 Florian Weimer <fweimer@redhat.com>
15044 testrun.sh: Implement --tool=strace, --tool=valgrind
15045 * Makefile (testrun-script): Define variable.
15046 (testrun.sh): Use variable.
15047 * manual/install.texi (Tools for Compilation): make 4.0 or later
15049 * configure.ac: Check for make 4.0 or later.
15050 * INSTALL: Regenerate.
15051 * configure: Likewise.
15053 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15059 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15060 * posix/PCRE.tests: Remove invalid test.
15061 * posix/bug-regex28.c: Fix expected values for used syntax.
15062 * posix/bug-regex37.c: New file.
15063 * posix/bug-regex38.c: Likewise.
15064 * posix/regcomp.c: Sync with gnulib.
15065 * posix/regex.c: Likewise.
15066 * posix/regex.h: Likewise.
15067 * posix/regex_internal.c: Likewise.
15068 * posix/regex_internal.h: Likewise.
15069 * posix/regexec.c: Likewise.
15071 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15074 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15075 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15076 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15077 * localedata/unicode-gen/PropList.txt: likewise.
15078 * localedata/unicode-gen/UnicodeData.txt: likewise.
15079 * localedata/charmaps/UTF-8: Regenerate.
15080 * localedata/locales/i18n_ctype: likewise.
15081 * localedata/locales/tr_TR: likewise.
15082 * localedata/locales/translit_circle: likewise.
15083 * localedata/locales/translit_cjk_compat: likewise.
15084 * localedata/locales/translit_combining: likewise.
15085 * localedata/locales/translit_compat: likewise.
15086 * localedata/locales/translit_font: likewise.
15087 * localedata/locales/translit_fraction: likewise.
15089 2018-07-03 Florian Weimer <fweimer@redhat.com>
15092 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15093 * stdio-common/tst-printf.sh: Adjust expected output.
15094 * LICENSES: Update.
15096 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15098 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15101 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15103 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15104 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15105 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15106 * stdio-common/tst-printfsz-islongdouble.c: New file.
15107 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15108 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15109 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15110 [subdir == stdio-common] (tests-internal): Add
15111 test-printf-size-ieee128, and test-printf-size-ibm128.
15112 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15113 (CFLAGS-test-printf-size-ibm128.c): New variables.
15114 [subdir == stdio-common] (tests-special): Add
15115 $(objpfx)test-printf-size-ieee128.out and
15116 $(objpfx)test-printf-size-ibm128.out.
15117 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15118 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15119 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15120 __printf_sizeieee128.
15121 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15123 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15125 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15128 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15130 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15131 (exp2f_inline): Likewise.
15132 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15133 (__math_uflowf): Likewise.
15134 (__math_may_uflowf): Likewise.
15135 (__math_divzerof): Likewise.
15136 (__math_invalidf): Likewise.
15137 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15138 (__math_oflowf): Likewise.
15139 (__math_uflowf): Likewise.
15140 (__math_may_uflowf): Likewise.
15141 (__math_divzerof): Likewise.
15142 (__math_invalidf): Likewise.
15144 2018-06-29 DJ Delorie <dj@redhat.com>
15145 Carlos O'Donell <carlos@redhat.com>
15148 * include/libc-symbols.h: Comment the freeres framework.
15149 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15150 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15151 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15152 * dlfcn/dlerror.c: Include libc-symbols.h
15153 (__dlerror_main_freeres): New function.
15154 * dlfcn/dlfreeres.c: New file.
15155 * dlfcn/sdlfreeres.c: New file.
15156 * include/dlfcn.h: Declare __dlerror_main_freeres.
15157 * malloc/set-freeres.c: Declare __libdl_freeres, and
15158 __libpthread_freeres.
15159 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15160 the releavant libraries are loaded.
15161 * malloc/thread-freeres.c: Add comments.
15162 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15163 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15164 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15165 (__free_stacks): Rename to...
15166 (free_stacks): ...this. Mark static.
15167 (queue_stack): Call free_stacks.
15168 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15169 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15170 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15171 ptr_freeres element from struct.
15172 (pthread_functions): Remove .ptr_freeres from struct initializer.
15173 [SHARED] (nptl_freeres): Remove.
15174 * nptl/nptlfreeres.c: New file.
15176 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15177 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15179 (__free_stacks): Rename to...
15180 (__nptl_stacks_freeres): ...this.
15181 (__shm_directory_freeres): Declare.
15182 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15183 (__nptl_unwind_freeres): ...this.
15184 * resolv/res-close.c: Add comment.
15185 * resolv/resolv_conf.c: Include libc-symbols.h.
15186 * string/strerror_l.c: Include libc-symbols.h.
15187 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15188 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15189 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15190 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15192 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15194 * stdlib/tst-strfmon_l.c: Add tests for long double.
15196 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15199 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15200 * localedata/locales/dsb_DE: New file.
15202 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15205 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15207 (alt_mon): New entry, import from CLDR (nominative case).
15209 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15212 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15214 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15216 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15217 Use vector registers.
15219 * sysdeps/aarch64/multiarch/memmove_falkor.S
15220 (__memcpy_falkor): Use vector registers.
15222 2018-06-29 Martin Sebor <msebor@redhat.com>
15224 * manual/stdio.texi (Customizing Printf): Mention interaction
15225 with GCC built-ins.
15227 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15230 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15231 `st_value' is 0 if `st_shndx' is SHN_ABS.
15232 * elf/tst-absolute-zero.c: New file.
15233 * elf/tst-absolute-zero-lib.c: New file.
15234 * elf/tst-absolute-zero-lib.lds: New file.
15235 * elf/Makefile (tests): Add `tst-absolute-zero'.
15236 (modules-names): Add `tst-absolute-zero-lib'.
15237 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15238 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15239 ($(objpfx)tst-absolute-zero: New dependency.
15241 2018-06-29 Zack Weinberg <zackw@panix.com>
15243 * configure.ac: New command-line option --disable-crypt.
15244 Force --disable-nss-crypt when --disable-crypt is given, with a
15245 warning if it was explicitly enabled.
15246 * configure: Regenerate.
15247 * config.make.in: New boolean substitution variable $(build-crypt).
15248 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15249 when $(build-crypt).
15250 * manual/install.texi: Document --disable-crypt.
15251 * INSTALL: Regenerate.
15253 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15254 which is never set.
15255 * conform/Makefile: Only include libcrypt.a in
15256 linknamespace-libs-xsi and linknamespace-libs-XPG4
15257 when $(build-crypt).
15258 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15259 USE_CRYPT to 1 when $(build-crypt).
15260 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15261 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15262 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15264 2018-06-29 Zack Weinberg <zackw@panix.com>
15266 * crypt/crypt.h, posix/unistd.h: Update comments and
15267 prototypes for crypt and crypt_r.
15269 * manual/crypt.texi (Cryptographic Functions): New initial
15271 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15272 (Unpredictable Bytes): Improve initial exposition. Clarify error
15273 behavior of getentropy and getrandom.
15274 * manual/examples/genpass.c: Generate a salt using getentropy
15275 instead of the current time. Use hash $5$ (SHA-2-256).
15276 * manual/examples/testpass.c: Demonstrate validation against
15277 hashes generated with three different one-way functions.
15279 * manual/intro.texi: crypt.texi does not need an overview
15282 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15283 * manual/terminal.texi: Consistently refer to "passphrases"
15284 * instead of "passwords", and to the "user database" instead
15285 * of the "password database".
15286 * manual/users.texi: Similarly. Add notes about how actual
15287 passphrase hashes are now stored in the shadow database.
15288 Remove 20-year-old junk todo note.
15290 2018-06-29 Zack Weinberg <zackw@panix.com>
15292 * manual/crypt.texi: Use a normal top-level @node declaration.
15293 Move most of the introductory text to the 'crypt' section.
15294 Move the example programs below the @deftypefun for 'crypt_r'.
15295 Move the 'getpass' section...
15296 * manual/terminal.texi: ...here.
15298 2018-06-29 Zack Weinberg <zackw@panix.com>
15299 Florian Weimer <fweimer@redhat.com>
15301 * posix/unistd.h: Do not declare encrypt.
15302 (_XOPEN_CRYPT): Remove macro definition.
15303 (crypt): Declare only for _USE_MISC.
15304 * stdlib/stdlib.h: Do not declare setkey.
15305 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15306 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15308 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15309 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15310 into compat symbols. Don't define initial_perm if it's not
15312 * crypt/cert.c: Link explicitly with the expected versions for
15313 setkey and encrypt. If they are not available at all, mark
15314 the test as unsupported.
15316 * sunrpc/des_crypt.c: Unconditionally block linkage with
15317 cbc_crypt and ecb_crypt for new binaries.
15318 * sunrpc/des_soft.c: Unconditionally block linkage with
15319 des_setparity for new binaries.
15321 * manual/crypt.texi: Remove the entire "DES Encryption"
15322 section. Also remove the paragraph talking about FIPS 140-2
15323 from the introduction.
15324 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15325 of libgcrypt for "real" encryption, not DES.
15326 * manual/conf.texi (Constants for Sysconf): Mention that
15327 _XOPEN_CRYPT is no longer impelemented.
15329 * conform/data/unistd.h-data: Remove crypt function declaration.
15331 2018-06-29 Florian Weimer <fweimer@redhat.com>
15334 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15335 (disallow_malloc_check): Remove variable.
15336 (__malloc_check_init): Adjust.
15337 (malloc_set_state): Update comment.
15338 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15341 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15344 * localedata/locales/ast_ES (mon): Rename to...
15346 (mon): Import from CLDR (genitive case).
15348 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15349 Jakub Sitnicki <jkbs@redhat.com>
15352 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15353 on NLM_F_DUMP_INTR.
15355 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15357 * manual/llio.texi: Remove spurious space.
15359 2018-06-28 Florian Weimer <fweimer@redhat.com>
15362 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15365 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15367 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15368 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15369 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15370 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15371 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15372 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15373 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15375 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15378 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15379 Copy and null-terminate entries that are not terminated, in
15380 addition to empty ones.
15382 2018-06-27 Florian Weimer <fweimer@redhat.com>
15385 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15386 (extend_alloca_account): Remove.
15387 * manual/stdio.texi (Variable Arguments Output): Update comment.
15389 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15391 * nptl/sockperf.c: Remove file.
15393 2018-06-27 Florian Weimer <fweimer@redhat.com>
15396 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15397 scratch_buffer instead of extend_alloca.
15399 2018-06-27 Florian Weimer <fweimer@redhat.com>
15402 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15403 scratch_buffer instead of extend_alloca. Update comments.
15405 2018-06-27 Florian Weimer <fweimer@redhat.com>
15408 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15409 instead of extend_alloca.
15411 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15414 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15415 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15417 * scripts/test-installation.pl: Put temporary files in build
15418 directory, not /tmp.
15419 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15420 (CFLAGS-bug4.c): Likewise.
15421 (CFLAGS-bug5.c): Likewise.
15422 (CFLAGS-test-fseek.c): Likewise.
15423 (CFLAGS-test-popen.c): Likewise.
15424 (CFLAGS-test_rdwr.c): Likewise.
15425 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15427 * stdio-common/bug4.c (main): Likewise.
15428 * stdio-common/bug5.c (main): Likewise.
15429 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15430 * stdio-common/test-popen.c (do_test): Likewise.
15431 * stdio-common/test_rdwr.c (main): Likewise.
15433 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15435 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15436 (sem_open): Set sem.newsem.pad to zero for valgrind.
15438 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15441 * NEWS: Mention fcntl64 addition.
15442 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15443 * login/utmp_file.c: Likewise.
15444 * sysdeps/posix/fdopendir.c: Likewise.
15445 * sysdeps/posix/opendir.c: Likewise.
15446 * sysdeps/unix/pt-fcntl.c: Likewise.
15447 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15448 __fcntl64_nocancel_adjusted): New prototype.
15449 (__fcntl_nocancel_adjusted): Remove prototype.
15450 * io/Makefile (routines): Add fcntl64.
15451 (CFLAGS-fcntl64.c): New rule.
15452 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15453 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15454 * io/fcntl.h (fcntl64): Add prototype and redirect if
15455 __USE_FILE_OFFSET64 is defined.
15456 * io/fcntl64.c: New file.
15457 * manual/llio.text: Add a note for which commands fcntl acts a
15458 cancellation point.
15459 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15460 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15461 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15463 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15464 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15466 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15467 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15468 to __fcntl64_nocancel.
15469 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15470 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15471 to __fcntl64_nocancel.
15472 * sysdeps/generic/not-cancel.h: Likewise.
15473 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15474 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15475 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15476 (fcntl64): New symbol.
15477 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15478 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15482 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15484 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15485 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15486 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15487 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15488 fcntl64): Likewise.
15489 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15490 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15491 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15492 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15493 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15494 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15495 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15496 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15502 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15503 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15506 2018-06-26 Florian Weimer <fweimer@redhat.com>
15508 Run thread shutdown functions in an explicit order.
15509 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15511 (__libc_thread_freeres): Call thread shutdown functions
15513 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15514 * include/string.h (__strerror_thread_freeres): Declare.
15515 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15516 arena_thread_freeres. No longer static. Remove thread shutdown
15518 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15520 * resolv/res-close.c (__res_thread_freeres): Renamed from
15521 res_thread_freeres. No longer static. Remove thread shutdown
15523 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15524 * resolv/resolv_conf.c (freeres): Remove incorrect section
15525 attribute and use libc_freeres_fn.
15526 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15527 strerror_thread_freeres. No longer static. Remove thread
15528 shutdown hook registration.
15529 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15530 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15531 shutdown hook registration.
15532 * Makerules (shlib.lds): Do not provide section boundary symbols
15533 for __libc_thread_subfreeres.
15534 * manual/memory.texi (Basic Allocation): Update comment.
15536 2018-06-26 Florian Weimer <fweimer@redhat.com>
15538 Remove always-defined _RPC_THREAD_SAFE_ macro.
15539 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15540 Do not define _RPC_THREAD_SAFE_.
15541 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15543 * sunrpc/clnt_perr.c: Likewise.
15544 * sunrpc/clnt_raw.c: Likewise.
15545 * sunrpc/clnt_simp.c: Likewise.
15546 * sunrpc/key_call.c: Likewise.
15547 * sunrpc/rpc_common.c: Likewise.
15548 * sunrpc/rpc_main.c: Likewise.
15549 * sunrpc/rpc_thread.c: Likewise.
15550 * sunrpc/svc.c: Likewise.
15551 * sunrpc/svc_raw.c: Likewise.
15552 * sunrpc/svc_simple.c: Likewise.
15553 * sumrpc/svcauth_des.c: Likewise.
15555 2018-06-26 Florian Weimer <fweimer@redhat.com>
15557 * libio/Makefile (tests-internal): Add tst-vtables,
15558 tst-vtables-interposed.
15559 * libio/tst-vtables.c: New file.
15560 * libio/tst-vtables-common.c: Likewise.
15561 * libio/tst-vtables-interposed.c: Likewise.
15563 2018-06-26 Florian Weimer <fweimer@redhat.com>
15565 * support/support_test_main.c (support_test_main): Only call
15566 setvbuf if not disables.
15567 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15568 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15570 2018-06-26 Florian Weimer <fweimer@redhat.com>
15573 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15575 2018-06-25 Florian Weimer <fweimer@redhat.com>
15578 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15579 Use struct scratch_buffer instead of extend_alloca.
15581 2018-06-25 Florian Weimer <fweimer@redhat.com>
15584 * nss/getent.c (initgroups_keys): Use dynarray instead of
15587 2018-06-25 Florian Weimer <fweimer@redhat.com>
15590 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15591 Use struct scratch_buffer instead of extend_alloca.
15593 2018-06-25 Florian Weimer <fweimer@redhat.com>
15596 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15597 back to malloc directly, without stack allocations.
15599 2018-06-25 Florian Weimer <fweimer@redhat.com>
15602 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15605 2018-06-25 Florian Weimer <fweimer@redhat.com>
15608 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15610 * nscd/hstcache.c (addhstbyX): Likewise.
15611 * nscd/pwdcache.c (addpwbyX): Likewise.
15612 * nscd/servicescache.c (addservbyX): Likewise.
15614 2018-06-25 Florian Weimer <fweimer@redhat.com>
15617 * nscd/connections.c (read_cmdline): New function.
15618 (restart): Use it. Update comment.
15620 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15623 * localedata/locales/csb_PL (mon): Rename to...
15625 (abmon): Rename to...
15626 (ab_alt_mon): This.
15627 (mon): Add with proper genitive forms, copy from Wikipedia.
15630 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15633 * localedata/locales/csb_PL (mon): Fix typos:
15634 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15635 (yesstr): Add, value is "jo".
15636 (nostr): Add, value is "nié".
15638 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15640 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15641 all log1p and significand functions on m680x0.
15642 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15643 of s_significand.c..
15644 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15645 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15646 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15647 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15648 s_log1p.c and include it..
15650 2018-06-21 Vincent Chen <vincentc@andestech.com>
15652 * elf/elf.h (R_NDS32_NONE): New define.
15653 (R_NDS32_32_RELA): Likewise.
15654 (R_NDS32_COPY): Likewise.
15655 (R_NDS32_GLOB_DAT): Likewise.
15656 (R_NDS32_JUMP_SLOT): Likewise.
15657 (R_NDS32_RELATIVE): Likewise.
15658 (R_NDS32_TLS_TPOFF): Likewise.
15659 (R_NDS32_TLS_DESC): Likewise.
15661 2018-06-21 Mark Wielaard <mark@klomp.org>
15663 * elf/elf.h (R_BPF_MAP_FD): Removed.
15664 (R_BPF_64_64, R_BPF_64_32): New.
15666 2018-06-21 Florian Weimer <fweimer@redhat.com>
15669 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15670 Renamed from libc_feholdsetround_ctx.
15671 (default_libc_feresetround_ctx): Renamed from
15672 libc_feresetround_ctx.
15673 (default_libc_feholdsetround_noex_ctx): Renamed from
15674 libc_feholdsetround_noex_ctx.
15675 (default_libc_feresetround_noex_ctx): Renamed from
15676 libc_feresetround_noex_ctx.
15677 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15678 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15679 forwardning to the old implementations under the new names.
15680 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15681 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15682 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15683 (libc_feresetround_ctx): Forward to default implements for i386
15684 and MATH_SET_BOTH_ROUNDING_MODES.
15685 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15686 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15688 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15690 * string/tst-cmp.c: Include <libc-diag.h>.
15691 (strncmp_max): Disable -Wstringop-overflow= around call to
15693 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15696 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15697 (main): Disable -Wunused-value around call to strpbrk.
15698 * string/bug-strspn1.c: Include <libc-diag.h>.
15699 (main): Disable -Wunused-value around call to strspn.
15701 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15702 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15704 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15705 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15707 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15709 * math/Makefile (libm-calls): Move s_significandF to...
15710 (gen-libm-calls): ... here.
15711 * math/s_significand_template.c: New file.
15712 * math/s_significand.c: Removed.
15713 * math/s_significandf.c: Removed.
15714 * math/s_significandl.c: Removed.
15715 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15716 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15718 * math/e_exp2_template.c (declare_mgen_finite_alias,
15719 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15720 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15721 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15723 2018-06-20 Florian Weimer <fweimer@redhat.com>
15725 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15727 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15730 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15731 floating-point number to strtod functions rather than possibly
15732 negating result of those functions.
15733 * stdio-common/tst-scanf-round.c: New file.
15734 * stdio-common/Makefile (tests): Add tst-scanf-round.
15735 ($(objpfx)tst-scanf-round): Depend on $(libm).
15737 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15739 * sysdeps/mach/hurd/localplt.data: Move to...
15740 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15741 R_386_GLOB_DAT like on Linux i386.
15743 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15745 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15746 (SHM_STAT_ANY): New macro.
15747 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15748 (SHM_STAT_ANY): Likewise.
15749 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15750 (SHM_STAT_ANY): Likewise.
15751 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15752 (SHM_STAT_ANY): Likewise.
15753 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15754 (SHM_STAT_ANY): Likewise.
15755 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15756 (SHM_STAT_ANY): Likewise.
15757 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15758 (SHM_STAT_ANY): Likewise.
15759 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15760 (SHM_STAT_ANY): Likewise.
15761 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15762 (SHM_STAT_ANY): Likewise.
15763 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15764 (SHM_STAT_ANY): Likewise.
15765 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15766 (SHM_STAT_ANY): Likewise.
15767 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15768 (SHM_STAT_ANY): Likewise.
15770 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15771 (SEM_STAT_ANY): New macro.
15772 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15773 (SEM_STAT_ANY): Likewise.
15774 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15775 (SEM_STAT_ANY): Likewise.
15776 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15777 (SEM_STAT_ANY): Likewise.
15778 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15779 (SEM_STAT_ANY): Likewise.
15780 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15781 (SEM_STAT_ANY): Likewise.
15782 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15783 (SEM_STAT_ANY): Likewise.
15784 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15785 (SEM_STAT_ANY): Likewise.
15786 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15787 (SEM_STAT_ANY): Likewise.
15788 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15789 (SEM_STAT_ANY): Likewise.
15791 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15792 (MSG_STAT_ANY): New macro.
15793 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15794 (MSG_STAT_ANY): Likewise.
15795 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15796 (MSG_STAT_ANY): Likewise.
15797 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15798 (MSG_STAT_ANY): Likewise.
15799 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15800 (MSG_STAT_ANY): Likewise.
15801 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15802 (MSG_STAT_ANY): Likewise.
15803 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15804 (MSG_STAT_ANY): Likewise.
15805 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15806 (MSG_STAT_ANY): Likewise.
15807 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15808 (MSG_STAT_ANY): Likewise.
15809 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15810 (MSG_STAT_ANY): Likewise.
15812 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15813 (MAP_TYPE): Change value to 0x2b.
15815 2018-06-18 Florian Weimer <fweimer@redhat.com>
15818 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15819 socket with SOCK_CLOEXEC.
15821 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15824 * sysdeps/powerpc/powerpc64/le/Makefile
15825 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15826 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15827 (gnulib-tests): Also add $(f128-loader-link) for
15828 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15830 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15832 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15833 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15835 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15836 (sendfile64): New strong alias.
15837 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15838 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15839 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15840 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15842 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15843 ___pthread_get_cleanup_stack.
15844 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15845 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15846 * mach/shortcut.awk: Make syscall stubs include
15847 <mach-shortcuts-hidden.h> and add hidden definition.
15848 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15849 (__mach_msg): Add hidden prototype.
15850 * mach/msg.c: Include <mach.h>.
15851 (__mach_msg): Add hidden definition.
15852 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15853 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15854 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15855 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15856 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15857 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15858 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15859 prototype and definition.
15860 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15861 hidden target for _hurd_self_sigstate.
15863 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15866 * stdlib/tst-strtod-nan-sign-main.c: New file.
15867 * stdlib/tst-strtod-nan-sign.c: Likewise.
15868 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15869 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15870 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15871 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15872 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15874 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15877 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15880 2018-06-14 Florian Weimer <fweimer@redhat.com>
15883 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15884 that the result stays within the ISO-8859-1 range.
15885 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15886 characters are defined in IBM273.
15888 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15890 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15891 __mach_task_self): Remove attribute_hidden.
15893 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15895 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15896 ignore -Wrestrict for one test.
15898 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15899 Szabolcs Nagy <szabolcs.nagy@arm.com>
15901 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15903 2018-06-14 Florian Weimer <fweimer@redhat.com>
15905 * scripts/update-abilist.sh: Accept empty list of files to patch.
15907 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15909 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15910 test-xfail-check-abi-libmachuser): Add.
15911 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15912 __libc_read and __libc_write to __read and __write.
15913 * sysdeps/hurd/include/hurd/port.h: New file.
15914 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15915 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15916 __thread_switch, __evc_wait): Move declarations to...
15917 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15919 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15920 use PLT to call _hurd_self_sigstate.
15922 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15925 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15926 MAX_EXP as overflowing.
15927 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15929 (round_str): Output also whether result overflows in each rounding
15931 * stdlib/tst-strtod-round-data: Add more tests.
15932 * stdlib/tst-strtod-round-data.h: Regenerated.
15933 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15934 (TEST): Handle extra arguments for overflow flags.
15935 (struct test_overflow): New type.
15936 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15937 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15938 (test_in_one_mode): Take argument with overflow information.
15939 (do_test): Update calls to test_in_one_mode.
15941 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15943 * elf/dl-load (_dl_dst_substitute): Correct comment.
15944 (_dl_dst_count): Likewise.
15946 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15947 lll_futex_timed_wait.
15949 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15952 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15954 * math/test-nan-const.c: New file.
15955 * math/Makefile (tests): Add test-nan-const.
15956 (CFLAGS-test-nan-const.c): New variable.
15958 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15960 * benchtests/scripts/compare_strings.py (process_results): Add
15961 funcs argument. Compare only functions which are selected.
15962 (main): Check if base function is among selected functions.
15963 Pass selected functions to process_results.
15964 (__main__): Add -f/--functions argument.
15966 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15967 Hongbo Zhang <hongbo.zhang@linaro.org>
15969 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15970 __memcpy_falkor for phecda core.
15971 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15972 __memmove_falkor for phecda core.
15973 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15974 __memset_falkor for phecda core.
15975 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15977 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15978 macro to identify phecda core.
15980 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15981 Andreas Schwab <schwab@suse.de>
15982 Dmitry V. Levin <ldv@altlinux.org>
15983 Florian Weimer <fweimer@redhat.com>
15990 * elf/dl-dst.h: Remove DL_DST_COUNT.
15991 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
15992 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
15993 (is_dst): Comment. Support ELF gABI.
15994 (_dl_dst_count): Comment. Simplify and count DSTs.
15995 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
15996 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
15999 2018-06-12 Zack Weinberg <zackw@panix.com>
16001 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16002 * sysdeps/unix/sysv/linux/dl-sysdep.c
16003 Include not-cancel.h. Use __close_nocancel instead of __close,
16004 __open64_nocancel instead of __open, __read_nocancel instead of
16005 __libc_read, and __write_nocancel instead of __libc_write.
16007 * csu/check_fds.c (check_one_fd)
16008 * sysdeps/posix/fdopendir.c (__fdopendir)
16009 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16010 instead of __fcntl and/or __libc_fcntl.
16012 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16013 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16014 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16015 Use __open64_nocancel instead of __open_nocancel.
16017 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16018 hidden_proto declarations to the end and issue them if either
16019 IS_IN(libc) or IS_IN(rtld).
16020 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16021 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16022 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16023 read_nocancel, waitpid_nocancel, write_nocancel.
16025 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16026 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16027 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16029 * nptl/pt-fcntl.c: New file.
16030 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16031 (libpthread-routines): Add pt-fcntl.
16032 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16033 (__libc_fcntl): Remove attribute_hidden.
16034 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16035 __fcntl_nocancel_adjusted, not fcntl_common.
16036 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16037 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16038 to fcntl_nocancel.c.
16039 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16042 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16044 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16045 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16046 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16047 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16048 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16049 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16050 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16051 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16052 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16053 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16054 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16055 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16056 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16057 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16058 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16059 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16060 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16061 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16062 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16063 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16065 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16066 libpthread-routines.
16067 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16070 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16071 __libc_read, and __write instead of __libc_write. Define
16072 __open64 in addition to __open.
16074 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16078 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16079 to _private_tm[3] and add __glibc_reserved2.
16080 Add _Static_assert of offset of __private_ss == 0x30.
16081 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16082 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16084 2018-06-12 Florian Weimer <fweimer@redhat.com>
16086 x86: Make strncmp usable from rtld.
16087 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16088 __strncmp_ia32 if in libc (and not in rtld).
16089 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16090 strncmp if not in libc (and not to __strncmp_sse2).
16092 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16095 * localedata/locales/gd_GB (mon): Rename to...
16097 (mon): Import from CLDR (genitive case).
16098 * localedata/locales/hsb_DE (mon): Rename to...
16100 (mon): Import from CLDR (genitive case).
16101 * localedata/locales/wa_BE (mon): Rename to...
16103 (mon): Add, fill with the proper genitive forms, but CLDR data
16104 is incomplete; completed according to the comments in this file.
16105 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16107 * localedata/locales/wa_BE (country_name): Reword
16108 "Beljike" -> "Beldjike".
16110 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16113 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16114 cases of non-finite arguments.
16115 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16117 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16120 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16122 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16125 * include/unistd.h (__execvpex): New prototype.
16126 * posix/Makefile (tests): Add tst-spawn4.
16127 (tests-internal): Add tst-spawn4-compat.
16128 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16129 * posix/tst-spawn4-compat.c: New file.
16130 * posix/tst-spawn4.c: Likewise.
16131 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16132 binaries as shell scripts.
16133 * sysdeps/posix/spawni.c (__spawni): Likewise.
16135 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16138 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16139 ($(all-built-dso:=.dynsym): New target.
16140 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16141 ($(objpfx)check-initfini.out): New target.
16142 (generated): Add check-initfini.out.
16143 * scripts/check-initfini.awk: New file.
16144 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16146 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16148 * sysdeps/arm/crti.S (_init): Mark as hidden.
16150 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16152 * sysdeps/i386/crti.S (_init): Mark as hidden.
16154 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16156 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16158 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16160 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16162 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16164 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16166 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16168 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16170 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16172 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16174 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16176 * sysdeps/sh/crti.S (_init): Mark as hidden.
16178 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16180 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16183 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16185 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16186 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16187 and TF redirection to KFtype and KF only when the default
16188 long double type is not the IEEE 128-bit floating point type.
16190 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16192 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16194 (HWCAP_USCAT): Likewise.
16195 (HWCAP_ILRCPC): Likewise.
16196 (HWCAP_FLAGM): Likewise.
16197 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16199 (_dl_aarch64_cap_flags): Add new flag names.
16201 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16202 (MAP_FIXED_NOREPLACE): New macro.
16203 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16204 (MAP_FIXED_NOREPLACE): Likewise.
16205 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16206 (MAP_FIXED_NOREPLACE): Likewise.
16207 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16208 (MAP_FIXED_NOREPLACE): Likewise.
16209 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16210 (MAP_FIXED_NOREPLACE): Likewise.
16211 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16212 (MAP_FIXED_NOREPLACE): Likewise.
16213 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16214 (MAP_FIXED_NOREPLACE): Likewise.
16215 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16216 (MAP_FIXED_NOREPLACE): Likewise.
16217 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16218 (MAP_FIXED_NOREPLACE): Likewise.
16219 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16220 (MAP_FIXED_NOREPLACE): Likewise.
16221 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16222 (MAP_FIXED_NOREPLACE): Likewise.
16223 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16224 (MAP_FIXED_NOREPLACE): Likewise.
16225 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16226 (MAP_FIXED_NOREPLACE): Likewise.
16227 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16228 (MAP_FIXED_NOREPLACE): Likewise.
16229 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16230 (MAP_FIXED_NOREPLACE): Likewise.
16232 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16235 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16237 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16240 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16242 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16244 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16246 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16248 * benchtests/scripts/compare_string.py: (process_results) Catch
16249 exception in non-existent base_func and catch exception in
16250 non-existent attribute.
16251 (parse_file) Catch exception if input file does not exist.
16253 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16255 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16256 options to avoid diff calculation and omit header, respectively.
16257 (main): process --no-diff and --no-header
16259 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16260 H.J. Lu <hongjiu.lu@intel.com>
16262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16263 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16266 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16267 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16268 and __wcsncmp_sse2.
16269 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16270 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16271 AVX unaligned load is fast and vzeroupper is preferred.
16272 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16273 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16274 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16275 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16276 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16277 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16278 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16279 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16280 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16281 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16284 2018-06-01 Florian Weimer <fweimer@redhat.com>
16286 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16287 configuring with --disable-multi-arch, building with
16288 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16291 2018-06-01 Florian Weimer <fweimer@redhat.com>
16293 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16294 results from building with “-march=x86-64 -mtune=generic
16295 -mfpmath=sse” and running on a Haswell-era CPU.
16297 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16300 * soft-fp/sqrttf2.c: Remove file.
16301 * soft-fp/sqrtdf2.c: Move to ....
16302 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16304 (__sqrtdf2): Make conditional on
16305 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16307 * soft-fp/sqrtsf2.c: Move to ....
16308 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16310 (__sqrtsf2): Make conditional on
16311 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16313 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16314 (gcc-double-routines): Remove sqrtdf2.
16315 (gcc-quad-routines): Remove sqrttf2.
16316 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16317 Do not filter out sqrtsf2 and sqrtdf2.
16318 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16319 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16321 2018-06-01 Florian Weimer <fweimer@redhat.com>
16323 * sysdeps/generic/libcidn.abilist: Remove file.
16325 2018-06-01 Florian Weimer <fweimer@redhat.com>
16328 * libio/strfile.h (struct _IO_str_fields): Rename members to
16329 discourage their use and add comment.
16330 (_IO_STR_DYNAMIC): Remove unused macro.
16331 * libio/strops.c (_IO_str_init_static_internal): Do not use
16332 callback pointers. Call malloc and free.
16333 (_IO_str_overflow): Do not use callback pointers. Call malloc
16335 (enlarge_userbuf): Likewise.
16336 (_IO_str_finish): Call free.
16337 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16338 _allocate_buffer_unused.
16339 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16341 (enlarge_userbuf): Likewise.
16342 (_IO_wstr_finish): Call free.
16343 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16344 _allocate_buffer_unused, _free_buffer_unused.
16345 * libio/memstream.c (__open_memstream): Likewise.
16346 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16347 * libio/wmemstream.c (open_wmemstream): Likewise.
16349 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16351 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16354 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16356 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16357 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16358 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16360 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16362 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16364 2018-05-29 Florian Weimer <fweimer@redhat.com>
16366 * support/Makefile (libsupport-routines): Add
16367 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16368 xpthread_barrierattr_setpshared.
16369 * support/xpthread_barrierattr_destroy.c: New file.
16370 * support/xpthread_barrierattr_init.c: Likewise.
16371 * support/xpthread_barrierattr_setpshared.c: Likewise.
16373 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16376 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16377 _r_debug and update DT_DEBUG for debugger.
16379 2018-05-29 Florian Weimer <fweimer@redhat.com>
16381 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16382 (tst-strtod5i.out): Likewise.
16384 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16386 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16387 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16388 (sparc64-quad-routines): New variable. Moved from ....
16389 [$(subdir) = soft-fp] (sysdep_routines): Add
16390 $(sparc64-quad-routines). Moved from ....
16391 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16392 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16393 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16395 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16396 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16397 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16398 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16399 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16400 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16401 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16402 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16403 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16404 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16405 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16406 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16407 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16408 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16409 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16410 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16411 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16412 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16413 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16414 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16415 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16416 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16417 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16418 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16419 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16420 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16421 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16422 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16423 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16424 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16425 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16426 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16427 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16428 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16429 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16430 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16431 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16432 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16433 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16434 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16435 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16436 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16437 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16438 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16439 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16440 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16441 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16442 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16443 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16444 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16445 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16446 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16447 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16448 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16449 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16450 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16451 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16452 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16454 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16455 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16456 (sparc32-quad-routines): New variable. Moved from ....
16457 [$(subdir) = soft-fp] (sysdep_routines): Add
16458 $(sparc32-quad-routines). Moved from ....
16459 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16460 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16462 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16463 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16464 * sysdeps/sparc/sparc32/q_add.c: ... here.
16465 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16466 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16467 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16468 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16469 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16470 * sysdeps/sparc/sparc32/q_div.c: ... here.
16471 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16472 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16473 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16474 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16475 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16476 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16477 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16478 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16479 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16480 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16481 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16482 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16483 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16484 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16485 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16486 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16487 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16488 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16489 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16490 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16491 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16492 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16493 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16494 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16495 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16496 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16497 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16498 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16499 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16500 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16501 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16502 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16503 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16504 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16505 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16506 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16507 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16508 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16509 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16510 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16511 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16512 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16513 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16514 * sysdeps/sparc/sparc32/q_util.c: ... here.
16515 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16516 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16517 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16518 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16520 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16521 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16523 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16524 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16525 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16526 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16528 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16534 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16535 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16537 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16540 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16543 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16545 * sysdeps/sh/Implies: Remove sh/soft-fp.
16546 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16547 * sysdeps/sh/sfp-machine.h: ... here.
16549 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16551 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16552 (__mempcpy_erms): Skip zero length.
16553 (__memmove_erms): Likewise.
16554 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16555 (__memset_erms): Likewise.
16557 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16559 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16560 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16561 Add functions moved from ....
16562 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16563 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16564 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16566 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16567 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16568 * sysdeps/alpha/e_sqrtl.c: ... here.
16569 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16570 * sysdeps/alpha/local-soft-fp.h: ... here.
16571 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16572 * sysdeps/alpha/ots_add.c: ... here.
16573 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16574 * sysdeps/alpha/ots_cmp.c: ... here.
16575 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16576 * sysdeps/alpha/ots_cmpe.c: ... here.
16577 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16578 * sysdeps/alpha/ots_cvtqux.c: ... here.
16579 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16580 * sysdeps/alpha/ots_cvtqx.c: ... here.
16581 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16582 * sysdeps/alpha/ots_cvttx.c: ... here.
16583 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16584 * sysdeps/alpha/ots_cvtxq.c: ... here.
16585 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16586 * sysdeps/alpha/ots_cvtxt.c: ... here.
16587 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16588 * sysdeps/alpha/ots_div.c: ... here.
16589 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16590 * sysdeps/alpha/ots_mul.c: ... here.
16591 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16592 * sysdeps/alpha/ots_nintxq.c: ... here.
16593 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16594 * sysdeps/alpha/ots_sub.c: ... here.
16595 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16596 * sysdeps/alpha/sfp-machine.h: ... here.
16598 2018-05-23 Florian Weimer <fweimer@redhat.com>
16606 Switch to extern IDNA implementation (libidn2).
16607 * libidn: Remove subdirectory.
16608 * LICENSES: Do not mention licensing conditions for the removed
16610 * config.h.in (HAVE_LIBIDN): Remove.
16611 * include/dlfcn.h (__libc_dlopen): Update comment.
16612 * include/idna.h: Remove file.
16613 * inet/Makefile (routines): Add idna.
16614 (tests-static, tests-internal): Add tst-idna_name_classify.
16615 (LOCALES): Generate locales for tests.
16616 (tst-idna_name_classify.out): Depend on generated locales.
16617 * inet/idna_name_classify.c: New file.
16618 * inet/tst-idna_name_classify.c: Likewise.
16619 * inet/net-internal.h (__idna_to_dns_encoding)
16620 (__idna_from_dns_encoding): Declare.
16621 * inet/net-internal.h (enum idna_name_classification): Define.
16622 (__idna_name_classify): Declare.
16623 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16624 __idna_from_dns_encoding.
16625 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16626 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16627 name as a fallback in case of encoding errors.
16628 (getnameinfo): Use DEPRECATED_NI_IDN.
16629 * inet/idna.c: New file.
16630 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16631 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16632 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16633 (modules-names): Add tst-no-libidn2.
16634 (extra-test-objs): Add tst-no-libidn2.os.
16635 (LDFLAGS-tst-no-libidn2.so): Set soname.
16636 (LOCALES): Set, and generate locales.
16637 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16638 (tst-resolv-ai_idn-latin1): Likewise.
16639 (tst-resolv-ai_idn-nolibidn2): Likewise.
16640 (tst-resolv-ai_idn.out): Depend on locales.
16641 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16642 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16644 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16645 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16646 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16647 * resolv/tst-resolv-ai_idn.c: New file.
16648 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16649 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16650 * resolv/tst-no-libidn2.c: Likewise.
16651 * support/support_format_addrinfo.c (format_ai_flags): Do not
16652 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16653 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16654 (gaih_inet): Call __idna_to_dns_encoding and
16655 __idna_from_dns_encoding, and use the original (punycode) name if
16656 __idna_from_dns_encoding fails due to an encoding error.
16657 (getaddrinfo): Use DEPRECATED_AI_IDN.
16658 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16659 * sysdeps/unix/inet/configure: Remove file.
16660 * sysdeps/unix/inet/configure.ac: Likewise.
16662 2018-05-23 Florian Weimer <fweimer@redhat.com>
16664 Implement allocate_once.
16665 * include/allocate_once.h: New file.
16666 * misc/allocate_once.c: Likewise.
16667 * misc/tst-allocate_once.c: Likewise.
16668 * misc/Makefile (routines): Add allocate_once.
16669 (tests-internal): Add tst-allocate_once.
16670 (generated): Add tst-allocate_once.mtrace,
16671 tst-allocate_once-mem.out.
16672 (tests-special): Add tst-allocate_once-mem.out.
16673 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16674 (tst-allocate_once-mem.out): Call mtrace.
16675 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16677 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16680 * string/test-memcpy.c (do_test1): New function.
16681 (test_main): Call it.
16683 2018-05-23 Andreas Schwab <schwab@suse.de>
16687 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16688 (L(preloop_large)): Save initial destination pointer in %r11 and
16689 use it instead of %rax after the loop.
16690 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16692 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16694 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16695 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16696 -I../soft-fp. Moved from ....
16697 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16698 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16699 * sysdeps/aarch64/e_sqrtl.c: ... here.
16700 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16701 * sysdeps/aarch64/sfp-machine.h: ... here.
16703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16704 -Wmaybe-uninitialized around access to fq[0].
16705 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16709 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16710 aliases for non-libc case of versioned symbols.
16711 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16712 (llseek): Define as compat symbol if
16713 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16715 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16716 Make into a compat symbol, disabled for minimum symbol version
16717 GLIBC_2.28 and later.
16718 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16720 2018-05-22 Florian Weimer <fweimer@redhat.com>
16722 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16723 not add -mpreferred-stack-boundary=4.
16724 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16725 (stack-align-test-flags): Likewise.
16726 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16728 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16729 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16730 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16731 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16732 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16733 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16734 (CFLAGS-tst-align2.c): Likewise.
16736 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16738 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16739 (index_arch_Prefer_FSRM): Likewise.
16740 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16741 Also check Prefer_FSRM.
16742 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16743 Also return OPTIMIZE (erms) for Prefer_FSRM.
16745 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16747 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16748 (index_cpu_FSRM): Likewise.
16749 (reg_FSRM): Likewise.
16751 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16753 * math/gen-tgmath-tests.py: Import sys.
16754 (Tests.__init__): Initialize macros_seen.
16755 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16756 if requested to do so for this macro.
16757 (Tests.add_all_tests): Take argument for macro for which to
16759 (Tests.check_macro_list): New function.
16760 (main): Handle check-list argument and argument specifying macro
16761 for which to generate tests.
16762 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16763 [PYTHON] (tgmath3-macro-tests): Likewise.
16764 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16765 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16766 not test-tgmath3.c.
16767 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16768 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16770 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16771 [PYTHON] ($(foreach
16772 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16774 [PYTHON] (tests-special): Add
16775 $(objpfx)test-tgmath3-macro-list.out.
16776 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16778 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16779 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16783 * time/tzset.c (SECSPERDAY): Cast to time_t.
16784 * time/tst-y2039.c: New file.
16785 * time/Makefile (tests): Add tst-y2039.
16787 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16789 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16790 (PREFETCH_ONE_SET): Remove duplicate line.
16792 2018-05-17 Florian Weimer <fweimer@redhat.com>
16794 * sysdeps/generic/math-type-macros-double.h: Include
16795 <math-nan-payload-double.h> after <libm-alias-double.h>.
16796 * sysdeps/generic/math-type-macros-float.h: Include
16797 <math-nan-payload-float.h> after <libm-alias-float.h>.
16798 * sysdeps/generic/math-type-macros-float128.h: Include
16799 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16800 * sysdeps/generic/math-type-macros-ldouble.h: Include
16801 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16803 2018-05-17 Andreas Schwab <schwab@suse.de>
16805 * resolv/res_send.c (__res_context_send): Don't set errno when
16806 returing error after malloc failure.
16808 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16810 * nptl/allocatestack.c (allocate_stack): Remove the
16811 !__ASSUME_PRIVATE_FUTEX paths.
16812 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16813 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16815 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16816 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16817 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16818 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16819 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16820 !__ASSUME_PRIVATE_FUTEX path.
16821 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16822 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16823 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16824 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16825 !__ASSUME_PRIVATE_FUTEX macros.
16826 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16827 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16828 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16829 * sysdeps/unix/sysv/linux/kernel-features.h
16830 (__ASSUME_PRIVATE_FUTEX): Removed.
16832 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16834 * math/Makefile (libm-narrow-fns): Add div.
16835 (libm-test-funcs-narrow): Likewise.
16836 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16837 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16838 * math/gen-auto-libm-tests.c (test_functions): Add div.
16839 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16840 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16841 (NARROW_DIV_TRIVIAL): Likewise.
16842 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16844 (__ddivl): Likewise.
16845 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16847 (CFLAGS-nldbl-ddiv.c): New variable.
16848 (CFLAGS-nldbl-fdiv.c): Likewise.
16849 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16851 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16853 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16854 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16855 * math/auto-libm-test-in: Add tests of div.
16856 * math/auto-libm-test-out-narrow-div: New generated file.
16857 * math/libm-test-narrow-div.inc: New file.
16858 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16859 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16860 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16861 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16862 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16863 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16864 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16865 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16866 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16867 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16868 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16869 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16870 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16871 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16872 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16873 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16874 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16875 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16877 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16878 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16879 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16880 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16881 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16882 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16883 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16884 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16885 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16886 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16887 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16888 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16889 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16894 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16895 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16896 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16897 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16898 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16899 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16900 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16901 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16903 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16906 * nscd/nscd-client.h (sendfileall): Remove prototype.
16907 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16908 (handle_request): Use writeall instead of sendfileall.
16909 * nscd/aicache.c (addhstaiX): Likewise.
16910 * nscd/grpcache.c (cache_addgr): Likewise.
16911 * nscd/hstcache.c (cache_addhst): Likewise.
16912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16913 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16914 * nscd/pwdcache.c (cache_addpw): Likewise.
16915 * nscd/servicescache.c (cache_addserv): Likewise.
16916 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16917 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16918 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16921 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16923 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16924 Include <string/strncat.c>.
16925 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16927 (__GI___strncat): New hidden alias.
16929 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16931 * sysdeps/mips/mips32/libm-test-ulps: Update.
16932 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16934 2018-05-16 Florian Weimer <fweimer@redhat.com>
16936 * support/Makefile (libsupport-routines): Add support_quote_blob,
16937 support_test_compare_blob.
16938 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16939 * support/check.h (TEST_COMPARE_BLOB): Define.
16940 (support_test_compare_blob): Declare.
16941 * support/support.h (support_quote_blob): Declare.
16942 * support/support_quote_blob.c: New file.
16943 * support/support_test_compare_blob.c: Likewise.
16944 * support/tst-support_quote_blob.c: Likewise.
16945 * support/tst-test_compare_blob.c: Likewise.
16947 2018-05-16 Florian Weimer <fweimer@redhat.com>
16949 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16950 of <strtod_nan_double.h>.
16951 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16952 instead of SET_MANTISSA.
16953 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16954 of include <strtod_nan_float.h>.
16955 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16956 instead of <strtod_nan_ldouble.h>.
16957 * stdlib/strtod_nan_double.h: Move to ...
16958 * sysdeps/generic/math-nan-payload-double.h: ... here.
16959 (FLOAT): Remove definition.
16960 (SET_MANTISSA): Rename to ...
16961 (SET_NAN_PAYLOAD): ... this.
16962 * stdlib/strtod_nan_float.h: Move to ...
16963 * sysdeps/generic/math-nan-payload-float.h: ... here.
16964 (FLOAT): Remove definition.
16965 (SET_MANTISSA): Rename to ...
16966 (SET_NAN_PAYLOAD): ... this.
16967 * sysdeps/generic/math-type-macros-double.h: Include
16968 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16969 instead of <math-svid-compat.h>.
16970 * sysdeps/generic/math-type-macros-float.h: Include
16971 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16972 instead of <math-svid-compat.h>.
16973 * sysdeps/generic/math-type-macros-float128.h: Include
16974 <math-nan-payload-float128.h>.
16975 * sysdeps/generic/math-type-macros-ldouble.h: Include
16976 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16977 instead of <math-svid-compat.h>.
16978 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
16979 check for definition.
16980 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
16981 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
16982 Include <ieee754_float128.h>.
16983 (FLOAT): Remove definition.
16984 (SET_MANTISSA): Rename to ...
16985 (SET_NAN_PAYLOAD): ... this.
16986 * sysdeps/ieee754/float128/strtof128_nan.c: Include
16987 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
16988 Do not include <float128_private.h>.
16989 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
16991 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
16992 (FLOAT): Remove definition.
16993 (SET_MANTISSA): Rename to ...
16994 (SET_NAN_PAYLOAD): ... this.
16995 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
16996 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
16997 (FLOAT): Remove definition.
16998 (SET_MANTISSA): Rename to ...
16999 (SET_NAN_PAYLOAD): ... this.
17000 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17001 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17002 (FLOAT): Remove definition.
17003 (SET_MANTISSA): Rename to ...
17004 (SET_NAN_PAYLOAD): ... this.
17005 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17006 of "../stdlib/strtod_nan_double.h".
17007 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17008 of "../stdlib/strtod_nan_float.h".
17009 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17010 instead of "../stdlib/strtod_nan_ldouble.h".
17011 * manual/arith.texi (Parsing of Floats): Adjust comment.
17013 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17015 * math/Makefile (libm-narrow-fns): Add mul.
17016 (libm-test-funcs-narrow): Likewise.
17017 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17018 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17019 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17020 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17021 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17022 (NARROW_MUL_TRIVIAL): Likewise.
17023 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17024 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17026 (__dmull): Likewise.
17027 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17029 (CFLAGS-nldbl-dmul.c): New variable.
17030 (CFLAGS-nldbl-fmul.c): Likewise.
17031 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17033 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17035 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17036 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17037 * math/auto-libm-test-in: Add tests of mul.
17038 * math/auto-libm-test-out-narrow-mul: New generated file.
17039 * math/libm-test-narrow-mul.inc: New file.
17040 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17041 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17042 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17043 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17044 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17045 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17051 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17052 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17053 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17054 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17055 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17056 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17057 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17059 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17062 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17063 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17064 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17065 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17066 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17067 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17068 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17069 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17070 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17071 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17076 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17077 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17078 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17079 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17080 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17081 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17082 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17083 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17085 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17087 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17088 with *%eax in call.
17090 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17092 * sysdeps/i386/ldsodefs.h: Removed.
17093 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17094 * sysdeps/x86/ldsodefs.h: This.
17095 (La_i86_regs): New.
17096 (La_i86_retval): Likewise.
17097 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17098 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17100 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17102 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17105 2018-05-13 Alan Modra <amodra@gmail.com>
17107 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17108 R_PARISC_TLS_DTPOFF32 reloc addend.
17110 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17112 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17113 * math/math.h: Restrict the prototype definition for the functions
17114 issignaling(_Float128) and iszero(_Float128); and template
17115 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17116 __HAVE_FLOAT128_UNLIKE_LDBL.
17117 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17118 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17119 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17120 __f128() constants; define the type _Float128 as long double;
17121 and reuse long double in __CFLOAT128.
17123 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17125 * sysdeps/generic/math_private.h: Do not include
17127 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17129 * math/fromfp.h: Include <math-barriers.h>.
17130 * math/math-narrow.h: Likewise.
17131 * math/s_nextafter.c: Likewise.
17132 * math/s_nexttowardf.c: Likewise.
17133 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17134 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17135 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17136 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17137 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17138 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17139 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17146 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17147 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17151 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17152 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17153 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17154 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17155 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17156 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17157 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17158 * sysdeps/ieee754/k_standardl.c: Likewise.
17159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17160 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17161 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17162 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17168 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17169 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17171 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17172 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17173 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17174 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17175 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17176 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17177 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17178 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17179 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17180 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17182 2018-05-11 Florian Weimer <fweimer@redhat.com>
17184 Use 64-bit epoch values in the time zone file parser.
17185 * include/time.h (internal_time_t): Define.
17186 (__tzfile_compute): Use it.
17187 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17189 (transitions): Switch to internal_time_t.
17190 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17192 (__tzfile_compute): Use internal_time_t for timer argument. Check
17193 for truncation before calling __offtime.
17195 2018-05-11 Florian Weimer <fweimer@redhat.com>
17198 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17199 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17201 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17202 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17203 export without --enable-obsolete-rpc.
17204 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17205 symbol. This should not have been exported, ever.
17207 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17210 * localedata/locales/gd_GB (abmon): Fix typo in May:
17211 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17213 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17215 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17216 Use multiple registers to copy data in loop tail.
17218 * sysdeps/aarch64/multiarch/memmove_falkor.S
17219 (__memmove_falkor): Use multiple registers to move data in
17222 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17224 * math/math-underflow.h: New file.
17225 * sysdeps/generic/math_private.h: Do not include <float.h>.
17226 (fabs_tg): Remove macro. Moved to math-underflow.h.
17227 (min_of_type_f): Likewise.
17228 (min_of_type_): Likewise.
17229 (min_of_type_l): Likewise.
17230 (min_of_type_f128): Likewise.
17231 (min_of_type): Likewise.
17232 (math_check_force_underflow): Likewise.
17233 (math_check_force_underflow_nonneg): Likewise.
17234 (math_check_force_underflow_complex): Likewise.
17235 * math/e_exp2_template.c: Include <math-underflow.h>.
17236 * math/k_casinh_template.c: Likewise.
17237 * math/s_catan_template.c: Likewise.
17238 * math/s_catanh_template.c: Likewise.
17239 * math/s_ccosh_template.c: Likewise.
17240 * math/s_cexp_template.c: Likewise.
17241 * math/s_clog10_template.c: Likewise.
17242 * math/s_clog_template.c: Likewise.
17243 * math/s_csin_template.c: Likewise.
17244 * math/s_csinh_template.c: Likewise.
17245 * math/s_csqrt_template.c: Likewise.
17246 * math/s_ctan_template.c: Likewise.
17247 * math/s_ctanh_template.c: Likewise.
17248 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17249 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17250 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17251 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17252 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17253 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17254 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17255 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17256 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17257 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17258 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17262 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17263 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17265 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17266 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17267 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17268 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17269 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17270 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17271 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17272 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17273 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17274 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17275 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17276 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17277 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17278 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17279 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17318 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17321 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17325 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17326 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17328 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17333 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17335 * sysdeps/generic/math-barriers.h: New file.
17336 * sysdeps/generic/math_private.h [!math_opt_barrier]
17337 (math_opt_barrier): Move to math-barriers.h.
17338 [!math_opt_barrier] (math_force_eval): Likewise.
17339 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17340 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17342 (math_force_eval): Likewise.
17343 * sysdeps/alpha/fpu/math-barriers.h: New file.
17344 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17346 (math_force_eval): Likewise.
17347 * sysdeps/x86/fpu/math-barriers.h: New file.
17348 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17350 (math_force_eval): Likewise.
17351 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17352 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17353 multiple-include guard for rename.
17354 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17355 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17357 (math_force_eval): Likewise.
17359 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17363 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17365 * stdlib/Makefile (test-bz22786): New test.
17366 * stdlib/test-bz22786.c: New test.
17368 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17370 * include/math-narrow-eval.h: New file. Contents moved from ....
17371 * sysdeps/generic/math_private.h: ... here.
17372 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17373 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17374 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17375 * stdlib/strtod_l.c: Likewise.
17376 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17377 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17378 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17384 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17385 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17391 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17392 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17393 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17394 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17395 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17396 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17397 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17398 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17400 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17401 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17402 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17403 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17404 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17406 2018-05-08 Andreas Schwab <schwab@suse.de>
17408 * sysdeps/nptl/internaltypes.h: Fix comment.
17410 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17412 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17413 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17416 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17418 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17419 of I into loop header.
17420 * benchtests/bench-memmove-walk.c
17421 (test_main): Likewise.
17423 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17426 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17427 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17429 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17432 * elf/dl-load.c (open_verify): Fix stack overflow.
17433 * elf/Makefile (tst-big-note): New test.
17434 * elf/tst-big-note-lib.S: New.
17435 * elf/tst-big-note.c: New.
17437 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17439 * scripts/abilist.awk: Ignore absolute symbols.
17440 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17441 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17442 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17443 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17444 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17445 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17446 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17447 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17448 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17449 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17450 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17451 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17452 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17453 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17454 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17455 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17456 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17457 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17458 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17459 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17460 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17464 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17465 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17466 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17467 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17471 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17472 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17473 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17474 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17475 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17476 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17477 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17478 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17479 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17480 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17481 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17482 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17483 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17484 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17485 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17486 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17488 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17491 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17492 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17493 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17494 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17495 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17496 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17497 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17498 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17499 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17500 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17501 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17502 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17506 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17507 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17508 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17509 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17510 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17511 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17512 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17513 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17514 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17515 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17516 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17517 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17518 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17519 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17520 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17521 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17527 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17530 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17533 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17547 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17549 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17550 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17553 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17554 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17555 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17556 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17562 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17563 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17564 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17567 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17568 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17570 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17571 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17575 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17576 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17577 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17578 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17579 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17580 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17581 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17582 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17583 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17596 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17610 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17611 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17612 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17613 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17616 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17617 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17618 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17622 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17683 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17684 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17686 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17687 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17688 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17689 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17690 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17691 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17692 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17693 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17694 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17695 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17696 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17697 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17698 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17699 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17701 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17702 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17703 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17704 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17705 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17706 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17707 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17708 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17709 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17710 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17711 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17712 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17714 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17715 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17716 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17717 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17718 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17719 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17720 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17721 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17722 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17723 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17724 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17725 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17726 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17727 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17728 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17729 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17730 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17731 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17732 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17734 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17735 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17737 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17738 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17740 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17741 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17742 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17743 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17744 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17749 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17751 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17754 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17757 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17758 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17760 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17761 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17762 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17763 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17764 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17765 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17766 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17767 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17768 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17773 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17774 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17775 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17793 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17796 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17797 Use atomic_load_acquire to load __tid.
17799 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17801 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17802 Restore the pointer into %rdx, after syscall and use %rdx,
17803 instead of %rsi, to restore context.
17805 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17807 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17808 Pop the pointer into %rdx after syscall and use %rdx, instead
17809 of %rsi, to restore context.
17811 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17813 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17814 handlers after setjmp.
17815 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17817 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17818 <libc-pointer-arith.h>.
17819 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17820 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17821 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17822 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17823 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17824 * sysdeps/x86/__longjmp_cancel.S: New file.
17825 * sysdeps/x86/longjmp.c: Likewise.
17826 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17828 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17830 * NEWS: Add ustat.h deprecation entry.
17831 * bits/ustat.h: Remove file.
17832 * misc/sys/ustat.h: Likewise.
17833 * misc/ustat.h: Likewise.
17834 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17835 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17836 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17837 compatibility mode.
17838 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17839 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17840 generic Linux implementation.
17842 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17844 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17845 * math/w_expl_compat.c: Likewise.
17846 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17848 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17850 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17852 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17854 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17855 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17856 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17858 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17861 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17862 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17865 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17867 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17869 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17870 * math/w_asin_template.c: Likewise.
17871 * math/w_atanh_template.c: Likewise.
17873 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17875 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17876 to powerpc/powerpc64/be for big-endian.
17877 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17880 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17881 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17882 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17883 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17884 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17885 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17886 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17887 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17888 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17889 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17890 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17891 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17892 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17893 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17894 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17895 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17896 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17897 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17898 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17899 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17900 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17901 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17902 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17903 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17904 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17905 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17906 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17907 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17908 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17909 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17910 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17911 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17913 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17914 adjusted to imply powerpc64 and older processors on powerpc64/be.
17915 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17916 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17917 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17918 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17919 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17920 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17921 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17922 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17923 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17924 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17925 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17926 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17927 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17928 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17929 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17930 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17931 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17932 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17933 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17934 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17935 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17936 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17937 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17938 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17939 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17940 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17941 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17942 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17943 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17944 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17945 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17947 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17948 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17949 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17950 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17952 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17953 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17954 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17955 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17957 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17958 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17959 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17960 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17961 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17962 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17963 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17964 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17965 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17966 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17967 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17969 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17970 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17971 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17972 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17973 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17974 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17975 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17976 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17977 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17978 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
17979 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
17981 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
17982 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
17983 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
17984 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
17985 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
17986 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
17987 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
17988 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
17989 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
17990 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
17991 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
17992 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
17994 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
17995 and adjusted to imply olders processors.
17996 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
17997 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
17998 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
17999 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18000 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18001 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18002 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18003 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18004 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18005 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18006 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18008 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18011 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18025 powerpc64 and adjusted.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18031 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18033 * sysdeps/tile: Remove.
18034 * sysdeps/unix/sysv/linux/tile: Likewise.
18035 * README (tilegx-*-linux-gnu): Remove from list of supported
18037 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18038 contribution of support for generic Linux kernel syscall
18040 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18041 tilegx configurations.
18042 (Config.install_linux_headers): Do not handle tile.
18043 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18045 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18046 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18047 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18048 conditional undefine and redefine.
18049 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18051 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18052 conditional undefine and redefine.
18054 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18056 * signal/tst-sigaction.c: New file to test BZ #23069.
18057 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18059 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18062 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18063 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18064 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18065 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18067 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18069 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18070 _DIRENT_MATCHES_DIRENT64 is not defined.
18071 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18072 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18074 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18075 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18077 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18079 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18080 version to GCC 8 branch.
18082 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18084 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18085 (check_no_hidden): Use type of original function when declaring
18088 * sysdeps/unix/sysv/linux/sys/ptrace.h
18089 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18090 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18091 (struct __ptrace_seccomp_metadata): New type.
18092 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18093 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18094 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18095 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18097 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18098 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18099 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18101 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18103 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18104 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18105 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18106 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18107 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18109 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18111 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18113 * dirent/versionsort.c (versionsort): Likewise.
18114 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18115 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18116 * dirent/versionsort64.c (versionsort64): Likewise.
18117 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18118 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18119 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18120 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18121 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18122 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18123 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18124 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18125 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18126 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18129 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18130 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18132 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18134 * elf/elf.h (NT_PPC_PKEY): New macro.
18136 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18139 * localedata/locales/hr_HR: fix thousands_sep and
18142 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18144 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18145 (XTABS): Define to TAB3.
18147 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18149 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18151 * dirent/scandir-tail-common.c: New file.
18152 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18153 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18154 * dirent/scandir.c: Use scandir-tail-common.c.
18155 * dirent/scandirat.c: Likewise.
18156 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18157 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18158 if _DIRENT_MATCHES_DIRENT64 is defined.
18159 * dirent/scandirat64.c (scandirat64): Likewise.
18160 * include/dirent.h (__scandir_tail): Only define iff
18161 _DIRENT_MATCHES_DIRENT64 is not defined.
18162 (__scandir64_tail): Define regardless.
18163 (__scandirat, scandirat64): Remove libc_hidden_proto.
18164 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18165 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18167 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18168 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18169 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18170 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18172 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18174 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18176 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18178 (_dl_aarch64_cap_flags): Add asimdfhm.
18180 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18182 * sysdeps/nios2/libm-test-ulps: Update.
18184 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18186 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18187 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18189 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18191 (_DIRENT_MATCHES_DIRENT64): Undef
18192 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18193 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18194 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18195 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18196 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18197 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18198 use getdents64 syscalls as base.
18199 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18200 symbol if required.
18201 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18202 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18203 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18204 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18205 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18206 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18207 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18208 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18209 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18210 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18211 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18213 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18215 * scripts/test_printers_common.py (init_test): Disable lock elision.
18217 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18219 * math/test-tgmath.c (count_double, count_float,
18220 count_ldouble, count_cdouble, count_cfloat,
18221 count_cldouble): Use volatile int.
18223 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18225 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18226 (conformtest-xfail-conds): Add i386-gnu.
18227 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18229 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18230 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18231 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18232 msqid_ds.msg_lrpid): Likewise.
18233 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18235 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18236 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18237 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18238 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18240 (struct statvfs64): Likewise.
18241 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18243 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18244 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18245 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18246 instead of wait_queue.
18247 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18248 instead of vm_area_struct.
18249 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18250 struct sched_param definition to it.
18251 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18252 * bits/types/struct_sched_param.h: New file.
18253 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18254 <bits/types/struct_sched_param.h> instead of <sched.h>.
18255 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18256 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18257 generic version but include <bits/pthreadtypes.h> to make struct
18258 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18259 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18261 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18262 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18263 [__USE_XOPEN] (OFDEL): New macro.
18264 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18265 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18266 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18268 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18269 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18270 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18272 * sysdeps/i386/sys/ucontext.h: Likewise.
18273 * sysdeps/m68k/sys/ucontext.h: Likewise.
18274 * sysdeps/mips/sys/ucontext.h: Likewise.
18275 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18276 * sysdeps/mach/hurd/i386/Makefile
18277 (test-xfail-POSIX/fcntl.h/conform): Add.
18278 (test-xfail-POSIX/signal.h/conform): Add.
18279 (test-xfail-POSIX/semaphore.h/conform): Add.
18280 (test-xfail-POSIX/regex.h/conform): Add.
18281 (test-xfail-POSIX/aio.h/conform): Add.
18282 (test-xfail-POSIX/mqueue.h/conform): Add.
18283 (test-xfail-POSIX/sys/types.h/conform): Add.
18284 (test-xfail-UNIX98/fcntl.h/conform): Add.
18285 (test-xfail-UNIX98/netdb.h/conform): Add.
18286 (test-xfail-UNIX98/signal.h/conform): Add.
18287 (test-xfail-UNIX98/semaphore.h/conform): Add.
18288 (test-xfail-UNIX98/regex.h/conform): Add.
18289 (test-xfail-UNIX98/aio.h/conform): Add.
18290 (test-xfail-UNIX98/ftw.h/conform): Add.
18291 (test-xfail-UNIX98/mqueue.h/conform): Add.
18292 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18293 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18294 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18295 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18296 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18297 (test-xfail-UNIX98/sys/types.h/conform): Add.
18298 (test-xfail-UNIX98/stdlib.h/conform): Add.
18299 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18300 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18301 (test-xfail-POSIX2008/netdb.h/conform): Add.
18302 (test-xfail-POSIX2008/signal.h/conform): Add.
18303 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18304 (test-xfail-POSIX2008/regex.h/conform): Add.
18305 (test-xfail-POSIX2008/aio.h/conform): Add.
18306 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18307 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18308 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18309 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18310 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18311 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18312 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18313 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18314 (test-xfail-XOPEN2K/signal.h/conform): Add.
18315 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18316 (test-xfail-XOPEN2K/regex.h/conform): Add.
18317 (test-xfail-XOPEN2K/aio.h/conform): Add.
18318 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18319 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18320 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18321 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18322 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18323 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18324 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18325 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18326 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18327 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18328 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18329 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18330 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18331 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18332 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18333 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18334 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18335 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18336 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18337 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18338 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18339 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18340 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18341 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18342 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18343 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18344 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18346 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18347 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18349 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18351 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18352 --enable-obsolete for powerpc-linux-gnuspe.
18354 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18356 * conform/data/sys/un.h-data: Allow sun_ prefix.
18357 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18359 * sysdeps/mach/include/mach.h: Likewise.
18360 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18361 * sysdeps/mach/include/mach_error.h: Likewise.
18363 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18365 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18366 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18367 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18368 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18370 2018-04-16 Andreas Schwab <schwab@suse.de>
18373 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18375 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18377 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18378 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18380 2018-04-12 DJ Delorie <dj@redhat.com>
18382 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18385 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18387 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18388 (struct kernel_sigaction): Use the same definition on 31bit as is used
18391 2018-04-09 Florian Weimer <fweimer@redhat.com>
18394 * resolv/res_send.c (send_dg): Use designated initializers instead
18395 of assignment to zero-initialize other fields of struct mmsghdr.
18397 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18399 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18400 __READDIR_ALIAS): Undefine after usage.
18401 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18402 __READDIR_R_ALIAS): Likewise.
18403 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18404 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18405 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18406 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18407 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18408 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18409 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18410 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18411 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18412 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18413 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18414 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18415 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18416 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18417 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18418 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18419 * sysdeps/unix/sysv/linux/readdir.c: New file.
18420 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18421 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18422 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18424 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18426 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18428 * manual/charset.texi (Converting a Character): Fix typo.
18430 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18434 * sysdeps/arm/libm-test-ulps: Update.
18436 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18437 as base implementation.
18438 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18439 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18440 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18442 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18443 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18444 remove unrequired definitions and update comments.
18445 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18446 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18447 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18448 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18449 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18451 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18452 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18453 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18454 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18455 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18456 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18457 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18458 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18459 and RESET_SA_RESTORER hooks.
18461 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18463 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18465 2018-04-05 Florian Weimer <fweimer@redhat.com>
18467 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18468 integer overflow, memory leak on error, and indeterminate errno
18469 value. Add a null wide character to terminate the result string.
18470 * manual/charset.texi (Converting a Character): Mention embedded
18471 null bytes in the mbrtowc input string. Explain what happens in
18472 the -2 result case. Do not claim that mbrtowc is simple or
18473 obvious to use. Adjust the description of the code example. Use
18474 @code, not @var, for concrete variables.
18476 2018-04-05 Florian Weimer <fweimer@redhat.com>
18478 * manual/examples/mbstouwcs.c: New file.
18479 * manual/charset.texi (Converting a Character): Include it.
18481 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18483 * include/dirent.h (dirfd): Add hidden proto.
18484 * dirent/dirfd.c (dirfd): Add hidden def.
18485 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18486 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18488 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18490 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18491 sin, cos and sincos to 1 ULP.
18493 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18496 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18498 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18499 * elf/tst-absolute-sym.c: New file.
18500 * elf/tst-absolute-sym-lib.c: New file.
18501 * elf/tst-absolute-sym-lib.lds: New file.
18502 * elf/Makefile (tests): Add `tst-absolute-sym'.
18503 (modules-names): Add `tst-absolute-sym-lib'.
18504 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18505 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18506 ($(objpfx)tst-absolute-sym): New dependency.
18509 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18511 (SYMBOL_ADDRESS): New macro.
18512 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18513 SYMBOL_ADDRESS for symbol address calculation.
18514 * elf/dl-runtime.c (_dl_fixup): Likewise.
18515 (_dl_profile_fixup): Likewise.
18516 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18517 * elf/rtld.c (dl_main): Likewise.
18518 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18519 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18520 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18521 (elf_machine_rela): Likewise.
18522 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18523 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18525 (elf_machine_rela): Likewise.
18526 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18527 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18528 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18529 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18531 (elf_machine_reloc): Likewise.
18532 (elf_machine_got_rel): Likewise.
18533 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18534 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18535 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18537 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18539 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18540 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18542 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18544 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18549 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18552 2018-04-04 Zack Weinberg <zackw@panix.com>
18554 * sysdeps/generic/internal-signals.h: Include signal.h,
18555 sigsetops.h, and stdbool.h.
18556 (__libc_signal_block_all): Actually block all signals.
18557 (__libc_signal_block_app): Likewise.
18558 (__libc_signal_restore_set): Actually restore the signal mask.
18560 2018-04-04 Florian Weimer <fweimer@redhat.com>
18562 inet: Actually build and run tst-deadline.
18563 * inet/Makefile (tests-internal): Add tst-deadline and do not
18564 overwrite the variable.
18565 (tests-static-internal): Remove variable.
18567 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18570 * bits/uio-ext.h (RWF_APPEND): New.
18571 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18572 * manual/llio.texi: Document RWF_APPEND.
18573 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18574 (RWF_SUPPORTED): Add RWF_APPEND.
18576 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18579 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18580 check for internal nptl signals.
18581 * nptl/sigaction.c (__sigaction): Likewise.
18582 * signal/sigaddset.c (sigaddset): Likewise.
18583 * signal/sigdelset.c (sigdelset): Likewise.
18584 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18585 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18587 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18588 to filter out internal nptl signals.
18589 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18590 also check realtime signals using standard macros.
18591 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18592 __is_internal_signal, __libc_signal_block_all,
18593 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18594 * sysdeps/nptl/sigfillset.c: Remove file.
18595 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18596 Change return to bool.
18597 (__clear_internal_signals): Remove SIGTIMER clean since it is
18598 equal to SIGCANEL on Linux.
18599 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18600 signal set was constructed using standard functions.
18602 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18604 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18605 ifname is too long.
18606 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18607 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18608 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18610 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18611 * signal/sigaddset.c: Include <sigsetopts.h>.
18612 * signal/sigdelset.c: Likewise.
18614 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18616 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18618 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18619 logic as sin and cos.
18621 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18623 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18624 inputs. Return correct sign.
18625 (do_sincos): Remove small input check before do_sin, let do_sin set
18630 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18632 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18633 (do_cos_slow): Likewise.
18634 (do_sin_slow): Likewise.
18635 (reduce_and_compute): Likewise.
18640 (sloww1): Likewise.
18641 (sloww2): Likewise.
18643 (bslow1): Likewise.
18644 (bslow2): Likewise.
18645 (cslow2): Likewise.
18647 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18649 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18650 (do_cos): Remove corp parameter and calculations.
18651 (do_sin): Likewise.
18652 (do_sincos): Remove cor variable.
18653 (__sin): Use do_sincos for huge inputs.
18655 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18656 (reduce_and_compute_sincos): Remove unused function.
18658 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18660 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18661 reduce_sincos, improve accuracy to 136 bits.
18662 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18663 (__sin): Use improved reduction and simplified do_sincos calculation.
18665 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18667 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18669 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18670 (do_sincos_2): Likewise.
18671 (__sin): Remove middle range reduction case.
18673 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18676 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18678 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18679 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18682 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18684 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18686 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18689 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18691 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18692 Remove definitions.
18693 (opendir_oflags): Use O_DIRECTORY regardless.
18694 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18695 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18697 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18699 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18700 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18702 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18703 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18704 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18705 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18706 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18707 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18709 * htl/Makefile: Bump licence to LGPL 2.1+.
18710 * htl/alloca_cutoff.c: Likewise.
18711 * htl/cthreads-compat.c: Likewise.
18712 * htl/lockfile.c: Likewise.
18713 * htl/pt-alloc.c: Likewise.
18714 * htl/pt-cancel.c: Likewise.
18715 * htl/pt-cleanup.c: Likewise.
18716 * htl/pt-create.c: Likewise.
18717 * htl/pt-dealloc.c: Likewise.
18718 * htl/pt-detach.c: Likewise.
18719 * htl/pt-exit.c: Likewise.
18720 * htl/pt-getattr.c: Likewise.
18721 * htl/pt-initialize.c: Likewise.
18722 * htl/pt-internal.h: Likewise.
18723 * htl/pt-join.c: Likewise.
18724 * htl/pt-self.c: Likewise.
18725 * htl/pt-setcancelstate.c: Likewise.
18726 * htl/pt-setcanceltype.c: Likewise.
18727 * htl/pt-sigmask.c: Likewise.
18728 * htl/pt-spin-inlines.c: Likewise.
18729 * htl/pt-testcancel.c: Likewise.
18730 * htl/pt-yield.c: Likewise.
18731 * htl/tests/test-1.c: Likewise.
18732 * htl/tests/test-10.c: Likewise.
18733 * htl/tests/test-11.c: Likewise.
18734 * htl/tests/test-12.c: Likewise.
18735 * htl/tests/test-13.c: Likewise.
18736 * htl/tests/test-14.c: Likewise.
18737 * htl/tests/test-15.c: Likewise.
18738 * htl/tests/test-16.c: Likewise.
18739 * htl/tests/test-17.c: Likewise.
18740 * htl/tests/test-2.c: Likewise.
18741 * htl/tests/test-3.c: Likewise.
18742 * htl/tests/test-4.c: Likewise.
18743 * htl/tests/test-5.c: Likewise.
18744 * htl/tests/test-6.c: Likewise.
18745 * htl/tests/test-7.c: Likewise.
18746 * htl/tests/test-8.c: Likewise.
18747 * htl/tests/test-9.c: Likewise.
18748 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18749 * sysdeps/htl/bits/cancelation.h: Likewise.
18750 * sysdeps/htl/bits/pthread-np.h: Likewise.
18751 * sysdeps/htl/bits/pthread.h: Likewise.
18752 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18753 * sysdeps/htl/bits/semaphore.h: Likewise.
18754 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18755 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18756 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18757 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18758 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18759 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18760 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18761 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18762 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18763 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18764 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18765 * sysdeps/htl/old_pt-atfork.c: Likewise.
18766 * sysdeps/htl/pt-atfork.c: Likewise.
18767 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18768 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18769 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18770 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18771 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18772 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18773 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18774 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18775 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18776 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18777 * sysdeps/htl/pt-attr-init.c: Likewise.
18778 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18779 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18780 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18781 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18782 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18783 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18784 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18785 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18786 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18787 * sysdeps/htl/pt-attr.c: Likewise.
18788 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18789 * sysdeps/htl/pt-barrier-init.c: Likewise.
18790 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18791 * sysdeps/htl/pt-barrier.c: Likewise.
18792 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18793 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18794 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18795 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18796 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18797 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18798 * sysdeps/htl/pt-cond-init.c: Likewise.
18799 * sysdeps/htl/pt-cond-signal.c: Likewise.
18800 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18801 * sysdeps/htl/pt-cond-wait.c: Likewise.
18802 * sysdeps/htl/pt-cond.c: Likewise.
18803 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18804 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18805 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18806 * sysdeps/htl/pt-condattr-init.c: Likewise.
18807 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18808 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18809 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18810 * sysdeps/htl/pt-equal.c: Likewise.
18811 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18812 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18813 * sysdeps/htl/pt-getschedparam.c: Likewise.
18814 * sysdeps/htl/pt-getspecific.c: Likewise.
18815 * sysdeps/htl/pt-init-specific.c: Likewise.
18816 * sysdeps/htl/pt-key-create.c: Likewise.
18817 * sysdeps/htl/pt-key-delete.c: Likewise.
18818 * sysdeps/htl/pt-key.h: Likewise.
18819 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18820 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18821 * sysdeps/htl/pt-mutex-init.c: Likewise.
18822 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18823 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18824 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18825 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18826 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18827 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18828 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18829 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18830 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18831 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18832 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18833 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18834 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18835 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18836 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18837 * sysdeps/htl/pt-mutexattr.c: Likewise.
18838 * sysdeps/htl/pt-once.c: Likewise.
18839 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18840 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18841 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18842 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18843 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18844 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18845 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18846 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18847 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18848 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18849 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18850 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18851 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18852 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18853 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18854 * sysdeps/htl/pt-setschedparam.c: Likewise.
18855 * sysdeps/htl/pt-setschedprio.c: Likewise.
18856 * sysdeps/htl/pt-setspecific.c: Likewise.
18857 * sysdeps/htl/pt-spin.c: Likewise.
18858 * sysdeps/htl/pt-startup.c: Likewise.
18859 * sysdeps/htl/pthread.h: Likewise.
18860 * sysdeps/htl/sem-close.c: Likewise.
18861 * sysdeps/htl/sem-destroy.c: Likewise.
18862 * sysdeps/htl/sem-getvalue.c: Likewise.
18863 * sysdeps/htl/sem-init.c: Likewise.
18864 * sysdeps/htl/sem-open.c: Likewise.
18865 * sysdeps/htl/sem-post.c: Likewise.
18866 * sysdeps/htl/sem-timedwait.c: Likewise.
18867 * sysdeps/htl/sem-trywait.c: Likewise.
18868 * sysdeps/htl/sem-unlink.c: Likewise.
18869 * sysdeps/htl/sem-wait.c: Likewise.
18870 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18871 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18872 * sysdeps/mach/htl/pt-block.c: Likewise.
18873 * sysdeps/mach/htl/pt-spin.c: Likewise.
18874 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18875 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18876 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18877 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18878 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18879 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18880 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18881 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18882 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18883 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18884 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18885 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18886 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18887 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18888 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18889 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18890 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18891 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18892 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18893 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18894 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18895 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18896 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18897 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18898 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18899 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18900 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18901 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18902 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18903 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18904 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18905 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18906 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18907 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18908 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18909 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18910 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18911 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18912 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18913 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18914 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18915 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18916 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18918 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18919 * README: Remove the mention of out-of-tree patches needed for
18922 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18923 (UTIME_NOW, UTIME_OMIT): Define macros.
18925 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18926 instead of pthread_detach.
18927 (__cthread_fork): Call __pthread_create instead of pthread_create.
18928 (__cthread_keycreate): Call __pthread_key_create instead of
18929 pthread_key_create.
18930 (__cthread_getspecific): Call __pthread_getspecific instead of
18931 pthread_getspecific.
18932 (__cthread_setspecific): Call __pthread_setspecific instead of
18933 pthread_setspecific.
18934 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18935 __pthread_mutex_unlock instead of pthread_mutex_lock and
18936 pthread_mutex_unlock.
18937 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18938 ___pthread_get_cleanup_stack.
18939 (__pthread_get_cleanup_stack): New strong alias.
18940 * htl/pt-create.c: Include <pthreadP.h>.
18941 (entry_point): Call __pthread_exit instead of pthread_exit.
18942 (pthread_create): Rename to __pthread_create.
18943 (pthread_create): New strong alias.
18944 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18945 (pthread_detach): New strong alias.
18946 (__pthread_detach): Call __pthread_cond_broadcast instead of
18947 pthread_cond_broadcast.
18948 * htl/pt-exit.c: Include <pthreadP.h>.
18949 (__pthread_exit): Call __pthread_setcancelstate and
18950 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18951 __pthread_get_cleanup_stack.
18952 * htl/pt-testcancel.c: Include <pthreadP.h>.
18953 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18954 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18955 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18956 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18957 pthread_attr_getstacksize.
18958 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18959 Rename to __pthread_attr_getstackaddr.
18960 (pthread_attr_getstackaddr): New strong alias.
18961 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18962 Rename to __pthread_attr_getstacksize.
18963 (pthread_attr_getstacksize): New strong alias.
18964 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18965 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18966 (pthread_attr_setstack): New strong alias.
18967 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18968 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18969 pthread_attr_getstacksize, pthread_attr_setstacksize and
18970 pthread_attr_setstackaddr.
18971 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18972 Rename to __pthread_attr_setstackaddr.
18973 (pthread_attr_setstackaddr): New strong alias.
18974 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18975 Rename to __pthread_attr_setstacksize.
18976 (pthread_attr_setstacksize): New strong alias.
18977 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18978 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
18980 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
18981 (__pthread_key_create): New hidden def.
18982 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
18983 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
18984 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
18985 __pthread_exit, __pthread_key_create, __pthread_getspecific,
18986 __pthread_setspecific, __pthread_setcancelstate,
18987 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
18988 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
18989 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
18991 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
18992 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
18993 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
18994 (pthread_attr_setstackaddr): New strong alias.
18995 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
18996 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
18997 (pthread_attr_setstacksize): New strong alias.
18998 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
18999 (call_exit): Call __pthread_exit instead of pthread_exit.
19000 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19001 (_pthread_mutex_init): New hidden definition.
19002 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19003 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19004 instead of pthread_attr_init and pthread_attr_setstack.
19006 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19007 __vm_deallocate instead of vm_allocate and vm_deallocate.
19008 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19010 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19012 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19014 * hurd/siginfo.c: Include <libioP.h>.
19015 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19016 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19018 * mach/devstream.c: Include <libioP.h>.
19019 (dealloc_ref): Call __mach_port_deallocate instead of
19020 mach_port_deallocate.
19021 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19022 Call __mach_port_deallocate instead of mach_port_deallocate.
19023 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19025 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19027 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19028 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19029 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19031 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19033 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19034 instead of sysconf.
19035 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19036 __clock_gettime instead of clock_gettime.
19037 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19038 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19039 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19040 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19041 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19043 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19044 __clock_gettime and __nanosleep instead of clock_gettime and
19046 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19047 __hurd_catch_signal.
19048 (hurd_catch_signal): New strong alias.
19049 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19050 __hurd_catch_signal instead of hurd_catch_signal.
19051 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19052 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19053 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19054 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19055 (_hurd_thread_sigstate): Add hidden def.
19056 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19058 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19059 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19060 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19061 __hurd_file_name_path_lookup.
19062 (hurd_file_name_path_lookup): New strong alias.
19063 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19064 hurd_file_name_path_lookup.
19065 * mach/errstring.c (mach_error_type): Add hidden def.
19066 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19067 * mach/mutex-init.c (__mutex_init): Add hidden def.
19068 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19069 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19070 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19071 * sysdeps/mach/hurd/getcwd.c
19072 (_hurd_canonicalize_directory_name_internal): Rename to
19073 __hurd_canonicalize_directory_name_internal.
19074 (_hurd_canonicalize_directory_name_internal): New strong alias.
19075 (__canonicalize_directory_name_internal, __getcwd): Call
19076 __hurd_canonicalize_directory_name_internal instead of
19077 _hurd_canonicalize_directory_name_internal.
19078 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19079 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19081 * sysdeps/hurd/include/hurd.h: New file.
19082 * sysdeps/hurd/include/hurd/fd.h: New file.
19083 * sysdeps/hurd/include/hurd/signal.h: New file.
19084 * sysdeps/mach/include/lock-intern.h: New file.
19085 * sysdeps/mach/include/mach.h: New file.
19086 * sysdeps/mach/include/mach/mig_support.h: New file.
19087 * sysdeps/mach/include/mach_error.h: New file.
19088 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19090 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19091 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19092 _HEADER_H_HIDDEN_DEF macro.
19093 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19094 _hurd_fd_error_signal): Add hidden prototype.
19095 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19097 * libio/iolibio.h (_IO_puts): New hidden prototype.
19098 * libio/ioputs.c (_IO_puts): New hidden def.
19099 * sysdeps/mach/hurd/localplt.data: New file.
19101 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19102 Amos Jeffries <squid3@treenet.co.nz>
19103 David Michael <fedora.dm0@gmail.com>
19104 Marco Gerards <marco@gnu.org>
19105 Marcus Brinkmann <marcus@gnu.org>
19106 Neal H. Walfield <neal@gnu.org>
19107 Pino Toscano <toscano.pino@tiscali.it>
19108 Richard Braun <rbraun@sceen.net>
19109 Roland McGrath <roland@gnu.org>
19110 Samuel Thibault <samuel.thibault@ens-lyon.org>
19111 Thomas DiModica <ricinwich@yahoo.com>
19112 Thomas Schwinge <tschwinge@gnu.org>
19114 * htl: New directory.
19115 * sysdeps/htl: New directory.
19116 * sysdeps/hurd/htl: New directory.
19117 * sysdeps/i386/htl: New directory.
19118 * sysdeps/mach/htl: New directory.
19119 * sysdeps/mach/hurd/htl: New directory.
19120 * sysdeps/mach/hurd/i386/htl: New directory.
19121 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19122 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19123 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19125 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19127 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19128 signals in thread created for runing timers.
19130 2018-04-01 Florian Weimer <fweimer@redhat.com>
19132 * support/support_format_addrinfo.c (support_format_addrinfo):
19133 Include unknown error number in formatted result.
19135 2018-03-29 Florian Weimer <fweimer@redhat.com>
19137 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19140 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19142 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19143 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19144 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19145 (__ASSUME_CLONE_BACKWARDS): Define.
19147 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19150 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19151 early when linux sentinel value is set.
19153 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19155 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19157 2018-03-27 Andreas Schwab <schwab@suse.de>
19160 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19161 allocation of private copy of nsaddr_list fails.
19163 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19166 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19167 * sysdeps/unix/sysv/linux/umount.c: ... here.
19168 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19169 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19170 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19171 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19173 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19174 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19176 2018-03-26 Andreas Schwab <schwab@suse.de>
19178 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19179 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19180 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19181 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19182 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19183 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19184 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19185 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19186 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19187 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19188 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19189 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19190 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19191 (R_RISCV_NUM): Define.
19193 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19195 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19196 TLS declaration of errno.
19197 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19199 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19200 (ARCH_SETUP_TLS): Likewise.
19201 * sysdeps/mach/hurd/libc-start.h: New file copied from
19202 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19203 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19204 instead of __libc_setup_tls.
19205 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19206 __libc_setup_tls before initializing libpthread and running _hurd_init
19207 which starts the signal thread.
19208 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19210 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19212 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19215 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19216 after it is defined.
19218 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19219 Max Horn <max@quendi.de>
19223 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19225 * string/test-memmove.c (do_test2): New testcase.
19227 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19229 * sysdeps/generic/frame.h: Remove file.
19230 * sysdeps/arm/frame.h: Likewise.
19231 * sysdeps/hppa/frame.h: Likewise.
19232 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19234 (GET_FRAME): Likewise.
19235 (GET_STACK): Likewise.
19236 (CALL_SIGHANDLER): Likewise.
19237 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19239 (GET_FRAME): Likewise.
19240 (GET_STACK): Likewise.
19241 (CALL_SIGHANDLER): Likewise.
19242 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19243 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19244 (GET_FRAME): Likewise.
19245 (GET_STACK): Likewise.
19246 (CALL_SIGHANDLER): Likewise.
19247 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19248 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19249 (GET_FRAME): Likewise.
19250 (GET_STACK): Likewise.
19251 (ADVANCE_STACK_FRAME): Likewise.
19252 (CALL_SIGHANDLER): Likewise.
19253 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19254 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19255 (GET_FRAME): Likewise.
19256 (GET_STACK): Likewise.
19257 (CALL_SIGHANDLER): Likewise.
19258 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19259 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19260 (GET_FRAME): Likewise.
19261 (GET_STACK): Likewise.
19262 (CALL_SIGHANDLER): Likewise.
19263 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19264 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19265 (GET_FRAME): Likewise.
19266 (GET_STACK): Likewise.
19267 (CALL_SIGHANDLER): Likewise.
19268 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19269 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19270 (GET_FRAME): Likewise.
19271 (GET_STACK): Likewise.
19272 (CALL_SIGHANDLER): Likewise.
19273 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19274 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19275 (GET_FRAME): Likewise.
19276 (GET_STACK): Likewise.
19277 (CALL_SIGHANDLER): Likewise.
19278 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19279 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19280 (GET_FRAME): Likewise.
19281 (GET_STACK): Likewise.
19282 (CALL_SIGHANDLER): Likewise.
19283 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19284 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19285 (GET_FRAME): Likewise.
19286 (GET_STACK): Likewise.
19287 (CALL_SIGHANDLER): Likewise.
19288 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19289 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19290 (GET_FRAME): Likewise.
19291 (GET_STACK): Likewise.
19292 (CALL_SIGHANDLER): Likewise.
19293 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19294 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19295 (GET_FRAME): Likewise.
19296 (GET_STACK): Likewise.
19297 (CALL_SIGHANDLER): Likewise.
19298 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19299 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19300 (FIRST_FRAME_POINTER): Likewise.
19301 (ADVANCE_STACK_FRAME): Likewise.
19302 (GET_STACK): Likewise.
19303 (GET_FRAME): Likewise.
19304 (CALL_SIGHANDLER): Likewise.
19305 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19306 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19307 (ADVANCE_STACK_FRAME): Likewise.
19308 (GET_STACK): Likewise.
19309 (GET_FRAME): Likewise.
19310 (CALL_SIGHANDLER): Likewise.
19311 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19312 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19313 (GET_FRAME): Likewise.
19314 (GET_STACK): Likewise.
19315 (CALL_SIGHANDLER): Likewise.
19316 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19317 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19318 (GET_FRAME): Likewise.
19319 (GET_STACK): Likewise.
19320 (CALL_SIGHANDLER): Likewise.
19322 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19324 * sysdeps/x86_64/backtrace.c: Move to ....
19325 * debug/backtrace.c: ... here.
19326 * sysdeps/aarch64/backtrace.c: Remove file.
19327 * sysdeps/alpha/backtrace.c: Likewise.
19328 * sysdeps/hppa/backtrace.c: Likewise.
19329 * sysdeps/ia64/backtrace.c: Likewise.
19330 * sysdeps/mips/backtrace.c: Likewise.
19331 * sysdeps/nios2/backtrace.c: Likewise.
19332 * sysdeps/riscv/backtrace.c: Likewise.
19333 * sysdeps/sh/backtrace.c: Likewise.
19334 * sysdeps/tile/backtrace.c: Likewise.
19336 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19339 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19342 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19345 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19346 possibly overflowing computations.
19348 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19350 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19351 values from Linux-specific section now that it is in the GNU section.
19352 * sysdeps/gnu/errlist.c: Regenerate.
19354 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19356 * math/Makefile (libm-narrow-fns): Add sub.
19357 (libm-test-funcs-narrow): Likewise.
19358 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19359 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19360 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19361 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19362 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19363 (NARROW_SUB_TRIVIAL): Likewise.
19364 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19366 (__dsubl): Likewise.
19367 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19369 (CFLAGS-nldbl-dsub.c): New variable.
19370 (CFLAGS-nldbl-fsub.c): Likewise.
19371 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19373 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19375 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19376 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19377 * math/auto-libm-test-in: Add tests of sub.
19378 * math/auto-libm-test-out-narrow-sub: New generated file.
19379 * math/libm-test-narrow-sub.inc: New file.
19380 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19383 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19384 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19385 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19386 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19387 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19388 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19390 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19392 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19393 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19394 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19395 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19396 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19397 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19399 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19400 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19401 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19402 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19403 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19404 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19405 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19406 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19407 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19408 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19409 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19410 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19411 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19416 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19417 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19418 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19419 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19420 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19421 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19422 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19423 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19424 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19425 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19427 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19430 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19432 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19434 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19436 2018-03-18 Richard Braun <rbraun@sceen.net>
19438 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19441 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19443 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19444 (__libc_cleanup_fct): Define function.
19445 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19446 __libc_cleanup_end): Rewrite implementation using
19447 __attribute__ ((__cleanup__)).
19448 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19449 * hurd/Makefile (routines): Add hurdlock.
19450 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19452 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19453 * hurd/hurdpid.c: Include <lowlevellock.h>
19454 (_S_msg_proc_newids): Use lll_wait to synchronize.
19455 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19456 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19457 * mach/Makefile (lock-headers): Remove machine-lock.h.
19458 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19460 (__spin_lock_t): New type.
19461 (__SPIN_LOCK_INITIALIZER): New macro.
19462 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19463 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19464 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19465 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19466 (__mutex_init): Initialize with lll.
19467 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19468 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19470 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19471 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19472 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19473 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19474 (__setpgid): Use lll for synchronization.
19475 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19476 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19477 instead of <cthreads.h>.
19478 (_IO_lock_inexpensive): New macro
19479 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19480 (__libc_lock_self0): New declaration.
19481 (__libc_lock_owner_self): New macro.
19482 (__libc_key_t): Remove type.
19483 (_LIBC_LOCK_INITIALIZER): New macro.
19484 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19485 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19486 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19487 __libc_lock_define_initialized_recursive,
19488 __rtld_lock_define_initialized_recursive,
19489 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19490 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19491 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19492 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19493 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19494 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19495 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19497 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19498 * hurd/hurdlock.c: New file.
19499 * hurd/hurdlock.h: New file.
19500 * mach/lowlevellock.h: New file
19502 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19504 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19505 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19506 when opening a symlink with O_NOFOLLOW.
19507 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19508 path when flags contains O_NOFOLLOW.
19509 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19510 if flags contains O_DIRECTORY and the result is a directory.
19511 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19512 oneself when the pointer given in D is nul (as set by ext2fs).
19513 * sysdeps/mach/hurd/mlockall.c: New file.
19514 * sysdeps/mach/hurd/munlockall.c: New file.
19516 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19518 * hurd/hurdsig.c: Include <pthread.h>.
19519 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19520 get the signal thread stack layout.
19521 * hurd/Makefile (headers): Remove threadvar.h.
19522 (inline-headers): Remove threadvar.h.
19523 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19524 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19525 __hurd_threadvar_max, __hurd_errno_location.
19526 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19527 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19528 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19529 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19530 unless TLS is not initialized yet, in which case we do not need a
19531 critical section yet anyway.
19532 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19534 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19536 (__hurd_threadvar_index): Remove enum.
19537 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19538 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19540 (__hurd_reply_port0): New variable declaration.
19541 (__hurd_local_reply_port): New macro.
19542 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19543 (interrupted_reply_port_location): Add thread_t parameter. Use it
19544 with THREAD_TCB to access thread-local variables.
19545 (_hurdsig_abort_rpcs): Pass ss->thread to
19546 interrupted_reply_port_location.
19547 (_hurd_internal_post_signal): Likewise.
19548 (_hurdsig_init): Use presence of cthread_fork instead of
19549 __hurd_threadvar_stack_mask to start signal thread by hand.
19550 Remove signal thread threadvar initialization.
19551 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19552 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19553 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19555 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19557 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19558 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19559 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19560 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19561 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19562 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19563 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19565 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19566 <hurd/threadvar.h>.
19567 [IS_IN(rtld)] (rtld_errno): New variable.
19568 [IS_IN(rtld)] (__errno_location): New weak function.
19569 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19570 * sysdeps/mach/hurd/errno.c: Remove file.
19571 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19572 (__fork): Remove THREADVAR_SPACE macro and its use.
19573 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19575 (init): Do not initialize threadvar.
19576 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19578 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19579 __hurd_local_reply_port instead of threadvar.
19580 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19581 _hurd_sigstate fields.
19582 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19583 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19584 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19585 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19586 instead of threadvar.
19587 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19588 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19589 (use_threadvar, global_reply_port): Remove variables.
19590 (__hurd_reply_port0): New variable.
19591 (__mig_get_reply_port): Use __hurd_local_reply_port and
19592 __hurd_reply_port0 instead of threadvar.
19593 (__mig_dealloc_reply_port): Likewise.
19594 (__mig_init): Do not initialize threadvar.
19595 * sysdeps/mach/hurd/profil.c: Fix comment.
19596 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19597 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19598 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19599 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19600 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19601 __cthread_setspecific.
19602 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19603 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19604 __cthread_t instead of cthread_fork, cthread_detach,
19605 pthread_getattr_np, pthread_attr_getstack.
19606 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19607 __cthread_keycreate.
19608 (cthread_getspecific): Rename to __cthread_getspecific.
19609 (cthread_setspecific): Rename to __cthread_setspecific.
19610 (__libc_getspecific): Use __cthread_getspecific instead of
19611 cthread_getspecific.
19612 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19613 __cthread_keycreate instead of cthread_keycreate.
19614 (__libc_setspecific): Use __cthread_setspecific instead of
19615 cthread_setspecific.
19616 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19619 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19620 testing whether it is defined.
19622 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19624 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19626 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19627 * sysdeps/mach/i386/thread_state.h
19628 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19630 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19632 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19634 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19635 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19637 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19639 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19640 descriptor instead of creating a new one.
19641 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19643 * mach/setup-thread.c: Include <ldsodefs.h>.
19644 (__mach_setup_thread): Call _dl_allocate_tls, pass
19645 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19646 MACHINE_THREAD_STATE_FLAVOR, before getting
19647 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19648 MACHINE_THREAD_STATE_FLAVOR with the result.
19649 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19650 MACHINE_THREAD_STATE_FIX_NEW.
19651 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19652 too. Add original thread parameter.
19654 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19656 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19657 Remove inline function.
19659 * sysdeps/i386/fpu/libm-test-ulps: Update.
19660 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19662 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19664 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19667 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19669 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19670 (__sincos_code): Remove define and undefine.
19671 [__FAST_MATH__] (__sincos): Remove inline function.
19672 [__FAST_MATH__] (__sincosf): Remove inline function.
19673 [__FAST_MATH__] (__sincosl): Remove inline function.
19674 (__atan2l): Remove inline functions.
19675 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19676 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19678 (floor): Remove inline function.
19680 [__FAST_MATH__] (__ldexp_code): Remove macro.
19681 [__FAST_MATH__] (ldexp): Remove inline function.
19682 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19683 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19684 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19685 [__USE_ISOC99] (__lrint_code): Remove macro.
19686 [__USE_ISOC99] (__llrint_code): Likewise.
19687 [__USE_ISOC99] (lrintf): Remove inline function.
19688 [__USE_ISOC99] (lrint): Likewise.
19689 [__USE_ISOC99] (lrintl): Likewise.
19690 [__USE_ISOC99] (llrint): Likewise.
19691 [__USE_ISOC99] (llrintf): Likewise.
19692 [__USE_ISOC99] (llrintl): Likewise.
19694 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19696 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19697 (__ieee754_sqrtf): Remove.
19698 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19699 (__ieee754_sqrtf): Remove.
19700 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19701 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19702 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19703 (__ieee754_sqrtf): Remove.
19704 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19705 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19708 (__ieee754_sqrt): Remove.
19709 (__ieee754_sqrtf): Remove.
19710 (__ieee754_sqrtl): Remove.
19711 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19712 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19713 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19714 (__ieee754_sqrtf): Remove.
19715 (__ieee754_sqrtl): Remove.
19717 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19719 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19720 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19721 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19722 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19723 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19724 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19725 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19726 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19728 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19729 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19730 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19731 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19732 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19733 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19734 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19735 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19736 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19737 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19738 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19739 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19740 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19741 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19742 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19743 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19744 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19745 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19746 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19747 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19748 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19750 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19751 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19752 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19753 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19755 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19756 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19757 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19758 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19759 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19760 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19761 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19762 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19763 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19764 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19765 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19766 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19767 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19769 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19771 * include/math.h (sqrt): Declare with asm redirect.
19774 (sqrtf128): Likewise.
19775 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19776 nonlib and libnldbl with -fmath-errno.
19777 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19778 * math/w_sqrt_template.c: Likewise.
19779 * math/w_sqrtf_compat.c: Likewise.
19780 * math/w_sqrtl_compat.c: Likewise.
19781 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19782 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19783 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19786 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19788 * benchtests/Makefile: Define _ISOMAC.
19789 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19790 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19791 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19792 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19793 * benchtests/bench-timing.h: Define attribute_hidden.
19795 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19797 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19800 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19803 * localedata/locales/cs_CZ (mon): Rename to...
19805 (mon): Import from CLDR (genitive case).
19807 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19810 * localedata/locales/el_CY (abmon): Rename to...
19811 (ab_alt_mon): This.
19812 (abmon): Import from CLDR (abbreviated genitive case).
19813 * localedata/locales/el_GR (abmon): Rename to...
19814 (ab_alt_mon): This.
19815 (abmon): Import from CLDR (abbreviated genitive case).
19817 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19820 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19822 2018-03-15 Robert Buj <robert.buj@gmail.com>
19825 * localedata/locales/ca_ES (abmon): Rename to...
19826 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19827 (mon): Rename to...
19829 (abmon): Import from CLDR (genitive case, month names preceded by
19832 (abday): Synchronize with CLDR.
19833 (d_t_fmt): Likewise.
19837 (LC_TIME): Improve indentation.
19838 (LC_TELEPHONE): Likewise.
19839 (LC_NAME): Likewise.
19840 (LC_ADDRESS): Likewise.
19842 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19844 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19845 (lrintf): Remove definitions used only with old GCC.
19846 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19847 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19848 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19849 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19850 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19851 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19852 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19853 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19854 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19855 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19856 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19857 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19858 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19859 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19860 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19861 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19862 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19863 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19864 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19865 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19866 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19867 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19868 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19869 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19870 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19871 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19872 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19873 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19875 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19877 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19878 instruction to unbreak builds with binutils 2.26 and older.
19880 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19882 * sysdeps/aarch64/strncmp.S (count): New macro.
19883 (strncmp): Store misaligned length in SRC1 in COUNT.
19884 (mutual_align): Adjust.
19885 (misaligned8): Load dword at a time when it is safe.
19887 2018-03-12 Zack Weinberg <zackw@panix.com>
19891 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19892 if the _IO_EOF_SEEN bit is already set; update commentary.
19893 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19894 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19896 * support/support_openpty.c, support/tty.h: New files.
19897 * support/Makefile (libsupport-routines): Add support_openpty.
19899 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19901 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19902 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19904 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19906 * po/pt_BR.po: Update translations.
19908 2018-03-12 David Michael <fedora.dm0@gmail.com>
19910 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19911 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19912 get a port to the startup server.
19914 2018-03-11 Zack Weinberg <zackw@panix.com>
19916 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19917 before nldbl-compat.h.
19919 2018-03-10 Zack Weinberg <zackw@panix.com>
19921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19922 math.h or math_private.h.
19924 * sysdeps/alpha/fpu/s_isnan.c
19925 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19926 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19928 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19929 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19930 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19931 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19932 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19933 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19936 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19937 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19938 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19939 Include math_private.h.
19941 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19942 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19943 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19944 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19945 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19946 * sysdeps/powerpc/power7/fpu/s_logb.c:
19947 Include math.h and math_private.h.
19949 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19950 uses of $at in .set noat / .set at.
19952 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19954 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19955 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19956 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19957 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19960 2018-03-09 Florian Weimer <fweimer@redhat.com>
19962 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19965 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19968 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19969 Add nop before __startcontext, add explaining comments.
19971 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19974 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19976 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19977 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19978 Do not build hardware transactional code for __SPE__.
19979 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19980 (__lll_trylock_elision): Likewise.
19981 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19982 (__lll_unlock_elision): Likewise.
19984 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
19985 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
19986 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19987 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
19988 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
19989 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
19990 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
19991 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
19992 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
19993 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
19994 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
19995 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
19996 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
19997 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
19998 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
19999 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20000 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20001 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20002 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20003 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20004 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20005 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20006 (__ASSUME_CLONE_BACKWARDS): Define.
20007 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20008 __clone2 if __NR_clone2 is defined.
20009 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20010 (__ASSUME_CLONE_BACKWARDS): Likewise.
20011 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20012 (__ASSUME_CLONE_BACKWARDS): Likewise.
20013 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20014 (__ASSUME_CLONE2): Likewise.
20015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20016 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20017 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20018 variants and the define architecture can use.
20019 (__ASSUME_CLONE_DEFAULT): Define as default.
20020 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20021 (__ASSUME_CLONE_BACKWARDS): Likewise.
20022 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20023 (__ASSUME_CLONE_BACKWARDS): Likewise.
20024 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20025 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20027 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20029 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20031 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20034 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20035 (do_test_limit): Likewise.
20037 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20038 for every implementation.
20039 (do_test): Likewise.
20041 * benchtests/bench-strncmp.c: Convert output to json.
20043 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20045 * io/futimens.c: Add missing start-of-file descriptive comment.
20046 * io/utime.c: Likewise.
20047 * misc/futimesat.c: Likewise.
20048 * misc/utimes.c: Likewise.
20049 * sysdeps/mach/hurd/futimesat.c: Likewise.
20050 * sysdeps/mach/hurd/utimes.c: Likewise.
20051 * sysdeps/posix/utime.c: Likewise.
20052 * sysdeps/posix/utimes.c: Likewise.
20053 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20054 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20055 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20056 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20058 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20060 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20062 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20063 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20064 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20065 (__futimens): Move implementation to...
20066 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20067 utime_tvalue_from_tspec): ... new helper functions.
20068 (hurd_futimens): New function.
20069 * sysdeps/mach/hurd/futimesat.c: New file.
20070 * sysdeps/mach/hurd/utimensat.c: New file.
20072 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20074 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20075 UTIME_OMIT): New macros.
20076 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20077 before reverting to converting time spec to time value and calling
20079 * sysdeps/mach/hurd/utime-helper.c: New file.
20080 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20081 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20082 reverting to utime_tvalue_from_tval and __file_utimes.
20083 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20084 (__lutimes): Just call hurd_futimens after lookup.
20085 * sysdeps/mach/hurd/utimes.c: Likewise.
20087 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20089 * bits/sigaction.h: Add include guard.
20090 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20091 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20092 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20093 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20094 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20095 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20096 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20097 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20098 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20100 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20102 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20103 -Wmaybe-uninitialized for -Os.
20104 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20107 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20109 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20110 __INO_T_MATCHES_INO64_T is defined.
20111 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20112 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20114 * dirent/alphasort64.c: Likewise.
20115 * dirent/scandir.c: Likewise.
20116 * dirent/scandir64-tail.c: Likewise.
20117 * dirent/scandir64.c: Likewise.
20118 * dirent/scandirat.c: Likewise.
20119 * dirent/scandirat64.c: Likewise.
20120 * dirent/versionsort.c: Likewise.
20121 * dirent/versionsort64.c: Likewise.
20122 * include/dirent.h: Likewise.
20124 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20125 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20126 for socketpair endpoint.
20127 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20128 WRITE_BUFFER_SIZE as buffer size for sending socket.
20129 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20130 issue on system where send is implemented with sendto syscall.
20131 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20132 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20133 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20134 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20137 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20138 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20139 sa_restorer for vDSO case.
20140 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20142 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20144 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20145 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20146 * hurd/hurd/ioctl.h: Include <mach/port.h>
20147 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20148 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20149 <mach/mach_types.h> and <mach/message.h>.
20150 (headers): Move mach/param.h to bits/mach/param.h.
20151 * sysdeps/mach/i386/mach/param.h: Move file to ...
20152 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20153 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20155 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20156 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20157 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20158 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20159 trivial, for C++ conformity.
20160 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20161 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20162 Process mig output through $(migheadersed).
20163 * hurd/Makefile (migheadersed): Define variable.
20164 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20165 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20167 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20168 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20169 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20170 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20171 <bits/types/sigset_t.h>.
20172 [!defined __USE_GNU]: Do not #error out.
20173 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20174 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20175 Include <stddef.h> and <bits/types/sigset_t.h>
20176 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20177 instead of sighandler_t.
20178 * stdlib/errno.h (error_t): Move definition to...
20179 * bits/types/error_t.h: ... new header.
20180 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20181 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20182 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20183 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20184 * hurd/hurd.h: Include <bits/types/error_t.h>
20185 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20186 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20187 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20188 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20189 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20190 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20191 * sysdeps/mach/hurd/futimens.c: New file.
20193 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20196 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20197 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20198 * nscd/gai.c (__nss_hosts_database): Readd definition.
20199 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20200 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20201 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20203 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20205 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20206 (ifunc_one): Likewise.
20208 2018-03-01 DJ Delorie <dj@delorie.com>
20211 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20214 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20216 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20217 `match_pid' parameter.
20218 (td_ta_thr_iter): Update accordingly.
20220 2018-03-01 Florian Weimer <fweimer@redhat.com>
20222 * nptl/Makefile (install-lib-ldscripts): Remove.
20223 (install): Remove rule.
20224 ($(inst_libdir)/libpthread.so): Likewise.
20226 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20229 * localedata/locales/an_ES: update month and day names,
20230 improve d_fmt, improve postal_fmt, add country_post,
20233 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20235 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20236 Ukrainian instead of Bulgarian.
20238 2018-03-01 Florian Weimer <fweimer@redhat.com>
20240 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20243 2018-03-01 Florian Weimer <fweimer@redhat.com>
20245 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20246 * nptl/Makefile (routines): Add pthread_atfork.
20247 (static-only-routines): Set to pthread_atfork.
20248 (libpthread-routines): Remove pthread_atfork.
20249 (libpthread-static-only-routines): Remove.
20250 (install): Update comment.
20251 (libpthread.so): Do not install libpthread_nonshared.a.
20252 (tests): Do not link with libpthread_nonshared.a.
20253 (generated): Remove libpthread_nonshared.a.
20254 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20255 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20256 with libpthread_nonshared.a.
20258 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20261 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20262 (libc_feholdexcept_setroundf128): New macro.
20263 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20266 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20268 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20269 * include/inttypes.h: New file.
20271 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20273 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20274 -Os in two more places.
20276 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20278 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20279 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20280 be sorted correctly at the moment because of a bug.
20282 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20284 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20285 treat ñ as a primary different character, sync the collation
20286 for Spanish with CLDR.
20287 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20288 * localedata/Makefile: Add new test files.
20289 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20290 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20292 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20293 * localedata/am_ET.UTF-8.in: New test file.
20294 * localedata/az_AZ.UTF-8.in: Likewise.
20295 * localedata/be_BY.UTF-8.in: Likewise.
20296 * localedata/ber_DZ.UTF-8.in: Likewise.
20297 * localedata/ber_MA.UTF-8.in: Likewise.
20298 * localedata/bg_BG.UTF-8.in: Likewise.
20299 * localedata/br_FR.UTF-8.in: Likewise.
20300 * localedata/cmn_TW.UTF-8.in: Likewise.
20301 * localedata/crh_UA.UTF-8.in: Likewise.
20302 * localedata/csb_PL.UTF-8.in: Likewise.
20303 * localedata/cv_RU.UTF-8.in: Likewise.
20304 * localedata/cy_GB.UTF-8.in: Likewise.
20305 * localedata/dz_BT.UTF-8.in: Likewise.
20306 * localedata/eo.UTF-8.in: Likewise.
20307 * localedata/es_ES.UTF-8.in: Likewise.
20308 * localedata/fa_IR.UTF-8.in: Likewise.
20309 * localedata/fi_FI.UTF-8.in: Likewise.
20310 * localedata/fil_PH.UTF-8.in: Likewise.
20311 * localedata/fur_IT.UTF-8.in: Likewise.
20312 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20313 * localedata/ha_NG.UTF-8.in: Likewise.
20314 * localedata/ig_NG.UTF-8.in: Likewise.
20315 * localedata/ik_CA.UTF-8.in: Likewise.
20316 * localedata/kk_KZ.UTF-8.in: Likewise.
20317 * localedata/ku_TR.UTF-8.in: Likewise.
20318 * localedata/ky_KG.UTF-8.in: Likewise.
20319 * localedata/ln_CD.UTF-8.in: Likewise.
20320 * localedata/mi_NZ.UTF-8.in: Likewise.
20321 * localedata/ml_IN.UTF-8.in: Likewise.
20322 * localedata/mn_MN.UTF-8.in: Likewise.
20323 * localedata/mr_IN.UTF-8.in: Likewise.
20324 * localedata/mt_MT.UTF-8.in: Likewise.
20325 * localedata/nb_NO.UTF-8.in: Likewise.
20326 * localedata/om_KE.UTF-8.in: Likewise.
20327 * localedata/os_RU.UTF-8.in: Likewise.
20328 * localedata/ps_AF.UTF-8.in: Likewise.
20329 * localedata/ro_RO.UTF-8.in: Likewise.
20330 * localedata/ru_RU.UTF-8.in: Likewise.
20331 * localedata/sc_IT.UTF-8.in: Likewise.
20332 * localedata/se_NO.UTF-8.in: Likewise.
20333 * localedata/sq_AL.UTF-8.in: Likewise.
20334 * localedata/sv_SE.UTF-8.in: Likewise.
20335 * localedata/szl_PL.UTF-8.in: Likewise.
20336 * localedata/tg_TJ.UTF-8.in: Likewise.
20337 * localedata/tk_TM.UTF-8.in: Likewise.
20338 * localedata/tt_RU.UTF-8.in: Likewise.
20339 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20340 * localedata/ug_CN.UTF-8.in: Likewise.
20341 * localedata/uz_UZ.UTF-8.in: Likewise.
20342 * localedata/vi_VN.UTF-8.in: Likewise.
20343 * localedata/yi_US.UTF-8.in: Likewise.
20344 * localedata/yo_NG.UTF-8.in: Likewise.
20345 * localedata/zh_CN.UTF-8.in: Likewise.
20346 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20347 file and fix bugs in the collation.
20348 * localedata/locales/az_AZ: Likewise.
20349 * localedata/locales/be_BY: Likewise.
20350 * localedata/locales/ber_DZ: Likewise.
20351 * localedata/locales/ber_MA: Likewise.
20352 * localedata/locales/bg_BG: Likewise.
20353 * localedata/locales/br_FR: Likewise.
20354 * localedata/locales/br_FR@euro: Likewise.
20355 * localedata/locales/ca_ES: Likewise.
20356 * localedata/locales/cns11643_stroke: Likewise.
20357 * localedata/locales/crh_UA: Likewise.
20358 * localedata/locales/cs_CZ: Likewise.
20359 * localedata/locales/csb_PL: Likewise.
20360 * localedata/locales/cv_RU: Likewise.
20361 * localedata/locales/cy_GB: Likewise.
20362 * localedata/locales/da_DK: Likewise.
20363 * localedata/locales/dz_BT: Likewise.
20364 * localedata/locales/en_CA: Likewise.
20365 * localedata/locales/eo: Likewise.
20366 * localedata/locales/es_CU: Likewise.
20367 * localedata/locales/es_EC: Likewise.
20368 * localedata/locales/es_ES: Likewise.
20369 * localedata/locales/es_US: Likewise.
20370 * localedata/locales/et_EE: Likewise.
20371 * localedata/locales/fa_IR: Likewise.
20372 * localedata/locales/fi_FI: Likewise.
20373 * localedata/locales/fil_PH: Likewise.
20374 * localedata/locales/fur_IT: Likewise.
20375 * localedata/locales/gez_ER@abegede: Likewise.
20376 * localedata/locales/ha_NG: Likewise.
20377 * localedata/locales/hr_HR: Likewise.
20378 * localedata/locales/hsb_DE: Likewise.
20379 * localedata/locales/hu_HU: Likewise.
20380 * localedata/locales/ig_NG: Likewise.
20381 * localedata/locales/ik_CA: Likewise.
20382 * localedata/locales/is_IS: Likewise.
20383 * localedata/locales/iso14651_t1_pinyin: Likewise.
20384 * localedata/locales/kk_KZ: Likewise.
20385 * localedata/locales/ku_TR: Likewise.
20386 * localedata/locales/ky_KG: Likewise.
20387 * localedata/locales/ln_CD: Likewise.
20388 * localedata/locales/lt_LT: Likewise.
20389 * localedata/locales/lv_LV: Likewise.
20390 * localedata/locales/mi_NZ: Likewise.
20391 * localedata/locales/ml_IN: Likewise.
20392 * localedata/locales/mn_MN: Likewise.
20393 * localedata/locales/mr_IN: Likewise.
20394 * localedata/locales/mt_MT: Likewise.
20395 * localedata/locales/nb_NO: Likewise.
20396 * localedata/locales/om_KE: Likewise.
20397 * localedata/locales/os_RU: Likewise.
20398 * localedata/locales/pl_PL: Likewise.
20399 * localedata/locales/ps_AF: Likewise.
20400 * localedata/locales/ro_RO: Likewise.
20401 * localedata/locales/ru_RU: Likewise.
20402 * localedata/locales/ru_UA: Likewise.
20403 * localedata/locales/sc_IT: Likewise.
20404 * localedata/locales/se_NO: Likewise.
20405 * localedata/locales/si_LK: Likewise.
20406 * localedata/locales/sq_AL: Likewise.
20407 * localedata/locales/sv_FI: Likewise.
20408 * localedata/locales/sv_FI@euro: Likewise.
20409 * localedata/locales/sv_SE: Likewise.
20410 * localedata/locales/szl_PL: Likewise.
20411 * localedata/locales/tg_TJ: Likewise.
20412 * localedata/locales/ti_ER: Likewise.
20413 * localedata/locales/tk_TM: Likewise.
20414 * localedata/locales/tl_PH: Likewise.
20415 * localedata/locales/tr_TR: Likewise.
20416 * localedata/locales/tt_RU: Likewise.
20417 * localedata/locales/tt_RU@iqtelif: Likewise.
20418 * localedata/locales/ug_CN: Likewise.
20419 * localedata/locales/uk_UA: Likewise.
20420 * localedata/locales/uz_UZ: Likewise.
20421 * localedata/locales/uz_UZ@cyrillic: Likewise.
20422 * localedata/locales/vi_VN: Likewise.
20423 * localedata/locales/yi_US: Likewise.
20424 * localedata/locales/yo_NG: Likewise.
20426 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20428 * gen-locales.mk: Make test files which contain @ modifiers in their
20430 * localedata/gen-locale.sh: Likewise.
20432 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20434 * posix/tst-fnmatch.input: Fix results for range expressions
20436 * posix/tst-regexloc.c: Do not use a range expression for
20437 de_DE.ISO-8859-1 locale.
20439 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20441 * posix/bug-regex5.c: Fix test case because with the new
20442 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20443 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20446 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20448 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20449 downloaded from ISO, the collation order of @-. and space has changed.
20450 Therefore, this test file needed to be adapted.
20451 * localedata/fr_CA.UTF-8.in: Likewise.
20452 * localedata/fr_FR.UTF-8.in: Likewise.
20453 * localedata/uk_UA.UTF-8.in: Likewise.
20455 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20457 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20458 order of ȥ in the new iso14651_t1_common file.
20459 * localedata/pl_PL.UTF-8.in: Likewise.
20461 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20463 * localedata/locales/iso14651_t1_common: Add sections for various
20464 scripts to the iso14651_t1_common file.
20466 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20468 * localedata/locales/iso14651_t1_common: Use the code point of a
20469 character in the fourth collation level instead of IGNORE for all
20470 entries which have IGNORE on all 4 levels.
20472 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20474 * localedata/locales/iso14651_t1_common: Add some convenient collation
20475 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20476 rules similar to those in CLDR.
20478 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20480 * localedata/locales/iso14651_t1_common: The new version of this
20481 file downloaded from ISO contained several syntax errors which
20482 are fixed by this patch.
20484 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20486 * localedata/locales/iso14651_t1_common: replace all <U.....>
20487 with <U000.....> because glibc understands only 4 digit or 8 digit
20489 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20491 * localedata/locales/iso14651_t1_common: Necessary changes
20492 to make the file downloaded from ISO usable by glibc.
20494 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20497 * localedata/locales/iso14651_t1_common: Update file to
20498 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20500 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20502 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20503 of <nptl/pthreadP.h>
20504 (thread_attr_compare): Move function to...
20505 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20506 * sysdeps/nptl/timer_routines.h: ... new header.
20507 * sysdeps/mach/hurd/gai_misc.h: New file.
20509 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20511 * string/strcoll_l.c: Include <libc-diag.h>.
20512 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20513 declarations of seq1 and seq2.
20516 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20517 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20519 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20524 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20525 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20526 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20527 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20528 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20530 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20532 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20533 macros used in __ptrace_request.
20535 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20538 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20540 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20541 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20542 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20545 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20548 * ctype/ctype.c (tolower): Use libc_hidden_def.
20549 (toupper): Likewise.
20550 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20551 [!_ISOMAC] (toupper): Likewise.
20553 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20555 * localedata/Makefile: Remove --quiet argument when
20558 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20561 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20563 * localedata/locales/pt_PT (LC_TIME): likewise
20565 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20568 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20569 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20570 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20572 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20576 * nptl/Makefile (routines): Remove unregister-atfork.
20577 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20578 (fork_handler_alloc): Remove function.
20579 (fork_handlers, fork_handler_init): New variables.
20580 (__fork_lock): Rename to atfork_lock.
20581 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20582 to use a dynamic array to add/remove atfork handlers.
20583 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20584 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20585 Remove declaration.
20586 (fork_handler): Remove next, refcntr, and need_signal member.
20587 (__run_fork_handler_type): New enum.
20588 (__run_fork_handlers): New prototype.
20589 * nptl/register-atfork.c: Remove file.
20590 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20592 * sysdeps/nptl/nptl-signals.h: Move to ...
20593 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20595 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20596 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20597 unnecessary check for SIGTIMER.
20598 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20599 remove unnecessary removal of SIGTIMER.
20600 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20601 include-signals.h rename.
20602 * nptl/pthreadP.h: Likewise.
20603 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20604 __is_internal_signal instead of __nptl_is_internal_signal.
20606 2018-02-22 Andrew Waterman <andrew@sifive.com>
20609 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20610 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20611 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20612 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20614 2018-02-22 DJ Delorie <dj@delorie.com>
20616 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20618 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20620 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20621 do_misaligned, not misaligned8.
20623 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20625 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20626 Add memcpy_thunderx2.
20627 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20629 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20630 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20631 and IS_THUNDERX2PA checks.
20632 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20633 Use macro to set name appropriately.
20634 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20635 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20636 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20638 (IS_THUNDERX2): New macro.
20640 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20642 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20644 2018-02-21 Zack Weinberg <zackw@panix.com>
20646 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20647 Define here, unconditionally.
20648 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20649 * libio/libioP.h: Remove #if 0 blocks.
20650 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20651 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20652 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20654 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20655 Assume weak_alias is always defined.
20657 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20658 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20659 Remove #if 0 and #ifdef TODO blocks.
20660 Assume text_set_element is always defined.
20662 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20663 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20664 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20666 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20667 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20668 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20669 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20670 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20671 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20672 Reformat bit flags for _flags field to make occupancy clearer.
20674 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20675 Keep definitions consistent with those in libio/libio.h.
20677 * libio/libio.h (_IO_file_flags): Remove macro.
20678 All uses changed to _flags.
20680 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20681 (__HAVE_COLUMN, _IO_BE): Don't define.
20682 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20683 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20684 * libio/libioP.h (EOF): Don't define.
20685 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20686 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20687 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20688 testing _IO_UNIFIED_JUMPTABLES.
20690 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20691 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20692 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20693 (_IO_size_t): Delete; all uses changed to size_t.
20694 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20695 (_IO_off_t): Delete; all uses changed to off_t.
20696 (_IO_off64_t): Delete; all uses changed to off64_t.
20697 (_IO_pid_t): Delete; all uses changed to pid_t.
20698 (_IO_uid_t): Delete; all uses changed to uid_t.
20699 (_IO_wint_t): Delete; all uses changed to wint_t.
20700 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20701 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20702 (_IO_cookie_io_functions_t): Delete; all uses changed to
20703 cookie_io_functions_t.
20704 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20705 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20706 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20707 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20709 * libio/iofopncook.c: Remove unnecessary forward declarations.
20710 * libio/iolibio.h: Correct outdated commentary.
20711 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20712 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20713 Remove unnecessary casts.
20714 * stdio-common/getline.c: Use _IO_getdelim directly.
20715 Don't redefine ssize_t.
20716 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20717 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20718 Remove outdated comments.
20719 * stdio-common/vfscanf.c: Don't redefine va_list.
20721 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20722 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20723 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20724 which are always true, and __cplusplus, which is always false.
20726 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20730 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20731 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20732 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20733 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20735 [!_ISOMAC] (putc_unlocked): Likewise.
20736 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20737 define inline if [__USE_EXTERN_INLINES].
20738 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20743 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20744 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20745 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20746 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20747 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20749 * time/tzfile.c (__tzfile_read): Likewise.
20751 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20754 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20756 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20758 * io/fcntl.h: Fix a typo in a comment.
20760 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20763 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20764 define _DEFAULT_SOURCE.
20765 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20767 2018-02-21 Florian Weimer <fweimer@redhat.com>
20770 * elf/cache.c (save_cache): Call fsync on temporary file before
20772 (save_aux_cache): Call fdatasync on temporary file before renaming
20775 2018-02-21 Florian Weimer <fweimer@redhat.com>
20778 * include/caller.h: Remove file.
20779 * elf/dl-caller.c: Likewise.
20780 * elf/Makefile (dl-routines): Remove dl-caller.
20781 (shared-only-routines): Do not add dl-caller.
20782 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20784 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20786 (dl_open_worker): Do not call __check_caller.
20787 (_dl_open): Do not set caller_dl_open member.
20788 * elf/rtld.c (_rtld_global_ro): Do not initialize
20789 _dl_check_caller member.
20790 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20791 _dl_check_caller member.
20792 (_dl_check_caller): Remove declaration.
20793 * sysdeps/unix/sysv/linux/dl-execstack.c
20794 (_dl_make_stack_executable): Do not call __check_caller.
20796 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20798 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20799 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20801 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20803 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20806 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20809 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20810 of 199606L, 200112L, and 200809L.
20811 (_XOPEN_SOURCE): Document special values of 600 and 700.
20812 (_ISOC11_SOURCE): Document macro.
20813 (_ATFILE_SOURCE): Likewise.
20814 (_FORTIFY_SOURCE): Likewise.
20816 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20820 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20821 and define as weak alias of __ferror_unlocked. Use
20823 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20825 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20826 function if [__USE_EXTERN_INLINES].
20827 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20830 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20833 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20835 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20838 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20839 the GLIBC_2.1 version.
20841 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20844 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20845 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20846 intl/tst-gettext-de.po from po/de.po by removing the
20847 POT-Creation-Date line.
20848 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20850 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20853 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20855 * mach/Makefile (headers): Add mach/param.h.
20856 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20857 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20858 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20859 (__ptsname_r): Move implementation to...
20860 (__ptsname_internal): ... new function. Add filling the STP
20863 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20865 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20868 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20870 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20873 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20875 * nptl/Makefile (tst-mutex8-ENV): Delete.
20876 * nptl/tst-mutex8.c (check_type):
20877 Add runtime check if mutex will be elided.
20879 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20883 * manual/install.texi (Configuring and compiling): Describe
20884 passing CC and CFLAGS on configure command line, not as
20885 environment variables. Use @code markup on those variables.
20886 Specify what options go in CC and what go in CFLAGS. Note the
20887 requirement to compile with optimization.
20888 * INSTALL: Regenerated.
20891 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20892 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20893 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20894 __sigprocmask instead of sigprocmask.
20895 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20897 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20898 __sigsetjmp and sigprocmask.
20901 * include/argz.h (argz_next): Use libc_hidden_proto.
20902 (__argz_next): Likewise.
20903 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20904 (argz_next): Use libc_hidden_weak.
20907 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20909 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20913 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20915 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20919 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20920 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20921 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20922 (__feof_unlocked): New declaration, and inline function if
20923 [__USE_EXTERN_INLINES].
20924 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20925 instead of feof_unlocked.
20926 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20927 * nss/nsswitch.c (nss_parse_file): Likewise.
20928 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20930 * time/getdate.c (__getdate_r): Likewise.
20931 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20932 Define as macro to call __feof_unlocked.
20934 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20936 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20938 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20940 * math/Makefile: Remove mpexp.c and mplog.c
20941 * sysdeps/i386/fpu/mpexp.c: Delete file.
20942 * sysdeps/i386/fpu/mplog.c: Likewise.
20943 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20944 * sysdeps/ia64/fpu/mplog.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20946 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20947 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20948 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20949 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20950 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20951 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20952 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20953 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20954 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20955 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20956 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20957 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20958 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20959 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20960 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20962 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20964 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20966 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20968 * sysdeps/sh/libm-test-ulps: Update.
20970 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20972 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20975 2018-02-12 Zack Weinberg <zackw@panix.com>
20978 * posix/sys/types.h: Don't include sys/sysmacros.h.
20979 * misc/sys/sysmacros.h: Remove the conditional deprecation
20980 warnings for the macros defined by this header.
20982 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20984 * manual/probes.texi: Remove slowexp probes.
20985 * math/Makefile: Remove slowexp.
20986 * sysdeps/generic/math_private.h (__slowexp): Remove.
20987 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
20988 document error bounds.
20989 * sysdeps/i386/fpu/slowexp.c: Remove.
20990 * sysdeps/ia64/fpu/slowexp.c: Remove.
20991 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
20992 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
20993 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
20994 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
20995 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
20996 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
20997 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
20998 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
20999 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21000 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21001 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21003 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21006 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21007 * benchtests/pow-inputs: Update comment for slow path cases.
21008 * manual/probes.texi (slowpow_p10): Delete removed probe.
21009 (slowpow_p10): Likewise.
21010 * math/Makefile: Remove halfulp.c and slowpow.c.
21011 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21012 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21013 (__halfulp): Remove.
21014 (__slowpow): Remove.
21015 * sysdeps/i386/fpu/halfulp.c: Delete file.
21016 * sysdeps/i386/fpu/slowpow.c: Likewise.
21017 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21018 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21019 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21020 improve comments and add error analysis.
21021 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21022 (power1): Remove function:
21023 (log1): Remove error argument, add error analysis.
21024 (my_log2): Remove function.
21025 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21026 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21027 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21028 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21029 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21030 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21031 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21032 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21033 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21034 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21035 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21036 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21037 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21040 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21042 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21043 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21045 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21048 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21049 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21050 and PTRACE_SETHBPREGS.
21052 2018-02-10 Zack Weinberg <zackw@panix.com>
21055 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21057 * malloc/tst-malloc-stats-cancellation.c: New test case.
21058 * malloc/Makefile: Add new test case.
21060 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21062 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21064 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21066 * math/Makefile (libm-narrow-fns): Add add.
21067 (libm-test-funcs-narrow): Likewise.
21068 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21069 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21070 * math/gen-auto-libm-tests.c (test_functions): Add add.
21071 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21072 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21073 (NARROW_ADD_TRIVIAL): Likewise.
21074 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21076 (__daddl): Likewise.
21077 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21079 (CFLAGS-nldbl-dadd.c): New variable.
21080 (CFLAGS-nldbl-fadd.c): Likewise.
21081 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21083 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21085 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21086 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21087 * math/auto-libm-test-in: Add tests of add.
21088 * math/auto-libm-test-out-narrow-add: New generated file.
21089 * math/libm-test-narrow-add.inc: New file.
21090 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21093 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21094 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21095 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21096 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21098 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21099 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21103 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21104 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21105 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21106 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21107 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21109 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21110 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21111 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21112 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21113 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21114 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21115 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21116 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21117 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21118 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21119 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21120 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21121 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21126 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21127 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21128 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21129 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21130 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21131 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21132 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21133 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21134 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21135 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21137 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21138 (f128-pairs): New variable.
21139 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21140 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21142 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21143 Also make tests add $(f128-loader-link) to gnulib-tests.
21145 2018-02-09 DJ Delorie <dj@redhat.com>
21148 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21149 64-bit ELF type for 64-bit ELF objects.
21151 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21153 * math/libm-test-driver.c (snan_tests_arg): New variable.
21154 * math/libm-test-support.h (snan_tests_arg): New declaration.
21155 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21157 * math/Makefile (test-type-pairs): New variable.
21158 (test-type-pairs-f64xf128-yes): Likewise.
21159 (tests): Add test-narrow-macros.
21160 (libm-test-funcs-narrow): New variable.
21161 (libm-test-c-narrow): Likewise.
21162 (generated): Add $(libm-test-c-narrow).
21163 (libm-tests-base-narrow): New variable.
21164 (libm-tests-narrow): Likewise.
21165 (libm-tests): Add $(libm-tests-narrow).
21166 (libm-tests-for-type): Handle $(libm-tests-narrow).
21167 (libm-test-c-narrow-obj): New variable.
21168 ($(libm-test-c-narrow-obj)): New rule.
21169 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21170 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21171 $(o-iterator) to set dependencies and CFLAGS.
21172 * math/gen-auto-libm-tests.c: Document use for narrowing
21174 (output_for_one_input_case): Take argument NARROW.
21175 (generate_output): Likewise. Update call to
21176 output_for_one_input_case.
21177 (main): Take --narrow option. Update call to generate_output.
21178 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21179 (apply_lit): Update call to _apply_lit.
21180 (apply_arglit): New function.
21181 (parse_args): Handle "a" arguments.
21182 (parse_auto_input): Handle format names using ":".
21183 * math/README.libm-test: Document "a" parameter type.
21184 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21185 (ARG_TYPE_TRUE_MIN): Likewise.
21186 (ARG_TYPE_MAX): Likwise.
21187 (ARG_MIN_EXP): Likewise.
21188 (ARG_MAX_EXP): Likewise.
21189 (ARG_MANT_DIG): Likewise.
21190 (TEST_COND_arg_ibm128): Likewise.
21191 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21192 (TEST_COND_arg_fmt): New macro.
21193 (init_max_error): Update prototype.
21194 * math/libm-test-support.c (test_ibm128): New variable.
21195 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21196 instead of using [TEST_COND_ibm128] conditional.
21197 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21198 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21199 [TEST_NARROW] (TEST_MSG): New definition.
21200 (arg_plus_zero): New macro.
21201 (arg_minus_zero): Likewise.
21202 (arg_plus_infty): Likewise.
21203 (arg_minus_infty): Likewise.
21204 (arg_qnan_value_pl): Likewise.
21205 (arg_qnan_value): Likewise.
21206 (arg_snan_value_pl): Likewise.
21207 (arg_snan_value): Likewise.
21208 (arg_max_value): Likewise.
21209 (arg_min_value): Likewise.
21210 (arg_min_subnorm_value): Likewise.
21211 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21212 (RUN_TEST_LOOP_aa_f): New macro.
21213 (TEST_SUFF): New macro.
21214 (TEST_SUFF_STR): Likewise.
21215 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21216 (TEST_COND_any_ibm128): New macro.
21217 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21218 this_func. Update call to init_max_error.
21219 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21220 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21221 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21222 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21223 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21224 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21225 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21226 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21227 * math/test-math-vector.h (TEST_NARROW): Likewise.
21228 * math/test-arg-double.h: New file.
21229 * math/test-arg-float128.h: Likewise.
21230 * math/test-arg-float32x.h: Likewise.
21231 * math/test-arg-float64.h: Likewise.
21232 * math/test-arg-float64x.h: Likewise.
21233 * math/test-arg-ldouble.h: Likewise.
21234 * math/test-math-narrow.h: Likewise.
21235 * math/test-narrow-macros.c: Likewise.
21236 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21237 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21238 test-narrow-macros-ldbl-64.
21239 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21241 * math/bits/mathcalls-narrow.h: New file.
21242 * include/bits/mathcalls-narrow.h: Likewise.
21243 * math/math-narrow.h: Likewise.
21244 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21245 (__MATHCALL_NARROW_ARGS_2): Likewise.
21246 (__MATHCALL_NARROW_ARGS_3): Likewise.
21247 (__MATHCALL_NARROW_NORMAL): Likewise.
21248 (__MATHCALL_NARROW_REDIR): Likewise.
21249 (__MATHCALL_NARROW): Likewise.
21250 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21251 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21253 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21254 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21255 (libm-narrow-fns): New variable.
21256 (libm-narrow-types-basic): Likewise.
21257 (libm-narrow-types-ldouble-yes): Likewise.
21258 (libm-narrow-types-float128-yes): Likewise.
21259 (libm-narrow-types-float128-alias-yes): Likewise.
21260 (libm-narrow-types): Likewise.
21261 (libm-routines): Add narrowing functions.
21262 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21263 (libc_feholdexcept_setroundf128): New macro.
21264 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21265 * sysdeps/ieee754/float128/float128_private.h: Include
21266 <math/math-narrow.h>.
21267 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21268 Undefine and redefine.
21269 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21270 (libm_alias_float_ldouble): Undefine and redefine.
21271 (libm_alias_double_ldouble): Likewise.
21273 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21275 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21277 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21280 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21282 * manual/creature.texi: Convert references to gcc.info to gcc.
21283 * manual/stdio.texi: Likewise.
21284 * manual/string.texi: Likewise.
21286 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21289 * posix/bits/types.h (__int_least8_t): New typedef.
21290 (__uint_least8_t): Likewise.
21291 (__int_least16_t): Likewise.
21292 (__uint_least16_t): Likewise.
21293 (__int_least32_t): Likewise.
21294 (__uint_least32_t): Likewise.
21295 (__int_least64_t): Likewise.
21296 (__uint_least64_t): Likewise.
21297 * sysdeps/generic/stdint.h (int_least8_t): Define using
21299 (int_least16_t): Define using __int_least16_t.
21300 (int_least32_t): Define using __int_least32_t.
21301 (int_least64_t): Define using __int_least64_t.
21302 (uint_least8_t): Define using __uint_least8_t.
21303 (uint_least16_t): Define using __uint_least16_t.
21304 (uint_least32_t): Define using __uint_least32_t.
21305 (uint_least64_t): Define using __uint_least64_t.
21306 * wcsmbs/uchar.h: Include <bits/types.h>.
21307 (char16_t): Define using __uint_least16_t conditional only on
21309 (char32_t): Define using __uint_least32_t conditional only on
21311 * wcsmbs/test-char-types.c: New file.
21312 * wcsmbs/Makefile (tests): Add test-char-types.
21314 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21317 2018-02-07 Zack Weinberg <zackw@panix.com>
21319 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21320 Delete all contents except for definitions of _G_HAVE_MMAP and
21321 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21322 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21323 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21326 * libio/libio.h: Don't include bits/_G_config.h here.
21327 Include stddef.h with __need_wchar_t defined. Include
21328 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21329 Define _IO_iconv_t here, directly.
21330 Don't define _IO_HAVE_ST_BLKSIZE.
21331 * libio/libioP.h: Include _G_config.h here. Move include of
21332 shlib-compat.h up with rest of includes. Simplify conditionals
21333 controlling definition of _IO_JUMPS_OFFSET.
21335 * csu/init.c: Remove always-true #if around entire file.
21336 Don't include stdio.h. Set _IO_stdin_used to hardwired
21337 constant 0x20001, and update commentary.
21338 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21339 Replace all uses of _G_va_list with __gnuc_va_list.
21340 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21341 instead of #if _IO_HAVE_ST_BLKSIZE.
21342 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21343 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21346 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21347 multiple-include guard to match.
21348 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21350 Remove preprocessor conditionals that are always true and/or
21351 redundant to other preprocessor conditionals in the same nest.
21352 Include shlib-compat.h unconditionally.
21353 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21354 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21355 defined after including stdio.h.
21356 Use __BEGIN_DECLS/__END_DECLS.
21358 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21359 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21360 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21362 2018-02-07 Zack Weinberg <zackw@panix.com>
21364 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21365 New single-type headers split from _G_config.h.
21366 * libio/bits/types/cookie_io_functions_t.h
21367 * libio/bits/types/struct_FILE.h
21368 New single-type headers split from libio.h.
21370 * libio/Makefile: Install the above new headers. Don't install
21371 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21373 * libio/_G_config.h, libio/libio.h: Delete file.
21375 * libio/bits/libio.h: Remove improper-inclusion guard.
21376 Include stdio.h and don't repeat anything that it does.
21377 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21378 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21379 __io_read_fn as cookie_read_function_t,
21380 __io_write_fn as cookie_write_function_t,
21381 __io_seek_fn as cookie_seek_function_t,
21382 __io_close_fn as cookie_close_function_t,
21383 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21384 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21385 here, in the "compatibility defines" section. Remove an #if 0
21386 block. Use the "body" macros from bits/types/struct_FILE.h to
21387 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21388 and _IO_ferror_unlocked.
21389 Move prototypes of __uflow and __overflow...
21391 * libio/stdio.h: ...here. Don't include bits/libio.h.
21392 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21393 directly from stdarg.h. Include bits/types/__fpos_t.h,
21394 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21395 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21396 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21397 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21398 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21399 __ssize_t, not _IO_ssize_t. Unconditionally define
21400 BUFSIZ as 8192 and EOF as (-1).
21402 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21403 macros from bits/types/struct_FILE.h instead of _IO_* macros
21404 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21405 instead of _IO_ssize_t.
21406 * libio/bits/stdio2.h: Similarly.
21408 * libio/iolibio.h: Add multiple-include guard.
21409 Include bits/libio.h after stdio.h.
21410 * libio/libioP.h: Add multiple-include guard.
21411 Include stdio.h and bits/libio.h before iolibio.h.
21413 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21414 * include/bits/types/cookie_io_functions_t.h
21415 * include/bits/types/struct_FILE.h: New wrappers.
21417 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21418 Get definitions of _G_fpos_t and _G_fpos64_t from
21419 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21420 respectively. Remove improper-inclusion guards.
21422 * conform/data/stdio.h-data: Update expectations of va_list.
21423 * scripts/check-installed-headers.sh: Remove special case for
21424 libio.h and _G_config.h.
21426 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21430 * include/sys/sysmacros.h [!_ISOMAC]
21431 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21432 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21433 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21434 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21436 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21437 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21439 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21440 Undefine and redefine to add use __gnu_dev_ prefix.
21441 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21443 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21444 and define as hidden inline function.
21445 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21447 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21449 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21450 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21451 (gnu_dev_minor): Likewise.
21452 (gnu_dev_makedev): Likewise.
21453 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21455 * posix/wordexp.c (exec_comm_child): Likewise.
21456 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21457 instead of minor and __gnu_dev_major instead of major.
21458 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21459 __gnu_dev_major instead of major.
21460 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21461 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21462 instead of gnu_dev_minor.
21463 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21464 (SLAVE_P): Likewise.
21465 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21466 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21470 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21472 * locale/weightwc.h (findidx): Likewise.
21474 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21476 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21477 (slowlog_inexact): Likewise
21478 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21479 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21481 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21484 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21485 missing second underscore to parameter name.
21487 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21493 * bits/byteswap.h: Update file comment. Do not include
21494 <bits/byteswap-16.h>.
21495 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21497 (__bswap_16): Define as inline function.
21498 (__bswap_constant_32): Reformat definition.
21499 (__bswap_32): Always define as inline function, not macro, using
21500 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21501 otherwise __bswap_constant_32.
21502 (__bswap_constant_64): Reformat definition. Do not use
21503 __extension__ here.
21504 (__bswap_64): Always define as inline function, not macro. Use
21505 __extension__ on function definition. Use __builtin_bswap64 if
21506 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21507 * string/test-endian-file-scope.c: New file.
21508 * string/test-endian-sign-conversion.c: Likewise.
21509 * string/Makefile (headers): Remove bits/byteswap-16.h.
21510 (tests): Add test-endian-file-scope and
21511 test-endian-sign-conversion.
21512 (CFLAGS-test-endian-sign-conversion.c): New variable.
21513 * bits/byteswap-16.h: Remove file.
21514 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21515 * sysdeps/ia64/bits/byteswap.h: Likewise.
21516 * sysdeps/m68k/bits/byteswap.h: Likewise.
21517 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21518 * sysdeps/s390/bits/byteswap.h: Likewise.
21519 * sysdeps/tile/bits/byteswap.h: Likewise.
21520 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21521 * sysdeps/x86/bits/byteswap.h: Likewise.
21524 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21525 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21526 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21527 199901L] (__restrict): Define to restrict.
21530 * string/testcopy.c: Include <support/support.h>. Do not include
21531 <malloc.h>. Use <support/test-driver.c>.
21532 (main): Rename to do_test. Make static. Use xmalloc instead of
21536 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21537 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21538 (SSIZE_MAX): Define to INT_MAX.
21539 * posix/test-ssize-max.c: New file.
21540 * posix/Makefile (tests): Add test-ssize-max.
21543 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21544 <support/support.h>. Do not include <malloc.h>.
21545 (query_auxv): Use xmalloc instead of malloc.
21548 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21549 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21552 2018-02-06 Florian Weimer <fweimer@redhat.com>
21555 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21556 Use scratch_buffer instead of extend_alloca.
21558 2018-02-06 Zack Weinberg <zackw@panix.com>
21560 * libio/stdio.h: Don't define getc or putc as macros.
21561 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21562 not _IO_getc and _IO_putc.
21564 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21565 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21567 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21569 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21570 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21572 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21575 * elf/elf.h (NT_PRFPREG): New macro.
21576 (NT_S390_VXRS_LOW): Likewise.
21577 (NT_S390_VXRS_HIGH): Likewise.
21578 (NT_S390_GS_CB): Likewise.
21579 (NT_S390_GS_BC): Likewise.
21580 (NT_S390_RI_CB): Likewise.
21582 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21583 (MAP_SYNC): New macro.
21584 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21586 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21587 (MAP_SYNC): Likewise.
21588 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21589 (MAP_SYNC): Likewise.
21590 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21591 (MAP_SYNC): Likewise.
21592 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21593 (MAP_SYNC): Likewise.
21594 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21595 (MAP_SYNC): Likewise.
21596 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21597 (MAP_SYNC): Likewise.
21598 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21600 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21603 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21604 (MAP_SHARED_VALIDATE): New macro.
21605 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21606 (MAP_SHARED_VALIDATE): Likewise.
21608 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21610 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21611 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21612 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21614 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21616 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21617 (DT_NUM): Updated to 35.
21619 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21622 __builtin_expect with __glibc_likely and __glibc_unlikely.
21623 (elf_machine_rela): Likewise.
21624 (elf_machine_lazy_rel): Likewise.
21626 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21629 __builtin_expect with __glibc_likely and __glibc_unlikely.
21630 (elf_machine_lazy_rel): Likewise.
21632 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21635 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21637 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21639 2018-02-05 Andreas Schwab <schwab@suse.de>
21642 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21645 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21647 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21648 not check against PTHREAD_STACK_MIN.
21650 2018-02-02 Sean McKean <smckean83@gmail.com>
21653 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21655 2018-02-02 Florian Weimer <fweimer@redhat.com>
21658 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21659 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21660 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21661 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21662 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21663 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21664 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21665 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21666 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21667 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21668 * misc/tst-preadvwritev2.c (do_test): Call it.
21669 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21671 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21673 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21675 * benchtests/bench-memcmp.c: Print json instead of plain text.
21677 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21680 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21682 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21684 (s390_sthyi): New syscall.
21686 * sysdeps/generic/ldbl-classify-compat.h: New file.
21687 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21688 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21689 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21690 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21691 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21692 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21693 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21694 <ldbl-classify-compat.h>.
21695 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21696 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21697 <ldbl-classify-compat.h>.
21698 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21699 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21700 <ldbl-classify-compat.h>.
21701 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21702 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21703 <ldbl-classify-compat.h>.
21704 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21705 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21706 <ldbl-classify-compat.h>.
21707 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21709 <ldbl-classify-compat.h>.
21710 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21711 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21712 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21713 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21714 * sysdeps/microblaze/math_private.h: Likewise.
21715 * sysdeps/nios2/math_private.h: Likewise.
21716 * sysdeps/sh/math_private.h: Likewise.
21718 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21719 * sysdeps/m68k/coldfire/math_private.h: ... here.
21720 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21721 * sysdeps/tile/math_private.h: Likewise.
21722 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21724 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21727 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21729 (libc_fetestexcept): Likewise.
21730 (libc_feupdateenv_test): Likewise.
21731 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21732 (libc_fetestexcept): Likewise.
21733 (libc_feupdateenv_test): Likewise.
21734 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21735 (libc_fetestexcept): Likewise.
21736 (libc_feupdateenv_test): Likewise.
21737 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21738 (libc_fetestexcept): Likewise.
21739 (libc_feupdateenv_test): Likewise.
21741 * sysdeps/generic/math_private.h
21742 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21743 New inline function.
21744 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21747 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21748 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21749 * sysdeps/generic/math_private.h
21750 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21752 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21754 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21756 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21758 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21760 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21762 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21763 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21764 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21765 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21766 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21767 (__fegetenv): Likewise.
21768 (fesetenv): Likewise.
21769 (__fesetenv): Likewise.
21770 (feupdateenv): Likewise.
21771 (__feupdateenv): Likewise.
21772 (fegetround): Likewise.
21773 (__fegetround): Likewise.
21774 (fesetround): Likewise.
21775 (__fesetround): Likewise.
21777 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21778 (feraiseexcept): New macro.
21779 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21780 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21782 (__feraiseexcept): Likewise.
21783 (feclearexcept): Likewise.
21784 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21785 (__feraiseexcept): Likewise.
21786 (feclearexcept): Likewise.
21787 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21788 (__feraiseexcept): Likewise.
21789 (feclearexcept): Likewise.
21790 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21791 (__feraiseexcept): Likewise.
21792 (feclearexcept): Likewise.
21793 (fetestexcept): Likewise.
21795 * sysdeps/m68k/coldfire/math-tests.h: New file.
21797 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21798 * sysdeps/m68k/bits/fenv.h: ... here.
21799 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21801 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21803 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21805 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21807 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21809 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21811 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21812 (__FE_UNDEFINED): New enum constant.
21813 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21815 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21817 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21819 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21820 to match generic bits/fenv.h.
21821 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21824 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21826 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21827 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21828 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21829 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21831 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21832 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21833 Joseph Myers <joseph@codesourcery.com>
21836 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21837 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21838 computation using c.
21839 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21840 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21841 computation using c.
21843 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21845 * version.h (RELEASE): Set to "development".
21846 (VERSION): Set to "2.27.9000".
21847 * NEWS (2.28): New section.
21849 * version.h (RELEASE): Set to "stable".
21850 (VERSION): Set to "2.27".
21851 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21853 * NEWS: Add the list of bugs fixed in 2.27.
21855 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21857 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21858 against PTHREAD_STACK_MIN.
21860 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21862 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21864 (Rafał Lużyński, Andreas Schwab): Update.
21866 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
21869 * NEWS: List the languages which actually use the alternative
21870 months feature in this release. Also explain that "alt_mon" and
21871 "ab_alt_mon" are optional.
21873 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21876 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21878 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21880 * manual/install.texi (Tools for Compilation): Update the newest
21881 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21882 * INSTALL: Regenerated.
21884 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21886 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21887 instead of __builtin_expect.
21889 2018-01-30 Florian Weimer <fweimer@redhat.com>
21891 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21893 * nss/tst-nss-getpwent.c (do_test): Likewise.
21895 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
21898 * localedata/locales/hr_HR (mon): Rename to...
21900 (mon): Import from CLDR (genitive case).
21901 (d_t_fmt): Update the comment.
21903 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21905 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21906 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21907 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21909 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21911 * mach/Versions: Fix version when __mach_host_self_ was added.
21912 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21913 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21914 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21915 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21916 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21917 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21918 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21919 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21920 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21921 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21922 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21923 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21924 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21925 || to respect codestyle.
21926 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21927 (do_test_bz20181): Rename accordingly.
21928 * malloc/malloc.c: Include <assert.h>.
21929 (assert): Do not define.
21930 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21931 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21932 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21933 * sysdeps/mach/hurd/hp-timing.h: New file.
21934 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21936 2018-01-29 Darius Rad <darius@bluespec.com>
21938 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21940 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21942 * sysdeps/init_array/crti.S (.section .init_array): Add
21943 PREINIT_FUNCTION when defined.
21944 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21945 * config.h.in: Regenerate.
21946 * manual/platform.texi: Add RISC-V documenation for
21947 __riscv_flush_icache.
21948 * sysdeps/riscv/__longjmp.S: New file.
21949 * sysdeps/riscv/backtrace.c: Likewise.
21950 * sysdeps/riscv/bits/endian.h: Likewise.
21951 * sysdeps/riscv/bits/setjmp.h: Likewise.
21952 * sysdeps/riscv/bits/wordsize.h: Likewise.
21953 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21954 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21955 * sysdeps/riscv/dl-trampoline.S: Likewise.
21956 * sysdeps/riscv/gccframe.h: Likewise.
21957 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21958 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21959 * sysdeps/riscv/machine-gmon.h: Likewise.
21960 * sysdeps/riscv/memusage.h: Likewise.
21961 * sysdeps/riscv/setjmp.S: Likewise.
21962 * sysdeps/riscv/sys/asm.h: Likewise.
21963 * sysdeps/riscv/tls-macros.h: Likewise.
21964 * sysdeps/riscv/dl-tls.h: New file.
21965 * sysdeps/riscv/libc-tls.c: Likewise.
21966 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21967 * sysdeps/riscv/nptl/tls.h: Likewise.
21968 * sysdeps/riscv/stackinfo.h: Likewise.
21969 * sysdeps/riscv/bits/fenv.h: New file.
21970 * sysdeps/riscv/e_sqrtl.c: Likewise.
21971 * sysdeps/riscv/fpu_control.h: Likewise.
21972 * sysdeps/riscv/math-tests.h: Likewise.
21973 * sysdeps/riscv/nofpu/Implies: Likewise.
21974 * sysdeps/riscv/sfp-machine.h: Likewise.
21975 * sysdeps/riscv/tininess.h: Likewise.
21976 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21977 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21978 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
21979 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
21980 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
21981 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
21982 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
21983 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
21984 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
21985 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
21986 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
21987 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
21988 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
21989 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
21990 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
21991 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
21992 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
21993 * sysdeps/riscv/rvd/s_finite.c: Likewise.
21994 * sysdeps/riscv/rvd/s_fma.c: Likewise.
21995 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
21996 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
21997 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
21998 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
21999 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22000 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22001 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22002 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22003 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22004 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22005 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22006 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22007 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22008 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22009 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22010 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22011 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22012 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22013 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22014 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22015 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22016 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22017 * sysdeps/riscv/rvf/math_private.h: Likewise.
22018 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22019 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22020 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22021 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22022 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22023 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22024 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22025 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22026 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22027 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22028 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22029 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22030 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22031 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22032 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22033 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22034 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22035 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22036 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22037 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22038 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22039 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22040 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22041 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22042 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22043 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22044 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22045 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22046 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22047 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22048 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22049 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22050 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22051 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22052 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22053 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22054 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22055 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22056 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22057 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22058 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22059 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22060 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22061 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22062 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22063 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22064 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22065 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22066 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22067 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22068 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22069 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22070 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22071 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22072 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22073 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22074 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22075 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22076 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22077 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22078 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22079 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22080 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22081 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22082 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22083 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22084 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22085 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22086 * sysdeps/riscv/Implies: New file.
22087 * sysdeps/riscv/Makefile: Likewise.
22088 * sysdeps/riscv/configure: Likewise.
22089 * sysdeps/riscv/configure.ac: Likewise.
22090 * sysdeps/riscv/nptl/Makefile: Likewise.
22091 * sysdeps/riscv/preconfigure: Likewise.
22092 * sysdeps/riscv/rv64/Implies-after: Likewise.
22093 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22094 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22095 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22096 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22097 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22098 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22099 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22100 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22101 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22102 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22103 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22104 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22105 (Config): Likewise.
22107 2018-01-29 Florian Weimer <fweimer@redhat.com>
22110 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22111 libnsl_hidden_proto.
22112 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22113 libnsl_hidden_proto.
22114 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22115 * nis/Makefile (libnsl-routines): Add nss-default only for
22116 build-obsolete-nsl.
22117 * nis/nis_defaults.c (__nis_default_ttl): Add
22118 libnsl_hidden_nolink_def.
22119 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22121 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22122 * nis/ypclnt.c (yp_maplist): Likewise.
22124 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22126 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22127 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22129 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22131 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22132 clean -dxfq for git updates when replacing sources.
22134 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22135 --disable-libcilkrts unconditionally, not just for the final GCC
22138 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22141 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22144 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22147 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22150 * localedata/locales/be_BY (mon): Rename to...
22151 (alt_mon): This, then synchronize with CLDR (nominative case).
22152 (abmon): Rename to...
22153 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22154 (mon): Import from CLDR (genitive case).
22156 * localedata/locales/be_BY@latin (mon): Rename to...
22158 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22160 * localedata/locales/be_BY@latin (lang_name): Reworded to
22161 "biełaruskaja mova".
22163 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22166 * localedata/locales/el_CY (mon): Renamed to...
22168 (mon): Import from CLDR (genitive case).
22169 * localedata/locales/el_GR: Likewise.
22171 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22174 * localedata/locales/ru_RU (mon): Rename to...
22176 (abmon): Rename to...
22177 (ab_alt_mon): This.
22178 (mon): Import from CLDR (genitive case).
22179 (abmon): Copy from the old content except the 5th month which is
22180 now in the genitive case, even when abbreviated.
22181 * localedata/locales/ru_UA: Likewise.
22182 * time/tst-strptime.c (day_tests): Add an actual example of
22183 a difference between %b and %Ob in Russian.
22185 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22187 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22188 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22190 * resolv/res-close.c: Include <stdlib.h>.
22191 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22192 <sys/wait.h>, <time.h>, <sys/uio.h>.
22193 (NOT_CANCEL_H): Add inclusion guard.
22194 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22195 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22196 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22198 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22199 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22200 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22202 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22203 timer_ptr2id to cast struct timer_node * to void *.
22204 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22205 --disable-libcilkrts to gcc configure.
22206 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22207 and make them the default for now.
22208 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22209 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22210 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22211 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22212 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22214 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22215 __task_terminate would ever return successfully.
22216 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22218 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22219 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22220 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22221 critical section to make code simpler and avoid warning.
22222 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22223 critical section to make code simpler and avoid warning.
22224 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22225 const char * instead of char *.
22226 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22227 __hurd_file_name_split, hurd_file_name_split,
22228 __hurd_directory_name_split, hurd_directory_name_split,
22229 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22230 hurd_file_name_path_lookup): Make lookup function parameter take a
22231 const char *name instead of char *name.
22232 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22233 __hurd_directory_name_split): Likewise.
22234 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22235 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22236 * sysdeps/mach/hurd/check_native.c: New file.
22237 * sysdeps/mach/hurd/check_pf.c: New file.
22238 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22239 (__freeifaddrs): Define macro to freeifaddrs.
22240 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22241 * sysdeps/mach/libmachuser.abilist: New file.
22242 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22243 (do_test_bz20181): Rename accordingly.
22244 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22245 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22247 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22248 version only if __USE_EXTERN_INLINES is defined.
22249 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22250 __hurd_sockfail): Likewise.
22251 (_hurd_fd_get): Always declare functions, and provide inline versions
22252 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22253 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22254 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22255 _hurd_port_set): Always declare functions, and provide inline versions
22256 only if __USE_EXTERN_INLINES and _LIBC are defined and
22258 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22259 _hurd_critical_section_unlock): Likewise.
22260 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22261 * __hurd_threadvar_location): Likewise.
22262 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22263 _hurd_userlink_clear): Likewise.
22264 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22265 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22266 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22267 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22268 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22269 __spin_lock_locked): Likewise.
22270 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22271 __spin_lock_locked): Likewise.
22272 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22273 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22274 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22275 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22276 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22277 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22278 _POSIX_NO_TRUNC): Define to 0.
22279 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22280 check size against PTHREAD_STACK_MIN.
22281 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22282 IS_IN(libpthread)]: Include <sigsetops.h>.
22283 * mach/Makefile (user-interfaces): Add mach/gnumach.
22284 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22285 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22286 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22287 instead of invalid -1.
22288 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22289 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22290 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22293 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22295 * hurd/fcntl-internal.h: New file.
22297 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22299 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22301 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22303 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22306 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22307 Build only shared objects.
22309 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22311 * README: Update for hppa.
22313 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22315 * sysdeps/sparc/fpu/libm-test-ulps: Update
22316 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22318 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22322 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22325 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22326 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22327 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22328 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22331 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22334 * bits/types/__cancel_jmp_buf_tag.h: New file.
22335 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22336 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22337 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22338 * nptl/Makefile (headers): Add
22339 bits/types/__cancel_jmp_buf_tag.h.
22340 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22341 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22342 * sysdeps/nptl/pthread.h: Include
22343 <bits/types/__cancel_jmp_buf_tag.h>.
22344 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22346 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22348 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22351 * localedata/locales/uk_UA (mon): Renamed to...
22353 (alt_digits): "0" removed and then renamed to...
22355 (date_fmt): Definition changed not to use the alternative
22358 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22360 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22361 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22362 * elf/elf.h (EF_RISCV_RVC): New define.
22363 (EF_RISCV_FLOAT_ABI): Likewise.
22364 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22365 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22366 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22367 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22368 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22370 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22372 2018-01-25 Andreas Schwab <schwab@suse.de>
22374 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22376 * sysdeps/gnu/configure: Regenerate.
22377 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22378 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22380 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22381 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22382 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22383 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22384 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22386 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22388 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22389 URL, and run autoconf, make it the default for now.
22391 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22393 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22394 soft-float ColdFire configuration.
22396 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22397 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22398 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22400 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22403 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22405 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22407 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22410 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22411 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22412 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22415 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22418 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22419 Rename to __reserved and add comment.
22420 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22421 Rename to __reserved.
22423 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22425 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22426 i686-gnu configurations.
22427 (Context.run_builds): Include mig, gnumach and hurd in components
22429 (Context.checkout): Add mig, gnumach and hurd to components.
22430 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22432 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22433 (Config.build): Install gnumach headers, build mig and install
22434 hurd headers for 'gnu' OS.
22435 (Config.install_gnumach_headers): New function.
22436 (Config.install_hurd_headers): Likewise.
22437 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22438 when building for 'gnu' OS.
22440 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22442 * manual/tunables.texi (Hardware Capability Tunables): Fix
22445 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22447 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22448 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22449 (ALTMON_11, ALTMON_12): Improve documentation.
22450 * manual/time.texi (strftime): Likewise.
22452 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22455 * localedata/locales/pl_PL: Alternative month names added,
22456 primary month names are genitive now.
22457 * time/tst-strptime.c (day_tests): Actually use a genitive case
22458 of a month name in Polish language.
22460 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22463 * manual/locale.texi: Document ALTMON_1..12 constants for
22464 nl_langinfo. Specify when to use ALTMON instead of MON.
22465 * manual/time.texi (strftime, strptime): Document GNU extension
22466 permitting O modifier with %B and %b. Specify when to use
22469 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22472 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22473 names, define them as the same as abbreviated month names explicitly.
22474 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22475 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22476 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22477 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22478 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22479 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22480 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22481 _NL_WABALTMON_12): New enum constants.
22482 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22483 wab_alt_mon, and ab_alt_mon_defined members.
22484 (time_output): Output ab_alt_mon and wab_alt_mon members.
22485 (time_read): Read them, initialize them as copies of abmon and wabmon
22486 respectively if they are missing, initialize ab_alt_mon_defined.
22487 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22488 * locale/programs/locfile-kw.h: Regenerate.
22489 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22490 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22492 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22493 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22494 (__strftime_internal): Handle %Ob and %Oh formats.
22495 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22496 (__strptime_internal): Handle %Ob and %Oh formats.
22497 * time/tst-strptime.c (day_tests): Add more tests to parse different
22498 forms of month names including the new %Ob format specifier.
22500 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22503 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22504 define them as the same as primary full month names explicitly.
22505 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22506 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22507 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22508 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22509 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22510 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22511 _NL_WALTMON_12): New enum constants.
22512 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22513 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22515 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22516 walt_mon, and alt_mon_defined members.
22517 (time_output): Output alt_mon and walt_mon members.
22518 (time_read): Read them, initialize them as copies of mon and wmon
22519 respectively if they are missing, initialize alt_mon_defined.
22520 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22521 * locale/programs/locfile-kw.h: Regenerate.
22522 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22523 * localedata/tst-langinfo.c (map): Add tests for the new constants
22524 ALTMON_1 .. ALTMON_12.
22525 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22527 * time/strftime_l.c (f_altmonth): New macro.
22528 (__strftime_internal): Handle %OB format.
22529 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22530 (__strptime_internal): Handle %OB format.
22531 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22532 of month names including the new %OB format specifier.
22534 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22537 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22538 from ABORT_TRANSACTION.
22539 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22540 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22541 ABORT_TRANSACTION_IMPL): Likewise.
22542 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22543 Linux code, but remove the code that aborts transactions.
22545 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22547 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22549 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22551 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22552 in date: "2004-14-09" should be "2004-09-14".
22553 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22554 "2003-15-09" should be "2003-09-15".
22556 2018-01-18 Arjun Shankar <arjun@redhat.com>
22562 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22564 (_int_memalign): check for integer overflow before calling
22566 * malloc/tst-malloc-too-large.c: New test.
22567 * malloc/Makefile: Add tst-malloc-too-large.
22569 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22571 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22572 in date: "2017-24-07" should be "2017-07-24".
22573 * localedata/locales/mai_IN: Likewise.
22574 * localedata/locales/mai_NP: Likewise.
22576 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22578 * po/ru.po: Update translations.
22580 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22583 * sysdeps/hppa/backtrace.c: New file.
22585 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22588 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22589 align La_x86_64_retval to VEC_SIZE.
22591 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22593 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22594 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22596 2018-01-16 Florian Weimer <fweimer@redhat.com>
22598 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22599 Move tst-thread-exit-clobber ...
22600 [$(CXX)] (tests-unsupported): ... to here.
22602 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22604 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22605 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22606 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22607 (_dl_aarch64_cap_flags): Update.
22608 (_DL_HWCAP_COUNT): Update.
22610 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22612 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22613 (_DL_HWCAP_LAST): Remove.
22614 (_DL_HWCAP_COUNT): Move to ...
22615 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22616 (_DL_HWCAP_COUNT): ... here.
22618 2018-01-16 Florian Weimer <fweimer@redhat.com>
22620 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22621 mode with GNU extensions.
22623 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22625 * elf/elf.h (NT_ARM_SVE): Define.
22627 2018-01-15 Florian Weimer <fweimer@redhat.com>
22630 * nptl/tst-minstack-throw.cc: New file.
22631 * nptl/Makefile (tests): Add tst-minstack-throw.
22632 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22633 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22635 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22637 * scripts/build-many-glibcs.py (Context.checkout): Default
22638 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22641 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22644 * elf/elf.h (DF_1_STUB): Define.
22645 (DF_1_PIE): Define.
22647 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22650 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22651 Do not add 0.5 to integer or out-of-range arguments.
22653 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22655 * po/bg.po: Update translations.
22656 * po/cs.po: Likewise.
22657 * po/de.po: Likewise.
22658 * po/ko.po: Likewise.
22659 * po/pl.po: Likewise.
22660 * po/sv.po: Likewise.
22661 * po/uk.po: Likewise.
22662 * po/vi.po: Likewise.
22664 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22666 * aarch64/start.S (_start): Use __wrap_main.
22667 (__wrap_main): New local symbol.
22669 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22673 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22674 generic_getcwd if the path returned by getcwd syscall is not absolute.
22675 * io/tst-getcwd-abspath.c: New test.
22676 * io/Makefile (tests): Add tst-getcwd-abspath.
22678 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22680 * malloc/malloc.c (malloc_consolidate): Add size check.
22682 2018-01-12 Florian Weimer <fweimer@redhat.com>
22684 * support/write_message.c (write_message): Preserve errno.
22685 * support/check.c (print_failure): Likewise.
22686 * support/support_test_verify_impl.c (support_test_verify_impl):
22688 * support/support_test_compare_failure.c
22689 (support_test_compare_failure): Likewise.
22691 2018-01-12 Florian Weimer <fweimer@redhat.com>
22694 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22695 Prevent installation of libnsl.so.
22696 (libnsl-inhibit-o): Do not build (or install) static libraries.
22698 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22701 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22702 before the day number which may produce a double space.
22703 (date_fmt): Likewise.
22705 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22707 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22708 instead of fegetenv.
22710 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22713 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22714 comment to say exceptions are discarded.
22715 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22717 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22720 2018-01-11 Florian Weimer <fweimer@redhat.com>
22722 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22725 2018-01-11 Florian Weimer <fweimer@redhat.com>
22728 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22729 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22731 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22734 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22735 negative arguments in test for NaN or infinity argument.
22737 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22739 * po/libc.pot: Regenerate.
22741 2018-01-10 Florian Weimer <fweimer@redhat.com>
22744 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22745 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22747 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22749 * hurd/hurd/fd.h: Include <fcntl.h>
22750 (__hurd_at_flags): New function.
22751 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22752 with call to __hurd_at_flags.
22753 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22754 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22756 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22757 (__access_noerrno): Use __faccessat_common instead of access_common.
22758 (__access): Likewise.
22759 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22760 with a call to __faccessat.
22761 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22762 (__faccessat_common): ... this. Move implementation of __access into it when
22763 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22764 reauthenticate_cwdir_at helper to implement AT mechanism.
22765 (__faccessat_noerrno): New function, just calls __faccessat_common.
22766 (__faccessat): New function, just calls __faccessat_common.
22767 (faccessat): Define weak alias.
22769 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22772 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22773 (CFLAGS-s_fmaxmagl.c): New variable.
22774 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22778 long int for arguments of possibly overflowing addition or
22780 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22782 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22785 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22786 (CFLAGS-e_remainderl.c): New variable.
22789 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22791 (CFLAGS-s_cacoshl.c): Likewise.
22792 (CFLAGS-s_casinhl.c): Likewise.
22793 (CFLAGS-s_catanl.c): Likewise.
22794 (CFLAGS-s_catanhl.c): Likewise.
22795 (CFLAGS-s_cexpl.c): Likewise.
22796 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22797 (CFLAGS-s_csinhl.c): Likewise.
22798 (CFLAGS-s_clogl.c): Likewise.
22799 (CFLAGS-s_clog10l.c): Likewise.
22800 (CFLAGS-s_csinl.c): Likewise.
22801 (CFLAGS-s_csqrtl.c): Likewise.
22803 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22804 2017-01-09 Svante Signell <svante.signell@gmail.com>
22806 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22807 (_hurd_exec_paths): New function.
22808 * hurd/hurd.h (_hurd_exec): Deprecate function.
22809 (_hurd_exec_paths): Declare function.
22810 * hurd/Versions: Export _hurd_exec_paths.
22811 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22812 (__execve): Use __getcwd to build absolute path, and use
22813 _hurd_exec_paths instead of _hurd_exec.
22814 * sysdeps/mach/hurd/spawni.c: Likewise.
22815 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22818 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22820 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22821 test instead of failing in case of ENOENT returned by posix_openpt.
22823 2018-01-08 Florian Weimer <fweimer@redhat.com>
22825 resolv: Support binary labels in test framework.
22826 * support/resolv_test.c (struct to_be_freed): Remove.
22827 (struct compressed_name): New.
22828 (allocate_compressed_name, ascii_tolower)
22829 (compare_compressed_name): New functions.
22830 (struct resolv_response_builder): Update type of
22831 compression_offsets for use with tsearch. Rempve to_be_freed.
22832 (response_push_pointer_to_free): Remove function.
22833 (resolv_response_add_name): Rewrite using struct compressed_name
22834 and tsearch instead of hsearch_r.
22835 (response_builder_allocate): Remove initialization of
22836 compression_offsets.
22837 (response_builder_free): Update for removal of to_be_freed. Use
22838 tdestroy instead of hdestroy_r.
22839 * resolv/Makefile (tests): Add tst-resolv-binary.
22840 (tst-resolv-binary): Link with -lresolv -lpthread.
22842 2018-01-08 Florian Weimer <fweimer@redhat.com>
22844 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22845 time. Pass positive flag instead of negative flag to
22846 support_test_compare_failure.
22847 (support_test_compare_failure): Change negative parameter to
22849 * support/support_test_compare_failure.c (report)
22850 (support_test_compare_failure): Likewise.
22851 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22852 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22854 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22857 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22858 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22859 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22861 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22863 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22865 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22866 Add s_sincosf-sse2 and s_sincosf-fma.
22867 (CFLAGS-s_sincosf-fma.c): New.
22868 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22869 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22870 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22871 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22872 __sincosf is defined.
22874 2018-01-08 Florian Weimer <fweimer@redhat.com>
22876 * nptl/tst-thread-exit-clobber.cc: New file.
22877 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22879 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22880 (tests): Add tst-thread-exit-clobber.
22881 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22883 2018-01-08 Florian Weimer <fweimer@redhat.com>
22885 * support/check.h (support_static_assert): Define.
22886 (TEST_COMPARE): Use it.
22888 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22890 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22891 [!__RLIM_T_MATCHES_RLIM64_T]
22892 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22893 __getrlimit64. Add libc_hidden_weak.
22895 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22897 * elf/elf.h (R_RISCV_NONE): New define.
22898 (R_RISCV_32): Likewise.
22899 (R_RISCV_64): Likewise.
22900 (R_RISCV_RELATIVE): Likewise.
22901 (R_RISCV_COPY): Likewise.
22902 (R_RISCV_JUMP_SLOT): Likewise.
22903 (R_RISCV_TLS_DTPMOD32): Likewise.
22904 (R_RISCV_TLS_DTPMOD64): Likewise.
22905 (R_RISCV_TLS_DTPREL32): Likewise.
22906 (R_RISCV_TLS_DTPREL64): Likewise.
22907 (R_RISCV_TLS_TPREL32): Likewise.
22908 (R_RISCV_TLS_TPREL64): Likewise.
22909 * Makerules (make-link-multidir): Make directories before linking into
22911 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22913 (VDSO_HASH_LINUX_4_15): Likewise.
22914 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22915 in subdirectories of lib.
22916 * nptl/Makefile (/librt.so): Always depend on
22917 "$(shared-thread-library)".
22919 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22921 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22922 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22923 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22925 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22926 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22928 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22929 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22930 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22931 * sysdeps/gnu/glob-lstat-compat.c: New file.
22932 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22933 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22935 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22937 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22938 Reserve 16 chars to reloc_addr before calling _itoa_word.
22940 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22943 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22944 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22946 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22947 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22949 * resource/tst-getrlimit.c: Add copyright header.
22951 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22952 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22954 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22955 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22956 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22957 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22959 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22960 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22961 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22962 RLIM64_INFINITY): Fix values to match the kernel ones.
22963 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22964 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22965 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22966 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22967 getrlimit64@@GLIBC_2_27.
22968 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22970 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22971 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22972 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22973 setrlimit, getrlimit64 and setrlimit64.
22975 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22978 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
22979 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
22981 2018-01-04 Joseph Myers <joseph@codesourcery.com>
22983 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
22984 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
22985 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
22987 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22991 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
22992 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
22996 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
22997 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
22998 * sysdeps/alpha/fpu/s_floor.c: Likewise.
22999 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23001 2018-01-04 Florian Weimer <fweimer@redhat.com>
23004 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23005 Align the stack before calling exit.
23006 * stdlib/tst-makecontext-align.c: New file.
23007 * stdlib/Makefile (tests): Add tst-makecontext-align.
23009 2018-01-04 Florian Weimer <fweimer@redhat.com>
23011 Add support for calling dlvsym from libc.so.
23012 * include/dlfcn.h (__libc_dlvsym): Declare.
23013 * elf/Makefile (tests-static-internal): Add
23014 tst-libc_dlvsym-static.
23015 (tests-internal): Add tst-libc_dlvsym.
23016 (modules-names): Add tst-libc_dlvsym-dso.
23017 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23018 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23019 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23020 object tst-libc_dlvsym-dso.so needs to be built before running
23022 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23023 * elf/Versions: Export __libc_dlvsym.
23024 * elf/dl-libc.c (struct do_dlvsym_args): New.
23025 (do_dlvsym, __libc_dlvsym): New functions.
23026 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23027 (_dl_open_hook2): New variable.
23028 (__libc_register_dl_open_hook): Set it.
23029 * elf/tst-libc_dlvsym-dso.c: New file.
23030 * elf/tst-libc_dlvsym-static.c: Likewise.
23031 * elf/tst-libc_dlvsym.c: Likewise.
23032 * elf/tst-libc_dlvsym.h: Likewise.
23034 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23036 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23037 include <sys/mount.h>.
23039 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23041 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23042 Add __NO_MATH_ERRNO__ check.
23044 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23046 * sysdeps/mips/mips32/libm-test-ulps: Update.
23047 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23049 2018-01-02 Florian Weimer <fweimer@redhat.com>
23051 * misc/tst-pselect.c: Add copyright header.
23053 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23055 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23057 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23059 (settrlimit): Rename into setrlimit.
23060 (__sttrlimit): Rename into __setrlimit.
23062 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23063 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23064 never defined in that case.
23066 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23068 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23070 * sysdeps/arm/libm-test-ulps: Update.
23072 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23073 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23075 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23077 * NEWS: Add cosf and sincosf to list of optimized functions.
23079 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23082 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23083 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23084 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23085 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23087 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23090 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23092 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23093 making a copy of it.
23095 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23097 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23098 trailing whitespace removed.
23099 * scripts/config.guess: Update to version 2018-01-01.
23100 * scripts/config.sub: Update to version 2018-01-01.
23101 * scripts/move-if-change: Update from gnulib.
23103 * NEWS: Update copyright dates.
23104 * catgets/gencat.c (print_version): Likewise.
23105 * csu/version.c (banner): Likewise.
23106 * debug/catchsegv.sh: Likewise.
23107 * debug/pcprofiledump.c (print_version): Likewise.
23108 * debug/xtrace.sh (do_version): Likewise.
23109 * elf/ldconfig.c (print_version): Likewise.
23110 * elf/ldd.bash.in: Likewise.
23111 * elf/pldd.c (print_version): Likewise.
23112 * elf/sotruss.sh: Likewise.
23113 * elf/sprof.c (print_version): Likewise.
23114 * iconv/iconv_prog.c (print_version): Likewise.
23115 * iconv/iconvconfig.c (print_version): Likewise.
23116 * locale/programs/locale.c (print_version): Likewise.
23117 * locale/programs/localedef.c (print_version): Likewise.
23118 * login/programs/pt_chown.c (print_version): Likewise.
23119 * malloc/memusage.sh (do_version): Likewise.
23120 * malloc/memusagestat.c (print_version): Likewise.
23121 * malloc/mtrace.pl: Likewise.
23122 * manual/libc.texinfo: Likewise.
23123 * nptl/version.c (banner): Likewise.
23124 * nscd/nscd.c (print_version): Likewise.
23125 * nss/getent.c (print_version): Likewise.
23126 * nss/makedb.c (print_version): Likewise.
23127 * posix/getconf.c (main): Likewise.
23128 * scripts/test-installation.pl: Likewise.
23129 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23131 * All files with FSF copyright notices: Update copyright dates
23132 using scripts/update-copyrights.
23133 * locale/programs/charmap-kw.h: Regenerated.
23134 * locale/programs/locfile-kw.h: Likewise.
23136 2017-12-31 Zack Weinberg <zackw@panix.com>
23138 * libio/bits/libio-ldbl.h: Correct check for improper
23139 inclusion. Add own multiple include guard.
23141 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23142 Dmitry V. Levin <ldv@altlinux.org>
23146 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23147 string token expansion. Check for NULL pointer or empty string possibly
23148 returned by expand_dynamic_string_token.
23149 (decompose_rpath): Check for empty path after dynamic string
23152 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23155 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23157 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23158 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23159 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23160 and PTRACE_SYSCALL.
23161 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23162 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23163 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23164 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23165 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23166 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23168 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23169 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23170 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23171 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23173 bits/ptrace-shared.h.
23174 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23175 <bits/ptrace-shared.h>.
23176 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23177 __ptrace_peeksiginfo_flags, ptrace): Remove.
23178 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23179 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23181 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23182 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23184 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23187 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23188 end of the loop. Improve comments.
23190 2017-12-29 Zack Weinberg <zackw@panix.com>
23193 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23194 might be set on success.
23196 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23199 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23200 is unchanged on success.
23202 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23204 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23206 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23207 expand_dynamic_string_token): Likewise.
23208 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23211 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23214 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23215 is set and name contains ':', and all code depending on these checks.
23217 2017-12-24 Zack Weinberg <zackw@panix.com>
23219 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23220 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23222 * libio/libio.h: Rename the original version of this file to
23223 libio/bits/libio.h. Error out if not included by stdio.h or the
23225 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23226 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23227 if not included by bits/libio.h or the stub _G_config.h.
23228 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23229 sysdeps/unix/sysv/linux/bits. Error out if not included by
23230 bits/libio.h or the stub _G_config.h.
23231 * libio/stdio.h: Include bits/libio.h, not libio.h.
23232 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23233 well as libio.h and _G_config.h.
23235 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23236 * libio/strfile.h, stdio-common/vfscanf.c
23237 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23238 Include stdio.h, not _G_config.h nor libio.h.
23239 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23240 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23242 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23244 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23247 * stdlib/getrandom.c (getrandom): Fix comment.
23248 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23250 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23253 * manual/arith.texi (strtoul): Fix a typo.
23256 * manual/arith.texi (finite): Fix the description of the return
23259 2017-12-22 Eric Blake <ebb9@byu.net>
23261 Avoid gcc warnings on cygwin
23262 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23263 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23264 Avoid unused variable.
23266 2017-12-22 Florian Weimer <fweimer@redhat.com>
23268 * io/Makefile (routines): Add copy_file_range.
23269 (tests): Add tst-copy_file_range.
23270 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23271 * io/Versions (GLIBC_2.27): Export copy_file_range.
23272 * io/copy_file_range-compat.c: New file.
23273 * io/copy_file_range.c: Likewise.
23274 * io/tst-copy_file_range-compat.c: Likewise.
23275 * io/tst-copy_file_range.c: Likewise.
23276 * manual/llio.texi (Copying File Data): New section.
23277 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23278 * support/Makefile (libsupport-routines): Add support-xfstat,
23279 xftruncate, xlseek.
23280 * support/support-xfstat.c: New file.
23281 * support/xftruncate.c: Likewise.
23282 * support/xlseek.c: Likewise.
23283 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23284 * sysdeps/unix/sysv/linux/**.abilist: Update.
23285 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23287 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23289 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23290 disable-multi-arch variant to aarch64-linux-gnu.
23292 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23294 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23295 trailing whitespace removed.
23296 * scripts/config.guess: Update to version 2017-12-17.
23297 * scripts/config.sub: Update to version 2017-11-23.
23298 * scripts/install-sh: Update to version 2017-09-23.17.
23299 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23301 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23303 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23304 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23305 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23306 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23307 * sysdeps/tile/crtn.S: Likewise.
23308 * sysdeps/tile/dl-start.S (_start): Likewise.
23309 * sysdeps/tile/dl-trampoline.S: Likewise.
23310 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23311 * sysdeps/tile/start.S (_start): Likewise.
23312 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23313 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23314 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23315 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23316 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23317 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23318 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23320 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23322 * sysdeps/tile/preconfigure: Remove tilegx folder.
23323 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23324 * sysdeps/tile/Implies: ... here.
23325 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23326 * sysdeps/tile/Makefile: ... here.
23327 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23328 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23329 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23330 * sysdeps/tile/bits/wordsize.h: ... here.
23331 * sysdeps/tile/tilegx/*: Move to ...
23332 * sysdeps/tile/*: ... here.
23333 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23334 * sysdeps/tile/tilegx32/Implies: ... here.
23335 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23336 * sysdeps/tile/tilegx64/Implies: ... here.
23337 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23339 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23340 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23341 * sysdeps/unix/sysv/linux/tile/*: ... here.
23342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23343 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23345 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23347 * README: Remove tilepro-*-linux-gnu from supported architecture.
23348 * scripts/build-many-glibcs.py: Likewise.
23349 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23350 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23351 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23352 elf_machine_matches_host, elf_machine_dynamic,
23353 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23354 howto, elf_machine_rela): Likewise.
23355 * sysdeps/tile/dl-start.S (_start): Likewise.
23356 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23357 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23358 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23359 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23360 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23361 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23363 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23364 * sysdeps/tile/preconfigure: Likewise.
23365 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23366 POINTER_CHK_GUARD): Likewise.
23367 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23368 * sysdeps/tile/start.S (_start): Likewise.
23369 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23371 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23372 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23374 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23375 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23376 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23378 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23379 * sysdeps/tile/tilepro/Implies: Remove file.
23380 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23381 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23382 * sysdeps/tile/tilepro/memchr.c: Likewise.
23383 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23384 * sysdeps/tile/tilepro/memset.c: Likewise.
23385 * sysdeps/tile/tilepro/memusage.h: Likewise.
23386 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23387 * sysdeps/tile/tilepro/strchr.c: Likewise.
23388 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23389 * sysdeps/tile/tilepro/strlen.c: Likewise.
23390 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23391 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23392 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23393 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23394 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23395 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23396 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23398 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23399 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23400 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23401 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23402 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23403 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23404 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23405 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23406 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23407 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23408 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23409 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23410 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23411 tilepro mention in comment.
23413 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23414 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23415 * nptl/pthread_join_common.c: New file: common function used on
23416 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23417 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23418 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23419 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23420 (cleanup): Move definition to pthread_join_common.c.
23421 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23422 Remove superflous checks.
23423 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23426 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23428 * sysdeps/aarch64/libm-test-ulps: Update.
23430 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23432 * sysdeps/aarch64/memset.S (MEMSET): Define.
23434 2017-12-20 Florian Weimer <fweimer@redhat.com>
23437 nptl: Provide full implementation of pthread_self in libc.so.
23438 * nptl/Makefile (routines): Add pthread_self.
23439 (libpthread-routines): Replace pthread_self with
23440 compat-pthread_self.
23441 * nptl/forward.c (pthread_self): Remove.
23442 * nptl/nptl-init.c (pthread_functions): Do not initialize
23444 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23445 * nptl/compat-pthread_self.c: New file.
23446 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23447 Remove ptr_pthread_self.
23449 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23451 * posix/regcomp.c: Fix spelling in comments.
23452 * posix/regex.h: Likewise.
23453 * posix/regex_internal.c: Likewise.
23454 * posix/regexec.c: Likewise.
23456 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23459 * math/Makefile [C++] (tests): Add test for iseqsig.
23460 * math/math.h [C++] (iseqsig): New implementation, which does
23461 not rely on __MATH_TG/__builtin_types_compatible_p.
23462 * math/test-math-iseqsig.cc: New file.
23463 * sysdeps/powerpc/powerpc64le/Makefile
23464 (CFLAGS-test-math-iseqsig.cc): New variable.
23466 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23468 * elf/dl-load.c (is_trusted_path): Remove.
23469 (fillin_rpath): Remove check_trusted argument and its use,
23470 all callers changed.
23472 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23475 * Makeconfig (link-pie-before-libc): Replace -pie with
23476 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23477 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23478 (tst-dlopen-aout-no-pie): New.
23479 (LDFLAGS-tst-prelink): Removed.
23480 (tst-prelink-no-pie): New.
23481 (LDFLAGS-tst-main1): Removed.
23482 (tst-main1-no-pie): New.
23483 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23484 (tst-gmon-no-pie): New.
23486 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23488 * manual/install.texi: Document that --enable-static-pie
23490 * INSTALL: Regenerated.
23492 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23495 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23498 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23502 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23506 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23508 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23509 <errno.h>. Include "eexp.tbl".
23510 (half): New constant.
23512 (__ieee754_exp): Rewrite.
23513 (__slowexp): Remove prototype.
23514 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23515 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23516 * sysdeps/i386/fpu/slowexp.c: Likewise.
23517 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23518 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23519 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23520 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23521 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23522 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23523 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23525 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23526 (CPPFLAGS-slowexp.c): Remove variable.
23527 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23528 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23529 (CFLAGS-slowexp-fma.c): Remove variable.
23530 (CFLAGS-slowexp-fma4.c): Likewise.
23531 (CFLAGS-slowexp-avx.c): Likewise.
23532 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23534 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23535 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23536 * math/Makefile (type-double-routines): Remove slowexp.
23537 * manual/probes.texi (slowexp_p6): Remove.
23538 (slowexp_p32): Likewise.
23540 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23542 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23545 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23547 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23551 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23553 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23554 <errno.h>. Include "eexp.tbl".
23555 (half): New constant.
23557 (__ieee754_exp): Rewrite.
23558 (__slowexp): Remove prototype.
23559 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23560 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23561 * sysdeps/i386/fpu/slowexp.c: Likewise.
23562 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23563 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23564 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23565 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23566 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23567 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23568 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23570 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23571 (CPPFLAGS-slowexp.c): Remove variable.
23572 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23573 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23574 (CFLAGS-slowexp-fma.c): Remove variable.
23575 (CFLAGS-slowexp-fma4.c): Likewise.
23576 (CFLAGS-slowexp-avx.c): Likewise.
23577 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23579 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23580 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23581 * math/Makefile (type-double-routines): Remove slowexp.
23582 * manual/probes.texi (slowexp_p6): Remove.
23583 (slowexp_p32): Likewise.
23585 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23586 James Clarke <jrtc27@jrtc27.com>
23589 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23592 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23595 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23598 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23601 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23602 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23603 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23604 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23607 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23610 * bits/types/__cancel_jmp_buf_tag.h: New file.
23611 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23612 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23613 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23614 * nptl/Makefile (headers): Add
23615 bits/types/__cancel_jmp_buf_tag.h.
23616 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23617 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23618 * sysdeps/nptl/pthread.h: Include
23619 <bits/types/__cancel_jmp_buf_tag.h>.
23620 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23622 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23624 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23626 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23627 --enable-static-pie variants to x86_64, x32 and i686.
23629 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23632 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23633 argument for attrubutes. All callers changed.
23634 (__inline_mathop1): Likewise. All callers changed.
23635 (__inline_mathop): Likewise. All callers changed.
23636 [__USE_MISC] (scalbn): Use __inline_forward instead of
23637 __inline_forward_c.
23638 [__USE_ISOC99] (scalbln): Likewise.
23639 [__USE_ISOC99] (nearbyint): Likewise.
23640 [__USE_ISOC99] (lrint): Likewise.
23641 [__USE_MISC] (scalbnf): Likewise.
23642 [__USE_ISOC99] (scalblnf): Likewise.
23643 [__USE_ISOC99] (nearbyintf): Likewise.
23644 [__USE_ISOC99] (lrintf): Likewise.
23645 [__USE_MISC] (scalbnl): Likewise.
23646 [__USE_ISOC99] (scalblnl): Likewise.
23647 [__USE_ISOC99] (nearbyintl): Likewise.
23648 [__USE_ISOC99] (lrintl): Likewise.
23649 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23650 __inline_mathop and __m81_defun changed.
23652 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23653 CPU or FPU for ARM hard-float configurations.
23655 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23657 * nptl/tst-attr3.c: Include <libc-diag.h>.
23658 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23660 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23662 * string/tester.c (test_strncat): Also disable -Warray-bounds
23663 warnings for two tests.
23665 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23668 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23669 $(cc-pie-default) == yes.
23670 * config.make.in (cc-pie-default): New.
23671 * configure.ac (libc_cv_pie_default): Renamed to ...
23672 (libc_cv_cc_pie_default): This.
23673 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23674 * configure: Regenerated.
23676 2017-12-18 Florian Weimer <fweimer@redhat.com>
23679 ld.so: Harden dl-libc/libdl hooks.
23680 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23681 (rtld_active): New function.
23682 * dlfcn/dladdr.c (__dladdr): Call it.
23683 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23684 * dlfcn/dlclose.c (__dlcose): Likewise.
23685 * dlfcn/dlerror.c (__dlerror): Likewise.
23686 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23687 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23688 * dlfcn/dlopen.c (__dlopen): Likewise.
23689 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23690 * dlfcn/dlsym.c (__dlsym): Likewise.
23691 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23692 * libio/vtables.c (_IO_vtable_check): Likewise.
23693 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23694 (__libc_dlclose): Likewise.
23695 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23698 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23701 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23702 buffers for readlink input and output.
23704 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23707 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23708 inhibit_stack_protector.
23711 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23712 inhibit_stack_protector.
23714 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23717 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23718 code and invocation.
23720 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23722 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23724 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23727 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23729 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23731 * sysdeps/s390/fpu/libm-test-ulps: Update.
23733 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23737 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23739 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23740 constants to s_sincosf.h file.
23741 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23742 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23744 * sysdeps/ieee754/flt-32/s_sincosf.h:
23747 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23750 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23753 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23756 * INSTALL: Regenerated.
23757 * Makeconfig (real-static-start-installed-name): New.
23758 (pic-default): Updated for --enable-static-pie.
23759 (pie-default): New for --enable-static-pie.
23760 (default-pie-ldflag): Likewise.
23761 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23762 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23763 Replace $(static-start-installed-name) with
23764 $(real-static-start-installed-name).
23765 (+prectorT): Updated for --enable-static-pie.
23766 (+postctorT): Likewise.
23767 (CFLAGS-.o): Add $(pie-default).
23768 (CFLAGS-.op): Likewise.
23769 * NEWS: Mention --enable-static-pie.
23770 * config.h.in (ENABLE_STATIC_PIE): New.
23771 * configure.ac (--enable-static-pie): New configure option.
23772 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23773 (have-static-pie): Likewise.
23774 Enable static PIE if linker supports --no-dynamic-linker.
23775 (ENABLE_STATIC_PIE): New AC_DEFINE.
23776 (enable-static-pie): New LIBC_CONFIG_VAR.
23777 * configure: Regenerated.
23778 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23779 gr$(start-installed-name) for --enable-static-pie.
23780 (extra-objs): Likewise.
23781 (install-lib): Likewise.
23782 (extra-objs): Add static-reloc.o and static-reloc.os
23783 ($(objpfx)$(start-installed-name)): Also depend on
23784 $(objpfx)static-reloc.o.
23785 ($(objpfx)r$(start-installed-name)): New.
23786 ($(objpfx)g$(start-installed-name)): Also depend on
23787 $(objpfx)static-reloc.os.
23788 ($(objpfx)gr$(start-installed-name)): New.
23789 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23791 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23793 * csu/static-reloc.c: New file.
23794 * elf/Makefile (routines): Add dl-reloc-static-pie.
23795 (elide-routines.os): Likewise.
23796 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23797 (tst-tls1-static-non-pie-no-pie): New.
23798 * elf/dl-reloc-static-pie.c: New file.
23799 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23800 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23801 STATIC_PIE_BOOTSTRAP.
23802 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23803 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23804 (tests-static): Likewise.
23805 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23806 (tst-gmon-static-no-pie): New.
23807 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23808 (CRT-tst-gmon-static-pie): Likewise.
23809 (tst-gmon-static-pie-ENV): Likewise.
23810 (tests-special): Likewise.
23811 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23812 (clean-tst-gmon-static-pie-data): Likewise.
23813 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23814 * gmon/tst-gmon-static-pie.c: New file.
23815 * manual/install.texi: Document --enable-static-pie.
23816 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23817 (_dl_get_dl_main_map): Likewise.
23818 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23819 * sysdeps/x86_64/configure.ac: Likewise.
23820 * sysdeps/i386/configure: Regenerated.
23821 * sysdeps/x86_64/configure: Likewise.
23822 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23823 (ASFLAGS-.op): Likewise.
23825 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23827 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23828 * posix/tst-mmap-offset.c (fname): Use /tmp.
23829 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23831 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23833 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23835 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23837 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23840 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23842 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23843 --with-float=hard for arm-linux-gnueabihf configurations.
23846 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23847 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23848 ($(mo-installed)): Use $(objpfx)%.mo.
23849 (realclean): Remove rule.
23851 * po/Makefile (linguas): Remove rule and dependencies.
23852 (linguas.mo): Likewise.
23853 (.PHONY): Do not depend on linguas and linguas.mo.
23854 (podir): Remove variable.
23855 (pofiles): Likewise.
23856 [$(pofiles)] (%.po): Remove rule.
23858 * sysdeps/sparc/sparc32/Makefile
23859 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23860 start-of-line whitespace in argument of echo.
23861 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23862 with whitespace. Generate __wrap_.udiv alias.
23863 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23864 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23865 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23866 * sysdeps/sparc/sparc32/urem.S: Likewise.
23868 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23870 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23871 for aligned inputs.
23873 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23875 * benchtests/bench-strcmp.c: Print output in JSON format.
23877 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23879 2017-12-14 Florian Weimer <fweimer@redhat.com>
23883 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23884 the expanded path string.
23886 2017-12-14 Florian Weimer <fweimer@redhat.com>
23890 * elf/dl-load.c (system_dirs): Update comment.
23891 (nsystem_dirs_len): Use array_length.
23892 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23894 2017-12-14 Florian Weimer <fweimer@redhat.com>
23896 Simplify compiling most of support/ outside of glibc.
23897 * support/check_addrinfo.c: Include <string.h>.
23898 * support/check_dns_packet.c: Likewise.
23899 * support/check_hostent.c: Likewise.
23900 * support/support_can_chroot.c: Include <support/xunistd.h>.
23901 * support/support_format_addrinfo.c: Include <stdlib.h>
23902 * support/support_format_dns_packet.c: Include <stdbool.h>.
23903 * support/support_format_hostent.c: Include <stdlib.h>.
23904 * support/support_format_netent.c: Likewise.
23905 * support/support_write_string.c: Include <support/xunistd.h>.
23906 * support/xdlfcn.c: Include <stddef.h>.
23908 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23910 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23912 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23913 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23915 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23916 (sysdeps_routines): Add memset-niagara7.
23917 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23919 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23921 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23922 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23923 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23924 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23925 Add niagara7 option.
23926 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23929 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23930 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23931 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23933 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23935 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23936 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23937 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23938 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23939 and __memmove_niagara7.
23940 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23941 Add niagara7 option.
23942 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23943 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23944 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23945 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23946 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23948 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23950 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23951 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23952 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23953 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23955 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23956 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23957 _dl_sparc_cap_flags array.
23958 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23960 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23962 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23963 time whenever possible.
23965 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23967 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23968 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23970 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23972 * soft-fp/fmadf4.c: Move to ....
23973 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23974 * soft-fp/fmasf4.c: Move to ....
23975 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23976 * soft-fp/fmatf4.c: Move to ....
23977 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23978 * sysdeps/ieee754/soft-fp/Makefile: New file.
23979 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
23980 * sysdeps/arm/preconfigure: Regenerated.
23981 * sysdeps/arm/nofpu/Implies: New file.
23982 * sysdeps/arm/s_fma.c: Remove file.
23983 * sysdeps/arm/s_fmaf.c: Likewise.
23984 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
23985 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
23986 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23987 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
23988 * sysdeps/microblaze/s_fma.c: Remove file.
23989 * sysdeps/microblaze/s_fmaf.c: Likewise.
23990 * sysdeps/mips/mips32/nofpu/Implies: New file.
23991 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
23992 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
23993 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
23994 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
23995 * sysdeps/mips/ieee754/s_fma.c: Remove file.
23996 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
23997 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
23999 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24000 * sysdeps/nios2/s_fma.c: Remove file.
24001 * sysdeps/nios2/s_fmaf.c: Likewise.
24002 * sysdeps/sh/nofpu/Implies: New file.
24003 * sysdeps/sh/s_fma.c: Remove file.
24004 * sysdeps/sh/s_fmaf.c: Likewise.
24005 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24006 * sysdeps/tile/s_fma.c: Remove file.
24007 * sysdeps/tile/s_fmaf.c: Likewise.
24009 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24011 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24012 Add s_cosf-sse2 and s_cosf-fma.
24013 (CFLAGS-s_cosf-fma.c): New.
24014 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24015 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24016 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24018 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24020 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24022 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24024 * libio/Makefile (tests): Add tst-bz22415.
24025 (tst-bz22415-ENV): New rule.
24026 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24027 (tests-special): Add tst-bz22415-mem.out.
24028 ($(objpfx)tst-bz22415-mem.out): New rule.
24029 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24030 in case of a successful seek operation.
24031 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24032 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24033 buffer is required.
24034 * libio/tst-bz22415.c: New test.
24036 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24038 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24040 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24041 __IPC_64 to 0 to avoid IPC_64 being set.
24043 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24046 * math/bits/mathcalls.h (nextafter): Remove const.
24047 (nexttoward): Likewise.
24049 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24051 * configure.ac (--with-fp): Remove configure option.
24052 (with_fp_cond): New variable.
24053 (libc_cv_with_fp): New configure test. Use this variable instead
24055 * configure: Regenerated.
24056 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24057 * manual/install.texi (Configuring and compiling): Remove
24059 * INSTALL: Regenerated.
24060 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24061 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24062 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24063 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24064 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24065 use --without-fp to configure glibc.
24067 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24069 * manual/locale.texi (nl_langinfo): Fix a typo.
24071 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24074 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24076 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24078 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24079 (CFLAGS-argp-parse.c): Likewise.
24080 (CFLAGS-argp-fmtstream.c): Likewise.
24081 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24082 (CPPFLAGS-sha512-crypt.c): Likewise.
24083 (CPPFLAGS-md5-crypt.c): Likewise.
24084 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24085 (CFLAGS-stack_chk_fail_local.c): Likewise.
24086 (CFLAGS-backtrace.c): Likewise.
24087 (CFLAGS-sprintf_chk.c): Likewise.
24088 (CFLAGS-snprintf_chk.c): Likewise.
24089 (CFLAGS-vsprintf_chk.c): Likewise.
24090 (CFLAGS-vsnprintf_chk.c): Likewise.
24091 (CFLAGS-asprintf_chk.c): Likewise.
24092 (CFLAGS-vasprintf_chk.c): Likewise.
24093 (CFLAGS-obprintf_chk.c): Likewise.
24094 (CFLAGS-dprintf_chk.c): Likewise.
24095 (CFLAGS-vdprintf_chk.c): Likewise.
24096 (CFLAGS-printf_chk.c): Likewise.
24097 (CFLAGS-fprintf_chk.c): Likewise.
24098 (CFLAGS-vprintf_chk.c): Likewise.
24099 (CFLAGS-vfprintf_chk.c): Likewise.
24100 (CFLAGS-gets_chk.c): Likewise.
24101 (CFLAGS-fgets_chk.c): Likewise.
24102 (CFLAGS-fgets_u_chk.c): Likewise.
24103 (CFLAGS-fread_chk.c): Likewise.
24104 (CFLAGS-fread_u_chk.c): Likewise.
24105 (CFLAGS-swprintf_chk.c): Likewise.
24106 (CFLAGS-vswprintf_chk.c): Likewise.
24107 (CFLAGS-wprintf_chk.c): Likewise.
24108 (CFLAGS-fwprintf_chk.c): Likewise.
24109 (CFLAGS-vwprintf_chk.c): Likewise.
24110 (CFLAGS-vfwprintf_chk.c): Likewise.
24111 (CFLAGS-fgetws_chk.c): Likewise.
24112 (CFLAGS-fgetws_u_chk.c): Likewise.
24113 (CFLAGS-read_chk.c): Likewise.
24114 (CFLAGS-pread_chk.c): Likewise.
24115 (CFLAGS-pread64_chk.c): Likewise.
24116 (CFLAGS-recv_chk.c): Likewise.
24117 (CFLAGS-recvfrom_chk.c): Likewise.
24118 (CFLAGS-tst-longjmp_chk.c): Likewise.
24119 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24120 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24121 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24122 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24123 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24124 (CFLAGS-tst-chk1.c): Likewise.
24125 (CFLAGS-tst-chk2.c): Likewise.
24126 (CFLAGS-tst-chk3.c): Likewise.
24127 (CFLAGS-tst-chk4.cc): Likewise.
24128 (CFLAGS-tst-chk5.cc): Likewise.
24129 (CFLAGS-tst-chk6.cc): Likewise.
24130 (CFLAGS-tst-lfschk1.c): Likewise.
24131 (CFLAGS-tst-lfschk2.c): Likewise.
24132 (CFLAGS-tst-lfschk3.c): Likewise.
24133 (CFLAGS-tst-lfschk4.cc): Likewise.
24134 (CFLAGS-tst-lfschk5.cc): Likewise.
24135 (CFLAGS-tst-lfschk6.cc): Likewise.
24136 (CFLAGS-tst-ssp-1.c): Likewise.
24137 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24138 (CFLAGS-scandir64.c): Likewise.
24139 (CFLAGS-scandir-tail.c): Likewise.
24140 (CFLAGS-scandir64-tail.c): Likewise.
24141 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24142 (CFLAGS-dl-tunables.c): Likewise.
24143 (CFLAGS-dl-runtime.c): Likewise.
24144 (CFLAGS-dl-lookup.c): Likewise.
24145 (CFLAGS-dl-iterate-phdr.c): Likewise.
24146 (CFLAGS-vismain.c): Likewise.
24147 (CFLAGS-tst-linkall-static.c): Likewise.
24148 (CFLAGS-tst-linkall-static.c): Likewise.
24149 (CPPFLAGS-dl-load.c): Likewise.
24150 (CFLAGS-ldconfig.c): Likewise.
24151 (CFLAGS-dl-cache.c): Likewise.
24152 (CFLAGS-cache.c): Likewise.
24153 (CFLAGS-rtld.c): Likewise.
24154 (CFLAGS-multiload.c): Likewise.
24155 (CFLAGS-filtmod1.c): Likewise.
24156 (CFLAGS-tst-align.c): Likewise.
24157 (CFLAGS-tst-align2.c): Likewise.
24158 (CFLAGS-tst-alignmod.c): Likewise.
24159 (CFLAGS-tst-alignmod2.c): Likewise.
24160 (CPPFLAGS-tst-execstack.c): Likewise.
24161 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24162 (CFLAGS-tst-latepthreadmod.c): Likewise.
24163 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24164 (CFLAGS-getgrnam_r.c): Likewise.
24165 (CFLAGS-getgrent_r.c): Likewise.
24166 (CFLAGS-getgrent.c): Likewise.
24167 (CFLAGS-fgetgrent.c): Likewise.
24168 (CFLAGS-fgetgrent_r.c): Likewise.
24169 (CFLAGS-putgrent.c): Likewise.
24170 (CFLAGS-initgroups.c): Likewise.
24171 (CFLAGS-getgrgid.c): Likewise.
24172 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24173 (CFLAGS-getsgent.c): Likewise.
24174 (CFLAGS-fgetsgent.c): Likewise.
24175 (CFLAGS-fgetsgent_r.c): Likewise.
24176 (CFLAGS-putsgent.c): Likewise.
24177 (CFLAGS-getsgnam.c): Likewise.
24178 (CFLAGS-getsgnam_r.c): Likewise.
24179 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24180 (CFLAGS-iconv_charmap.c): Likewise.
24181 (CFLAGS-dummy-repertoire.c): Likewise.
24182 (CFLAGS-charmap.c): Likewise.
24183 (CFLAGS-linereader.c): Likewise.
24184 (CFLAGS-simple-hash.c): Likewise.
24185 (CFLAGS-gconv_conf.c): Likewise.
24186 (CFLAGS-iconvconfig.c): Likewise.
24187 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24188 (CFLAGS-gethstbyad.c): Likewise.
24189 (CFLAGS-gethstbynm_r.c): Likewise.
24190 (CFLAGS-gethstbynm.c): Likewise.
24191 (CFLAGS-gethstbynm2_r.c): Likewise.
24192 (CFLAGS-gethstbynm2.c): Likewise.
24193 (CFLAGS-gethstent_r.c): Likewise.
24194 (CFLAGS-gethstent.c): Likewise.
24195 (CFLAGS-rcmd.c): Likewise.
24196 (CFLAGS-getnetbynm_r.c): Likewise.
24197 (CFLAGS-getnetbynm.c): Likewise.
24198 (CFLAGS-getnetbyad_r.c): Likewise.
24199 (CFLAGS-getnetbyad.c): Likewise.
24200 (CFLAGS-getnetent_r.c): Likewise.
24201 (CFLAGS-getnetent.c): Likewise.
24202 (CFLAGS-getaliasent_r.c): Likewise.
24203 (CFLAGS-getaliasent.c): Likewise.
24204 (CFLAGS-getrpcent_r.c): Likewise.
24205 (CFLAGS-getrpcent.c): Likewise.
24206 (CFLAGS-getservent_r.c): Likewise.
24207 (CFLAGS-getservent.c): Likewise.
24208 (CFLAGS-getprtent_r.c): Likewise.
24209 (CFLAGS-getprtent.c): Likewise.
24210 (CFLAGS-either_ntoh.c): Likewise.
24211 (CFLAGS-either_hton.c): Likewise.
24212 (CFLAGS-getnetgrent.c): Likewise.
24213 (CFLAGS-getnetgrent_r.c): Likewise.
24214 (CFLAGS-tst-checks-posix.c): Likewise.
24215 (CFLAGS-tst-sockaddr.c): Likewise.
24216 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24217 (CFLAGS-tst-translit.c): Likewise.
24218 (CFLAGS-tst-gettext2.c): Likewise.
24219 (CFLAGS-tst-codeset.c): Likewise.
24220 (CFLAGS-tst-gettext3.c): Likewise.
24221 (CFLAGS-tst-gettext4.c): Likewise.
24222 (CFLAGS-tst-gettext5.c): Likewise.
24223 (CFLAGS-tst-gettext6.c): Likewise.
24224 * io/Makefile (CFLAGS-open.c): Likewise.
24225 (CFLAGS-open64.c): Likewise.
24226 (CFLAGS-creat.c): Likewise.
24227 (CFLAGS-creat64.c): Likewise.
24228 (CFLAGS-fcntl.c): Likewise.
24229 (CFLAGS-poll.c): Likewise.
24230 (CFLAGS-ppoll.c): Likewise.
24231 (CFLAGS-lockf.c): Likewise.
24232 (CFLAGS-statfs.c): Likewise.
24233 (CFLAGS-fstatfs.c): Likewise.
24234 (CFLAGS-statvfs.c): Likewise.
24235 (CFLAGS-fstatvfs.c): Likewise.
24236 (CFLAGS-fts.c): Likewise.
24237 (CFLAGS-fts64.c): Likewise.
24238 (CFLAGS-ftw.c): Likewise.
24239 (CFLAGS-ftw64.c): Likewise.
24240 (CFLAGS-lockf.c): Likewise.
24241 (CFLAGS-posix_fallocate.c): Likewise.
24242 (CFLAGS-posix_fallocate64.c): Likewise.
24243 (CFLAGS-fallocate.c): Likewise.
24244 (CFLAGS-fallocate64.c): Likewise.
24245 (CFLAGS-read.c): Likewise.
24246 (CFLAGS-write.c): Likewise.
24247 (CFLAGS-test-stat.c): Likewise.
24248 (CFLAGS-test-lfs.c): Likewise.
24249 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24250 (CFLAGS-fputc.c): Likewise.
24251 (CFLAGS-fputwc.c): Likewise.
24252 (CFLAGS-freopen64.c): Likewise.
24253 (CFLAGS-freopen.c): Likewise.
24254 (CFLAGS-fseek.c): Likewise.
24255 (CFLAGS-fseeko64.c): Likewise.
24256 (CFLAGS-fseeko.c): Likewise.
24257 (CFLAGS-ftello64.c): Likewise.
24258 (CFLAGS-ftello.c): Likewise.
24259 (CFLAGS-fwide.c): Likewise.
24260 (CFLAGS-genops.c): Likewise.
24261 (CFLAGS-getc.c): Likewise.
24262 (CFLAGS-getchar.c): Likewise.
24263 (CFLAGS-getwc.c): Likewise.
24264 (CFLAGS-getwchar.c): Likewise.
24265 (CFLAGS-iofclose.c): Likewise.
24266 (CFLAGS-iofflush.c): Likewise.
24267 (CFLAGS-iofgetpos64.c): Likewise.
24268 (CFLAGS-iofgetpos.c): Likewise.
24269 (CFLAGS-iofgets.c): Likewise.
24270 (CFLAGS-iofgetws.c): Likewise.
24271 (CFLAGS-iofputs.c): Likewise.
24272 (CFLAGS-iofputws.c): Likewise.
24273 (CFLAGS-iofread.c): Likewise.
24274 (CFLAGS-iofsetpos64.c): Likewise.
24275 (CFLAGS-iofsetpos.c): Likewise.
24276 (CFLAGS-ioftell.c): Likewise.
24277 (CFLAGS-iofwrite.c): Likewise.
24278 (CFLAGS-iogetdelim.c): Likewise.
24279 (CFLAGS-iogetline.c): Likewise.
24280 (CFLAGS-iogets.c): Likewise.
24281 (CFLAGS-iogetwline.c): Likewise.
24282 (CFLAGS-ioputs.c): Likewise.
24283 (CFLAGS-ioseekoff.c): Likewise.
24284 (CFLAGS-ioseekpos.c): Likewise.
24285 (CFLAGS-iosetbuffer.c): Likewise.
24286 (CFLAGS-iosetvbuf.c): Likewise.
24287 (CFLAGS-ioungetc.c): Likewise.
24288 (CFLAGS-ioungetwc.c): Likewise.
24289 (CFLAGS-oldfileops.c): Likewise.
24290 (CFLAGS-oldiofclose.c): Likewise.
24291 (CFLAGS-oldiofgetpos64.c): Likewise.
24292 (CFLAGS-oldiofgetpos.c): Likewise.
24293 (CFLAGS-oldiofsetpos64.c): Likewise.
24294 (CFLAGS-oldiofsetpos.c): Likewise.
24295 (CFLAGS-peekc.c): Likewise.
24296 (CFLAGS-putc.c): Likewise.
24297 (CFLAGS-putchar.c): Likewise.
24298 (CFLAGS-putwc.c): Likewise.
24299 (CFLAGS-putwchar.c): Likewise.
24300 (CFLAGS-rewind.c): Likewise.
24301 (CFLAGS-wfileops.c): Likewise.
24302 (CFLAGS-wgenops.c): Likewise.
24303 (CFLAGS-oldiofopen.c): Likewise.
24304 (CFLAGS-iofopen.c): Likewise.
24305 (CFLAGS-iofopen64.c): Likewise.
24306 (CFLAGS-oldtmpfile.c): Likewise.
24307 (CFLAGS-tst_putwc.c): Likewise.
24308 * locale/Makefile (CFLAGS-md5.c): Likewise.
24309 (CFLAGS-charmap.c): Likewise.
24310 (CFLAGS-locfile.c): Likewise.
24311 (CFLAGS-charmap-dir.c): Likewise.
24312 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24313 (CFLAGS-getpt.c): Likewise.
24314 (CFLAGS-pt_chown.c): Likewise.
24315 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24316 (CFLAGS-obstack.c): Likewise.
24317 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24318 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24319 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24320 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24321 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24322 (CFLAGS-test-tgmath.c): Likewise.
24323 (CFLAGS-test-tgmath2.c): Likewise.
24324 (CFLAGS-test-tgmath-ret.c): Likewise.
24325 (CFLAGS-test-powl.c): Likewise.
24326 (CFLAGS-test-snan.c): Likewise.
24327 (CFLAGS-test-signgam-finite.c): Likewise.
24328 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24329 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24330 (CFLAGS-test-signgam-uchar.c): Likewise.
24331 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24332 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24333 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24334 (CFLAGS-test-signgam-uint.c): Likewise.
24335 (CFLAGS-test-signgam-uint-init.c): Likewise.
24336 (CFLAGS-test-signgam-uint-static.c): Likewise.
24337 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24338 (CFLAGS-test-signgam-ullong.c): Likewise.
24339 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24340 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24341 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24342 (CFLAGS-test-math-cxx11.cc): Likewise.
24343 (CFLAGS-test-math-isinff.cc): Likewise.
24344 (CFLAGS-test-math-iszero.cc): Likewise.
24345 (CFLAGS-test-math-issignaling.cc): Likewise.
24346 (CFLAGS-test-math-iscanonical.cc): Likewise.
24347 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24348 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24349 (CFLAGS-test-flt-eval-method.c): Likewise.
24350 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24351 (CFLAGS-test-finite-macros.c): Likewise.
24352 * misc/Makefile (CFLAGS-select.c): Likewise.
24353 (CFLAGS-tsearch.c): Likewise.
24354 (CFLAGS-lsearch.c): Likewise.
24355 (CFLAGS-pselect.c): Likewise.
24356 (CFLAGS-readv.c): Likewise.
24357 (CFLAGS-writev.c): Likewise.
24358 (CFLAGS-preadv.c): Likewise.
24359 (CFLAGS-preadv64.c): Likewise.
24360 (CFLAGS-pwritev.c): Likewise.
24361 (CFLAGS-pwritev64.c): Likewise.
24362 (CFLAGS-preadv2.c): Likewise.
24363 (CFLAGS-preadv64v2.c): Likewise.
24364 (CFLAGS-pwritev2.c): Likewise.
24365 (CFLAGS-pwritev64v2.c): Likewise.
24366 (CFLAGS-usleep.c): Likewise.
24367 (CFLAGS-syslog.c): Likewise.
24368 (CFLAGS-error.c): Likewise.
24369 (CFLAGS-getpass.c): Likewise.
24370 (CFLAGS-mkstemp.c): Likewise.
24371 (CFLAGS-mkstemp64.c): Likewise.
24372 (CFLAGS-getsysstats.c): Likewise.
24373 (CFLAGS-getusershell.c): Likewise.
24374 (CFLAGS-err.c): Likewise.
24375 (CFLAGS-tst-tsearch.c): Likewise.
24376 (CFLAGS-msync.c): Likewise.
24377 (CFLAGS-fdatasync.c): Likewise.
24378 (CFLAGS-fsync.c): Likewise.
24379 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24380 (CFLAGS-unwind.c): Likewise.
24381 (CFLAGS-unwind-forcedunwind.c): Likewise.
24382 (CFLAGS-pthread_cancel.c): Likewise.
24383 (CFLAGS-pthread_setcancelstate.c): Likewise.
24384 (CFLAGS-pthread_setcanceltype.c): Likewise.
24385 (CFLAGS-cancellation.c): Likewise.
24386 (CFLAGS-libc-cancellation.c): Likewise.
24387 (CFLAGS-pthread_exit.c): Likewise.
24388 (CFLAGS-forward.c): Likewise.
24389 (CFLAGS-pthread_testcancel.c): Likewise.
24390 (CFLAGS-pthread_join.c): Likewise.
24391 (CFLAGS-pthread_timedjoin.c): Likewise.
24392 (CFLAGS-pthread_once.c): Likewise.
24393 (CFLAGS-pthread_cond_wait.c): Likewise.
24394 (CFLAGS-sem_wait.c): Likewise.
24395 (CFLAGS-sem_timedwait.c): Likewise.
24396 (CFLAGS-fcntl.c): Likewise.
24397 (CFLAGS-lockf.c): Likewise.
24398 (CFLAGS-pread.c): Likewise.
24399 (CFLAGS-pread64.c): Likewise.
24400 (CFLAGS-pwrite.c): Likewise.
24401 (CFLAGS-pwrite64.c): Likewise.
24402 (CFLAGS-wait.c): Likewise.
24403 (CFLAGS-waitpid.c): Likewise.
24404 (CFLAGS-sigwait.c): Likewise.
24405 (CFLAGS-msgrcv.c): Likewise.
24406 (CFLAGS-msgsnd.c): Likewise.
24407 (CFLAGS-tcdrain.c): Likewise.
24408 (CFLAGS-open.c): Likewise.
24409 (CFLAGS-open64.c): Likewise.
24410 (CFLAGS-pause.c): Likewise.
24411 (CFLAGS-recv.c): Likewise.
24412 (CFLAGS-send.c): Likewise.
24413 (CFLAGS-accept.c): Likewise.
24414 (CFLAGS-sendto.c): Likewise.
24415 (CFLAGS-connect.c): Likewise.
24416 (CFLAGS-recvfrom.c): Likewise.
24417 (CFLAGS-recvmsg.c): Likewise.
24418 (CFLAGS-sendmsg.c): Likewise.
24419 (CFLAGS-close.c): Likewise.
24420 (CFLAGS-read.c): Likewise.
24421 (CFLAGS-write.c): Likewise.
24422 (CFLAGS-nanosleep.c): Likewise.
24423 (CFLAGS-sigsuspend.c): Likewise.
24424 (CFLAGS-msync.c): Likewise.
24425 (CFLAGS-fdatasync.c): Likewise.
24426 (CFLAGS-fsync.c): Likewise.
24427 (CFLAGS-pt-system.c): Likewise.
24428 (CFLAGS-tst-cleanup2.c): Likewise.
24429 (CFLAGS-tst-cleanupx2.c): Likewise.
24430 (CFLAGS-flockfile.c): Likewise.
24431 (CFLAGS-ftrylockfile.c): Likewise.
24432 (CFLAGS-funlockfile.c): Likewise.
24433 (CFLAGS-tst-initializers1.c): Likewise.
24434 (CFLAGS-tst-initializers1-c89.c): Likewise.
24435 (CFLAGS-tst-initializers1-c99.c): Likewise.
24436 (CFLAGS-tst-initializers1-c11.c): Likewise.
24437 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24438 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24439 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24440 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24441 (CFLAGS-nscd_getgr_r.c): Likewise.
24442 (CFLAGS-nscd_gethst_r.c): Likewise.
24443 (CFLAGS-nscd_getai.c): Likewise.
24444 (CFLAGS-nscd_initgroups.c): Likewise.
24445 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24446 (CFLAGS-pause.c): Likewise.
24447 (CFLAGS-pread.c): Likewise.
24448 (CFLAGS-pread64.c): Likewise.
24449 (CFLAGS-pwrite.c): Likewise.
24450 (CFLAGS-pwrite64.c): Likewise.
24451 (CFLAGS-sleep.c): Likewise.
24452 (CFLAGS-wait.c): Likewise.
24453 (CFLAGS-waitid.c): Likewise.
24454 (CFLAGS-waitpid.c): Likewise.
24455 (CFLAGS-getopt.c): Likewise.
24456 (CFLAGS-wordexp.c): Likewise.
24457 (CFLAGS-sysconf.c): Likewise.
24458 (CFLAGS-pathconf.c): Likewise.
24459 (CFLAGS-fpathconf.c): Likewise.
24460 (CFLAGS-spawn.c): Likewise.
24461 (CFLAGS-spawnp.c): Likewise.
24462 (CFLAGS-spawni.c): Likewise.
24463 (CFLAGS-glob.c): Likewise.
24464 (CFLAGS-glob64.c): Likewise.
24465 (CFLAGS-getconf.c): Likewise.
24466 (CFLAGS-nanosleep.c): Likewise.
24467 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24468 (CFLAGS-getpwent.c): Likewise.
24469 (CFLAGS-getpw.c): Likewise.
24470 (CFLAGS-fgetpwent_r.c): Likewise.
24471 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24472 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24473 (CFLAGS-mq_timedreceive.c): Likewise.
24474 (CFLAGS-mq_timedsend.c): Likewise.
24475 (CFLAGS-clock_nanosleep.c): Likewise.
24476 (CFLAGS-librt-cancellation.c): Likewise.
24477 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24478 (CFLAGS-getspent.c): Likewise.
24479 (CFLAGS-fgetspent.c): Likewise.
24480 (CFLAGS-fgetspent_r.c): Likewise.
24481 (CFLAGS-putspent.c): Likewise.
24482 (CFLAGS-getspnam.c): Likewise.
24483 (CFLAGS-getspnam_r.c): Likewise.
24484 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24485 (CFLAGS-sigsuspend.c): Likewise.
24486 (CFLAGS-sigtimedwait.c): Likewise.
24487 (CFLAGS-sigwait.c): Likewise.
24488 (CFLAGS-sigwaitinfo.c): Likewise.
24489 (CFLAGS-sigreturn.c): Likewise.
24490 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24491 (CFLAGS-vfwprintf.c): Likewise.
24492 (CFLAGS-tmpfile.c): Likewise.
24493 (CFLAGS-tmpfile64.c): Likewise.
24494 (CFLAGS-tempname.c): Likewise.
24495 (CFLAGS-psignal.c): Likewise.
24496 (CFLAGS-vprintf.c): Likewise.
24497 (CFLAGS-cuserid.c): Likewise.
24498 (CFLAGS-errlist.c): Likewise.
24499 (CFLAGS-siglist.c): Likewise.
24500 (CFLAGS-scanf15.c): Likewise.
24501 (CFLAGS-scanf17.c): Likewise.
24502 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24503 (CFLAGS-msort.c): Likewise.
24504 (CFLAGS-qsort.c): Likewise.
24505 (CFLAGS-system.c): Likewise.
24506 (CFLAGS-fmtmsg.c): Likewise.
24507 (CFLAGS-strfmon.c): Likewise.
24508 (CFLAGS-strfmon_l.c): Likewise.
24509 (CFLAGS-strfromd.c): Likewise.
24510 (CFLAGS-strfromf.c): Likewise.
24511 (CFLAGS-strfroml.c): Likewise.
24512 (CFLAGS-tst-bsearch.c): Likewise.
24513 (CFLAGS-tst-qsort.c): Likewise.
24514 (CFLAGS-tst-makecontext2.c): Likewise.
24515 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24516 (CFLAGS-xnlm_prot.c): Likewise.
24517 (CFLAGS-xrstat.c): Likewise.
24518 (CFLAGS-xyppasswd.c): Likewise.
24519 (CFLAGS-xklm_prot.c): Likewise.
24520 (CFLAGS-xrex.c): Likewise.
24521 (CFLAGS-xsm_inter.c): Likewise.
24522 (CFLAGS-xmount.c): Likewise.
24523 (CFLAGS-xrusers.c): Likewise.
24524 (CFLAGS-xspray.c): Likewise.
24525 (CFLAGS-xnfs_prot.c): Likewise.
24526 (CFLAGS-xrquota.c): Likewise.
24527 (CFLAGS-xkey_prot.c): Likewise.
24528 (CFLAGS-auth_unix.c): Likewise.
24529 (CFLAGS-key_call.c): Likewise.
24530 (CFLAGS-pmap_rmt.c): Likewise.
24531 (CFLAGS-clnt_perr.c): Likewise.
24532 (CFLAGS-openchild.c): Likewise.
24533 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24534 (CFLAGS-msgsnd.c): Likewise.
24535 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24536 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24537 (CFLAGS-tzset.c): Likewise.
24538 (CFLAGS-getdate.c): Likewise.
24539 (CFLAGS-test_time.c): Likewise.
24540 (CPPFLAGS-tst-tzname.c): Likewise.
24541 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24542 (CFLAGS-zic.c): Likewise.
24543 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24544 (CFLAGS-wcswidth.c): Likewise.
24545 (CFLAGS-wcstol.c): Likewise.
24546 (CFLAGS-wcstoul.c): Likewise.
24547 (CFLAGS-wcstoll.c): Likewise.
24548 (CFLAGS-wcstoull.c): Likewise.
24549 (CFLAGS-wcstod.c): Likewise.
24550 (CFLAGS-wcstold.c): Likewise.
24551 (CFLAGS-wcstof128.c): Likewise.
24552 (CFLAGS-wcstof.c): Likewise.
24553 (CFLAGS-wcstol_l.c): Likewise.
24554 (CFLAGS-wcstoul_l.c): Likewise.
24555 (CFLAGS-wcstoll_l.c): Likewise.
24556 (CFLAGS-wcstoull_l.c): Likewise.
24557 (CFLAGS-wcstod_l.c): Likewise.
24558 (CFLAGS-wcstold_l.c): Likewise.
24559 (CFLAGS-wcstof128_l.c): Likewise.
24560 (CFLAGS-wcstof_l.c): Likewise.
24561 (CPPFLAGS-tst-wchar-h.c): Likewise.
24562 (CPPFLAGS-wcstold_l.c): Likewise.
24564 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24566 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24568 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24569 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24571 * manual/tunables.texi (Hardware Capability Tunables): Document
24572 glibc.tune.cached_memopt.
24573 * sysdeps/powerpc/cpu-features.c: New file.
24574 * sysdeps/powerpc/cpu-features.h: New file.
24575 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24576 _dl_powerpc_cpu_features.
24577 * sysdeps/powerpc/dl-tunables.list: New file.
24578 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24579 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24580 (INIT_ARCH): Initialize use_aligned_memopt.
24581 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24582 IS_IN(rtld))]: Restrict dl_platform_init availability and
24583 initialize CPU features used by tunables.
24584 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24585 Add memcpy-power8-cached.
24586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24587 __memcpy_power8_cached.
24588 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24589 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24592 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24594 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24595 (CFLAGS-noinl-tester.c): Likewise.
24596 (CFLAGS-tst-strlen.c): Likewise.
24597 (CFLAGS-stratcliff.c): Likewise.
24598 (CFLAGS-test-ffs.c): Likewise.
24599 (CFLAGS-tst-inlcall.c): Likewise.
24600 (CFLAGS-tst-xbzero-opt.c): Likewise.
24601 (CFLAGS-memcpy.c): Likewise.
24602 (CFLAGS-wordcopy.c): Likewise.
24604 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24606 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24607 Store r15 on stack and add cfi rule.
24608 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24611 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24614 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24617 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24619 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24620 Add s_sinf-sse2 and s_sinf-fma.
24621 (CFLAGS-s_sinf-fma.c): New.
24622 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24623 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24624 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24626 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24628 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24630 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24633 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24634 part of result to imaginary part of argument if it is zero and the
24635 real part of the argument is not finite.
24636 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24637 of result to real part of argument if it is zero and the imaginary
24638 part of the argument is not finite.
24640 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24643 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24644 and to the list of locales to be built for testing.
24645 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24646 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24647 and build the collation rules upon that.
24649 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24651 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24652 * manual/math.texi (Mathematics): Document support for _Float32.
24653 * math/Makefile (test-types): Add float32.
24654 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24655 * stdlib/Versions (GLIBC_2.27): Likewise.
24656 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24657 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24658 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24659 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24660 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24661 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24662 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24663 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24664 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24665 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24666 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24667 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24668 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24669 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24670 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24671 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24672 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24673 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24674 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24675 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24676 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24677 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24679 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24680 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24681 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24682 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24683 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24701 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24702 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24703 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24704 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24705 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24706 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24707 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24709 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24710 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24719 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24720 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24721 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24722 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24723 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24724 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24725 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24726 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24728 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24730 * stdlib/strtof.c: Include <bits/floatn.h>
24731 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24732 and later undefine as macro. Define as weak alias if
24734 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24735 and later undefine as macro. Define as weak alias if
24737 * stdlib/strtof_l.c: Include <bits/floatn.h>
24738 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24739 and later undefine as macro. Define as weak alias if
24741 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24742 and later undefine as macro. Define as weak alias if
24745 * stdlib/strfromf.c: Include <bits/floatn.h>.
24746 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24747 and later undefine as macro and define as weak alias.
24749 * math/test-float32.h: New file.
24751 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24752 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24753 (libm_alias_float_other_r): Create f32 alias.
24754 (libm_alias_float_r): Use semicolon before call to
24755 libm_alias_float_other_r.
24757 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24758 second argument to libm_alias_float_other.
24759 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24760 second argument to libm_alias_float_other.
24761 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24762 argument to libm_alias_float_other.
24765 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24766 real part of result for argument 0 + i * NaN.
24767 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24768 results for tests of 0 + i * NaN.
24770 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24772 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24774 2017-12-06 David S. Miller <davem@davemloft.net>
24776 * sysdeps/sparc/fpu/libm-test-ulps: Update
24777 exp_{downward,towardzero,upward} ulps.
24779 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24781 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24784 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24786 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24788 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24790 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24793 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24796 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24797 and to the list of locales to be built for testing.
24798 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24799 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24800 and build the collation rules upon that.
24802 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24804 * NEWS: Add sinf to list of optimized functions.
24806 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24808 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24809 (__HAVE_FLOAT32X): Likewise.
24810 * manual/math.texi (Mathematics): Document support for _Float64
24812 * math/Makefile (test-types): Add float64 and float32x.
24813 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24815 * stdlib/Versions (GLIBC_2.27): Likewise.
24816 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24817 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24818 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24819 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24820 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24821 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24822 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24823 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24824 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24825 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24826 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24827 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24828 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24829 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24830 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24832 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24833 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24834 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24835 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24836 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24837 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24839 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24840 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24841 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24842 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24843 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24860 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24861 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24862 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24863 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24864 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24865 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24866 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24867 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24868 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24869 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24878 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24879 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24880 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24881 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24882 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24883 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24884 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24885 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24887 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24889 * bits/floatn-common.h: Include <bits/long-double.h>.
24890 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24891 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24892 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24893 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24894 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24895 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24896 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24897 (__builtin_huge_valf64): Use __builtin_huge_vall.
24898 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24899 (__builtin_inff64): Use __builtin_infl.
24900 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24901 (__builtin_nanf64): Use __builtin_nanl.
24902 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24903 (__builtin_nansf64): Use __builtin_nansl.
24905 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24906 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24907 Carlos O'Donell <carlos@redhat.com>
24909 * elf/dl-tunables.list: Add elision parameters.
24910 * manual/tunables.texi: Add entries about elision tunable.
24911 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24912 Add callback functions to dynamically enable/disable elision.
24913 Add multiple callbacks functions to set elision parameters.
24914 Deleted __libc_enable_secure check.
24915 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24916 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24917 * configure: Regenerated.
24918 * configure.ac: Option enable_lock_elision was deleted.
24919 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24920 * config.make.in: Remove references to enable_lock_elision.
24921 * manual/install.texi: Elision configure option was removed.
24922 * INSTALL: Regenerated to remove enable_lock_elision.
24924 Disable elision so it can verify error case for destroying a mutex.
24925 * sysdeps/powerpc/nptl/elide.h:
24926 Cleanup ENABLE_LOCK_ELISION check.
24927 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24928 * sysdeps/s390/configure: Regenerated.
24929 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24930 * nptl/tst-mutex8.c:
24931 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24932 * sysdeps/powerpc/powerpc32/sysdep.h:
24933 Deleted all ENABLE_LOCK_ELISION checks.
24934 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24935 * sysdeps/powerpc/sysdep.h: Likewise.
24936 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24937 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24938 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24939 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24940 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24941 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24942 enable-lock-elision.
24944 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24946 * stdlib/strtod.c: Include <bits/floatn.h>.
24947 (BUILD_DOUBLE): New macro.
24948 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24949 (strtof64): Define and later undefine as macro. Define as weak
24950 alias if [!USE_WIDE_CHAR].
24951 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24952 (wcstof64): Define and later undefine as macro. Define as weak
24953 alias if [USE_WIDE_CHAR].
24954 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24955 (strtof32x): Define and later undefine as macro. Define as weak
24956 alias if [!USE_WIDE_CHAR].
24957 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24958 (wcstof32x): Define and later undefine as macro. Define as weak
24959 alias if [USE_WIDE_CHAR].
24960 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24961 (BUILD_DOUBLE): New macro.
24962 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24963 (strtof64_l): Define and later undefine as macro. Define as weak
24964 alias if [!USE_WIDE_CHAR].
24965 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24966 (wcstof64_l): Define and later undefine as macro. Define as weak
24967 alias if [USE_WIDE_CHAR].
24968 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24969 (strtof32x_l): Define and later undefine as macro. Define as weak
24970 alias if [!USE_WIDE_CHAR].
24971 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24972 (wcstof32x_l): Define and later undefine as macro. Define as weak
24973 alias if [USE_WIDE_CHAR].
24975 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24977 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24978 (reduced): Use ones as double instead of integer.
24980 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
24982 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
24984 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24986 * stdlib/strfromd.c: Include <bits/floatn.h>.
24987 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
24988 and later undefine as macro and define as weak alias.
24989 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
24992 * math/test-float32x.h: New file.
24993 * math/test-float64.h: Likewise.
24995 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
24996 (libm_alias_double_other_r_f64): New macro.
24997 (libm_alias_double_other_r_f32x): Likewise.
24998 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
24999 libm_alias_double_other_r_f32x.
25000 (libm_alias_double_r): Use semicolon before call to
25001 libm_alias_double_other_r.
25002 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25004 (libm_alias_double_other_r_f64): New macro.
25005 (libm_alias_double_other_r_f32x): Likewise.
25006 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25007 libm_alias_double_other_r_f32x.
25009 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25011 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25013 (SINF_FUNC): Likewise. Replace floor with simple casts.
25015 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25018 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25019 and to the list of locales to be built for testing.
25020 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25021 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25022 and build the collation rules upon that.
25024 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25026 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25027 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25028 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25029 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25030 instead of __insn__xxx.
25031 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25032 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25033 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25034 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25035 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25036 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25038 2017-12-05 Florian Weimer <fweimer@redhat.com>
25040 Linux: Implement interfaces for memory protection keys
25041 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25043 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25044 * support/xunistd.h (xsysconf): Declare.
25045 * support/xraise.c: New file.
25046 * support/xsigaction.c: Likewise.
25047 * support/xsignal.c: Likewise.
25048 * support/xsysconf.c: Likewise.
25049 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25050 pkey_set, pkey_get, pkey_mprotect.
25051 [misc] (tests): Add tst-pkey.
25052 (tst-pkey): Link with -lpthread.
25053 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25054 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25055 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25056 (PKEY_DISABLE_WRITE): Define.
25057 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25059 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25060 (SEGV_PKUERR): Add.
25061 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25062 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25063 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25064 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25066 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25067 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25068 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25069 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25070 * sysdeps/unix/sysv/linux/**.abilist: Update.
25072 2017-12-05 Florian Weimer <fweimer@redhat.com>
25074 * support/tst-test_compare.c (subprocess): Use long long instead
25075 of long argument for consistent type width across 32-bit and
25076 64-bit architectures.
25077 (do_test): Adjust expected output.
25079 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25081 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25082 (cosf): Define using libm_alias_float.
25083 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25084 (fabsf): Define using libm_alias_float.
25085 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25086 (fmaf): Define using libm_alias_float.
25087 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25088 (rintf): Define using libm_alias_float.
25089 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25090 (sinf): Define using libm_alias_float.
25091 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25092 <libm-alias-float.h>.
25093 (modff): Define using libm_alias_float.
25094 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25095 <libm-alias-float.h>.
25096 (logbf): Define using libm_alias_float.
25097 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25098 <libm-alias-float.h>.
25099 (ceilf): Define using libm_alias_float.
25100 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25101 <libm-alias-float.h>.
25102 (copysignf): Define using libm_alias_float.
25103 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25104 <libm-alias-float.h>.
25105 (floorf): Define using libm_alias_float.
25106 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25107 <libm-alias-float.h>.
25108 (llrintf): Define using libm_alias_float.
25109 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25110 <libm-alias-float.h>.
25111 (llroundf): Define using libm_alias_float.
25112 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25113 <libm-alias-float.h>.
25114 (lrintf): Define using libm_alias_float.
25115 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25116 <libm-alias-float.h>.
25117 (lroundf): Define using libm_alias_float.
25118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25119 <libm-alias-float.h>.
25120 (nearbyintf): Define using libm_alias_float.
25121 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25122 <libm-alias-float.h>.
25123 (rintf): Define using libm_alias_float.
25124 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25125 <libm-alias-float.h>.
25126 (roundf): Define using libm_alias_float.
25127 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25128 <libm-alias-float.h>.
25129 (truncf): Define using libm_alias_float.
25130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25131 Include <libm-alias-float.h>.
25132 (ceilf): Define using libm_alias_float.
25133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25134 Include <libm-alias-float.h>.
25135 (copysignf): Define using libm_alias_float.
25136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25137 Include <libm-alias-float.h>.
25138 (floorf): Define using libm_alias_float.
25139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25140 Include <libm-alias-float.h>.
25141 (llrintf): Define using libm_alias_float.
25142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25143 Include <libm-alias-float.h>.
25144 (llroundf): Define using libm_alias_float.
25145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25146 Include <libm-alias-float.h>.
25147 (logbf): Define using libm_alias_float.
25148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25149 Include <libm-alias-float.h>.
25150 (lrintf): Define using libm_alias_float.
25151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25152 Include <libm-alias-float.h>.
25153 (lroundf): Define using libm_alias_float.
25154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25155 Include <libm-alias-float.h>.
25156 (modff): Define using libm_alias_float.
25157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25158 Include <libm-alias-float.h>.
25159 (roundf): Define using libm_alias_float.
25160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25161 Include <libm-alias-float.h>.
25162 (truncf): Define using libm_alias_float.
25163 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25164 <libm-alias-float.h>.
25165 (llrintf): Define using libm_alias_float.
25166 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25167 <libm-alias-float.h>.
25168 (llroundf): Define using libm_alias_float.
25169 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25170 <libm-alias-float.h>.
25171 (ceilf): Define using libm_alias_float.
25172 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25173 <libm-alias-float.h>.
25174 (floorf): Define using libm_alias_float.
25175 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25176 <libm-alias-float.h>.
25177 (llroundf): Define using libm_alias_float.
25178 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25179 <libm-alias-float.h>.
25180 (lroundf): Define using libm_alias_float.
25181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25182 <libm-alias-float.h>.
25183 (roundf): Define using libm_alias_float.
25184 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25185 <libm-alias-float.h>.
25186 (truncf): Define using libm_alias_float.
25187 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25188 <libm-alias-float.h>.
25189 (copysignf): Define using libm_alias_float.
25190 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25191 <libm-alias-float.h>.
25192 (llrintf): Define using libm_alias_float.
25193 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25194 <libm-alias-float.h>.
25195 (llroundf): Define using libm_alias_float.
25196 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25197 <libm-alias-float.h>.
25198 (lrintf): Define using libm_alias_float.
25199 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25200 <libm-alias-float.h>.
25201 (lroundf): Define using libm_alias_float.
25202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25203 <libm-alias-float.h>.
25204 (ceilf): Define using libm_alias_float.
25205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25206 <libm-alias-float.h>.
25207 (copysignf): Define using libm_alias_float.
25208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25209 <libm-alias-float.h>.
25210 (cosf): Define using libm_alias_float.
25211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25212 <libm-alias-float.h>.
25213 (floorf): Define using libm_alias_float.
25214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25215 <libm-alias-float.h>.
25216 (llrintf): Define using libm_alias_float.
25217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25218 <libm-alias-float.h>.
25219 (llroundf): Define using libm_alias_float.
25220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25221 <libm-alias-float.h>.
25222 (logbf): Define using libm_alias_float.
25223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25224 <libm-alias-float.h>.
25225 (modff): Define using libm_alias_float.
25226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25227 <libm-alias-float.h>.
25228 (roundf): Define using libm_alias_float.
25229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25230 <libm-alias-float.h>.
25231 (sinf): Define using libm_alias_float.
25232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25233 <libm-alias-float.h>.
25234 (truncf): Define using libm_alias_float.
25235 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25236 <libm-alias-float.h>.
25237 (ceilf): Define using libm_alias_float.
25238 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25239 <libm-alias-float.h>.
25240 (copysignf): Define using libm_alias_float.
25241 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25242 <libm-alias-float.h>.
25243 (floorf): Define using libm_alias_float.
25244 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25245 <libm-alias-float.h>.
25246 (llrintf): Define using libm_alias_float.
25247 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25248 <libm-alias-float.h>.
25249 (llroundf): Define using libm_alias_float.
25250 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25251 <libm-alias-float.h>.
25252 (nearbyintf): Define using libm_alias_float.
25253 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25254 <libm-alias-float.h>.
25255 (rintf): Define using libm_alias_float.
25256 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25257 <libm-alias-float.h>.
25258 (roundf): Define using libm_alias_float.
25259 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25260 <libm-alias-float.h>.
25261 (truncf): Define using libm_alias_float.
25262 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25263 <libm-alias-float.h>.
25264 (ceilf): Define using libm_alias_float.
25265 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25266 <libm-alias-float.h>.
25267 (floorf): Define using libm_alias_float.
25268 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25269 <libm-alias-float.h>.
25270 (llroundf): Define using libm_alias_float.
25271 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25272 <libm-alias-float.h>.
25273 (roundf): Define using libm_alias_float.
25274 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25275 <libm-alias-float.h>.
25276 (truncf): Define using libm_alias_float.
25277 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25278 <libm-alias-float.h>.
25279 (copysignf): Define using libm_alias_float.
25280 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25281 <libm-alias-float.h>.
25282 (llrintf): Define using libm_alias_float.
25283 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25284 <libm-alias-float.h>.
25285 (llroundf): Define using libm_alias_float.
25286 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25287 <libm-alias-float.h>.
25288 (cosf): Define using libm_alias_float.
25289 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25290 <libm-alias-float.h>.
25291 (llrintf): Define using libm_alias_float.
25292 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25293 <libm-alias-float.h>.
25294 (llroundf): Define using libm_alias_float.
25295 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25296 <libm-alias-float.h>.
25297 (sinf): Define using libm_alias_float.
25299 2017-12-04 Florian Weimer <fweimer@redhat.com>
25301 * support/check.h (TEST_COMPARE): Define.
25302 (support_test_compare_failure): Declare.
25303 * support/Makefile (libsupport-routines): Add
25304 support_test_compare_failure.
25305 (tests): Add tst-test_compare.
25306 * support /support_test_compare_failure.c: New file.
25307 * support/tst-test_compare.c: Likewise.
25309 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25312 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25313 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25314 available, this rewrite of the collation rules does reproduce
25315 the test file in the same order.
25317 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25320 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25321 digraphs in the month and day names. Using single code points for
25322 digraphs is deprecated. While there are dedicated Unicode
25323 codepoints, for the digraphs, these are included for backwards
25324 compatibility and modern texts use a sequence of Basic Latin
25325 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25326 This makes the month and day names agree exactly with CLDR now,
25327 CLDR does not use the single code points for the digraphs either.
25329 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25331 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25333 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25335 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25338 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25340 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25341 Define only for libc.so.
25343 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25346 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25347 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25348 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25349 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25351 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25354 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25356 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25359 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25360 PREINIT_FUNCTION_WEAK is nonzero.
25361 (gmon_initializer): New function. Put procedure label for it in
25362 .init_array section.
25363 (_init): Don't call PREINIT_FUNCTION.
25364 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25365 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25366 value when map argument is null.
25368 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25369 depi instruction from PIC pc-relative sequence.
25370 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25371 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25372 (elf_machine_load_address): Likewise.
25373 (elf_machine_runtime_setup): Likewise.
25375 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25377 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25378 <libm-alias-double.h>.
25379 (logb): Define using libm_alias_double.
25380 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25381 <libm-alias-double.h>.
25382 (copysign): Define using libm_alias_double.
25383 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25384 <libm-alias-double.h>.
25385 (llrint): Define using libm_alias_double.
25386 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25387 <libm-alias-double.h>.
25388 (llround): Define using libm_alias_double.
25389 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25390 <libm-alias-double.h>.
25391 (lrint): Define using libm_alias_double.
25392 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25393 <libm-alias-double.h>.
25394 (lround): Define using libm_alias_double.
25395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25396 Include <libm-alias-double.h>.
25397 (copysign): Define using libm_alias_double.
25398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25399 Include <libm-alias-double.h>.
25400 (llrint): Define using libm_alias_double.
25401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25402 Include <libm-alias-double.h>.
25403 (llround): Define using libm_alias_double.
25404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25405 <libm-alias-double.h>.
25406 (logb): Define using libm_alias_double.
25407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25408 Include <libm-alias-double.h>.
25409 (lrint): Define using libm_alias_double.
25410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25411 Include <libm-alias-double.h>.
25412 (lround): Define using libm_alias_double.
25413 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25414 <libm-alias-double.h>.
25415 (llrint): Define using libm_alias_double.
25416 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25417 <libm-alias-double.h>.
25418 (llround): Define using libm_alias_double.
25419 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25420 <libm-alias-double.h>.
25421 (llround): Define using libm_alias_double.
25422 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25423 <libm-alias-double.h>.
25424 (lround): Define using libm_alias_double.
25425 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25426 <libm-alias-double.h>.
25427 (copysign): Define using libm_alias_double.
25428 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25429 <libm-alias-double.h>.
25430 (llrint): Define using libm_alias_double.
25431 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25432 <libm-alias-double.h>.
25433 (llround): Define using libm_alias_double.
25434 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25435 <libm-alias-double.h>.
25436 (lrint): Define using libm_alias_double.
25437 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25438 <libm-alias-double.h>.
25439 (lround): Define using libm_alias_double.
25440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25441 <libm-alias-double.h>.
25442 (copysign): Define using libm_alias_double.
25443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25444 <libm-alias-double.h>.
25445 (llrint): Define using libm_alias_double.
25447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25448 <libm-alias-double.h>.
25449 (llround): Define using libm_alias_double.
25450 (lround): Likewise.
25451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25452 <libm-alias-double.h>.
25453 (logb): Define using libm_alias_double.
25454 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25455 <libm-alias-double.h>.
25456 (copysign): Define using libm_alias_double.
25457 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25458 <libm-alias-double.h>.
25459 (llrint): Define using libm_alias_double.
25461 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25462 <libm-alias-double.h>.
25463 (llround): Define using libm_alias_double.
25464 (lround): Likewise.
25465 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25466 <libm-alias-double.h>.
25467 (llround): Define using libm_alias_double.
25468 (lround): Likewise.
25469 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25470 <libm-alias-double.h>.
25471 (copysign): Define using libm_alias_double.
25472 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25473 <libm-alias-double.h>.
25474 (llrint): Define using libm_alias_double.
25476 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25477 <libm-alias-double.h>.
25478 (llround): Define using libm_alias_double.
25479 (lround): Likewise.
25480 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25481 <libm-alias-double.h>.
25482 (llrint): Define using libm_alias_double.
25484 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25485 <libm-alias-double.h>.
25486 (llround): Define using libm_alias_double.
25487 (lround): Likewise.
25489 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25492 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25493 compat symbol based on llround.
25495 * sysdeps/powerpc/power7/fpu/s_logb.c
25496 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25497 symbol based on __logb, not on logb.
25498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25499 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25501 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25503 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25504 (rint): Define using libm_alias_double.
25505 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25506 <libm-alias-double.h>.
25507 (modf): Define using libm_alias_double.
25508 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25509 <libm-alias-double.h>.
25510 (ceil): Define using libm_alias_double.
25511 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25512 <libm-alias-double.h>.
25513 (floor): Define using libm_alias_double.
25514 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25515 <libm-alias-double.h>.
25516 (nearbyint): Define using libm_alias_double.
25517 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25518 <libm-alias-double.h>.
25519 (rint): Define using libm_alias_double.
25520 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25521 <libm-alias-double.h>.
25522 (round): Define using libm_alias_double.
25523 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25524 <libm-alias-double.h>.
25525 (trunc): Define using libm_alias_double.
25526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25527 <libm-alias-double.h>.
25528 (ceil): Define using libm_alias_double.
25529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25530 Include <libm-alias-double.h>.
25531 (floor): Define using libm_alias_double.
25532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25533 <libm-alias-double.h>.
25534 (modf): Define using libm_alias_double.
25535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25536 Include <libm-alias-double.h>.
25537 (round): Define using libm_alias_double.
25538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25539 Include <libm-alias-double.h>.
25540 (trunc): Define using libm_alias_double.
25541 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25542 <libm-alias-double.h>.
25543 (ceil): Define using libm_alias_double.
25544 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25545 <libm-alias-double.h>.
25546 (floor): Define using libm_alias_double.
25547 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25548 <libm-alias-double.h>.
25549 (round): Define using libm_alias_double.
25550 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25551 <libm-alias-double.h>.
25552 (trunc): Define using libm_alias_double.
25553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25554 <libm-alias-double.h>.
25555 (ceil): Define using libm_alias_double.
25556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25557 <libm-alias-double.h>.
25558 (floor): Define using libm_alias_double.
25559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25560 <libm-alias-double.h>.
25561 (modf): Define using libm_alias_double.
25562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25563 <libm-alias-double.h>.
25564 (round): Define using libm_alias_double.
25565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25566 <libm-alias-double.h>.
25567 (trunc): Define using libm_alias_double.
25568 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25569 <libm-alias-double.h>.
25570 (ceil): Define using libm_alias_double.
25571 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25572 <libm-alias-double.h>.
25573 (floor): Define using libm_alias_double.
25574 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25575 <libm-alias-double.h>.
25576 (nearbyint): Define using libm_alias_double.
25577 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25578 <libm-alias-double.h>.
25579 (rint): Define using libm_alias_double.
25580 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25581 <libm-alias-double.h>.
25582 (round): Define using libm_alias_double.
25583 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25584 <libm-alias-double.h>.
25585 (trunc): Define using libm_alias_double.
25586 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25587 <libm-alias-double.h>.
25588 (ceil): Define using libm_alias_double.
25589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25590 <libm-alias-double.h>.
25591 (floor): Define using libm_alias_double.
25592 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25593 <libm-alias-double.h>.
25594 (round): Define using libm_alias_double.
25595 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25596 <libm-alias-double.h>.
25597 (trunc): Define using libm_alias_double.
25599 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25600 (fabs): Define using libm_alias_double.
25601 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25602 (fma): Define using libm_alias_double.
25603 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25604 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25605 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25606 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25608 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25610 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25612 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25613 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25614 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25617 due redirect macro.
25619 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25621 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25623 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25625 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25626 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25627 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25628 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25631 (libm-sysdep_routines): Add s_nearbyintf-generic and
25632 s_nearbyint-generic.
25633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25646 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25657 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25668 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25679 (sysdep_calls): New rule.
25680 (sysdep_routines): Use sysdep_calls as base.
25681 (libm-sysdep_routines): Add generic rule for symbols shared with
25682 libc. Add s_copysign-generic and s_copysign-generic objects.
25683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25692 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25695 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25696 the list of locales to be built for testing.
25697 * localedata/is_IS.UTF-8.in: New file.
25698 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25701 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25703 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25704 <libm-alias-float.h>.
25705 (fabsf): Define using libm_alias_float.
25707 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25709 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25711 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25713 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25714 <libm-alias-float.h>.
25715 (fabsf): Define using libm_alias_float.
25716 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25717 <libm-alias-float.h>.
25718 (lrintf): Define using libm_alias_float.
25719 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25720 <libm-alias-float.h>.
25721 (rintf): Define using libm_alias_float.
25723 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25724 <libm-alias-double.h>.
25725 (fabs): Define using libm_alias_double.
25726 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25727 <libm-alias-double.h>.
25728 (lrint): Define using libm_alias_double.
25729 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25730 <libm-alias-double.h>.
25731 (rint): Define using libm_alias_double.
25733 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25734 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25735 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25736 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25737 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25738 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25739 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25740 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25741 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25742 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25743 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25744 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25745 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25746 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25747 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25748 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25749 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25750 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25752 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25753 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25754 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25756 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25757 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25758 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25760 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25761 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25762 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25763 s_expm1_template.c.
25764 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25765 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25766 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25768 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25769 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25770 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25771 s_floor_template.c.
25772 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25773 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25774 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25775 s_frexp_template.c.
25776 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25777 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25778 s_lrint_template.c.
25779 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25780 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25781 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25783 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25784 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25785 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25786 s_nearbyint_template.c.
25787 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25788 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25789 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25790 s_remquo_template.c.
25791 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25792 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25793 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25795 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25796 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25797 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25799 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25800 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25801 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25802 s_sincos_template.c.
25803 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25804 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25805 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25807 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25808 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25809 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25811 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25812 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25813 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25814 s_trunc_template.c.
25815 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25816 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25817 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25818 s_atan.c instead of including s_atan.c.
25819 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25820 s_atanf.c instead of including s_atanf.c.
25821 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25822 s_atanl.c instead of including s_atanl.c.
25823 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25824 instead of s_atan.c.
25825 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25826 instead of s_atanf.c.
25827 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25828 instead of s_atanl.c.
25830 * scripts/update-copyrights: Do not handle intl/plural.c
25833 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25836 * configure.ac (BISON): Require to be present.
25837 * configure: Regenerated.
25838 * intl/Makefile (generated): Add plural.c.
25839 [$(BISON) != no]: Make code unconditional.
25840 (plural.c): Change rule to $(objpfx)plural.c.
25841 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25842 * intl/plural.c: Remove.
25843 * manual/install.texi (Tools for Compilation): Document bison as
25845 * INSTALL: Regenerated.
25847 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25849 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25850 <libm-alias-double.h>.
25851 (llrint): Define using libm_alias_double.
25852 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25853 <libm-alias-float.h>.
25854 (llrintf): Define using libm_alias_float.
25855 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25856 <libm-alias-ldouble.h>.
25857 (llrintl): Define using libm_alias_ldouble.
25859 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25860 declare_mgen_alias instead of weak_alias.
25861 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25862 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25863 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25865 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25867 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25869 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25870 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25871 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25873 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25874 Add submul_1-generic.
25875 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25876 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25877 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25879 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25880 Add addmul_1-generic.
25881 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25882 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25883 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25885 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25887 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25888 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25889 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25891 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25893 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25894 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25895 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25897 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25899 According to CLDR, collation rules for Serbian and Bosnian
25900 should be the same as for Croatian.
25903 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25904 and to the list of locales to be built for testing.
25905 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25906 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25907 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25908 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25910 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25912 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25913 to make test case pass.
25914 * localedata/hr_HR.UTF-8.in: Add more test strings.
25916 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25918 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25920 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25922 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25923 the list of locales to built for testing.
25924 * localedata/hr_HR.UTF-8.in: New file.
25926 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25929 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25931 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25932 CLDR (except use ligatures for the digraphs, CLDR does not use
25933 the ligatures), add first_workday, some fixes in the date and time
25935 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25937 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25938 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25939 Add int_p_cs_precedes and int_n_cs_precedes.
25940 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25941 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25943 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25944 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25946 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25947 and lang_lib. Change postal_fmt.
25949 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25951 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25953 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25954 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25955 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25956 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25957 * sysdeps/generic/setjmpP.h: New file.
25958 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25959 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25960 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25961 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25962 Add jmp_buf-ssp.sym.
25963 (tests): Add tst-saved_mask-1.
25965 2017-11-30 Arjun Shankar <arjun@redhat.com>
25969 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25970 instead of request2size.
25972 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25975 (__lllrint): Remove alias.
25976 (lllrint): Likewise.
25977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25978 (__lllrintf): Likewise.
25979 (lllrintf): Likewise.
25981 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
25982 <libm-alias-float.h>.
25983 (copysignf): Define using libm_alias_float.
25984 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
25985 <libm-alias-float.h>.
25986 (fabsf): Define using libm_alias_float.
25987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25988 Include <libm-alias-float.h>.
25989 (copysignf): Define using libm_alias_float.
25990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
25991 <libm-alias-float.h>.
25992 (fabsf): Define using libm_alias_float.
25993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
25994 <libm-alias-float.h>.
25995 (fdimf): Define using libm_alias_float.
25996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
25997 <libm-alias-float.h>.
25998 (fmaf): Define using libm_alias_float.
25999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26000 <libm-alias-float.h>.
26001 (llrintf): Define using libm_alias_float.
26002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26003 Include <libm-alias-float.h>.
26004 (nearbyintf): Define using libm_alias_float.
26005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26006 <libm-alias-float.h>.
26007 (rintf): Define using libm_alias_float.
26008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26009 <libm-alias-float.h>.
26010 (llrintf): Define using libm_alias_float.
26011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26012 <libm-alias-float.h>.
26013 (lrintf): Define using libm_alias_float.
26014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26015 <libm-alias-float.h>.
26016 (nearbyintf): Define using libm_alias_float.
26017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26018 <libm-alias-float.h>.
26019 (rintf): Define using libm_alias_float.
26020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26021 <libm-alias-float.h>.
26022 (ceilf): Define using libm_alias_float.
26023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26024 <libm-alias-float.h>.
26025 (floorf): Define using libm_alias_float.
26026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26027 <libm-alias-float.h>.
26028 (fmaf): Define using libm_alias_float.
26029 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26030 <libm-alias-float.h>.
26031 (lrintf): Define using libm_alias_float.
26032 (llrintf): Likewise.
26033 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26034 <libm-alias-float.h>.
26035 (nearbyintf): Define using libm_alias_float.
26036 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26037 <libm-alias-float.h>.
26038 (rintf): Define using libm_alias_float.
26039 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26040 <libm-alias-float.h>.
26041 (truncf): Define using libm_alias_float.
26042 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26043 <libm-alias-float.h>.
26044 (copysignf): Define using libm_alias_float.
26045 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26046 <libm-alias-float.h>.
26047 (fabsf): Define using libm_alias_float.
26048 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26049 <libm-alias-float.h>.
26050 (lrintf): Define using libm_alias_float.
26051 (llrintf): Likewise.
26052 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26053 <libm-alias-float.h>.
26054 (nearbyintf): Define using libm_alias_float.
26055 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26056 <libm-alias-float.h>.
26057 (rintf): Define using libm_alias_float.
26059 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26061 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26062 <libm-alias-double.h>.
26063 (copysign): Define using libm_alias_double.
26064 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26065 <libm-alias-double.h>.
26066 (fabs): Define using libm_alias_double.
26067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26068 Include <libm-alias-double.h>.
26069 (copysign): Define using libm_alias_double.
26070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26071 <libm-alias-double.h>.
26072 (fabs): Define using libm_alias_double.
26073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26074 <libm-alias-double.h>.
26075 (fdim): Define using libm_alias_double.
26076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26077 <libm-alias-double.h>.
26078 (fma): Define using libm_alias_double.
26079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26080 <libm-alias-double.h>.
26081 (llrint): Define using libm_alias_double.
26082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26083 Include <libm-alias-double.h>.
26084 (nearbyint): Define using libm_alias_double.
26085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26086 <libm-alias-double.h>.
26087 (rint): Define using libm_alias_double.
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26089 <libm-alias-double.h>.
26090 (fabs): Define using libm_alias_double.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26092 <libm-alias-double.h>.
26093 (llrint): Define using libm_alias_double.
26094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26095 <libm-alias-double.h>.
26096 (nearbyint): Define using libm_alias_double.
26097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26098 <libm-alias-double.h>.
26099 (rint): Define using libm_alias_double.
26100 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26101 <libm-alias-double.h>.
26102 (ceil): Define using libm_alias_double.
26103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26104 <libm-alias-double.h>.
26105 (floor): Define using libm_alias_double.
26106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26107 <libm-alias-double.h>.
26108 (fma): Define using libm_alias_double.
26109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26110 <libm-alias-double.h>.
26111 (lrint): Define using libm_alias_double.
26112 (llrint): Likewise.
26113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26114 <libm-alias-double.h>.
26115 (nearbyint): Define using libm_alias_double.
26116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26117 <libm-alias-double.h>.
26118 (rint): Define using libm_alias_double.
26119 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26120 <libm-alias-double.h>.
26121 (trunc): Define using libm_alias_double.
26122 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26123 <libm-alias-double.h>.
26124 (copysign): Define using libm_alias_double.
26125 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26126 <libm-alias-double.h>.
26127 (fabs): Define using libm_alias_double.
26128 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26129 <libm-alias-double.h>.
26130 (lrint): Define using libm_alias_double.
26131 (llrint): Likewise.
26132 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26133 <libm-alias-double.h>.
26134 (nearbyint): Define using libm_alias_double.
26135 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26136 <libm-alias-double.h>.
26137 (rint): Define using libm_alias_double.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26142 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26144 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26145 SPARC --disable-multi-arch glibc variants.
26147 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26148 <libm-alias-float.h>.
26149 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26151 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26152 <libm-alias-float.h>.
26153 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26155 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26156 <libm-alias-float.h>.
26157 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26159 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26160 <libm-alias-float.h>.
26161 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26163 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26164 <libm-alias-float.h>.
26165 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26167 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26168 <libm-alias-float.h>.
26169 (ceilf): Define using libm_alias_float.
26170 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26171 <libm-alias-float.h>.
26172 (floorf): Define using libm_alias_float.
26173 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26174 <libm-alias-float.h>.
26175 (fmaf): Define using libm_alias_float.
26176 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26177 <libm-alias-float.h>.
26178 (nearbyintf): Define using libm_alias_float.
26179 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26180 <libm-alias-float.h>.
26181 (rintf): Define using libm_alias_float.
26182 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26183 <libm-alias-float.h>.
26184 (truncf): Define using libm_alias_float.
26185 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26186 (copysignf): Define using libm_alias_float.
26187 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26188 (cosf): Define using libm_alias_float.
26189 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26190 (fabsf): Define using libm_alias_float.
26191 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26192 (fmaxf): Define using libm_alias_float.
26193 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26194 (fminf): Define using libm_alias_float.
26195 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26196 (llrintf): Define using libm_alias_float.
26197 [!__ILP32__] (lrintf): Likewise.
26198 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26199 (sincosf): Define using libm_alias_float.
26200 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26201 (sinf): Define using libm_alias_float.
26202 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26203 (lrintf): Define using libm_alias_float.
26205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26206 <libm-alias-double.h>.
26207 (atan): Define using libm_alias_double.
26208 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26209 <libm-alias-double.h>.
26210 (ceil): Define using libm_alias_double.
26211 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26212 <libm-alias-double.h>.
26213 (floor): Define using libm_alias_double.
26214 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26215 <libm-alias-double.h>.
26216 (fma): Define using libm_alias_double.
26217 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26218 <libm-alias-double.h>.
26219 (nearbyint): Define using libm_alias_double.
26220 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26221 <libm-alias-double.h>.
26222 (rint): Define using libm_alias_double.
26223 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26224 <libm-alias-double.h>.
26225 (sin): Define using libm_alias_double.
26227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26228 <libm-alias-double.h>.
26229 (tan): Define using libm_alias_double.
26230 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26231 <libm-alias-double.h>.
26232 (trunc): Define using libm_alias_double.
26233 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26234 (copysign): Define using libm_alias_double.
26235 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26236 (fabs): Define using libm_alias_double.
26237 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26238 (fmax): Define using libm_alias_double.
26239 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26240 (fmin): Define using libm_alias_double.
26241 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26242 (llrint): Define using libm_alias_double.
26243 [!__ILP32__] (lrint): Likewise.
26244 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26245 (lrint): Define using libm_alias_double.
26247 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26249 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26250 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26260 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26270 (libm-sysdep_routines): Add s_nearbyint-generic and
26271 s_nearbyintf-generic objects.
26272 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26273 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26274 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26275 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26276 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26277 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26280 Add s_finitef-generic and s_finite-generic objects.
26281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26289 Add s_isinff-generic and s_isinf-generic objects.
26290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26298 Add s_isnanf-generic and s_isnan-generic objects.
26299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26306 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26310 (sysdep_routines): Use sysdep_calls as base.
26311 (libm-sysdep_routines): Add generic rule for symbols shared with
26312 libc. Add s_signbit-generic and s_signbitf-generic objects.
26313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26314 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26315 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26316 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26320 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26322 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26323 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26324 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26325 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26326 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26327 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26328 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26329 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26330 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26331 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26332 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26333 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26334 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26335 libm_alias_float_r.
26336 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26337 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26339 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26340 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26341 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26342 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26343 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26344 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26345 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26346 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26347 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26348 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26350 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26352 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26353 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26354 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26355 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26356 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26357 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26358 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26359 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26360 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26361 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26362 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26363 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26364 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26365 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26366 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26367 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26368 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26369 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26370 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26372 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26373 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26374 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26375 * sysdeps/ia64/fpu/w_lgammaf_main.c
26376 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26377 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26379 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26380 Alexandre Oliva <aoliva@redhat.com>
26383 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26384 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26386 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26388 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26389 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26390 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26391 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26392 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26393 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26394 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26395 instead of “ifdef DIACRIT_BACKWARD”.
26397 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26399 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26400 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26401 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26402 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26403 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26404 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26411 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26412 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26413 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26414 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26415 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26416 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26418 ($(have-as-vis3) == yes): Remove conditional.
26419 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26435 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26436 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26438 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26440 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26441 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26442 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26443 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26444 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26445 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26446 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26447 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26448 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26449 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26450 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26451 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26452 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26453 libm_alias_double_r.
26454 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26456 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26457 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26458 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26459 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26460 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26461 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26462 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26463 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26464 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26465 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26466 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26468 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26470 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26471 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26472 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26473 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26474 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26475 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26476 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26477 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26478 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26479 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26480 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26481 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26482 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26483 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26484 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26485 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26486 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26487 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26489 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26490 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26491 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26492 * sysdeps/ia64/fpu/w_lgamma_main.c
26493 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26494 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26496 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26498 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26499 address of $global$ into %dp register earlier. Use pc-relative
26500 instruction sequence for PIC case.
26502 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26504 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26505 (asinhf): Define using libm_alias_float.
26506 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26507 (atanf): Define using libm_alias_float.
26508 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26509 (cbrtf): Define using libm_alias_float.
26510 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26511 (ceilf): Define using libm_alias_float.
26512 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26513 (copysignf): Define using libm_alias_float.
26514 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26515 (expm1f): Define using libm_alias_float.
26516 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26517 (fabsf): Define using libm_alias_float.
26518 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26519 (floorf): Define using libm_alias_float.
26520 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26521 (fmaxf): Define using libm_alias_float.
26522 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26523 (fminf): Define using libm_alias_float.
26524 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26525 (frexpf): Define using libm_alias_float.
26526 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26527 (llrintf): Define using libm_alias_float.
26528 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26529 (logbf): Define using libm_alias_float.
26530 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26531 (lrintf): Define using libm_alias_float.
26532 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26533 (nearbyintf): Define using libm_alias_float.
26534 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26535 (remquof): Define using libm_alias_float.
26536 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26537 (rintf): Define using libm_alias_float.
26538 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26539 (truncf): Define using libm_alias_float.
26540 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26541 <libm-alias-float.h>.
26542 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26544 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26545 <libm-alias-float.h>.
26546 (expf): Define using libm_alias_float, or libm_alias_float_other
26548 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26549 <libm-alias-float.h>.
26550 (log2f): Define using libm_alias_float, or libm_alias_float_other
26552 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26553 <libm-alias-float.h>.
26554 (logf): Define using libm_alias_float, or libm_alias_float_other
26556 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26557 <libm-alias-float.h>.
26558 (powf): Define using libm_alias_float, or libm_alias_float_other
26560 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26561 <libm-alias-float.h>.
26562 (cosf): Define using libm_alias_float.
26563 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26564 <libm-alias-float.h>.
26565 (sincosf): Define using libm_alias_float.
26566 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26567 <libm-alias-float.h>.
26568 (sinf): Define using libm_alias_float.
26569 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26570 (fmaxf): Define using libm_alias_float.
26571 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26572 (fminf): Define using libm_alias_float.
26573 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26574 <libm-alias-float.h>.
26575 (fmaf): Define using libm_alias_float.
26577 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26578 (asinh): Define using libm_alias_double.
26579 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26580 (atan): Define using libm_alias_double.
26581 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26582 (cbrt): Define using libm_alias_double.
26583 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26584 (ceil): Define using libm_alias_double.
26585 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26586 (copysign): Define using libm_alias_double.
26587 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26588 (expm1): Define using libm_alias_double.
26589 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26590 (fabs): Define using libm_alias_double.
26591 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26592 (fdim): Define using libm_alias_double.
26593 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26594 (floor): Define using libm_alias_double.
26595 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26596 (fmax): Define using libm_alias_double.
26597 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26598 (fmin): Define using libm_alias_double.
26599 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26600 (frexp): Define using libm_alias_double.
26601 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26602 (llrint): Define using libm_alias_double.
26603 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26604 (logb): Define using libm_alias_double.
26605 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26606 (lrint): Define using libm_alias_double.
26607 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26608 (nearbyint): Define using libm_alias_double.
26609 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26610 (remquo): Define using libm_alias_double.
26611 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26612 (rint): Define using libm_alias_double.
26613 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26614 (trunc): Define using libm_alias_double.
26615 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26616 (fmax): Define using libm_alias_double.
26617 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26618 (fmin): Define using libm_alias_double.
26619 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26620 (fma): Define using libm_alias_double.
26622 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26625 * elf/dl-hwcaps.c (ROUND): Removed.
26626 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26627 and ELF_NOTE_NEXT_OFFSET.
26628 * elf/dl-load.c (ROUND): Removed.
26629 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26630 * elf/readelflib.c (ROUND): Removed.
26631 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26632 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26633 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26634 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26636 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26638 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26639 [!__fmaf] (fmaf): Define using libm_alias_float.
26641 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26642 [!__fma] (fma): Define using libm_alias_double.
26643 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26645 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26648 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26649 and implement the collation rules for cs from CLDR on top of that.
26650 * Makefile: Add cs_CZ.UTF-8 to test-input.
26651 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26653 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26655 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26657 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26658 Icarus Sparry <icarus.w.sparry@intel.com>
26660 * benchtests/Makefile:Add BENCHSET to allow subsets of
26661 benchmarks to be run.
26662 * benchtests/README: Add documentation for: Running subsets of
26665 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26667 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26668 range of tests names.
26670 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26671 result from property and remove "max", min" and "mean" from
26672 required properties based on benchtests/bench-skeleton.c.
26674 2017-11-28 Florian Weimer <fweimer@redhat.com>
26677 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26678 due to Internet requirement.
26679 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26681 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26683 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26685 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26686 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26687 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26688 (sysdep_routines): Add memset-ultra1.
26689 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26691 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26692 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26693 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26694 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26695 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26696 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26697 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26698 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26700 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26702 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26703 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26704 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26705 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26706 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26707 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26708 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26710 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26711 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26712 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26713 (sysdep_routines): Add memcpy-ultra1.
26714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26715 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26717 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26719 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26720 (cfloat_versions): Take function argument without trailing 'f'.
26721 Call libm_alias_float_other.
26722 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26723 * sysdeps/alpha/fpu/cargf.c: Likewise.
26724 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26725 * sysdeps/alpha/fpu/conjf.c: Likewise.
26726 * sysdeps/alpha/fpu/crealf.c: Likewise.
26727 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26728 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26729 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26730 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26731 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26732 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26733 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26734 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26735 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26736 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26737 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26738 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26739 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26740 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26741 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26742 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26743 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26744 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26745 (clog10f): Use libm_alias_float_other.
26746 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26747 (ceilf): Define using libm_alias_float.
26748 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26749 (copysignf): Define using libm_alias_float.
26750 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26751 (fabsf): Define using libm_alias_float.
26752 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26753 (floorf): Define using libm_alias_float.
26754 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26755 (fmaxf): Define using libm_alias_float.
26756 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26757 (fminf): Define using libm_alias_float.
26758 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26759 (lrintf): Define using libm_alias_float.
26760 (llrintf): Likewise.
26761 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26762 (lroundf): Define using libm_alias_float.
26763 (llroundf): Likewise.
26764 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26765 (rintf): Define using libm_alias_float.
26766 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26767 (truncf): Define using libm_alias_float.
26769 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26770 (ceilf): Define using libm_alias_float.
26771 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26772 (floorf): Define using libm_alias_float.
26773 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26774 (fmaf): Define using libm_alias_float.
26775 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26776 (fmaxf): Define using libm_alias_float.
26777 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26778 (fminf): Define using libm_alias_float.
26779 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26780 (llrintf): Define using libm_alias_float.
26781 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26782 (llroundf): Define using libm_alias_float.
26783 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26784 (lrintf): Define using libm_alias_float.
26785 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26786 (lroundf): Define using libm_alias_float.
26787 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26788 <libm-alias-float.h>.
26789 (nearbyintf): Define using libm_alias_float.
26790 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26791 (rintf): Define using libm_alias_float.
26792 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26793 (roundf): Define using libm_alias_float.
26794 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26795 (truncf): Define using libm_alias_float.
26797 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26798 (ceil): Define using libm_alias_double.
26799 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26800 (copysign): Define using libm_alias_double.
26801 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26802 (fabs): Define using libm_alias_double.
26803 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26804 (floor): Define using libm_alias_double.
26805 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26806 (fmax): Define using libm_alias_double.
26807 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26808 (fmin): Define using libm_alias_double.
26809 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26810 (lrint): Define using libm_alias_double.
26811 (llrint): Likewise.
26812 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26813 (lround): Define using libm_alias_double.
26814 (llround): Likewise.
26815 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26816 (rint): Define using libm_alias_double.
26817 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26818 (trunc): Define using libm_alias_double.
26820 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26821 (libm_alias_double_r): Add semicolon after weak_alias call.
26823 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26825 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26826 (ceil): Define using libm_alias_double.
26827 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26828 (floor): Define using libm_alias_double.
26829 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26830 (fma): Define using libm_alias_double.
26831 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26832 (fmax): Define using libm_alias_double.
26833 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26834 (fmin): Define using libm_alias_double.
26835 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26836 (llrint): Define using libm_alias_double.
26837 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26838 (llround): Define using libm_alias_double.
26839 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26840 (lrint): Define using libm_alias_double.
26841 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26842 (lround): Define using libm_alias_double.
26843 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26844 (nearbyint): Define using libm_alias_double.
26845 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26846 (rint): Define using libm_alias_double.
26847 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26848 (round): Define using libm_alias_double.
26849 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26850 (trunc): Define using libm_alias_double.
26852 2017-11-27 Florian Weimer <fweimer@redhat.com>
26854 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26855 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26856 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26857 (tests): Add tst-mlock2.
26858 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26859 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26860 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26861 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26862 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26863 for mlock. Document mlock2.
26865 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26867 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26868 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26870 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26872 * sysdeps/x86/Makeconfig: New file.
26873 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26874 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26875 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26876 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26877 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26878 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26879 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26881 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26882 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26883 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26884 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26885 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26886 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26887 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26888 * manual/math.texi (Mathematics): Document support for _Float64x.
26889 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26890 * stdlib/Versions (GLIBC_2.27): Likewise.
26891 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26892 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26893 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26894 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26895 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26896 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26897 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26898 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26899 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26900 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26901 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26902 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26907 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26908 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26909 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26910 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26911 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26912 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26913 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26914 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26915 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26916 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26917 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26918 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26919 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26920 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26922 2017-11-27 Andreas Schwab <schwab@suse.de>
26924 * elf/Makefile (dl-routines): Add dl-sort-maps.
26925 * elf/dl-sort-maps.c: New file.
26926 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26927 (_dl_sort_maps): Declare.
26928 * elf/dl-fini.c (_dl_sort_fini): Remove.
26929 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26930 * elf/dl-close.c (_dl_close_worker): Likewise.
26931 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26933 * elf/dl-open.c (dl_open_worker): Likewise.
26935 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26937 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26938 using libm_alias_float128.
26939 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26941 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26943 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26944 (setpayloadsigf128): Likewise.
26945 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26947 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26950 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26951 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26952 -mfloat128 to CFLAGS.
26954 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26956 (CFLAGS-libm-test-support-float64x.c): New variable.
26957 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26958 $(f128-loader-link) to gnulib-tests.
26960 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26961 (libm_alias_float128_other_r): If
26962 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26964 (libm_alias_float128_r): Add semicolon after weak_alias call.
26965 * sysdeps/generic/libm-alias-ldouble.h
26966 (libm_alias_ldouble_other_r_f128): New macro.
26967 (libm_alias_ldouble_other_r_f64x): Likewise.
26968 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26969 and libm_alias_ldouble_other_r_f64x.
26970 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26971 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26972 (libm_alias_ldouble_other_r_f128): New macro.
26973 (libm_alias_ldouble_other_r_f64x): Likewise.
26974 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26975 and libm_alias_ldouble_other_r_f64x.
26977 * stdlib/strfroml.c: Always include <stdlib.h>.
26978 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
26979 undefine as macro and define as weak alias.
26980 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
26981 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
26983 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
26984 Define and later undefine as macro and define as weak alias.
26986 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26987 Define and later undefine as macro. Define as weak alias if
26989 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
26990 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
26991 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
26992 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
26993 Define and later undefine as macro. Define as weak alias if
26995 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
26996 Define and later undefine as macro. Define as weak alias if
26998 * sysdeps/ieee754/float128/strtof128_l.c
26999 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27000 Define and later undefine as macro. Define as weak alias if
27002 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27003 Define and later undefine as macro. Define as weak alias if
27005 * sysdeps/ieee754/ldbl-128/strtold_l.c
27006 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27007 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27008 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27009 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27010 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27011 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27012 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27013 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27014 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27015 * sysdeps/ieee754/ldbl-96/strtold_l.c
27016 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27017 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27018 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27019 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27021 * math/test-float64x.h: New file.
27022 * math/Makefile (type-float64x-yes): New variable.
27023 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27025 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27026 function-like macro.
27027 (min_of_type_): Likewise.
27028 (min_of_type_l): Likewise.
27029 (min_of_type_f128): Likewise.
27030 (min_of_type): Pass () as last argument of __MATH_TG.
27032 * stdlib/tst-strtod-round-skeleton.c
27033 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27036 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27037 for combinations of long double with _Float64 and _Float64x.
27039 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27040 (__DECL_SIMD_cosf32): Likewise.
27041 (__DECL_SIMD_cosf64): Likewise.
27042 (__DECL_SIMD_cosf32x): Likewise.
27043 (__DECL_SIMD_cosf64x): Likewise.
27044 (__DECL_SIMD_cosf128x): Likewise.
27045 (__DECL_SIMD_sinf16): Likewise.
27046 (__DECL_SIMD_sinf32): Likewise.
27047 (__DECL_SIMD_sinf64): Likewise.
27048 (__DECL_SIMD_sinf32x): Likewise.
27049 (__DECL_SIMD_sinf64x): Likewise.
27050 (__DECL_SIMD_sinf128x): Likewise.
27051 (__DECL_SIMD_sincosf16): Likewise.
27052 (__DECL_SIMD_sincosf32): Likewise.
27053 (__DECL_SIMD_sincosf64): Likewise.
27054 (__DECL_SIMD_sincosf32x): Likewise.
27055 (__DECL_SIMD_sincosf64x): Likewise.
27056 (__DECL_SIMD_sincosf128x): Likewise.
27057 (__DECL_SIMD_logf16): Likewise.
27058 (__DECL_SIMD_logf32): Likewise.
27059 (__DECL_SIMD_logf64): Likewise.
27060 (__DECL_SIMD_logf32x): Likewise.
27061 (__DECL_SIMD_logf64x): Likewise.
27062 (__DECL_SIMD_logf128x): Likewise.
27063 (__DECL_SIMD_expf16): Likewise.
27064 (__DECL_SIMD_expf32): Likewise.
27065 (__DECL_SIMD_expf64): Likewise.
27066 (__DECL_SIMD_expf32x): Likewise.
27067 (__DECL_SIMD_expf64x): Likewise.
27068 (__DECL_SIMD_expf128x): Likewise.
27069 (__DECL_SIMD_powf16): Likewise.
27070 (__DECL_SIMD_powf32): Likewise.
27071 (__DECL_SIMD_powf64): Likewise.
27072 (__DECL_SIMD_powf32x): Likewise.
27073 (__DECL_SIMD_powf64x): Likewise.
27074 (__DECL_SIMD_powf128x): Likewise.
27076 * stdlib/Versions (libc): Move entries for wcstof128 and
27077 wcstof128_l to ....
27078 * wcsmbs/Versions (libc): ... here.
27079 Include <float128-abi.h>.
27081 2017-11-24 Florian Weimer <fweimer@redhat.com>
27083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27084 bits/mman-shared.h.
27085 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27086 <bits/mman-shared.h>.
27087 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27089 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27090 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27091 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27092 <bits/mman-shared.h>.
27094 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27097 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27098 posix_memalign/free.
27099 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27101 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27104 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27105 and implement the collation rules for pl from CLDR on top of that.
27106 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27107 of locales to be built for testing.
27108 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27110 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27112 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27113 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27114 libm_alias_ldouble_other.
27115 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27116 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27117 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27118 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27119 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27120 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27121 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27122 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27123 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27124 libm_alias_ldouble_r.
27125 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27126 libm_alias_ldouble_other.
27127 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27128 (log10l): Likewise.
27129 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27130 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27131 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27132 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27133 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27134 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27135 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27136 (atan2l): Likewise.
27137 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27138 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27139 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27140 libm_alias_ldouble.
27141 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27143 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27144 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27145 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27147 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27148 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27149 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27150 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27151 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27152 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27153 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27154 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27155 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27156 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27157 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27158 libm_alias_ldouble.
27159 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27160 libm_alias_ldouble_other.
27161 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27162 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27163 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27164 libm_alias_ldouble.
27165 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27166 libm_alias_ldouble_other.
27167 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27168 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27169 * sysdeps/ia64/fpu/w_lgammal_main.c
27170 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27171 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27173 2017-11-23 Florian Weimer <fweimer@redhat.com>
27175 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27176 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27177 alike. Remove freeres marker.
27178 * malloc/arena.c (arena_thread_freeres): Call
27179 tcache_thread_shutdown.
27181 2017-11-23 Florian Weimer <fweimer@redhat.com>
27184 Export nscd hash function as __nss_hash.
27185 * include/nss.h (__nss_hash): Declare.
27186 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27188 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27189 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27191 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27192 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27193 * nss/Makefiles (routines): Add nss_hash.
27194 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27195 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27196 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27197 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27199 2017-11-23 Florian Weimer <fweimer@redhat.com>
27202 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27203 Return error code, not -1.
27204 * signal/tst-sigwait-eintr.c: New file.
27205 * signal/Makefile (tests): Add tst-sigwait-eintr.
27207 2017-11-23 Florian Weimer <fweimer@redhat.com>
27209 Linux: Add memfd_create system call wrapper
27210 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27212 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27213 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27214 [__USE_GNU] (memfd_create): Declare.
27215 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27216 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27217 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27218 * sysdeps/unix/sysv/linux/**.abilist: Update.
27219 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27221 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27223 * localedata/gen-locale.sh: Fix typo in variable name.
27225 * resolv/res_debug.c (p_secstodate): Condition definition on
27226 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27227 directly as __p_secstodate, and as a compat symbol. Do not use
27228 libresolv_hidden_def.
27229 * resolv/resolv.h (p_secstodate): Remove macro and function
27231 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27232 using p_secstodate.
27233 * include/resolv.h (__p_secstodate): Do not use
27234 libresolv_hidden_proto.
27235 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27236 (tests-internal): ... here.
27237 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27238 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27239 and declare and use __p_secstodate and use compat_symbol_reference
27241 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27242 implementation returning 77.
27245 * resolv/res_debug.c: Include <libc-diag.h>.
27246 (p_secstodate): Assert time_t at least as wide as u_long. On
27247 overflow, use integer seconds since the epoch as output, or use
27248 "<overflow>" as output and set errno to EOVERFLOW if integer
27249 seconds since the epoch would be 14 or more characters.
27250 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27252 * resolv/tst-p_secstodate.c: New file.
27253 * resolv/Makefile (tests): Add tst-p_secstodate.
27254 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27256 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27257 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27258 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27260 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27262 * posix/regcomp.c (init_word_char): Add comments.
27264 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27267 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27268 strlen to compute length of ut_user and set trailing NUL byte of
27271 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27274 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27275 using “copy "iso14651_t1"” and then implementing the
27276 collation rules for lv from CLDR on top of that.
27277 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27278 of locales to be built for testing.
27279 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27282 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27284 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27285 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27286 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27287 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27288 [__USE_MISC] (MADV_HWPOISON): New macro.
27289 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27291 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27293 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27294 -Wmissing-braces on GCC 4.9.
27296 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27298 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27299 * sysdeps/s390/s390-32/start.S (_start): Likewise
27300 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27301 (thread_start): Likewise.
27302 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27303 (thread_start): Likewise.
27304 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27305 (__makecontext_ret): Likewise.
27306 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27307 (__makecontext_ret): Likewise.
27309 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27311 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27312 __wcschrnul): Remove attribute_hidden.
27314 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27316 regex: don't assume uint64_t or uint32_t
27317 This avoids -Werror=overflow errors for 32-bit systems in
27318 the 64-bit case. Problem reported by Joseph Myers in:
27319 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27320 Also, when this code is used in Gnulib it ports to platforms
27321 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27322 them, and on some 32-bit compilers there is no uint64_t.
27323 Problem reported by Gianluigi Tiesi in:
27324 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27325 * posix/regcomp.c (init_word_char): Don't assume that the types
27326 uint64_t and uint32_t exist. Adapted from Gnulib patch
27327 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27328 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27330 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27332 * sysdeps/aarch64/memset-reg.h: New file.
27333 * sysdeps/aarch64/memset.S: Use it.
27334 (__memset): Rename to MEMSET macro.
27335 [ZVA_MACRO]: Use zva_macro.
27336 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27337 Add memset_generic and memset_falkor.
27338 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27339 (__libc_ifunc_impl_list): Add memset ifuncs.
27340 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27341 local variable zva_size.
27342 * sysdeps/aarch64/multiarch/memset.c: New file.
27343 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27344 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27345 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27346 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27347 (DCZID_DZP_MASK): New macro.
27348 (DCZID_BS_MASK): Likewise.
27349 (init_cpu_features): Read and set zva_size.
27350 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27351 (struct cpu_features): New member zva_size.
27353 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27354 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27355 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27357 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27358 backwards. Fix timing computation.
27359 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27360 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27361 on memset by N at a time. Fix timing computation.
27363 2017-11-20 Florian Weimer <fweimer@redhat.com>
27365 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27366 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27368 2017-11-19 Florian Weimer <fweimer@redhat.com>
27370 manual: Document mprotect
27371 * manual/memory.texi (Memory Protection): New section.
27372 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27373 documentation of PROT_* flags and reference the Memory Protection
27376 2017-11-19 Florian Weimer <fweimer@redhat.com>
27378 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27379 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27380 (Scatter-Gather): ... to here. Remove misleading comment.
27382 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27384 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27387 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27388 when /proc/<pid>/setgroups does not exist.
27390 2017-11-18 Florian Weimer <fweimer@redhat.com>
27392 * sysdeps/unix/sysv/linux/tst-ttyname.c
27393 (become_root_in_mount_ns): Remove.
27394 (do_in_chroot_1): Call support_enter_mount_namespace.
27395 (do_in_chroot_2): Likewise.
27396 (do_test): Call support_become_root early.
27398 2017-11-18 Florian Weimer <fweimer@redhat.com>
27400 * support/namespace.h (support_enter_mount_namespace): Declare.
27401 * support/support_enter_mount_namespace.c: New file.
27402 * support/Makefile (libsupport-routines): Add
27403 support_enter_mount_namespace.
27405 2017-11-18 Florian Weimer <fweimer@redhat.com>
27407 * support/temp_file.c (support_create_temp_directory): Use
27408 test_dir and do not rely on the presence of the XXXXXX suffix.
27409 * support/temp_file.h (support_create_temp_directory): Update
27411 * support/tst-xreadlink.c (do_test): Adjust.
27412 * support/support_chroot.c (support_chroot_create): Likewise.
27414 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27416 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27418 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27421 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27423 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27424 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27425 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27426 (ceill): Define using libm_alias_ldouble.
27427 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27428 <libm-alias-ldouble.h>.
27429 (copysignl): Define using libm_alias_ldouble.
27430 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27431 (fabsl): Define using libm_alias_ldouble.
27432 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27433 (floorl): Define using libm_alias_ldouble.
27434 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27435 (fmaxl): Define using libm_alias_ldouble.
27436 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27437 (fminl): Define using libm_alias_ldouble.
27438 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27439 (llrintl): Define using libm_alias_ldouble.
27440 (lrintl): Likewise.
27441 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27442 <libm-alias-ldouble.h>.
27443 (nearbyintl): Define using libm_alias_ldouble.
27444 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27445 (truncl): Define using libm_alias_ldouble.
27446 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27447 <libm-alias-ldouble.h>.
27448 (lrintl): Define using libm_alias_ldouble.
27450 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27451 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27452 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27453 (asinhl): Define using libm_alias_ldouble.
27454 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27455 (atanl): Define using libm_alias_ldouble.
27456 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27457 (cbrtl): Define using libm_alias_ldouble.
27458 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27459 (ceill): Define using libm_alias_ldouble.
27460 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27461 (copysignl): Define using libm_alias_ldouble.
27462 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27463 (fabsl): Define using libm_alias_ldouble.
27464 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27465 (floorl): Define using libm_alias_ldouble.
27466 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27467 (fmaxl): Define using libm_alias_ldouble.
27468 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27469 (fminl): Define using libm_alias_ldouble.
27470 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27471 (frexpl): Define using libm_alias_ldouble.
27472 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27473 (llrintl): Define using libm_alias_ldouble.
27474 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27475 (logbl): Define using libm_alias_ldouble.
27476 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27477 (lrintl): Define using libm_alias_ldouble.
27478 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27479 (nearbyintl): Define using libm_alias_ldouble.
27480 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27481 (nextafterl): Define using libm_alias_ldouble.
27482 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27483 (remquol): Define using libm_alias_ldouble.
27484 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27485 (rintl): Define using libm_alias_ldouble.
27486 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27487 (truncl): Define using libm_alias_ldouble.
27488 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27489 (fmaxl): Define using libm_alias_ldouble.
27490 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27491 (fminl): Define using libm_alias_ldouble.
27493 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27494 to C syntax instead of availability and properties of types.
27495 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27496 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27497 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27498 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27499 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27500 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27502 2017-11-17 Florian Weimer <fweimer@redhat.com>
27504 support_become_root: Enable file creation in namespaces.
27505 * support/support_become_root.c (setup_mapping): New function.
27506 (support_become_root): Call it.
27508 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27510 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27513 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27515 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27516 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27518 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27520 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27522 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27525 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27527 * INSTALL: Fix botched up regeneration.
27529 * NEWS: Update sourceare link to https.
27530 * configure.ac: Likewise.
27531 * crypt/md5test-giant.c: Likewise.
27532 * dlfcn/bug-atexit1.c: Likewise.
27533 * dlfcn/bug-atexit2.c: Likewise.
27534 * localedata/README: Likewise.
27535 * malloc/tst-mallocfork.c: Likewise.
27536 * manual/install.texi: Likewise.
27537 * nptl/tst-pthread-getattr.c: Likewise.
27538 * stdio-common/tst-fgets.c: Likewise.
27539 * stdio-common/tst-fwrite.c: Likewise.
27540 * sunrpc/Makefile: Likewise.
27541 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27542 * wcsmbs/tst-mbrtowc2.c: Likewise.
27543 * configure: Regenerate.
27544 * INSTALL: Regenerate.
27546 2017-11-15 Martin Sebor <msebor@redhat.com>
27548 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27549 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27550 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27552 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27555 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27556 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27559 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27560 Defer is_pty check until end of the function.
27561 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27564 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27565 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27566 (ttyname): Likewise.
27567 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27568 (__ttyname_r): Likewise.
27570 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27573 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27575 * manual/terminal.texi (Is It a Terminal):
27576 Mention ENODEV for ttyname and ttyname_r.
27578 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27580 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27581 constant and macro.
27583 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27584 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27585 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27586 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27587 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27588 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27590 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27592 * signal/sigrelse.c (sigrelse): Optimize implementation.
27594 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27595 (__sigpause): Rely on __sigsuspend to implement single thread
27596 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27598 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27600 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27601 kernel version to 4.14.
27603 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27606 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27607 Check if ifname is too long.
27609 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27611 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27613 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27615 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27616 was accidentally lost.
27618 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27620 * localedata/locales/az_IR: Add standard copyright header.
27622 2017-11-15 Florian Weimer <fweimer@redhat.com>
27625 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27626 not just the top one. Output a new "subheaps" statistic.
27628 2017-11-15 Florian Weimer <fweimer@redhat.com>
27631 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27632 under the per-arena lock.
27633 * malloc/Makefile (tests): Add tst-malloc_info.
27634 (tst-malloc_info): Link with libpthread.
27635 * malloc/tst-malloc_info.c: New file.
27637 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27640 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27641 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27642 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27643 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27644 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27645 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27646 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27647 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27648 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27649 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27650 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27651 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27652 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27653 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27654 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27655 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27656 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27657 (__floating_type): Likewise.
27658 (__real_integer_type): Likewise.
27659 (__complex_integer_type): Likewise.
27660 (__expr_is_real): Likewise.
27661 (__tgmath_real_type_sub): Likewise.
27662 (__tgmath_real_type): Likewise.
27663 (__tgmath_complex_type_sub): Likewise.
27664 (__tgmath_complex_type): Likewise.
27665 (__TGMATH_F128): Likewise.
27666 (__TGMATH_CF128): Likewise.
27667 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27669 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27670 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27672 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27674 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27675 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27676 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27677 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27679 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27680 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27682 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27683 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27684 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27686 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27687 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27688 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27692 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27694 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27695 for stpncpy calls for GCC 8.
27696 (test_strncat): Disable -Wstringop-truncation warning for strncat
27697 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27698 strncat call for GCC 7.
27699 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27701 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27704 * string/bug-strncat1.c: Include <libc-diag.h>.
27705 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27707 2017-11-13 Claude Paroz <claude@2xlibre.net>
27710 * localedata/locales/aa_DJ: Improved readibility by replacing
27711 <Uxxxx> sequences in the ASCII printable range by their ASCII
27712 character equivalents.
27713 * localedata/locales/aa_ER: Likewise.
27714 * localedata/locales/aa_ER@saaho: Likewise.
27715 * localedata/locales/aa_ET: Likewise.
27716 * localedata/locales/af_ZA: Likewise.
27717 * localedata/locales/agr_PE: Likewise.
27718 * localedata/locales/ak_GH: Likewise.
27719 * localedata/locales/am_ET: Likewise.
27720 * localedata/locales/anp_IN: Likewise.
27721 * localedata/locales/ar_AE: Likewise.
27722 * localedata/locales/ar_BH: Likewise.
27723 * localedata/locales/ar_DZ: Likewise.
27724 * localedata/locales/ar_EG: Likewise.
27725 * localedata/locales/ar_IN: Likewise.
27726 * localedata/locales/ar_IQ: Likewise.
27727 * localedata/locales/ar_JO: Likewise.
27728 * localedata/locales/ar_KW: Likewise.
27729 * localedata/locales/ar_LB: Likewise.
27730 * localedata/locales/ar_LY: Likewise.
27731 * localedata/locales/ar_MA: Likewise.
27732 * localedata/locales/ar_OM: Likewise.
27733 * localedata/locales/ar_QA: Likewise.
27734 * localedata/locales/ar_SA: Likewise.
27735 * localedata/locales/ar_SD: Likewise.
27736 * localedata/locales/ar_SS: Likewise.
27737 * localedata/locales/ar_SY: Likewise.
27738 * localedata/locales/ar_TN: Likewise.
27739 * localedata/locales/ar_YE: Likewise.
27740 * localedata/locales/as_IN: Likewise.
27741 * localedata/locales/ast_ES: Likewise.
27742 * localedata/locales/ayc_PE: Likewise.
27743 * localedata/locales/az_AZ: Likewise.
27744 * localedata/locales/az_IR: Likewise.
27745 * localedata/locales/be_BY: Likewise.
27746 * localedata/locales/be_BY@latin: Likewise.
27747 * localedata/locales/bem_ZM: Likewise.
27748 * localedata/locales/ber_DZ: Likewise.
27749 * localedata/locales/ber_MA: Likewise.
27750 * localedata/locales/bg_BG: Likewise.
27751 * localedata/locales/bhb_IN: Likewise.
27752 * localedata/locales/bho_IN: Likewise.
27753 * localedata/locales/bi_VU: Likewise.
27754 * localedata/locales/bn_BD: Likewise.
27755 * localedata/locales/bn_IN: Likewise.
27756 * localedata/locales/bo_CN: Likewise.
27757 * localedata/locales/bo_IN: Likewise.
27758 * localedata/locales/br_FR: Likewise.
27759 * localedata/locales/brx_IN: Likewise.
27760 * localedata/locales/bs_BA: Likewise.
27761 * localedata/locales/byn_ER: Likewise.
27762 * localedata/locales/ca_AD: Likewise.
27763 * localedata/locales/ca_ES: Likewise.
27764 * localedata/locales/ca_FR: Likewise.
27765 * localedata/locales/ca_IT: Likewise.
27766 * localedata/locales/ce_RU: Likewise.
27767 * localedata/locales/chr_US: Likewise.
27768 * localedata/locales/cmn_TW: Likewise.
27769 * localedata/locales/crh_UA: Likewise.
27770 * localedata/locales/cs_CZ: Likewise.
27771 * localedata/locales/csb_PL: Likewise.
27772 * localedata/locales/cv_RU: Likewise.
27773 * localedata/locales/cy_GB: Likewise.
27774 * localedata/locales/da_DK: Likewise.
27775 * localedata/locales/de_AT: Likewise.
27776 * localedata/locales/de_BE: Likewise.
27777 * localedata/locales/de_CH: Likewise.
27778 * localedata/locales/de_DE: Likewise.
27779 * localedata/locales/de_IT: Likewise.
27780 * localedata/locales/de_LI: Likewise.
27781 * localedata/locales/de_LU: Likewise.
27782 * localedata/locales/doi_IN: Likewise.
27783 * localedata/locales/dv_MV: Likewise.
27784 * localedata/locales/dz_BT: Likewise.
27785 * localedata/locales/el_CY: Likewise.
27786 * localedata/locales/el_GR: Likewise.
27787 * localedata/locales/en_AG: Likewise.
27788 * localedata/locales/en_AU: Likewise.
27789 * localedata/locales/en_BW: Likewise.
27790 * localedata/locales/en_CA: Likewise.
27791 * localedata/locales/en_DK: Likewise.
27792 * localedata/locales/en_GB: Likewise.
27793 * localedata/locales/en_HK: Likewise.
27794 * localedata/locales/en_IE: Likewise.
27795 * localedata/locales/en_IL: Likewise.
27796 * localedata/locales/en_IN: Likewise.
27797 * localedata/locales/en_NG: Likewise.
27798 * localedata/locales/en_NZ: Likewise.
27799 * localedata/locales/en_PH: Likewise.
27800 * localedata/locales/en_SG: Likewise.
27801 * localedata/locales/en_US: Likewise.
27802 * localedata/locales/en_ZA: Likewise.
27803 * localedata/locales/en_ZM: Likewise.
27804 * localedata/locales/en_ZW: Likewise.
27805 * localedata/locales/eo: Likewise.
27806 * localedata/locales/es_AR: Likewise.
27807 * localedata/locales/es_BO: Likewise.
27808 * localedata/locales/es_CL: Likewise.
27809 * localedata/locales/es_CO: Likewise.
27810 * localedata/locales/es_CR: Likewise.
27811 * localedata/locales/es_CU: Likewise.
27812 * localedata/locales/es_DO: Likewise.
27813 * localedata/locales/es_EC: Likewise.
27814 * localedata/locales/es_ES: Likewise.
27815 * localedata/locales/es_GT: Likewise.
27816 * localedata/locales/es_HN: Likewise.
27817 * localedata/locales/es_MX: Likewise.
27818 * localedata/locales/es_NI: Likewise.
27819 * localedata/locales/es_PA: Likewise.
27820 * localedata/locales/es_PE: Likewise.
27821 * localedata/locales/es_PR: Likewise.
27822 * localedata/locales/es_PY: Likewise.
27823 * localedata/locales/es_SV: Likewise.
27824 * localedata/locales/es_US: Likewise.
27825 * localedata/locales/es_UY: Likewise.
27826 * localedata/locales/es_VE: Likewise.
27827 * localedata/locales/et_EE: Likewise.
27828 * localedata/locales/eu_ES: Likewise.
27829 * localedata/locales/eu_ES@euro: Likewise.
27830 * localedata/locales/fa_IR: Likewise.
27831 * localedata/locales/ff_SN: Likewise.
27832 * localedata/locales/fi_FI: Likewise.
27833 * localedata/locales/fil_PH: Likewise.
27834 * localedata/locales/fo_FO: Likewise.
27835 * localedata/locales/fr_BE: Likewise.
27836 * localedata/locales/fr_CA: Likewise.
27837 * localedata/locales/fr_CH: Likewise.
27838 * localedata/locales/fr_FR: Likewise.
27839 * localedata/locales/fr_LU: Likewise.
27840 * localedata/locales/fur_IT: Likewise.
27841 * localedata/locales/fy_DE: Likewise.
27842 * localedata/locales/fy_NL: Likewise.
27843 * localedata/locales/ga_IE: Likewise.
27844 * localedata/locales/gd_GB: Likewise.
27845 * localedata/locales/gez_ER: Likewise.
27846 * localedata/locales/gez_ET: Likewise.
27847 * localedata/locales/gl_ES: Likewise.
27848 * localedata/locales/gu_IN: Likewise.
27849 * localedata/locales/gv_GB: Likewise.
27850 * localedata/locales/ha_NG: Likewise.
27851 * localedata/locales/hak_TW: Likewise.
27852 * localedata/locales/he_IL: Likewise.
27853 * localedata/locales/hi_IN: Likewise.
27854 * localedata/locales/hif_FJ: Likewise.
27855 * localedata/locales/hne_IN: Likewise.
27856 * localedata/locales/hr_HR: Likewise.
27857 * localedata/locales/hsb_DE: Likewise.
27858 * localedata/locales/ht_HT: Likewise.
27859 * localedata/locales/hu_HU: Likewise.
27860 * localedata/locales/hy_AM: Likewise.
27861 * localedata/locales/i18n: Likewise.
27862 * localedata/locales/ia_FR: Likewise.
27863 * localedata/locales/id_ID: Likewise.
27864 * localedata/locales/ig_NG: Likewise.
27865 * localedata/locales/ik_CA: Likewise.
27866 * localedata/locales/is_IS: Likewise.
27867 * localedata/locales/it_CH: Likewise.
27868 * localedata/locales/it_IT: Likewise.
27869 * localedata/locales/iu_CA: Likewise.
27870 * localedata/locales/ja_JP: Likewise.
27871 * localedata/locales/ka_GE: Likewise.
27872 * localedata/locales/kk_KZ: Likewise.
27873 * localedata/locales/kl_GL: Likewise.
27874 * localedata/locales/kn_IN: Likewise.
27875 * localedata/locales/ko_KR: Likewise.
27876 * localedata/locales/kok_IN: Likewise.
27877 * localedata/locales/ks_IN: Likewise.
27878 * localedata/locales/ks_IN@devanagari: Likewise.
27879 * localedata/locales/ku_TR: Likewise.
27880 * localedata/locales/kw_GB: Likewise.
27881 * localedata/locales/ky_KG: Likewise.
27882 * localedata/locales/lb_LU: Likewise.
27883 * localedata/locales/lg_UG: Likewise.
27884 * localedata/locales/li_BE: Likewise.
27885 * localedata/locales/li_NL: Likewise.
27886 * localedata/locales/lij_IT: Likewise.
27887 * localedata/locales/ln_CD: Likewise.
27888 * localedata/locales/lo_LA: Likewise.
27889 * localedata/locales/lt_LT: Likewise.
27890 * localedata/locales/lv_LV: Likewise.
27891 * localedata/locales/lzh_TW: Likewise.
27892 * localedata/locales/mag_IN: Likewise.
27893 * localedata/locales/mai_IN: Likewise.
27894 * localedata/locales/mg_MG: Likewise.
27895 * localedata/locales/mhr_RU: Likewise.
27896 * localedata/locales/mi_NZ: Likewise.
27897 * localedata/locales/mk_MK: Likewise.
27898 * localedata/locales/ml_IN: Likewise.
27899 * localedata/locales/mn_MN: Likewise.
27900 * localedata/locales/mni_IN: Likewise.
27901 * localedata/locales/mr_IN: Likewise.
27902 * localedata/locales/ms_MY: Likewise.
27903 * localedata/locales/mt_MT: Likewise.
27904 * localedata/locales/my_MM: Likewise.
27905 * localedata/locales/nan_TW: Likewise.
27906 * localedata/locales/nan_TW@latin: Likewise.
27907 * localedata/locales/nb_NO: Likewise.
27908 * localedata/locales/nds_DE: Likewise.
27909 * localedata/locales/nds_NL: Likewise.
27910 * localedata/locales/ne_NP: Likewise.
27911 * localedata/locales/nhn_MX: Likewise.
27912 * localedata/locales/niu_NU: Likewise.
27913 * localedata/locales/niu_NZ: Likewise.
27914 * localedata/locales/nl_AW: Likewise.
27915 * localedata/locales/nl_BE: Likewise.
27916 * localedata/locales/nl_NL: Likewise.
27917 * localedata/locales/nn_NO: Likewise.
27918 * localedata/locales/nr_ZA: Likewise.
27919 * localedata/locales/nso_ZA: Likewise.
27920 * localedata/locales/oc_FR: Likewise.
27921 * localedata/locales/om_ET: Likewise.
27922 * localedata/locales/om_KE: Likewise.
27923 * localedata/locales/or_IN: Likewise.
27924 * localedata/locales/os_RU: Likewise.
27925 * localedata/locales/pa_IN: Likewise.
27926 * localedata/locales/pa_PK: Likewise.
27927 * localedata/locales/pap_AW: Likewise.
27928 * localedata/locales/pap_CW: Likewise.
27929 * localedata/locales/pl_PL: Likewise.
27930 * localedata/locales/ps_AF: Likewise.
27931 * localedata/locales/pt_BR: Likewise.
27932 * localedata/locales/pt_PT: Likewise.
27933 * localedata/locales/quz_PE: Likewise.
27934 * localedata/locales/raj_IN: Likewise.
27935 * localedata/locales/ro_RO: Likewise.
27936 * localedata/locales/ru_RU: Likewise.
27937 * localedata/locales/ru_UA: Likewise.
27938 * localedata/locales/rw_RW: Likewise.
27939 * localedata/locales/sa_IN: Likewise.
27940 * localedata/locales/sat_IN: Likewise.
27941 * localedata/locales/sc_IT: Likewise.
27942 * localedata/locales/sd_IN: Likewise.
27943 * localedata/locales/sd_IN@devanagari: Likewise.
27944 * localedata/locales/se_NO: Likewise.
27945 * localedata/locales/sgs_LT: Likewise.
27946 * localedata/locales/shs_CA: Likewise.
27947 * localedata/locales/si_LK: Likewise.
27948 * localedata/locales/sid_ET: Likewise.
27949 * localedata/locales/sk_SK: Likewise.
27950 * localedata/locales/sl_SI: Likewise.
27951 * localedata/locales/sm_WS: Likewise.
27952 * localedata/locales/so_DJ: Likewise.
27953 * localedata/locales/so_ET: Likewise.
27954 * localedata/locales/so_KE: Likewise.
27955 * localedata/locales/so_SO: Likewise.
27956 * localedata/locales/sq_AL: Likewise.
27957 * localedata/locales/sq_MK: Likewise.
27958 * localedata/locales/sr_ME: Likewise.
27959 * localedata/locales/sr_RS: Likewise.
27960 * localedata/locales/sr_RS@latin: Likewise.
27961 * localedata/locales/ss_ZA: Likewise.
27962 * localedata/locales/st_ZA: Likewise.
27963 * localedata/locales/sv_FI: Likewise.
27964 * localedata/locales/sv_SE: Likewise.
27965 * localedata/locales/sw_KE: Likewise.
27966 * localedata/locales/sw_TZ: Likewise.
27967 * localedata/locales/szl_PL: Likewise.
27968 * localedata/locales/ta_IN: Likewise.
27969 * localedata/locales/ta_LK: Likewise.
27970 * localedata/locales/tcy_IN: Likewise.
27971 * localedata/locales/te_IN: Likewise.
27972 * localedata/locales/tg_TJ: Likewise.
27973 * localedata/locales/th_TH: Likewise.
27974 * localedata/locales/the_NP: Likewise.
27975 * localedata/locales/ti_ER: Likewise.
27976 * localedata/locales/ti_ET: Likewise.
27977 * localedata/locales/tig_ER: Likewise.
27978 * localedata/locales/tk_TM: Likewise.
27979 * localedata/locales/tl_PH: Likewise.
27980 * localedata/locales/tn_ZA: Likewise.
27981 * localedata/locales/to_TO: Likewise.
27982 * localedata/locales/tpi_PG: Likewise.
27983 * localedata/locales/tr_CY: Likewise.
27984 * localedata/locales/tr_TR: Likewise.
27985 * localedata/locales/ts_ZA: Likewise.
27986 * localedata/locales/tt_RU: Likewise.
27987 * localedata/locales/tt_RU@iqtelif: Likewise.
27988 * localedata/locales/ug_CN: Likewise.
27989 * localedata/locales/uk_UA: Likewise.
27990 * localedata/locales/unm_US: Likewise.
27991 * localedata/locales/ur_IN: Likewise.
27992 * localedata/locales/ur_PK: Likewise.
27993 * localedata/locales/uz_UZ: Likewise.
27994 * localedata/locales/uz_UZ@cyrillic: Likewise.
27995 * localedata/locales/ve_ZA: Likewise.
27996 * localedata/locales/vi_VN: Likewise.
27997 * localedata/locales/wa_BE: Likewise.
27998 * localedata/locales/wae_CH: Likewise.
27999 * localedata/locales/wal_ET: Likewise.
28000 * localedata/locales/wo_SN: Likewise.
28001 * localedata/locales/xh_ZA: Likewise.
28002 * localedata/locales/yi_US: Likewise.
28003 * localedata/locales/yo_NG: Likewise.
28004 * localedata/locales/yue_HK: Likewise.
28005 * localedata/locales/yuw_PG: Likewise.
28006 * localedata/locales/zh_CN: Likewise.
28007 * localedata/locales/zh_HK: Likewise.
28008 * localedata/locales/zh_SG: Likewise.
28009 * localedata/locales/zh_TW: Likewise.
28010 * localedata/locales/zu_ZA: Likewise.
28012 2017-11-13 Florian Weimer <fweimer@redhat.com>
28014 * support/next_to_fault.h, support/next_to_fault.c: New files.
28015 * support/Makefile (libsupport-routines): Add next_to_fault.
28016 * resolv/tst-inet_pton.c (struct next_to_fault)
28017 (next_to_fault_allocate, next_to_fault_free): Remove.
28018 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28020 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28022 * elf/dl-support.c: Include <dl-procruntime.c>.
28023 * include/link.h: Include <link_map.h>.
28024 * sysdeps/generic/dl-procruntime.c: New file.
28025 * sysdeps/generic/link_map.h: Likewise.
28026 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28027 the writable ld.so namespace.
28029 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28031 timezone: pacify GCC -Wstringop-truncation
28032 Problem reported by Martin Sebor in:
28033 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28034 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28036 2017-11-12 Florian Weimer <fweimer@redhat.com>
28038 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28040 (tests): Add tst-xreadlink.
28041 * support/support.h (xstrndup): Declare.
28042 * support/xunistd.h (xunlink, xreadlink): Declare.
28043 * support/temp_file.h (support_create_temp_directory): Declare.
28044 * support/temp_file.c (support_create_temp_directory): New function.
28045 * support/support_chroot.c (support_chroot_create): Use it.
28046 * support/xreadlink.c: New file.
28047 * support/xstrndup.c: Likewise.
28048 * support/xunlink.c: Likewise.
28049 * support/tst-xreadlink.c: Likewise.
28051 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28053 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28055 2017-11-11 Florian Weimer <fweimer@redhat.com>
28059 * resolv/res_comp.c (printable_string, binary_hnok)
28060 (binary_leading_dash): New functions.
28061 (res_hnok): Reimplement using these functions and ns_name_pton.
28062 (res_ownok): Likewise.
28063 (res_mailok): Reimplement using printable_string, ns_name_pton and
28065 (res_dnok): Reimplement using printable_string and ns_name_pton.
28066 * resolv/tst-res_hnok.c (tests): Add additional tests.
28067 (LETTERDIGITS, PRINTABLE): Define.
28068 (do_test): Adjust one_char results.
28070 2017-11-11 Florian Weimer <fweimer@redhat.com>
28073 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28074 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28076 2017-11-11 Florian Weimer <fweimer@redhat.com>
28078 * resolv/tst-ns_name_pton.c: New file.
28079 * resolv/Makefile (tests): Add tst-ns_name_pton.
28080 (tst-ns_name_pton): Link against libresolv.
28082 2017-11-11 Florian Weimer <fweimer@redhat.com>
28084 * resolv/tst-res_hnok.c: New file.
28085 * resolv/Makefile (tests): Add tst-res_hnok.
28086 (tst-res_hnok): Link against libresolv.
28088 2017-11-11 Florian Weimer <fweimer@redhat.com>
28090 * resolv/tst-resolv-network.c: Use test framework instead explicit
28093 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28095 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28096 <jmp_buf-macros.h>.
28097 [!_ISOMAC] (STR_HELPER): New.
28098 [!_ISOMAC] (STR): Likewise.
28099 [!_ISOMAC] (TEST_SIZE): Likewise.
28100 [!_ISOMAC] (TEST_ALIGN): Likewise.
28101 [!_ISOMAC] (TEST_OFFSET): Likewise.
28102 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28103 field offsets of jmp_buf as well as sigjmp_buf.
28104 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28105 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28106 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28107 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28108 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28109 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28110 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28111 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28112 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28113 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28115 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28117 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28122 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28123 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28124 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28125 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28126 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28131 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28132 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28133 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28135 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28138 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28139 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28140 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28141 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28142 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28143 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28144 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28145 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28146 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28147 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28148 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28149 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28151 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28153 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28155 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28157 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28159 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28161 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28163 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28165 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28167 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28169 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28171 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28173 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28175 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28176 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28177 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28178 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28179 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28180 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28181 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28182 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28183 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28184 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28185 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28186 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28187 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28188 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28189 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28190 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28191 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28192 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28193 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28194 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28195 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28196 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28197 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28198 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28199 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28200 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28201 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28202 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28203 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28204 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28205 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28206 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28207 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28208 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28209 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28210 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28211 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28212 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28213 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28214 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28215 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28216 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28217 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28218 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28219 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28220 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28221 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28222 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28223 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28224 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28225 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28227 * stdlib/tst-strtod.h (F16): New macro.
28233 (IF_FLOAT16): Likewise.
28234 (IF_FLOAT32): Likewise.
28235 (IF_FLOAT64): Likewise.
28236 (IF_FLOAT32X): Likewise.
28237 (IF_FLOAT64X): Likewise.
28238 (IF_FLOAT128X): Likewise.
28239 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28240 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28241 (STRTOD_TEST_FOREACH): Likewise.
28242 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28243 (CHOOSE_f64): Likewise.
28244 (CHOOSE_f32x): Likewise.
28245 (CHOOSE_f64x): Likewise.
28247 2017-11-07 Andreas Schwab <schwab@suse.de>
28249 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28251 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28254 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28256 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28259 2017-11-07 Claude Paroz <claude@2xlibre.net>
28262 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28264 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28266 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28269 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28272 * nptl/allocatestack.c (allocate_stack): Check if
28273 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28274 __PTHREAD_MUTEX_HAVE_PREV is defined.
28275 * nptl/descr.h (pthread): Likewise.
28276 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28278 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28279 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28280 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28281 * sysdeps/nptl/bits/thread-shared-types.h
28282 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28284 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28285 of __WORDSIZE for internal layout.
28286 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28287 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28288 instead of __WORDSIZE whether to use an union for __spins and __list
28290 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28292 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28293 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28295 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28296 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28298 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28299 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28301 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28302 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28304 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28305 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28307 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28308 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28310 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28311 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28313 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28314 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28316 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28317 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28319 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28320 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28322 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28323 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28325 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28326 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28328 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28329 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28331 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28332 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28334 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28335 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28338 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28340 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28341 checks for expected input type size.
28342 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28343 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28345 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28346 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28347 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28348 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28349 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28350 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28351 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28352 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28353 superflous runtime assert check.
28354 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28356 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28358 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28360 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28362 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28364 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28366 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28367 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28368 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28370 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28372 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28374 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28376 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28378 * nptl/pthread_attr_setinheritsched.c
28379 (__pthread_attr_setinheritsched): Likewise.
28380 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28382 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28384 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28385 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28386 __old_pthread_attr_setstack): Likewise.
28387 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28389 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28391 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28393 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28394 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28396 * nptl/tst-typesizes.c: Remove file.
28398 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28399 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28400 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28401 checks for internal pthread_mutex_t offsets.
28402 * sysdeps/aarch64/nptl/pthread-offsets.h
28403 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28404 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28405 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28406 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28407 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28408 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28409 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28410 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28411 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28412 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28413 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28414 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28415 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28416 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28417 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28418 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28419 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28420 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28422 2017-11-07 Florian Weimer <fweimer@redhat.com>
28424 * bits/mman-linux.h: Move ...
28425 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28427 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28430 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28432 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28433 Redefine STRNLEN as __strnlen_power8.
28435 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28437 * signal/sighold.c (sighold): Optimize implementation.
28439 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28440 __NR_rt_sigqueueinfo.
28442 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28444 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28445 assume __NR_rt_sigtimedwait.
28446 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28447 and add LIBC_CANCEL_HANDLED for cancellation marking.
28448 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28450 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28451 (sysdeps_routines): Add memchr_noneon.
28452 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28453 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28454 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28455 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28456 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28457 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28458 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28460 * sysdeps/arm/arm-ifunc.h: New file.
28461 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28462 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28463 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28464 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28465 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28466 (__memcpy_neon): Avoid create hidden alias.
28467 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28468 (__memcpy_vfp): Likewise.
28469 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28470 (sysdep_routines): Add memcpy_arm.
28471 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28473 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28476 * Makerules (make-link-multidir): New.
28477 * config.make.in (multidir): New.
28478 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28479 * configure: Regenerated.
28480 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28481 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28482 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28485 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28488 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28489 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28491 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28493 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28496 2017-11-04 Florian Weimer <fweimer@redhat.com>
28498 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28500 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28502 * math/math.h [__HAVE_DISTINCT_FLOAT16
28503 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28504 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28505 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28506 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28507 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28508 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28509 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28510 (__MATH_TG_F32): New macro.
28511 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28512 (__MATH_TG_F64X): Likewise.
28513 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28514 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28516 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28518 * po/de.po: Update translations.
28519 * po/ru.po: Likewise.
28521 2017-11-03 Florian Weimer <fweimer@redhat.com>
28523 * manual/filesys.texi (Hard Links): Document linkat.
28525 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28527 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28528 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28529 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28530 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28531 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28532 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28533 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28534 the same as _Float128.
28535 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28536 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28537 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28540 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28542 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28544 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28546 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28547 (strtof32x): Likewise.
28548 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28549 (strtof64x): Likewise.
28550 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28551 (strtof128x): Likewise.
28552 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28553 (strfromf16): Likewise.
28554 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28555 (strfromf32): Likewise.
28556 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28557 (strfromf64): Likewise.
28558 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28559 (strfromf32x): Likewise.
28560 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28561 (strfromf64x): Likewise.
28562 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28563 (strfromf128x): Likewise.
28564 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28565 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28566 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28567 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28568 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28569 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28571 2017-11-03 Richard Henderson <rth@twiddle.net>
28573 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28575 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28577 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28579 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28581 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28582 DT_TLSDESC_GOT initialization.
28583 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28584 (_dl_tlsdesc_resolve_hold): Likewise.
28585 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28586 (_dl_tlsdesc_resolve_hold): Likewise.
28587 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28588 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28590 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28592 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28594 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28597 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28598 non-lazily for R_ARM_TLS_DESC.
28600 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28603 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28604 R_ARM_TLS_DESC case.
28605 (elf_machine_lazy_rel): Remove the prelink check.
28607 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28609 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28610 DT_TLSDESC_GOT initialization.
28611 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28612 (_dl_tlsdesc_resolve_rela): Likewise.
28613 (_dl_tlsdesc_resolve_hold): Likewise.
28614 (_dl_tlsdesc_undefweak): Remove ldar.
28615 (_dl_tlsdesc_dynamic): Likewise.
28616 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28617 (_dl_tlsdesc_resolve_rela): Likewise.
28618 (_dl_tlsdesc_resolve_hold): Likewise.
28619 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28620 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28621 (_dl_tlsdesc_resolve_rela): Likewise.
28622 (_dl_tlsdesc_resolve_hold): Likewise.
28624 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28626 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28627 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28629 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28631 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28632 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28634 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28636 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28638 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28639 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28640 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28641 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28642 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28643 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28644 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28645 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28646 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28647 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28648 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28650 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28653 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28654 * localedata/locales/tpi_PG: Add standard header.
28656 2017-11-02 Florian Weimer <fweimer@redhat.com>
28658 test-errno-linux: quotactl can fail with EPERM in containers.
28659 * sysdeps/unix/sysv/linux/test-errno-linux.c
28660 (LIST, LIST_FORWARD): New macros.
28661 (check_error_in_list): New function.
28662 (test_wrp_rv): Accept list of permitted error codes.
28663 (test_wrp_rv2): Remove.
28664 (test_wrp): Call test_wrp_rv with list of error codes.
28665 (test_wrp2): Accept list of error codes.
28666 (do_test): Adjust. Allow EPERM for quotactl.
28668 2017-11-02 Florian Weimer <fweimer@redhat.com>
28670 * stdio-common/bug16.c (do_test): Use array_length.
28671 * stdio-common/errlist.c (_sys_nerr): Likewise.
28672 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28673 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28674 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28675 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28676 (do_test): Use array_length.
28677 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28678 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28679 * stdio-common/tst-printf-round.c (do_test): Likewise.
28680 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28681 (CHECK): Use array_length.
28682 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28683 * stdio-common/tstscanf.c (main): Likewise.
28684 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28686 2017-11-02 Florian Weimer <fweimer@redhat.com>
28688 Add array_length and array_end macros.
28689 * include/array_length.h: New file.
28691 2017-11-02 Florian Weimer <fweimer@redhat.com>
28694 * posix/tst-glob-tilde.c (do_noescape): New variable.
28695 (one_test): Process it.
28696 (do_test): Set do_noescape. Add unescaping test case.
28698 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28701 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28702 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28703 with appropriate macros defined and undefined.
28704 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28705 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28706 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28707 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28708 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28709 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28710 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28711 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28712 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28713 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28716 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28717 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28718 that for long double. Do not condition define and undefine of
28719 _Mdouble_complex_ on [__CFLOAT128].
28721 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28723 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28724 of <sysdeps/generic/sysdep.h>.
28725 (ALIGNARG): Removed.
28726 (ASM_SIZE_DIRECTIVE): Likewise.
28729 (ENTRY_CHK): Likewise.
28730 (END_CHK): Likewise.
28731 (syscall_error): Likewise.
28732 (mcount): Likewise.
28733 (PSEUDO_END): Likewise.
28735 (atom_text_section): Likewise.
28736 * sysdeps/x86/sysdep.h: New file.
28737 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28738 of <sysdeps/generic/sysdep.h>.
28739 (ALIGNARG): Removed.
28740 (ASM_SIZE_DIRECTIVE): Likewise.
28743 (ENTRY_CHK): Likewise.
28744 (END_CHK): Likewise.
28745 (syscall_error): Likewise.
28746 (mcount): Likewise.
28747 (PSEUDO_END): Likewise.
28749 (atom_text_section): Likewise.
28751 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
28753 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28754 category of LC_CTYPE set to "i18n:2012".
28755 * localedata/locales/i18n_ctype: Regenerate.
28757 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28759 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28760 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28761 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28762 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28764 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28765 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28766 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28769 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28772 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28774 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28776 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28778 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28779 (CMPLXF32X): Likewise.
28780 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28781 (CMPLXF64X): Likewise.
28782 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28783 (CMPLXF128X): Likewise.
28786 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28787 (__MATH_EVAL_FMT2): Define to add 0.0f.
28789 2017-10-31 Alan Modra <amodra@gmail.com>
28791 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28807 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28808 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28809 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28810 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28811 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28812 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28813 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28818 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28819 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28820 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28821 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28822 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28823 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28824 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28825 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28826 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28827 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28828 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28829 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28830 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28831 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28832 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28833 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28834 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28835 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28836 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28837 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28838 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28839 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28840 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28841 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28842 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28843 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28844 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28845 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28846 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28847 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28848 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28849 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28850 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28851 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28852 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28853 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28854 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28855 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28856 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28857 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28858 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28859 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28860 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28861 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28864 include sysdep.h and math_ldbl_opt.h.
28866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28867 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28893 2017-10-31 Alan Modra <amodra@gmail.com>
28895 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28896 string/strncase_l.c, not string/strncase.c.
28897 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28898 (libc_hidden_def): Redefine.
28900 2017-10-31 Alan Modra <amodra@gmail.com>
28902 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28903 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28904 (__strcasecmp): Don't define.
28906 2017-10-31 Alan Modra <amodra@gmail.com>
28908 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28910 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28911 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28912 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28914 2017-10-31 Alan Modra <amodra@gmail.com>
28916 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28919 2017-10-31 Alan Modra <amodra@gmail.com>
28921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28922 Redefine only when SHARED.
28924 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28926 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28927 Include <bits/math-finite.h> with appropriate macros defined and
28929 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28930 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28931 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28932 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28933 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28935 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28936 [!_Mlong_double_] (_Mlong_double_): Likewise.
28937 [!_Mfloat16_] (_Mfloat16_): Likewise.
28938 [!_Mfloat32_] (_Mfloat32_): Likewise.
28939 [!_Mfloat64_] (_Mfloat64_): Likewise.
28940 [!_Mfloat128_] (_Mfloat128_): Likewise.
28941 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28942 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28943 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28944 (_Mdouble_): Define without indirection through those macros.
28945 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28946 [!_Mfloat128_] (_Mfloat128_): Likewise.
28947 [_Mlong_double_] (_Mlong_double_): Likewise.
28948 (_Mdouble_): Define without indirection through those macros.
28949 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28950 not add -D_Mlong_double_=double.
28951 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28952 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28954 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28956 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28958 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28960 * sysdeps/x86/libc-start.c: Reformat.
28962 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28965 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28966 (1): Renamed to ...
28969 (L(Src2)): Likewise.
28970 (L(1)): Renamed to ...
28973 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28975 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28976 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28977 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28978 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
28979 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
28980 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
28981 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
28982 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
28983 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
28984 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
28985 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
28986 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
28987 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
28988 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
28989 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
28990 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
28991 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
28992 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
28993 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
28994 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
28995 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
28996 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
28997 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
28998 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
28999 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29000 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29001 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29002 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29003 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29004 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29005 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29006 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29007 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29008 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29009 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29010 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29011 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29012 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29013 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29014 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29015 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29016 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29017 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29018 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29019 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29020 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29021 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29022 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29023 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29024 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29025 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29026 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29027 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29028 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29029 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29030 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29031 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29032 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29033 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29034 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29035 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29036 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29037 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29038 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29039 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29040 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29042 2017-10-30 Florian Weimer <fweimer@redhat.com>
29044 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29046 * io/tst-mkdirat.c (do_test): Likewise.
29047 * io/tst-mkfifoat.c (do_test): Likewise.
29048 * io/tst-mknodat.c (do_test): Likewise.
29049 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29050 * locale/programs/locale.c (select_dirs): Likewise.
29051 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29052 * posix/bug-glob2.c (my_readdir): Likewise.
29053 * posix/tst-dir.c (main): Likewise.
29054 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29055 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29057 2017-10-30 Florian Weimer <fweimer@redhat.com>
29059 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29062 2017-10-30 Florian Weimer <fweimer@redhat.com>
29064 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29065 Convert to support/test-driver.c.
29066 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29067 New macro parameters.
29068 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29069 * posix/tst-gnuglob.c: New file.
29070 * posix/tst-gnuglob64.c: Likewise.
29071 * posix/Makefile (tests): Add tst-gnuglob64.
29073 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29076 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29077 and use a better translation for March in “mon”.
29078 * localedata/locales/csb_PL: Use more ASCII to improve the
29079 readability of the source.
29081 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29084 * localedata/locales/km_KH: Use ASCII as much
29085 as possible for better readability of the source and
29086 remove useless comments.
29087 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29088 was commented out and apparently wrong anyway because it was
29089 using Lao characters. If Buddhist era should be used
29090 for km_KH, a native speaker should write the correct formaat
29092 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29093 (According to CLDR, the first weekday for Cambodia is Sunday).
29094 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29095 (These were using Lao characters which must be wrong. If we get
29096 the correct data from a native speaker, we could add it back, until
29097 then it is better not to have name_mr and name_mrs at all than
29100 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29102 * locale/loadlocale.c: Correct size of
29103 _nl_value_type_LC_<category> arrays.
29105 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29107 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29108 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29109 with appropriate macros defined and undefined.
29110 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29111 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29112 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29113 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29114 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29116 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29118 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29121 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29123 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29124 with lowercase letters to make it agree with CLDR.
29126 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29129 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29130 first letters of yesstr and nostr in yesexpr and noexpr,
29131 not for the full words.
29132 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29133 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29134 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29135 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29136 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29137 first letters of yesstr and nostr in yesexpr and noexpr,
29138 until now only English was matched in yesexpr and noexpr.
29139 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29140 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29141 fil but not for tl. As tl and fil are very similar, using fil
29142 is probably better than using English.
29144 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29147 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29148 in yesstr and nostr.
29150 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29152 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29153 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29154 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29156 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29158 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29160 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29162 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29163 (SNANF128X): Likewise.
29165 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29166 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29167 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29168 (HUGE_VAL_F32): Likewise.
29169 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29170 (HUGE_VAL_F64): Likewise.
29171 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29172 (HUGE_VAL_F32X): Likewise.
29173 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29174 (HUGE_VAL_F64X): Likewise.
29175 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29176 (HUGE_VAL_F128X): Likewise.
29178 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29180 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29181 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29182 for the br_FR locale.
29184 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29187 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29189 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29191 * locale/programs/record-status.h: Define globals, and function
29192 prototypes. Move function bodies...
29193 * locale/programs/record-status.c: ... to here. New file.
29194 * iconv/Makefile (iconv_prog-modules): Add record-status.
29195 * locale/Makefile (lib-modules): Likewise.
29196 * iconv/iconv_prog.c: Remove verbose.
29197 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29198 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29199 record a warning about ASCII compatibility.
29200 * locale/programs/ld-monetary.c (monetary_finish): If
29201 warn_int_curr_symbol is true then record a warning about the symbol
29202 not being in our ISO 4217 list.
29203 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29204 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29205 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29206 (OPT_NO_WARN): Define.
29207 (OPT_WARN): Define.
29208 (options): Add entry for --no-warnings, and --warnings.
29209 (set_warnings): New function to enable/disable warnings.
29210 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29211 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29212 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29213 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29214 Pass flags to generate_locale.
29215 (generate_locale): Accept new flag argument and pass it to localedef
29217 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29218 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29220 * localedata/Makefile (test-input-data): Use full file name.
29221 * localedata/da_DK.in: Rename to...
29222 * localedata/da_DK.ISO-8859-1.in: ...this.
29223 * localedata/de_DE.in: Rename to...
29224 * localedata/de_DE.ISO-8859-1.in: ...this.
29225 * localedata/en_US.in: Rename to...
29226 * localedata/en_US.ISO-8859-1.in: ...this.
29227 * localedata/fr_FR.in: Rename to...
29228 * localedata/fr_FR.UTF-8.in: ... this.
29229 * localedata/hr_HR.in: Rename to...
29230 * localedata/hr_HR.ISO-8859-2.in: ...this.
29231 * localedata/hu_HU.in: Rename to...
29232 * localedata/hu_HU.UTF-8.in: ...this.
29233 * localedata/si_LK.in: Rename to...
29234 * localedata/si_LK.UTF-8.in: ...this.
29235 * localedata/sv_SE.in: Rename to...
29236 * localedata/sv_SE.ISO-8859-1.in: ...this.
29237 * localedata/tr_TR.in: Rename to...
29238 * localedata/tr_TR.UTF-8.in: ...this.
29239 * localedata/uk_UA.in: Rename to...
29240 * localedata/uk_UA.UTF-8.in: ...this.
29241 * localedata/sort-test.sh: Test file is locale name with the
29244 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29245 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29247 * localedata/locales/i18n_ctype: Regenerate.
29248 * localedata/locales/tr_TR: Likewise.
29249 * localedata/locales/translit_circle: Likewise.
29250 * localedata/locales/translit_cjk_compat: Likewise.
29251 * localedata/locales/translit_combining: Likewise.
29252 * localedata/locales/translit_compat: Likewise.
29253 * localedata/locales/translit_font: Likewise.
29254 * localedata/locales/translit_fraction: Likewise.
29256 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29259 lxvd2x/stxvd2x with lvx/stvx.
29260 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29262 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29264 * include/alloc_buffer.h: Replace "if if " with "if " in
29266 * sysdeps/mips/memcpy.S: Likkewise.
29267 * sysdeps/mips/memset.S: Likewise.
29268 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29270 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29272 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29275 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29278 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29279 yesexpr and noexpr.
29280 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29281 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29282 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29283 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29284 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29285 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29286 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29288 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29290 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29291 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29292 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29293 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29294 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29295 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29296 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29297 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29298 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29299 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29300 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29301 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29303 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29305 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29306 as possible for better readability of the source.
29307 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29308 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29309 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29310 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29311 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29312 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29313 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29314 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29315 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29316 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29317 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29318 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29319 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29320 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29321 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29322 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29323 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29324 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29325 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29326 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29327 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29328 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29329 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29330 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29331 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29332 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29333 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29334 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29335 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29336 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29337 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29338 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29339 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29340 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29341 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29342 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29343 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29344 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29345 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29346 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29347 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29348 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29349 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29350 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29351 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29352 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29353 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29354 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29355 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29356 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29357 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29358 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29359 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29360 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29361 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29362 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29363 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29364 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29365 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29366 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29367 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29368 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29369 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29370 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29371 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29372 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29373 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29374 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29375 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29376 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29377 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29378 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29379 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29380 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29381 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29382 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29383 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29384 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29385 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29386 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29387 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29388 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29389 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29390 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29391 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29392 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29393 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29394 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29395 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29396 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29397 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29398 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29399 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29400 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29401 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29402 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29403 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29404 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29405 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29406 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29407 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29408 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29409 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29410 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29411 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29412 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29413 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29414 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29415 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29416 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29417 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29418 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29419 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29420 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29421 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29422 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29423 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29424 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29425 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29426 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29427 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29428 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29429 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29430 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29431 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29432 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29433 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29434 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29435 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29436 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29437 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29438 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29439 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29440 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29441 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29442 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29443 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29444 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29445 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29446 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29447 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29448 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29449 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29450 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29451 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29452 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29453 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29454 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29455 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29456 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29457 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29458 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29459 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29460 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29461 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29462 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29463 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29464 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29465 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29466 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29467 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29468 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29469 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29470 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29471 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29472 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29473 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29474 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29475 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29476 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29477 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29478 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29479 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29480 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29482 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29484 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29485 (Use first letters of yesstr and nostr correctly instead of using
29488 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29490 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29491 (Use first letters of yesstr and nostr correctly).
29493 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29495 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29496 also check for the first characters of yesstr and nostr.
29497 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29498 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29500 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29502 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29503 also check for Chinese characters.
29505 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29507 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29508 match also for the contents of yesstr and nostr. As the first letter
29509 of yesstr and nostr is equal, checking only for the first letter
29512 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29514 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29515 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29517 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29519 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29520 of main contributor.
29522 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29524 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29525 instead of using English.
29527 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29529 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29530 by including the first letters of nostr and yesexpr in the regexp.
29531 Also make it more readable by using ASCII where possible.
29533 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29535 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29536 the first letter of nostr in the regexp. It agrees with CLDR now.
29537 Also make it more readable by using ASCII where possible.
29539 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29541 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29542 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29543 these strings contain a U+17D6 (which somewhat looks like a colon)
29544 instead of a real colon to separate the full words for “yes”
29545 and “no” from the single letter responses.
29547 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29549 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29550 it agree with CLDR (include the first letter of yesstr).
29551 Also make it more readable by using ASCII where possible.
29553 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29555 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29556 and improve yesexpr and noexpr. The yesstr and nostr apparently
29557 came from CLDR. And CLDR has a bug there: these strings contain
29558 a U+0903 (which looks like a colon) instead of a real colon
29559 to separate the full words for “yes” and “no” from the single
29562 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29564 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29565 letters of the full yesstr and nostr in yesexpr and noexpr.
29567 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29569 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29570 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29571 * localedata/locales/an_ES: Make source more readable by using ASCII
29574 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29577 * localedata/locales/yuw_PG: New file.
29578 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29579 * locale/iso-639.def: Add Yau (Uruwa).
29581 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29583 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29585 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29587 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29588 (__libc_realloc): Likewise.
29589 (_mid_memalign): Likewise.
29590 (__libc_calloc): Likewise.
29592 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29594 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29595 by adding the generic +1 and -0 as in all other locales.
29596 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29597 day names and make it more readable by using ASCII where possible.
29599 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29601 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29602 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29604 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29606 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29607 WNOHANG in waitpid call.
29609 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29611 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29612 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29614 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29615 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29616 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29617 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29618 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29619 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29620 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29621 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29624 2017-10-23 Michael Collison <michael.collison@arm.com>
29626 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29627 with __builtin_sqrt.
29628 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29629 with __builtin_sqrtf.
29630 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29631 with __builtin_ceil.
29632 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29633 with __builtin_ceilf.
29634 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29635 with __builtin_floor.
29636 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29637 with __builtin_floorf.
29638 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29639 with __builtin_fma.
29640 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29641 with __builtin_fmaf.
29642 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29643 with __builtin_fmax.
29644 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29645 with __builtin_fmaxf.
29646 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29647 with __builtin_fmin.
29648 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29649 with __builtin_fminf.
29650 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29651 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29652 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29653 with builtin_rint and conversion to int.
29654 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29655 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29656 with builtin_llround.
29657 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29658 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29659 with builtin_rint and conversion to long int.
29660 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29661 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29662 with builtin_lround.
29663 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29664 with builtin_lroundf.
29665 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29666 statements with __builtin_nearbyint.
29667 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29668 statements with __builtin_nearbyintf.
29669 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29670 with __builtin_rint.
29671 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29672 with __builtin_rintf.
29673 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29674 with __builtin_round.
29675 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29676 with __builtin_roundf.
29677 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29678 with __builtin_trunc.
29679 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29680 with __builtin_truncf.
29681 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29682 and s_l[l]round[f].c too.
29684 2017-10-23 Alan Modra <amodra@gmail.com>
29686 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29687 Adjust stack after restoring regs. Add missing LR cfi_restore.
29689 2017-10-23 Alan Modra <amodra@gmail.com>
29691 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29692 Move LR save and frame setup/teardown and LR restore to
29693 immediately around memset call. Provide cfi.
29695 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29697 * sysdeps/i386/fpu/e_powf.S: Removed.
29698 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29699 * sysdeps/i386/fpu/w_powf.c: Likewise.
29700 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29701 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29702 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29704 (CFLAGS-e_powf-sse2.c): New.
29705 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29706 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29708 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29710 * sysdeps/i386/fpu/e_log2f.S: Removed.
29711 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29712 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29713 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29714 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29715 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29717 (CFLAGS-e_log2f-sse2.c): New.
29718 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29719 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29721 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29723 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29725 (CFLAGS-e_powf-fma.c): New.
29726 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29727 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29729 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29731 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29733 (CFLAGS-e_log2f-fma.c): New.
29734 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29735 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29737 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29739 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29741 (CFLAGS-e_logf-fma.c): New.
29742 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29743 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29745 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29747 * sysdeps/i386/fpu/e_logf.S: Removed.
29748 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29749 * sysdeps/i386/fpu/w_logf.c: Likewise.
29750 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29751 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29752 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29753 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29755 (CFLAGS-e_logf-sse2.c): New.
29756 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29757 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29759 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29761 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29762 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29763 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29764 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29765 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29767 (CFLAGS-e_exp2f-sse2.c): New.
29768 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29769 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29771 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29773 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29775 (CFLAGS-e_exp2f-fma.c): New.
29776 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29777 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29779 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29781 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29782 * sysdeps/i386/fpu/e_expf.S: Likewise.
29783 * sysdeps/i386/fpu/math_errf.c: Likewise.
29784 * sysdeps/i386/fpu/w_expf.c: Likewise.
29785 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29786 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29787 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29788 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29789 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29790 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29791 Remove e_expf-ia32.
29792 (CFLAGS-e_expf-sse2.c): New.
29793 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29794 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29796 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29798 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29799 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29800 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29801 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29803 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29805 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29806 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29808 (__redirect_expf): This.
29809 (SYMBOL_NAME): Changed to expf.
29810 (__ieee754_expf): Renamed to ...
29812 (__GI___expf): This.
29813 (__ieee754_expf): Add strong_alias.
29814 (__expf_finite): Likewise.
29816 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29818 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29821 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29824 2017-10-21 Florian Weimer <fweimer@redhat.com>
29826 * posix/Makefile (tests): Add tst-glob-tilde.
29827 (tests-special): Add tst-glob-tilde-mem.out
29828 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29829 (tst-glob-tilde-mem.out): Add mtrace check.
29830 * posix/tst-glob-tilde.c: New file.
29832 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29834 * bits/floatn-common.h: New file.
29835 * math/Makefile (headers): Add bits/floatn-common.h.
29836 * bits/floatn.h: Include <bits/floatn-common.h>.
29837 * sysdeps/ia64/bits/floatn.h: Likewise.
29838 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29839 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29840 * sysdeps/powerpc/bits/floatn.h: Likewise.
29841 * sysdeps/x86/bits/floatn.h: Likewise.
29843 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29845 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29846 indicates whether compiler emits an warning for alias for
29847 functions with incompatible types.
29850 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29851 the auxiliary process is terminated by a signal before calling _exit
29854 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29857 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29859 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29860 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29861 and bit_arch_XSAVEC_Usable if needed.
29862 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29863 and bit_arch_Use_dl_runtime_resolve_opt.
29864 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29866 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29867 (bit_arch_Prefer_No_AVX512): Updated.
29868 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29869 (bit_arch_XSAVEC_Usable): New.
29870 (STATE_SAVE_OFFSET): Likewise.
29871 (STATE_SAVE_MASK): Likewise.
29872 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29873 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29874 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29875 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29876 (index_arch_XSAVEC_Usable): New.
29877 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29878 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29879 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29881 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29882 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29883 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29884 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29885 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29886 _dl_runtime_resolve_xsavec.
29887 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29889 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29890 instead of VEC_SIZE.
29891 (REGISTER_SAVE_BND0): Removed.
29892 (REGISTER_SAVE_BND1): Likewise.
29893 (REGISTER_SAVE_BND3): Likewise.
29894 (REGISTER_SAVE_RAX): Always defined to 0.
29896 (_dl_runtime_resolve_avx): Likewise.
29897 (_dl_runtime_resolve_avx_slow): Likewise.
29898 (_dl_runtime_resolve_avx_opt): Likewise.
29899 (_dl_runtime_resolve_avx512): Likewise.
29900 (_dl_runtime_resolve_avx512_opt): Likewise.
29901 (_dl_runtime_resolve_sse): Likewise.
29902 (_dl_runtime_resolve_sse_vex): Likewise.
29904 (_dl_runtime_resolve_fxsave): Likewise.
29905 (USE_XSAVE): Likewise.
29906 (_dl_runtime_resolve_xsave): Likewise.
29907 (USE_XSAVEC): Likewise.
29908 (_dl_runtime_resolve_xsavec): Likewise.
29909 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29911 (_dl_runtime_resolve_avx512_opt): Likewise.
29912 (_dl_runtime_resolve_avx): Likewise.
29913 (_dl_runtime_resolve_avx_opt): Likewise.
29914 (_dl_runtime_resolve_sse): Likewise.
29915 (_dl_runtime_resolve_sse_vex): Likewise.
29916 (_dl_runtime_resolve_fxsave): New.
29917 (_dl_runtime_resolve_xsave): Likewise.
29918 (_dl_runtime_resolve_xsavec): Likewise.
29920 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29924 * posix/glob.c (__glob): Fix one-byte overflow.
29926 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29928 * malloc/malloc.c (sysdep-cancel.h): Add include.
29930 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29932 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29934 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29936 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29937 (tests): Remove $(objpfx)ga_test depdendency.
29938 * resolv/ga_test.c: Remove file.
29940 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29943 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29944 * localedata/locales/kab_DZ: New file.
29946 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29948 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29949 _dl_relocate_static_pie instead of _dl_start to compute load
29950 address in static PIE.
29952 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29954 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29956 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29959 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29960 * localedata/locales/shn_MM: New file.
29962 2017-10-20 Florian Weimer <fweimer@redhat.com>
29965 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29966 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29967 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29968 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29969 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29970 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29972 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29974 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29976 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29978 * sysdeps/mips/ieee754/bits/floatn.h: New file.
29981 * sysdeps/mips/bits/long-double.h: Move to ....
29982 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
29984 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
29986 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
29988 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
29989 H.J. Lu <hongjiu.lu@intel.com>
29992 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
29993 GLRO(dl_platform) to NULL.
29994 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
29995 (modules-names): Add tst-platformmod-1 and
29996 x86_64/tst-platformmod-2.
29997 (CFLAGS-tst-platform-1.c): New.
29998 (CFLAGS-tst-platformmod-1.c): Likewise.
29999 (CFLAGS-tst-platformmod-2.c): Likewise.
30000 (LDFLAGS-tst-platformmod-2.so): Likewise.
30001 ($(objpfx)tst-platform-1): Likewise.
30002 ($(objpfx)tst-platform-1.out): Likewise.
30003 (tst-platform-1-ENV): Likewise.
30004 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30005 * sysdeps/x86_64/tst-platform-1.c: New file.
30006 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30007 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30009 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30012 * locale/iso-639.def: Add Karbi.
30013 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30014 * localedata/locales/mjw_IN: New file.
30016 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30018 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30019 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30020 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30021 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30022 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30023 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30024 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30026 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30027 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30028 * manual/math.texi (Mathematics): Document additional architecture
30029 support for _Float128.
30030 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30031 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30032 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30033 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30034 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30035 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30036 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30037 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30038 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30039 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30040 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30041 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30042 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30043 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30044 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30046 2017-10-18 Renlin Li <renlin.li@arm.com>
30048 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30049 _DYNAMIC symbol to calculate load address.
30051 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30053 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30054 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30056 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30057 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30059 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30062 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30063 and improve readability by using more ASCII.
30064 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30065 and improve readability by using more ASCII.
30067 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30069 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30070 not all targets support atomics on bool.
30072 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30074 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30075 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30077 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30078 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30079 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30080 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30081 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30082 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30084 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30086 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30089 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30092 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30093 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30094 (do_check_remalloced_chunk): Fix build bug.
30095 (do_check_malloc_state): Add assert that checks arena->top.
30096 (malloc_consolidate): Remove initialization.
30097 (int_mallinfo): Remove call to malloc_consolidate.
30098 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30100 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30102 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30103 (have_fastchunks): Remove.
30104 (clear_fastchunks): Remove.
30105 (set_fastchunks): Remove.
30106 (malloc_state): Add have_fastchunks.
30107 (malloc_init_state): Use have_fastchunks.
30108 (do_check_malloc_state): Remove incorrect invariant checks.
30109 (_int_malloc): Use have_fastchunks.
30110 (_int_free): Likewise.
30111 (malloc_consolidate): Likewise.
30113 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30115 * malloc/malloc.c (tcache_put): Inline.
30116 (tcache_get): Inline.
30118 2017-10-17 Jordi Mallach <jordi@gnu.org>
30120 Aurelien Jarno <aurelien@aurel32.net>
30122 * localedata/locales/ca_ES@valencia: New file.
30123 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30125 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30128 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30131 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30133 * scripts/build-many-glibcs.py (Context.add_all_configs):
30134 Add arm-linux-gnueabihf multiarch extra_glibcs.
30136 * sysdeps/generic/ifunc-init.h: New file.
30137 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30139 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30142 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30143 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30144 * stdlib/tst-strfmon_l.c: adapt test case.
30146 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30148 * sysdeps/generic/float128-abi.h: New file.
30149 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30150 non-__prefixed symbols to ....
30151 * math/Versions: ... here. Include <float128-abi.h>.
30152 * stdlib/Versions ... and here. Include <float128-abi.h>
30154 2017-10-16 Florian Weimer <fweimer@redhat.com>
30156 * version.h (VERSION): Switch to ".9000" as the development
30159 2017-10-16 Florian Weimer <fweimer@redhat.com>
30162 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30163 compat_symbol_reference to access non-default version.
30165 2017-10-16 Florian Weimer <fweimer@redhat.com>
30167 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30169 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30171 * include/shlib-compat.h (compat_symbol_reference): Update
30174 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30176 * math/Makefile (test-types): Add
30177 $(type-float128-$(float128-alias-fcts)).
30178 * math/test-float128.h (TYPE_STR): Define conditional on
30179 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30180 (ULP_IDX): Likewise.
30181 (ULP_I_IDX): Likewise.
30183 * stdlib/strtold.c: Include <bits/floatn.h>
30184 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30185 and later undefine as macro. Define as weak alias if
30187 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30188 and later undefine as macro. Define as weak alias if
30190 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30191 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30192 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30193 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30194 Define and later undefine as macro. Define as weak alias if
30196 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30198 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30199 Define and later undefine as macro. Define as weak alias if
30201 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30202 Define and later undefine as macro. Define as weak alias if
30205 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30207 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30208 record_verbose messages.
30210 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30213 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30214 to silence -O3 -Wall warning with GCC 7.
30216 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30218 * Makeconfig (+link-static-before-libc): Use the first of
30219 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30220 * gmon/Makefile (tests): Add tst-gmon-static.
30221 (tests-static): Likewise.
30222 (CFLAGS-tst-gmon-static.c): New.
30223 (CRT-tst-gmon-static): Likewise.
30224 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30225 (tst-gmon-static-ENV): Likewise.
30226 (tests-special): Likewise.
30227 ($(objpfx)tst-gmon-static.out): Likewise.
30228 (clean-tst-gmon-static-data): Likewise.
30229 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30230 * gmon/tst-gmon-static-gprof.sh: New file.
30231 * gmon/tst-gmon-static.c: Likewise.
30233 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30236 * locale/programs/linereader.c (get_string): Don't warn on
30237 non-symbolic character.
30240 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30244 * locale/programs/record-status.h: New file
30245 * locale/programs/locale.c: Add comment.
30246 * locale/programs/charmap-dir.c: Don't include error.h.
30247 (charmap_opendir): Use record_error.
30248 * locale/programs/charmap.c: Don't include error.h.
30249 (charmap_read): Use record_error, and record_warning.
30250 (parse_charmap): Likewise.
30251 * locale/programs/ld-address.c: Don't include error.h.
30252 (address_finish): Use record_error, and record_warning.
30253 * locale/programs/ld-collate.c: Don't include error.h.
30254 (collate_finish): Use record_error, and record_error_at_line.
30255 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30256 (ctype_class_new): Likewise.
30257 (ctype_map_new): Likewise.
30258 (set_one_default): Likewise.
30259 (set_class_defaults): Likewise.
30260 (translit_flatten): Likewise.
30261 (allocate_arrays): Use record_error, and record_verbose.
30262 * locale/programs/ld-identification.c: Don't include error.h.
30263 (indentation_finish): Use record_error and record_warning.
30264 * locale/programs/ld-measurement.c: Don't include error.h.
30265 (measurement_finish): Use record_error.
30266 * locale/programs/ld-messages.c
30267 (message_finish): Likewise.
30268 * locale/programs/ld-monetary.c
30269 (monetary_finish): Likewise.
30270 * locale/programs/ld-name.c (name_finish): Use record_error
30271 and record_warning.
30272 * locale/programs/ld-numeric.c
30273 (numeric_finish): Use record_error.
30274 * locale/programs/ld-paper.c: Don't include error.h.
30275 (paper_finish): Use record_error.
30276 * locale/programs/ld-telephone.c: Don't include error.h.
30277 (telephone_finish): Use record_error.
30278 * locale/programs/ld-time.c (time_finish): Likewise.
30279 * locale/programs/linereader.h (lr_error): Make inline func.
30280 * locale/programs/localedef.c: Define recorded_warning_count,
30281 and recorded_error_count.
30282 (main): Use record_error. Use recorded_error_count and
30283 recorded_warning_count to issue correct error returns.
30284 (add_to_readlist): Use record_error.
30285 (find_locale): Likewise.
30286 (load_locale): Likewise.
30287 * locale/programs/localedef.h: Remove be_quiet
30288 and WITH_CUR_LOCALE.
30289 * locale/programs/locarchive.c (compare_from_file): Use
30291 * locale/programs/locfile.c (write_locale_data): Use
30293 * locale/programs/repertoire.c: Dont include error.h.
30294 (repertoire_complain): Use record_error.
30295 * localedata/tst-fmon.sh: Expect failures from localedef.
30296 * localedata/tst-locale.sh: Likewise.
30297 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30299 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30300 (REPORTS): Likewise.
30302 (i18n): Rename to...
30303 (i18n_ctype): ...this.
30304 (i18n-report): Rename to...
30305 (i18n_ctype-report): ...this.
30306 * localedata/locales/i18n_ctype: Regenerate.
30307 * localedata/locales/i18n: copy i18n_ctype.
30309 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30311 * stdlib/strfroml.c: Include <bits/floatn.h>.
30312 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30313 Define before include of <stdlib.h> and undefine afterwards, then
30314 define as weak alias.
30316 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30317 Undefine and restore default definition. Use
30318 libm_alias_ldouble_other.
30320 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30323 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30326 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30328 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30329 Assign sym_map to be map for local symbols, as TLS relocations
30330 use sym_map to determine whether the symbol is defined and to
30331 extract the TLS information.
30332 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30335 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30338 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30339 (math_force_eval): Add powerpc version.
30342 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30344 (do_test): Likewise.
30345 * stdio-common/tst-printf.sh: Likewise.
30346 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30347 ifdef clause in order to set the carry bit right. Replace r0 by
30348 0 without changing the behavior.
30350 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30352 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30353 <libm-alias-ldouble.h>.
30354 (fabsl): Define using libm_alias_ldouble.
30355 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30356 <libm-alias-ldouble.h>.
30357 (fabsl): Define using libm_alias_ldouble.
30359 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30360 Remove conditional code.
30362 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30363 Rename to __clog10_internal_l.
30364 (__clog10_internal_l): Define aliases using
30365 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30368 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30370 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30371 * benchtests/sincosf-inputs: New file.
30372 * benchtests/cosf-inputs: New file.
30373 * benchtests/sinf-inputs: New file.
30375 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30377 * posix/tst-spawn.c (do_test): Wait for both children.
30379 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30382 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30383 tests-pie): Add tst-gmon-pie.
30384 (CFLAGS-tst-gmon-pie.c): New.
30385 (CRT-tst-gmon-pie): Likewise.
30386 (tst-gmon-pie-ENV): Likewise.
30387 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30388 ($(objpfx)tst-gmon-pie.out): Likewise.
30389 (clean-tst-gmon-pie-data): Likewise.
30390 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30391 * gmon/gmon.c [PIC]: Include <link.h>.
30392 [PIC] (callback): New function.
30393 (write_hist): Add an argument for load address. Subtract load
30395 (write_call_graph): Likewise.
30396 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30397 it to write_hist and write_call_graph.
30398 * gmon/tst-gmon-pie.c: New file.
30400 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30402 * math/Makefile (test-types-basic): New variable.
30403 (test-types): Likewise.
30404 (libm-test-support): Use $(test-types) instead of $(types).
30405 (libm-tests-base-normal): Likewise.
30406 (libm-tests-base-finite): Likewise.
30407 (libm-tests-base-inline): Likewise.
30408 (generated): Likewise.
30409 ($(objpfx)libm-test-support-$(t).c): Likewise.
30410 (libm-tests-for-type iterator): Likewise.
30411 (libm-test-support iterator): Likewise.
30412 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30413 (ulp_idx): Use ULP_IDX.
30414 * math/test-ldouble.h: Include <float.h>.
30415 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30416 (ULP_IDX): New macro.
30417 (ULP_I_IDX): Likewise.
30418 * math/test-double.h (ULP_IDX): Likewise.
30419 (ULP_I_IDX): Likewise.
30420 * math/test-float.h (ULP_IDX): Likewise.
30421 (ULP_I_IDX): Likewise.
30422 * math/test-float128.h (ULP_IDX): Likewise.
30423 (ULP_I_IDX): Likewise.
30425 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30427 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30428 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30429 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30430 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30431 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30432 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30433 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30434 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30436 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30437 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30438 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30439 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30440 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30441 (SINGLE_THREAD_BY_GLOBAL): Define.
30442 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30444 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30446 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30448 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30450 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30451 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30455 2017-10-11 Andreas Schwab <schwab@suse.de>
30457 * nis/Makefile (aux): Remove.
30458 * nscd/Makefile (aux): Add nscd_hash.
30459 (nscd-modules): Likewise.
30460 ($(objpfx)nscd): Don't depend on libnsl.
30461 * nscd/nscd_hash.c: New file.
30462 * nscd/nscd_hash.h: Likewise.
30463 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30464 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30465 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30466 instead of <nis/rpcsvc/nis.h>.
30467 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30469 2017-10-11 Florian Weimer <fweimer@redhat.com>
30472 Avoid large NSS buffers with many addresses, aliases.
30473 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30474 using dynarrays and struct alloc_buffer.
30475 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30476 (tst-nss-files-hosts-multi): Link with -ldl.
30477 * nss/tst-nss-files-hosts-multi.c: New file.
30479 2017-10-11 Florian Weimer <fweimer@redhat.com>
30482 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30483 scratch_buffer. Eliminate gotos.
30485 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30487 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30488 libm_alias_ldouble_other.
30489 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30490 undefine and redefine.
30491 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30492 (exp10l): Do not define here.
30493 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30494 (weak_alias): Undefine and redefine.
30495 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30496 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30497 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30498 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30500 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30501 [!__fma] (fma): Define using libm_alias_double.
30502 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30503 [!__fmaf] (fmaf): Define using libm_alias_float.
30504 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30505 (fmal): Define using libm_alias_ldouble.
30507 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30509 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30511 (libm_alias_double_other): Likewise.
30512 (libm_alias_double_r): Use libm_alias_double_other_r.
30513 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30515 (libm_alias_float_other): Likewise.
30516 (libm_alias_float_r): Use libm_alias_float_other_r.
30517 * sysdeps/generic/libm-alias-float128.h
30518 (libm_alias_float128_other_r): New macro.
30519 (libm_alias_float128_other): Likewise.
30520 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30521 * sysdeps/generic/libm-alias-ldouble.h
30522 (libm_alias_ldouble_other_r): New macro.
30523 (libm_alias_ldouble_other): Likewise.
30524 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30525 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30526 (libm_alias_double_other_r): New macro.
30527 (libm_alias_double_other): Likewise.
30528 (libm_alias_double_r): Use libm_alias_double_other_r.
30529 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30530 (libm_alias_ldouble_other_r): New macro.
30531 (libm_alias_ldouble_other): Likewise.
30532 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30533 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30534 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30535 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30536 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30537 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30538 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30539 * math/w_exp2f.c: Use libm_alias_float_other.
30540 * math/w_expf.c: Likewise.
30541 * math/w_log2f.c: Likewise.
30542 * math/w_logf.c: Likewise.
30543 * math/w_powf.c: Likewise.
30544 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30545 [!__exp2f]: Use libm_alias_float_other.
30546 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30547 [!__expf]: Use libm_alias_float_other.
30548 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30549 [!__log2f]: Use libm_alias_float_other.
30550 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30551 [!__logf]: Use libm_alias_float_other.
30552 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30553 [!__powf]: Use libm_alias_float_other.
30555 2017-10-10 Florian Weimer <fweimer@redhat.com>
30557 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30559 (_nss_files_gethostbyname3_r): Call it.
30561 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30563 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30564 error. Remove default definition of declare_mgen_alias.
30565 [!declare_mgen_alias_r]: Likewise.
30566 * sysdeps/generic/math-type-macros-double.h
30567 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30568 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30569 (declare_mgen_alias_r): Likewise.
30570 * sysdeps/generic/math-type-macros-float128.h
30571 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30572 * sysdeps/generic/math-type-macros-ldouble.h
30573 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30574 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30576 (declare_mgen_alias_r_s): Likewise.
30577 (declare_mgen_alias_r): Likewise.
30578 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30579 (lgamma_r): Define using libm_alias_double_r.
30580 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30581 (lgammaf_r): Define using libm_alias_float_r.
30582 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30583 (lgammal_r): Define using libm_alias_ldouble_r.
30584 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30585 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30587 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30589 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30590 extern declaration.
30592 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30594 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30596 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30599 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30600 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30601 * math/Makefile (test-math-cxx11): New test.
30602 * math/test-math-cxx11.cc: New file.
30604 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30606 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30608 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30609 call to allocate the slave pty file descriptor.
30611 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30613 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30614 [!__fma] (fma): Define using libm_alias_double.
30615 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30616 [!__fma] (fma): Define using libm_alias_double.
30618 * sysdeps/ieee754/float128/float128_private.h: Include
30619 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30620 (libm_alias_ldouble_r): Undefine and redefine.
30621 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30622 <libm-alias-ldouble.h>.
30623 (asinhl): Define using libm_alias_ldouble.
30624 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30625 <libm-alias-ldouble.h>.
30626 (atanl): Define using libm_alias_ldouble.
30627 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30628 <libm-alias-ldouble.h>.
30629 (cbrtl): Define using libm_alias_ldouble.
30630 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30631 <libm-alias-ldouble.h>.
30632 (ceill): Define using libm_alias_ldouble.
30633 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30634 <libm-alias-ldouble.h>.
30635 (copysignl): Define using libm_alias_ldouble.
30636 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30637 <libm-alias-ldouble.h>.
30638 (cosl): Define using libm_alias_ldouble.
30639 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30640 <libm-alias-ldouble.h>.
30641 (erfl): Define using libm_alias_ldouble.
30643 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30644 <libm-alias-ldouble.h>.
30645 (expm1l): Define using libm_alias_ldouble.
30646 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30647 <libm-alias-ldouble.h>.
30648 (fabsl): Define using libm_alias_ldouble.
30649 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30650 <libm-alias-ldouble.h>.
30651 (floorl): Define using libm_alias_ldouble.
30652 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30653 <libm-alias-ldouble.h>.
30654 (fmal): Define using libm_alias_ldouble.
30655 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30656 <libm-alias-ldouble.h>.
30657 (frexpl): Define using libm_alias_ldouble.
30658 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30659 libm_alias_ldouble.
30660 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30661 <libm-alias-ldouble.h>.
30662 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30663 libm_alias_ldouble.
30664 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30665 <libm-alias-ldouble.h>.
30666 (getpayloadl): Define using libm_alias_ldouble.
30667 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30668 <libm-alias-ldouble.h>.
30669 (llrintl): Define using libm_alias_ldouble.
30670 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30671 <libm-alias-ldouble.h>.
30672 (llroundl): Define using libm_alias_ldouble.
30673 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30674 <libm-alias-ldouble.h>.
30675 (logbl): Define using libm_alias_ldouble.
30676 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30677 <libm-alias-ldouble.h>.
30678 (lrintl): Define using libm_alias_ldouble.
30679 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30680 <libm-alias-ldouble.h>.
30681 (lroundl): Define using libm_alias_ldouble.
30682 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30683 <libm-alias-ldouble.h>.
30684 (modfl): Define using libm_alias_ldouble.
30685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30686 <libm-alias-ldouble.h>.
30687 (nearbyintl): Define using libm_alias_ldouble.
30688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30689 <libm-alias-ldouble.h>.
30690 (nextafterl): Define using libm_alias_ldouble.
30691 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30692 <libm-alias-ldouble.h>.
30693 (nextupl): Define using libm_alias_ldouble.
30694 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30695 <libm-alias-ldouble.h>.
30696 (remquol): Define using libm_alias_ldouble.
30697 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30698 <libm-alias-ldouble.h>.
30699 (rintl): Define using libm_alias_ldouble.
30700 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30701 <libm-alias-ldouble.h>.
30702 (roundevenl): Define using libm_alias_ldouble.
30703 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30704 <libm-alias-ldouble.h>.
30705 (roundl): Define using libm_alias_ldouble.
30706 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30707 using libm_alias_ldouble.
30708 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30709 <libm-alias-ldouble.h>.
30710 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30711 Define using libm_alias_ldouble.
30712 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30713 <libm-alias-ldouble.h>.
30714 (sincosl): Define using libm_alias_ldouble.
30715 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30716 <libm-alias-ldouble.h>.
30717 (sinl): Define using libm_alias_ldouble.
30718 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30719 <libm-alias-ldouble.h>.
30720 (tanhl): Define using libm_alias_ldouble.
30721 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30722 <libm-alias-ldouble.h>.
30723 (tanl): Define using libm_alias_ldouble.
30724 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30725 <libm-alias-ldouble.h>.
30726 (totalorderl): Define using libm_alias_ldouble.
30727 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30728 <libm-alias-ldouble.h>.
30729 (totalordermagl): Define using libm_alias_ldouble.
30730 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30731 <libm-alias-ldouble.h>.
30732 (truncl): Define using libm_alias_ldouble.
30733 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30734 libm_alias_ldouble.
30735 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30736 libm_alias_ldouble.
30737 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30738 <libm-alias-ldouble.h>.
30739 (weak_alias): Do not undefine and redefine.
30740 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30741 (copysignl): Define with long_double_symbol only if [IS_IN
30743 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30744 <libm-alias-ldouble.h>.
30745 (weak_alias): Do not undefine and redefine.
30746 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30747 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30748 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30749 <libm-alias-ldouble.h>.
30750 (weak_alias): Do not undefine and redefine.
30751 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30752 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30753 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30754 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30755 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30756 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30757 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30758 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30759 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30760 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30761 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30762 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30763 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30764 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30765 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30766 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30767 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30768 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30769 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30770 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30771 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30772 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30773 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30774 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30775 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30778 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30781 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30782 (tcache_thread_freeres): Set tcache_shutting_down before
30783 freeing the tcache.
30784 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30785 * malloc/tst-malloc-tcache-leak.c: New file.
30787 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30789 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30790 back to powerpc32 file.
30791 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30792 (memrchr): Add __memrchr_power8 to ifunc list.
30793 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30794 extra bytes for unaligned inputs.
30796 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30798 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30799 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30800 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30801 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30802 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30804 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30806 * sysdeps/arm/libm-test-ulps: Update.
30808 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30809 <libm-alias-ldouble.h>.
30810 (asinhl): Define using libm_alias_ldouble.
30811 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30812 <libm-alias-ldouble.h>.
30813 (cbrtl): Define using libm_alias_ldouble.
30814 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30815 <libm-alias-ldouble.h>.
30816 (copysignl): Define using libm_alias_ldouble.
30817 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30818 <libm-alias-ldouble.h>.
30819 (cosl): Define using libm_alias_ldouble.
30820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30821 <libm-alias-ldouble.h>.
30822 (erfl): Define using libm_alias_ldouble.
30824 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30825 <libm-alias-ldouble.h>.
30826 (fmal): Define using libm_alias_ldouble.
30827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30828 <libm-alias-ldouble.h>.
30829 (frexpl): Define using libm_alias_ldouble.
30830 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30831 libm_alias_ldouble.
30832 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30833 <libm-alias-ldouble.h>.
30834 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30835 libm_alias_ldouble.
30836 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30837 <libm-alias-ldouble.h>.
30838 (getpayloadl): Define using libm_alias_ldouble.
30839 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30840 <libm-alias-ldouble.h>.
30841 (llrintl): Define using libm_alias_ldouble.
30842 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30843 <libm-alias-ldouble.h>.
30844 (llroundl): Define using libm_alias_ldouble.
30845 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30846 <libm-alias-ldouble.h>.
30847 (lrintl): Define using libm_alias_ldouble.
30848 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30849 <libm-alias-ldouble.h>.
30850 (lroundl): Define using libm_alias_ldouble.
30851 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30852 <libm-alias-ldouble.h>.
30853 (modfl): Define using libm_alias_ldouble.
30854 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30855 <libm-alias-ldouble.h>.
30856 (nextupl): Define using libm_alias_ldouble.
30857 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30858 <libm-alias-ldouble.h>.
30859 (remquol): Define using libm_alias_ldouble.
30860 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30861 <libm-alias-ldouble.h>.
30862 (roundevenl): Define using libm_alias_ldouble.
30863 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30864 <libm-alias-ldouble.h>.
30865 (roundl): Define using libm_alias_ldouble.
30866 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30867 using libm_alias_ldouble.
30868 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30869 <libm-alias-ldouble.h>.
30870 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30871 <libm-alias-ldouble.h>.
30872 (setpayloadsigl): Define using libm_alias_ldouble.
30873 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30874 <libm-alias-ldouble.h>.
30875 (sincosl): Define using libm_alias_ldouble.
30876 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30877 <libm-alias-ldouble.h>.
30878 (sinl): Define using libm_alias_ldouble.
30879 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30880 <libm-alias-ldouble.h>.
30881 (tanhl): Define using libm_alias_ldouble.
30882 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30883 <libm-alias-ldouble.h>.
30884 (tanl): Define using libm_alias_ldouble.
30885 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30886 <libm-alias-ldouble.h>.
30887 (totalorderl): Define using libm_alias_ldouble.
30888 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30889 <libm-alias-ldouble.h>.
30890 (totalordermagl): Define using libm_alias_ldouble.
30891 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30892 libm_alias_ldouble.
30893 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30894 libm_alias_ldouble.
30896 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30898 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30900 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30901 (__libc_ifunc_impl_list): Likewise.
30902 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30903 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30905 * benchtests/bench-memmove-walk.c: New file.
30906 * benchtests/Makefile (string-benchset): Add it.
30908 * benchtests/bench-memset-walk.c: New file.
30909 * benchtests/Makefile (string-benchset): Add it.
30911 * benchtests/bench-memcpy-walk.c: New file.
30912 * benchtests/Makefile (string-benchset): Add it.
30914 2017-10-05 Florian Weimer <fweimer@redhat.com>
30916 nscd: Eliminate compilation time dependency in the build output.
30917 * nscd/nscd_stat.c (STATDATA_VERSION)
30918 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30919 (STATDATA_VERSION_FULL): New macro definitions.
30920 (compilation): Remove.
30921 (struct statdata): Adjust version member.
30922 (send_stats): Set version from STATDATA_VERSION_FULL.
30923 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30925 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30927 * configure.ac (--enable-add-ons): Remove option.
30928 (machine): Do not mention add-ons in comment.
30929 (LIBC_PRECONFIGURE): Likewise.
30930 (add_ons): Remove variable and sanity checks and logic to locate
30932 (add_ons_automatic): Remove variable.
30933 (configured_add_ons): Likewise.
30934 (add_ons_sfx): Likewise.
30935 (add_ons_pfx): Likewise.
30936 (add_on_subdirs): Likewise.
30937 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30938 consideration of add-ons in Implies handling.
30939 (sysdeps_add_ons): Likewise.
30940 * configure: Regenerated.
30941 * libidn/configure.ac: Remove.
30942 * libidn/configure: Likewise.
30943 * sysdeps/unix/inet/configure.ac: New file.
30944 * sysdeps/unix/inet/configure: New generated file.
30945 * sysdeps/unix/inet/Subdirs: Add libidn.
30946 * Makeconfig (sysdeps-srcdirs): Remove variable.
30947 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30948 ($(common-objpfx)config.status): Do not depend on add-on files.
30949 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30951 (all-subdirs): Do not include $(add-on-subdirs).
30952 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30953 * config.make.in (add-ons): Remove variable.
30954 (add-on-subdirs): Likewise.
30955 (sysdeps-add-ons): Likewise.
30956 * manual/Makefile (add-chapters): Remove.
30957 ($(objpfx)texis): Do not depend on $(add-chapters).
30958 (nonexamples): Do not handle $(add-chapters).
30959 (examples): Do not handle $(add-ons).
30960 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30962 * manual/install.texi (Installation): Do not mention add-ons.
30963 (--enable-add-ons): Do not document configure option.
30964 * INSTALL: Regenerated.
30965 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30966 * manual/maint.texi (Hierarchy Conventions): Do not mention
30968 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30970 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30972 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30973 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30975 2017-10-05 Andreas Schwab <schwab@suse.de>
30978 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
30979 (_IO_flush_all_lockp): Always lock list_all_lock.
30980 (_IO_flush_all_linebuffered): Likewise.
30981 (_IO_unbuffer_all): Likewise.
30983 2017-10-05 Florian Weimer <fweimer@redhat.com>
30986 Do not flush stdio streams on abort.
30987 * stdlib/abort.c (fflush): Remove macro definition.
30988 (abort): Remove stages related to stdio flushing.
30990 2017-10-05 Florian Weimer <fweimer@redhat.com>
30992 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
30994 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
30996 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30998 2017-10-05 Florian Weimer <fweimer@redhat.com>
31000 * support/support_format_hostent.c (support_format_hostent): Add
31001 more error information for NETDB_INTERNAL.
31003 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31005 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31006 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31007 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31008 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31009 AC_DEFINE if multi-arch is enabled.
31010 * sysdeps/i386/configure: Regenerated.
31012 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31014 * Makeconfig (+link-static-before-libc): Use
31015 $(DEFAULT-LDFLAGS-$(@F)).
31016 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31017 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31018 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31020 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31022 * elf/Makefile (tests): Add tst-main1.
31023 (modules-names): Add tst-main1mod.
31024 ($(objpfx)tst-main1): New.
31025 (CRT-tst-main1): Likewise.
31026 (LDFLAGS-tst-main1): Likewise.
31027 (LDLIBS-tst-main1): Likewise.
31028 (tst-main1mod.so-no-z-defs): Likewise.
31029 * elf/tst-main1.c: New file.
31030 * elf/tst-main1mod.c: Likewise.
31032 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31034 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31036 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31038 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31039 (fma): Define using libm_alias_double.
31040 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31041 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31043 (fmal): Do not define as compat symbol here.
31044 * sysdeps/alpha/fpu/s_fma.c: New file.
31046 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31048 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31050 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31053 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31055 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31057 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31058 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31059 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31060 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31062 Include <math_ldbl_opt.h>
31063 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31065 (compat_symbol): Undefine and redefine.
31066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31068 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31069 (compat_symbol): Undefine and redefine.
31070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31071 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31072 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31073 GLIBC_2_1 for libm.
31074 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31075 GLIBC_2.0 copysignl symbol.
31076 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31077 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31079 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31081 2017-10-04 Florian Weimer <fweimer@redhat.com>
31083 * scripts/check-local-headers.sh: Ignore nspr4 header file
31084 directory in addition to nspr.
31086 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31089 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31090 * configure: Regenerate.
31091 * crypt/Makefile (nss-cpp-flags): New variable.
31092 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31093 (CPPFLAGS-md5-crypt.c): Use it.
31094 * scripts/check-local-headers.sh: Ignore nspr header file
31097 2017-10-04 Andreas Schwab <schwab@suse.de>
31099 * nis/Makefile (services): Remove compat.
31100 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31101 ($(objpfx)libnss_compat.so): Remove rule.
31102 * nis/Versions (libnss_compat): Remove.
31103 * nss/Makefile (services): Add compat.
31104 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31105 * nss/Versions (libnss_compat): Define.
31106 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31107 Don't include <rpc/types.h>. Replace bool_t by bool.
31108 * nss/nss_compat/compat-initgroups.c: Likewise.
31109 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31110 instead of <rpcsrv/ypclnt.h>.
31111 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31112 yp_get_default_domain.
31113 * nss/nss_compat/compat-pwd.c: Likewise.
31114 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31115 yp_get_default_domain.
31116 * nss/nss_compat/nisdomain.c: New file.
31117 * nss/nss_compat/nisdomain.h: Likewise.
31119 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31122 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31123 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31125 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31128 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31129 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31131 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31133 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31134 "movl main@GOTOFF(%ebx), %eax".
31136 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31138 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31139 allow undefined _DYNAMIC in PIE libc.a.
31140 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31143 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31145 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31148 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31150 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31153 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31155 * math/test-math-iscanonical.cc (error): Replace bool with int.
31157 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31159 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31160 (modf): Define using libm_alias_double, only if [!__modf].
31161 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31162 <libm-alias-double.h>.
31163 (modf): Define using libm_alias_double, only if [!__modf].
31164 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31165 compat symbol here.
31166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31167 (weak_alias): Do not undefine and redefine.
31168 (strong_alias): Likewise.
31169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31170 (weak_alias): Likewise.
31171 (strong_alias): Likewise.
31173 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31174 (logb): Define using libm_alias_double, only if [!__logb].
31175 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31176 <libm-alias-double.h>.
31177 (logb): Define using libm_alias_double, only if [!__logb].
31178 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31180 (weak_alias): Do not undefine and redefine.
31181 (strong_alias): Likewise.
31182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31183 (weak_alias): Likewise.
31184 (strong_alias): Likewise.
31186 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31188 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31189 Check SHARED instead PIC.
31191 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31193 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31194 [!__fmaf] (fmaf): Define using libm_alias_float.
31196 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31197 (frexp): Define using libm_alias_double.
31198 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31199 <libm-alias-double.h>.
31200 (frexp): Define using libm_alias_double.
31201 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31202 compat symbol here.
31204 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31207 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31208 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31209 (CFLAGS-test-math-iscanonical.cc): New variable.
31210 * math/test-math-iscanonical.cc: New file.
31211 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31212 Provide a C++ implementation based on function overloading,
31213 rather than using __MATH_TG, which uses C-only builtins.
31214 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31216 * sysdeps/powerpc/powerpc64le/Makefile
31217 (CFLAGS-test-math-iscanonical.cc): New variable.
31219 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31221 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31222 (ceil): Define using libm_alias_double.
31223 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31224 (floor): Define using libm_alias_double.
31225 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31226 <libm-alias-double.h>.
31227 (llround): Define using libm_alias_double.
31228 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31229 <libm-alias-double.h>.
31230 (lround): Define using libm_alias_double.
31231 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31232 <libm-alias-double.h>.
31233 (nearbyint): Define using libm_alias_double.
31234 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31235 <libm-alias-double.h>.
31236 (remquo): Define using libm_alias_double.
31237 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31238 (rint): Define using libm_alias_double.
31239 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31240 (round): Define using libm_alias_double.
31241 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31242 (trunc): Define using libm_alias_double.
31243 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31244 <libm-alias-double.h>.
31245 (ceil): Define using libm_alias_double.
31246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31247 <libm-alias-double.h>.
31248 (floor): Define using libm_alias_double.
31249 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31250 <libm-alias-double.h>.
31251 (llround): Define using libm_alias_double.
31252 [_LP64] (lround): Likewise.
31253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31254 <libm-alias-double.h>.
31255 [!_LP64] (lround): Define using libm_alias_double.
31256 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31257 <libm-alias-double.h>.
31258 (nearbyint): Define using libm_alias_double.
31259 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31260 <libm-alias-double.h>.
31261 (remquo): Define using libm_alias_double.
31262 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31263 <libm-alias-double.h>.
31264 (rint): Define using libm_alias_double.
31265 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31266 <libm-alias-double.h>.
31267 (round): Define using libm_alias_double.
31268 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31269 <libm-alias-double.h>.
31270 (trunc): Define using libm_alias_double.
31271 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31272 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31273 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31274 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31275 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31276 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31277 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31278 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31279 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31281 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31283 * math/w_remainder.c: New file.
31284 * math/w_remainderf.c: New file.
31285 * math/w_remainderl.c: New file.
31287 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31289 * elf/rtld.c (BOOTSTRAP_MAP): New.
31290 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31291 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31293 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31295 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31298 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31300 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31301 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31302 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31303 rtld_hidden_data_ver): Define to empty.
31304 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31305 __assert_perror_fail): Likewise.
31306 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31307 (__rewinddir): Likewise.
31308 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31309 (__profile_frequency): Likewise.
31310 * include/setjmp.h (__sigsetjmp): Likewise.
31311 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31312 __libc_sigaction): Likewise.
31313 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31314 not set hidden attribute.
31315 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31316 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31317 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31318 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31319 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31320 __fxstatat64): Likewise.
31321 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31322 (__uname): Likewise.
31323 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31324 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31325 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31326 (NO_RTLD_HIDDEN): Set.
31327 * sysdeps/mach/hurd/configure: Refresh.
31328 * config.h.in: Refresh.
31330 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31332 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31333 (atan): Define using libm_alias_double.
31334 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31335 (tan): Define using libm_alias_double.
31336 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31337 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31339 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31340 define as weak alias of __atan. Do not define any aliases if
31342 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31343 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31344 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31345 as weak alias of __tan. Do not define any aliases if [__tan].
31346 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31347 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31348 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31350 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31351 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31352 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31353 and define as weak alias of __atan.
31354 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31356 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31357 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31358 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31359 define as weak alias of __tan.
31361 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31363 * math/w_lgamma.c: New file.
31364 * math/w_lgammaf.c: New file.
31365 * math/w_lgammal.c: New file.
31367 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31369 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31370 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31371 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31372 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31373 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31374 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31375 * sysdeps/i386/fpu/w_log2f.c: New file.
31376 * sysdeps/i386/fpu/w_logf.c: New file.
31377 * sysdeps/i386/fpu/w_powf.c: New file.
31378 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31379 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31380 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31382 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31383 H.J. Lu <hongjiu.lu@intel.com>
31385 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31386 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31387 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31388 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31389 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31391 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31392 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31393 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31394 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31395 * sysdeps/i386/fpu/w_exp2f.c: New file.
31396 * sysdeps/i386/fpu/w_expf.c: New file.
31397 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31398 * sysdeps/x86_64/fpu/w_expf.c: New file.
31400 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31402 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31405 * math/w_log2f.c: New file.
31406 * math/w_logf.c: New file.
31407 * math/w_powf.c: New file.
31408 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31409 * math/w_logf_compat.c (__logf_compat): Likewise.
31410 * math/w_powf_compat.c (__powf_compat): Likewise.
31411 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31412 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31413 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31414 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31415 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31416 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31417 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31418 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31419 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31420 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31421 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31422 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31423 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31424 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31425 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31434 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31435 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31436 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31437 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31438 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31443 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31444 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31445 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31447 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31449 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31450 (sysdep_routines): Add memrchr_power8.
31451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31452 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31453 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31455 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31456 (memrchr): Add __memrchr_power8 to ifunc list.
31457 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31459 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31462 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31463 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31465 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31466 (__posix_fallocate64_l64): Likewise.
31468 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31471 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31472 (__sched_setaffinity_new): Add libc_hidden_proto and
31475 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31478 * include/glob.h (__glob64): Add libc_hidden_proto.
31479 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31482 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31485 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31488 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31491 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31493 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31496 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31499 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31502 * csu/version.c (__libc_print_version): Add attribute_hidden.
31504 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31507 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31512 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31517 * nscd/nscd_helper.c (__nis_hash): New prototype.
31519 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31522 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31523 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31525 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31526 * termios/tcgetattr.c (__tcgetattr): Likewise.
31528 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31531 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31532 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31533 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31534 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31535 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31537 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31540 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31545 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31546 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31548 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31551 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31553 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31556 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31557 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31559 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31562 * include/ifreq.h: New file.
31563 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31564 (__ifreq): Likewise.
31565 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31566 (__ifreq): Likewise.
31568 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31571 * include/idna.h: New file.
31572 * inet/getnameinfo.c: Include <idna.h> instead of
31574 (__idna_to_unicode_lzlz): Removed.
31575 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31577 (__idna_to_ascii_lz): Removed.
31578 (__idna_to_unicode_lzlz): Likewise.
31580 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31583 * include/plural-exp.h: New file.
31584 * intl/plural-exp.c: Include <plural-exp.h> instead of
31587 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31590 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31591 "getsourcefilter.h".
31592 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31593 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31594 "getsourcefilter.h".
31595 (__get_sol): Removed.
31597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31600 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31602 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31607 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31610 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31613 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31618 * include/search.h (__tdestroy): Add libc_hidden_proto.
31619 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31624 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31629 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31635 * include/signal.h (__kill): Add libc_hidden_proto.
31636 (__sigblock): Likewise.
31637 (__sigprocmask): Likewise.
31638 (__sigaltstack): Likewise.
31639 * signal/kill.c (__kill): Add libc_hidden_def.
31640 * signal/sigblock.c (__sigblock): Likewise.
31641 * signal/sigprocmask.c (__sigprocmask): Likewise.
31642 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31643 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31644 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31645 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31646 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31648 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31650 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31651 (__sigprocmask): Likewise.
31652 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31654 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31655 (__sigprocmask): Likewise.
31656 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31659 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31662 * include/string.h (__strsep): Add libc_hidden_proto.
31663 * string/strsep.c (__strsep): Add libc_hidden_def.
31665 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31668 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31670 (__spawni): Likewise.
31672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31675 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31676 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31679 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31682 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31687 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31688 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31689 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31690 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31691 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31693 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31694 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31696 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31699 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31700 (__dcigettext): Likewise.
31702 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31705 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31707 (__get_nprocs): Likewise.
31708 (__get_phys_pages): Likewise.
31709 (__get_avphys_pages): Likewise.
31710 (__get_child_max): Add attribute_hidden.
31711 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31712 (__get_nprocs): Likewise.
31713 (__get_phys_pages): Likewise.
31714 (__get_avphys_pages): Likewise.
31715 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31717 (__get_nprocs): Likewise.
31718 (__get_phys_pages): Likewise.
31719 (__get_avphys_pages): Likewise.
31720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31722 (__get_nprocs_conf): Likewise.
31723 (__get_phys_pages): Likewise.
31724 (__get_avphys_pages): Likewise.
31726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31729 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31731 (__netlink_close): Likewise.
31732 (__netlink_free_handle): Likewise.
31733 (__netlink_request): Likewise.
31735 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31738 * include/rpc/rpc.h (__rpc_thread_variables): Add
31740 (__rpc_thread_svc_cleanup): Likewise.
31741 (__rpc_thread_clnt_cleanup): Likewise.
31742 (__rpc_thread_key_cleanup): Likewise.
31744 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31747 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31748 (__writev): Likewise.
31749 * misc/readv.c (__readv): Add libc_hidden_def.
31750 * misc/writev.c (__writev): Likewise.
31751 * sysdeps/posix/readv.c (__readv): Likewise.
31752 * sysdeps/posix/writev.c (__writev): Likewise.
31753 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31754 (__readv): Likewise.
31755 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31756 (__writev): Likewise.
31758 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31761 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31762 (__regcomp): Add libc_hidden_proto.
31763 (__regexec): Likewise.
31764 (__regfree): Likewise.
31765 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31766 (__regfree): Likewise.
31767 * posix/regexec.c (__regexec): Likewise.
31769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31772 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31773 (__getutent): Likewise.
31774 (__getutid): Likewise.
31775 (__getutline): Likewise.
31776 (__pututline): Likewise.
31777 (__getutent_r): Likewise.
31778 (__getutid_r): Likewise.
31779 (__getutline_r): Likewise.
31780 (__utmpname): Add attribute_hidden.
31781 (__setutent): Likewise.
31782 (__endutent): Likewise.
31783 * login/getutent.c (__getutent): Add libc_hidden_def.
31784 * login/getutent_r.c (__getutent_r): Likewise.
31785 (__pututline): Likewise.
31786 * login/getutid.c (__getutid): Likewise.
31787 * login/getutid_r.c (__getutid_r): Likewise.
31788 * login/getutline.c (__getutline): Likewise.
31789 * login/getutline_r.c (__getutline_r): Likewise.
31790 * login/updwtmp.c (__updwtmp): Likewise.
31792 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31795 * include/dirent.h (__opendir): Always add attribute_hidden.
31796 (__fdopendir): Likewise.
31797 (__closedir): Likewise.
31798 (__readdir): Likewise.
31799 (__readdir64): Add libc_hidden_proto.
31800 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31801 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31802 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31803 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31806 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31809 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31810 * include/netdb.h (__gethostbyaddr_r): Likewise.
31811 (__gethostbyname_r): Likewise.
31812 (__gethostbyname2_r): Likewise.
31813 (__getnetbyaddr_r): Likewise.
31814 (__getnetbyname_r): Likewise.
31815 (__getservbyname_r): Likewise.
31816 (__getservbyport_r): Likewise.
31817 (__getprotobyname_r): Likewise.
31818 (__getprotobynumber_r): Likewise.
31819 (__getnetgrent_r): Likewise.
31820 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31821 (__getrpcbynumber_r): Likewise.
31822 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31824 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31827 * include/stdio.h (__fcloseall): Add attribute_hidden.
31828 (__getline): Likewise.
31829 (__path_search): Likewise.
31830 (__gen_tempname): Likewise.
31831 (__libc_message): Likewise.
31832 (__flockfile): Likewise.
31833 (__funlockfile): Likewise.
31834 (__fxprintf): Likewise.
31835 (__fxprintf_nocancel): Likewise.
31837 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31840 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31841 (__sgetsgent_r): Likewise.
31843 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31846 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31847 (__statfs64): Likewise.
31848 (__fstatfs64): Likewise.
31849 * include/sys/statvfs.h (__statvfs64): Likewise.
31850 (__fstatvfs64): Likewise.
31851 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31852 (__statfs_filesize_max): Likewise.
31853 (__statfs_symlinks): Likewise.
31854 (__statfs_chown_restricted): Likewise.
31856 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31859 * include/time.h (__tzstring): Add attribute_hidden.
31860 (__tzfile_read): Likewise.
31861 (__tzfile_compute): Likewise.
31862 (__tzfile_default): Likewise.
31863 (__tzset_parse_tz): Likewise.
31864 (__offtime): Likewise.
31865 (__asctime_r): Likewise.
31866 (__tzset): Likewise.
31867 (__tz_convert): Likewise.
31868 (__getdate_r): Likewise.
31869 (__getclktck): Likewise.
31871 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31874 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31875 (__nscd_unmap): Likewise.
31876 (__nscd_cache_search): Likewise.
31877 (__nscd_get_nl_timestamp): Likewise.
31878 (__nscd_getpwnam_r): Likewise.
31879 (__nscd_getpwuid_r): Likewise.
31880 (__nscd_getgrnam_r): Likewise.
31881 (__nscd_getgrgid_r): Likewise.
31882 (__nscd_gethostbyname_r): Likewise.
31883 (__nscd_gethostbyname2_r): Likewise.
31884 (__nscd_gethostbyaddr_r): Likewise.
31885 (__nscd_getai): Likewise.
31886 (__nscd_getgrouplist): Likewise.
31887 (__nscd_getservbyname_r): Likewise.
31888 (__nscd_getservbyport_r): Likewise.
31889 (__nscd_innetgr): Likewise.
31890 (__nscd_setnetgrent): Likewise.
31892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31895 * include/gmp.h: Declare internal functions only if _ISOMAC is
31897 (__mpn_extract_double): Add attribute_hidden.
31898 (__mpn_extract_long_double): Likewise.
31899 (__mpn_extract_float128): Likewise.
31900 (__mpn_construct_float): Likewise.
31901 (__mpn_construct_double): Likewise.
31902 (__mpn_construct_long_double): Likewise.
31903 (__mpn_construct_float128): Likewise.
31904 (mpn_add_1): Likewise.
31905 (mpn_addmul_1): Likewise.
31906 (mpn_add_n): Likewise.
31907 (mpn_cmp): Likewise.
31908 (mpn_divrem): Likewise.
31909 (mpn_lshift): Likewise.
31910 (mpn_mul): Likewise.
31911 (mpn_mul_1): Likewise.
31912 (mpn_rshift): Likewise.
31913 (mpn_sub_1): Likewise.
31914 (mpn_submul_1): Likewise.
31915 (mpn_sub_n): Likewise.
31917 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31920 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31921 (__wcscat): Likewise.
31922 (__btowc): Likewise.
31923 (__wcrtomb): Likewise.
31924 (__mbsrtowcs): Likewise.
31925 (__wcsrtombs): Likewise.
31926 (__mbsnrtowcs): Likewise.
31927 (__wcsnrtombs): Likewise.
31928 (__wcsncpy): Likewise.
31929 (__wcpncpy): Likewise.
31930 (__wmemcpy): Likewise.
31931 (__wmempcpy): Likewise.
31932 (__wmemmove): Likewise.
31933 (__wcschrnul): Likewise.
31934 (__vfwscanf): Likewise.
31935 (__vswprintf): Likewise.
31936 (__fwprintf): Likewise.
31937 (__vfwprintf): Likewise.
31939 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31942 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31943 (__getgrgid_r): Likewise.
31944 (__getgrnam_r): Likewise.
31945 * include/pwd.h (__getpwuid_r): Likewise.
31946 (__getpwnam_r): Likewise.
31947 (__fgetpwent_r): Likewise.
31948 * include/shadow.h (__getspnam_r): Likewise.
31949 (__sgetspent_r): Likewise.
31950 (__fgetspent_r): Likewise.
31952 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31955 * include/unistd.h (__access): Add attribute_hidden.
31956 (__lseek64): Likewise.
31957 (__libc_pread64): Likewise.
31958 (__pipe2): Likewise.
31959 (__sleep): Likewise.
31960 (__chdir): Likewise.
31961 (__fchdir): Likewise.
31962 (__getcwd): Likewise.
31963 (__rmdir): Likewise.
31964 (__execvpe): Likewise.
31965 (__execve): Likewise.
31966 (__setsid): Likewise.
31967 (__getuid): Likewise.
31968 (__geteuid): Likewise.
31969 (__getgid): Likewise.
31970 (__getegid): Likewise.
31971 (__getgroups): Likewise.
31972 (__group_member): Likewise.
31973 (__ttyname_r): Likewise.
31974 (__isatty): Likewise.
31975 (__readlink): Likewise.
31976 (__unlink): Likewise.
31977 (__gethostname): Likewise.
31978 (__profil): Likewise.
31979 (__getdtablesize): Likewise.
31981 (__ftruncate): Likewise.
31982 (__ftruncate64): Likewise.
31984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31987 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
31988 * argp/argp-fs-xinl.c: Likewise.
31989 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
31990 * argp/argp-parse.c: Include <argp.h>.
31991 * argp/argp-xinl.c: Likewise.
31992 * include/argp-fmtstream.h: New file.
31993 * include/argp.h (__argp_error): Add attribute_hidden.
31994 (__argp_failure): Likewise.
31995 (__argp_input): Likewise.
31996 (__argp_state_help): Likewise.
31998 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32001 * include/wchar.h (____wcstof_l_internal): New prototype.
32002 (____wcstod_l_internal): Likewise.
32003 (____wcstold_l_internal): Likewise.
32004 (____wcstol_l_internal): Likewise.
32005 (____wcstoul_l_internal): Likewise.
32006 (____wcstoll_l_internal): Likewise.
32007 (____wcstoull_l_internal): Likewise.
32008 (____wcstof128_l_internal): Likewise.
32009 * sysdeps/ieee754/float128/wcstof128.c
32010 (____wcstof128_l_internal): Removed.
32011 * sysdeps/ieee754/float128/wcstof128_l.c
32012 (____wcstof128_l_internal): Likewise.
32013 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32014 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32015 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32016 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32017 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32018 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32019 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32020 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32021 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32022 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32024 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32027 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32028 instead of <sys/statvfs.h>.
32029 (__internal_statvfs): Removed.
32030 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32031 instead of <sys/statvfs.h>.
32032 (__internal_statvfs64): Removed.
32033 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32034 "internal_statvfs.h" instead of <sys/statvfs.h>.
32035 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32036 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32037 instead of <sys/statvfs.h>.
32038 (__internal_statvfs): Removed.
32039 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32040 instead of <sys/statvfs.h>.
32041 (__internal_statvfs64): Removed.
32043 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32046 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32047 (__gconv_close): Likewise.
32048 (__gconv): Likewise.
32049 (__gconv_find_transform): Likewise.
32050 (__gconv_lookup_cache): Likewise.
32051 (__gconv_compare_alias_cache): Likewise.
32052 (__gconv_load_cache): Likewise.
32053 (__gconv_get_path): Likewise.
32054 (__gconv_close_transform): Likewise.
32055 (__gconv_release_cache): Likewise.
32056 (__gconv_find_shlib): Likewise.
32057 (__gconv_release_shlib): Likewise.
32058 (__gconv_get_builtin_trans): Likewise.
32059 (__gconv_compare_alias): Likewise.
32060 * include/dlfcn.h (_dlerror_run): Likewise.
32061 * include/stdio.h (__fortify_fail_abort): Likewise.
32062 * include/time.h (__tz_compute): Likewise.
32063 (__strptime_internal): Likewise.
32064 * intl/gettextP.h (_nl_find_domain): Likewise.
32065 (_nl_load_domain): Likewise.
32066 (_nl_find_msg): Likewise.
32067 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32068 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32069 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32070 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32071 (__gai_find_request): Likewise.
32072 (__gai_remove_request): Likewise.
32073 (__gai_notify): Likewise.
32074 (__gai_notify_only): Likewise.
32075 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32076 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32077 (_dl_non_dynamic_init): Likewise.
32078 (_dl_aux_init): Likewise.
32079 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32080 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32082 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32083 (__wcsmbs_clone_conv): Likewise.
32084 (__wcsmbs_named_conv): Likewise.
32086 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32089 * include/stdlib.h (__random): Add attribute_hidden.
32090 (__random_r): Likewise.
32091 (__srandom_r): Likewise.
32092 (__initstate_r): Likewise.
32093 (__setstate_r): Likewise.
32094 (__erand48_r): Likewise.
32095 (__nrand48_r): Likewise.
32096 (__jrand48_r): Likewise.
32097 (__srand48_r): Likewise.
32098 (__seed48_r): Likewise.
32099 (__lcong48_r): Likewise.
32100 (__drand48_iterate): Likewise.
32101 (__setenv): Likewise.
32102 (__unsetenv): Likewise.
32103 (__clearenv): Likewise.
32104 (__ptsname_r): Likewise.
32105 (__posix_openpt): Likewise.
32106 (__add_to_environ): Likewise.
32107 (__realpath): Add libc_hidden_proto.
32108 (__ecvt_r): Likewise.
32109 (__fcvt_r): Likewise.
32110 (__qecvt_r): Likewise.
32111 (__qfcvt_r): Likewise.
32112 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32113 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32115 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32118 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32119 * include/time.h (__mktime_internal): Likewise.
32120 * libio/iolibio.h (__fopen_internal): Likewise.
32122 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32124 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32126 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32127 Correct offset used to restore PIC register.
32129 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32132 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32133 code to load address of __getcontext_ret when generating PIC code.
32135 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32137 * elf/Makefile (tests-static-internal): Add
32138 tst-tls1-static-non-pie.
32139 (LDFLAGS-tst-tls1-static-non-pie): New.
32140 * elf/tst-tls1-static-non-pie.c: New file.
32142 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32144 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32145 (asinh): Define using libm_alias_double.
32146 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32147 (cbrt): Define using libm_alias_double.
32148 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32149 <libm-alias-double.h>.
32150 (copysign): Define using libm_alias_double.
32151 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32152 (erf): Define using libm_alias_double.
32154 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32155 (expm1): Define using libm_alias_double.
32156 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32157 (fabs): Define using libm_alias_double.
32158 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32160 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32161 <libm-alias-double.h>.
32162 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32164 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32165 <libm-alias-double.h>.
32166 (getpayload): Define using libm_alias_double.
32167 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32168 <libm-alias-double.h>.
32169 (llrint): Define using libm_alias_double.
32170 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32171 (lrint): Define using libm_alias_double.
32172 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32173 <libm-alias-double.h>.
32174 (nextup): Define using libm_alias_double.
32175 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32176 <libm-alias-double.h>.
32177 (roundeven): Define using libm_alias_double.
32178 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32180 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32181 <libm-alias-double.h>.
32182 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32183 using libm_alias_double.
32184 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32185 (cos): Define using libm_alias_double.
32187 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32188 <libm-alias-double.h>.
32189 (sincos): Define using libm_alias_double.
32190 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32191 (tanh): Define using libm_alias_double.
32192 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32193 <libm-alias-double.h>.
32194 (totalorder): Define using libm_alias_double.
32195 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32196 <libm-alias-double.h>.
32197 (totalordermag): Define using libm_alias_double.
32198 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32200 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32202 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32203 <libm-alias-double.h>.
32204 (getpayload): Define using libm_alias_double.
32205 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32206 <libm-alias-double.h>.
32207 (roundeven): Define using libm_alias_double.
32208 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32209 <libm-alias-double.h>.
32210 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32211 <libm-alias-double.h>.
32212 (totalorder): Define using libm_alias_double.
32213 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32214 <libm-alias-double.h>.
32215 (totalordermag): Define using libm_alias_double.
32216 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32217 libc compat symbol here.
32218 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32219 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32220 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32221 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32222 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32223 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32224 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32225 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32226 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32227 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32229 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32231 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32232 _dl_relocate_static_pie instead of _dl_start to compute load
32233 address in static PIE. Return 0 if _DYNAMIC is undefined for
32236 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32238 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32239 _DYNAMIC is undefined for static executable.
32241 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32243 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32245 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32249 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32251 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32252 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32253 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32254 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32256 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32257 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32258 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32260 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32261 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32262 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32263 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32264 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32265 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32266 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32267 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32269 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32271 * math/bits/cmathcalls.h (cimag): Remove inline.
32272 (creal): Remove inline.
32273 (conj): Remove inline.
32275 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32277 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32278 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32279 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32280 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32281 (issignalingf_inline): Likewise.
32282 (POWF_LOG2_TABLE_BITS): Likewise.
32283 (POWF_LOG2_POLY_ORDER): Likewise.
32284 (POWF_SCALE_BITS): Likewise.
32285 (POWF_SCALE): Likewise.
32286 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32287 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32288 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32290 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32292 * math/Makefile (type-float-routines): Add e_log2f_data.
32293 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32294 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32295 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32296 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32297 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32298 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32299 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32301 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32303 * math/Makefile (type-float-routines): Add e_logf_data.
32304 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32305 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32306 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32307 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32308 * sysdeps/i386/fpu/e_logf_data.c: New file.
32309 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32310 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32312 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32314 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32315 undefined _DYNAMIC in PIE libc.a.
32316 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32319 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32321 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32322 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32323 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32324 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32325 (__signbit): Remove.
32326 (__signbitl): Remove.
32327 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32328 (__signbit): Remove.
32329 (__signbitl): Remove.
32330 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32331 (__signbit): Remove.
32332 (__signbitl): Remove.
32333 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32334 (__signbit): Remove.
32335 (__signbitl): Remove.
32336 * sysdeps/tile/bits/mathinline.h: Delete file.
32337 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32338 (__signbit): Remove.
32339 (__signbitl): Remove.
32341 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32343 * math/math.h: Improve handling of C99 isgreater macros.
32344 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32345 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32346 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32347 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32348 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32350 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32352 * sysdeps/aarch64/libm-test-ulps: Update.
32354 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32357 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32358 math_opt_barrier on argument when doing arithmetic on it.
32359 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32360 Likewise. Use math_force_eval not math_opt_barrier after
32362 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32363 math_opt_barrier on argument when doing arithmetic on it.
32364 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32367 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32369 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32371 (__freeifaddrs): Likewise.
32373 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32375 * include/dirent.h (__dirfd): New declaration.
32376 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32378 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32379 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32380 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32381 * include/unistd.h (__revoke): New declaration.
32382 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32384 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32385 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32387 * include/dirent.h (__seekdir): New declaration.
32388 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32389 redefine as weak alias.
32390 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32392 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32393 and use libc_hidden_def on them.
32394 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32396 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32397 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32398 instead of getifaddrs and freeifaddrs.
32400 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32403 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32404 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32405 (__dso_handle): Remove declaration.
32406 * dlfcn/tstatexit.c (__dso_handle): Removed.
32407 (main): Don't check __dso_handle.
32408 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32409 (main): Don't check __dso_handle.
32410 * include/dso_handle.h: New file.
32411 * malloc/mtrace.c: Include <dso_handle.h>.
32412 (mtrace): Pass __dso_handle directly.
32413 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32414 (__dso_handle): Remove declaration.
32415 (__pthread_atfork): Pass __dso_handle directly.
32416 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32417 (__dso_handle): Removed.
32418 * posix/wordexp-test.c: Include <dso_handle.h>.
32419 (__dso_handle): Remove declaration.
32420 (__app_register_atfork): Pass __dso_handle directly.
32421 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32422 (__dso_handle): Remove declaration.
32423 (at_quick_exit): Pass __dso_handle directly.
32424 * stdlib/atexit.c: Include <dso_handle.h>.
32425 (__dso_handle): Remove declaration.
32426 (atexit): Pass __dso_handle directly.
32427 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32428 (__dso_handle): Removed.
32430 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32432 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32435 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32437 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32438 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32439 values to correct default value for given type.
32441 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32444 * elf/Makefile (tests): Add tst-debug1.
32445 ($(objpfx)tst-debug1): New.
32446 ($(objpfx)tst-debug1.out): Likewise.
32447 ($(objpfx)tst-debug1mod1.so): Likewise.
32448 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32449 with p_filesz == 0.
32450 * elf/tst-debug1.c: New file.
32452 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32454 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32455 Define using __ifunc.
32457 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32459 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32462 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32465 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32467 2017-09-26 Florian Weimer <fweimer@redhat.com>
32469 * resolv/Makefile (tests-internal): Fix typo in comment.
32471 2017-09-26 Florian Weimer <fweimer@redhat.com>
32473 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32475 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32477 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32478 Use an union instead of a max_align_t array for __space,
32479 so that __space is the same size on all platforms.
32480 * malloc/scratch_buffer_grow_preserve.c
32481 (__libc_scratch_buffer_grow_preserve): Likewise.
32484 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32486 * posix/Makefile (routines): Add glob-lstat-compat and
32487 glob64-lstat-compat.
32488 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32489 * posix/glob-lstat-compat.c: New file.
32490 * posix/glob64-lstat-compat.c: Likewise.
32491 * posix/tst-glob_lstat_compat.c: Likewise.
32492 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32493 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32494 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32495 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32497 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32498 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32499 * posix/glob.c (glob_lstat): New function.
32500 (glob): Rename to __glob and add versioned symbol to 2.27.
32501 (glob_in_dir): Use glob_lstat.
32502 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32503 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32504 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32506 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32507 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32508 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32509 gl_lstat on glob call.
32510 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32511 and glob64 symbols.
32512 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32513 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32514 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32515 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32516 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32517 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32518 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32519 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32520 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32521 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32522 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32523 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32526 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32528 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32529 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32530 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32531 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32532 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32535 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32536 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32537 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32539 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32541 * configure.ac (AS): Require binutils 2.25 or later.
32542 * configure: Regenerated.
32544 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32547 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32550 2017-09-25 DJ Delorie <dj@redhat.com>
32553 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32556 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32558 * sysdeps/ieee754/dbl-64/sincos32.h
32559 [SINCCOS32_H]: Remove define.
32560 [SINCOS32_H]: Define.
32562 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32564 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32566 * math/w_exp2f.c: New file.
32567 * math/w_expf.c: New file.
32568 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32569 * math/w_expf_compat.c (__expf_compat): Likewise.
32570 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32571 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32572 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32573 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32574 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32575 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32576 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32577 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32578 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32579 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32580 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32581 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32582 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32583 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32592 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32593 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32594 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32595 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32596 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32601 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32602 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32603 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32605 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32607 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32608 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32609 (roundtoint, converttoint): Likewise.
32610 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32611 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32612 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32613 * sysdeps/ieee754/flt-32/math_config.h: New file.
32614 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32615 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32616 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32617 * sysdeps/i386/fpu/math_errf.c: New file.
32618 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32619 * sysdeps/ia64/fpu/math_errf.c: New file.
32620 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32621 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32623 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32625 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32626 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32627 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32628 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32629 to make sure that these symbols are defined.
32630 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32632 (__need_NULL): Do not define.
32633 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32635 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32636 CMGROUP_MAX, cmsgcred): Do not define.
32637 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32639 * bits/socket.h: Likewise.
32640 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32641 __gettimeofday instead of gettimeofday.
32642 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32643 instead of settimeofday.
32645 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32647 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32648 (asinhf): Define using libm_alias_float.
32649 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32650 (atanf): Define using libm_alias_float.
32651 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32652 (cbrtf): Define using libm_alias_float.
32653 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32654 (ceilf): Define using libm_alias_float.
32655 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32656 <libm-alias-float.h>.
32657 (copysignf): Define using libm_alias_float.
32658 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32659 (cosf): Define using libm_alias_float.
32660 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32661 (erff): Define using libm_alias_float.
32663 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32664 (expm1f): Define using libm_alias_float.
32665 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32666 (fabsf): Define using libm_alias_float.
32667 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32668 (floorf): Define using libm_alias_float.
32669 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32670 (frexpf): Define using libm_alias_float.
32671 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32673 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32674 <libm-alias-float.h>.
32675 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32677 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32678 <libm-alias-float.h>.
32679 (getpayloadf): Define using libm_alias_float.
32680 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32681 <libm-alias-float.h>.
32682 (llrintf): Define using libm_alias_float.
32683 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32684 <libm-alias-float.h>.
32685 (llroundf): Define using libm_alias_float.
32686 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32687 (logbf): Define using libm_alias_float.
32688 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32689 (lrintf): Define using libm_alias_float.
32690 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32691 (lroundf): Define using libm_alias_float.
32692 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32693 (modff): Define using libm_alias_float.
32694 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32695 <libm-alias-float.h>.
32696 (nearbyintf): Define using libm_alias_float.
32697 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32698 <libm-alias-float.h>.
32699 (nextafterf): Define using libm_alias_float.
32700 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32701 <libm-alias-float.h>.
32702 (nextupf): Define using libm_alias_float.
32703 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32704 <libm-alias-float.h>.
32705 (remquof): Define using libm_alias_float.
32706 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32707 (rintf): Define using libm_alias_float.
32708 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32709 <libm-alias-float.h>.
32710 (roundevenf): Define using libm_alias_float.
32711 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32712 (roundf): Define using libm_alias_float.
32713 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32714 using libm_alias_float.
32715 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32716 <libm-alias-float.h>.
32717 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32718 Define using libm_alias_float.
32719 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32720 <libm-alias-float.h>.
32721 (sincosf): Define using libm_alias_float.
32722 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32723 (sinf): Define using libm_alias_float.
32724 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32725 (tanf): Define using libm_alias_float.
32726 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32727 (tanhf): Define using libm_alias_float.
32728 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32729 <libm-alias-float.h>.
32730 (totalorderf): Define using libm_alias_float.
32731 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32732 <libm-alias-float.h>.
32733 (totalordermagf): Define using libm_alias_float.
32734 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32735 (truncf): Define using libm_alias_float.
32736 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32738 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32741 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32744 math/math.h: Let fpclassify use the builtin in C++ mode, even
32745 when optimazing for size.
32747 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32749 * csu/Makefile (generated): Do not add version-info.h.
32750 (before-compile): Likewise.
32751 (all-Banner-files): Remove variable.
32752 ($(objpfx)version-info.h): Remove rule.
32753 * csu/version.c (banner): Do not include "version-info.h".
32754 * libidn/Banner: Remove.
32755 * manual/contrib.texi (Simon Josefsson): New entry.
32757 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32759 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32760 Remove conditionals on LDBL_MANT_DIG.
32761 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32762 (__ieee754_lgammal_r): Likewise.
32764 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32766 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32768 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32769 _Float128 and L(). Replace _Float128 with long double and L(x)
32770 with xL, throughout the file.
32771 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32772 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32773 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32776 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32779 sysdeps/ieee754/ldbl-128ibm.
32780 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32781 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32782 of including it. Keep _Float128 and L() intact. These will be
32783 reviewed by a separate patch.
32784 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32785 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32786 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32789 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32792 (__finitef128): Define to __redirect___finitef128.
32793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32794 (__isinff128): Define to __redirect___isinff128.
32795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32796 (__isnanf128): Define to __redirect___isnanf128.
32798 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32800 * sysdeps/powerpc/powerpc64le/Makefile
32801 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32802 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32804 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32805 Carlos O'Donell <carlos@redhat.com>
32808 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32809 * stdlib/test-dlclose-exit-race.c: New file.
32810 * stdlib/test-dlclose-exit-race-helper.c: New file.
32811 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32813 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32815 * crypt/Banner: Remove file.
32816 * nptl/Banner: Likewise.
32817 * resolv/Banner: Likewise.
32818 * soft-fp/Banner: Likewise.
32819 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32820 ($(objpfx)version.d): Remove dependency on banner.h.
32821 ($(objpfx)version.os): Likewise.
32822 * nptl/version.c (banner): Do not include banner.h.
32823 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32824 Jelinek and BIND code.
32826 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32827 Carlos O'Donell <carlos@redhat.com>
32829 * support/xdlfcn.h: New file.
32830 * support/xdlfcn.c: New file.
32831 * support/Makefile (libsupport-routines): Add xdlfcn.
32832 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32834 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32837 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32838 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32839 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32840 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32841 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32842 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32843 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32844 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32846 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32847 Ricky Zhou <rickyz@google.com>
32848 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32851 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32853 (__new_exitfn): Fail registration when we finished at_exit processing.
32854 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32855 * stdlib/on_exit.c (__on_exit): Likewise.
32856 * stdlib/exit.c (__exit_funcs_done): New variable.
32857 (__run_exit_handlers): Use __exit_funcs_lock.
32858 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32860 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32861 (test-cxa_atexit-race, test-on_exit-race): New tests.
32862 * stdlib/test-atexit-race-common.c: New file.
32863 * stdlib/test-atexit-race.c: New file.
32864 * stdlib/test-at_quick_exit-race.c: New file.
32865 * stdlib/test-cxa_atexit-race.c: New file.
32866 * stdlib/test-on_exit-race.c: New file.
32868 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32870 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32871 * benchtests/exp2f-inputs: Copy of expf-inputs.
32872 * benchtests/log2f-inputs: Copy of logf-inputs.
32874 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32876 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32877 Explicitly take address of first element of array arguments in
32878 call to INLINE_SYSCALL.
32880 2017-09-19 Andreas Schwab <schwab@suse.de>
32883 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32885 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32887 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32888 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32889 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32890 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32891 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32892 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32894 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32895 * posix/Makefile (tests): Add tst-fexecve.
32896 * posix/tst-fexecve.c: New file.
32898 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32900 * benchtests/Makefile: Add logf benchmark.
32901 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32903 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32905 * benchtests/Makefile: Add expf benchmark.
32906 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32908 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32910 * csu/Makefile: Add -funwind-tables to libc-start.c.
32911 * debug/Makefile: Add -funwind-tables to backtrace.c.
32912 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32913 * sysdeps/arm/Makefile: Likewise.
32914 * sysdeps/i386/Makefile: Likewise.
32915 * sysdeps/m68k/Makefile: Likewise.
32916 * sysdeps/mips/Makefile: Likewise.
32917 * sysdeps/nios2/Makefile: Likewise.
32918 * sysdeps/sh/Makefile: Likewise.
32919 * sysdeps/sparc/Makefile: Likewise.
32921 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32923 * benchtests/Makefile (bench-math): Add trunc and truncf.
32924 (CFLAGS-bench-trunc.c): New variable.
32925 (CFLAGS-bench-truncf.c): Likewise.
32926 * benchtests/trunc-inputs: New file.
32927 * benchtests/truncf-inputs: Likewise.
32929 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32931 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32933 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32935 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32936 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32938 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32939 (exp10l): Define as weak alias.
32940 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32941 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32943 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32944 (remainderl): Define as weak alias.
32946 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32947 (fmal): Define using libm_alias_ldouble.
32948 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32949 (acoshl): Define using libm_alias_ldouble.
32950 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32951 (acosl): Define using libm_alias_ldouble.
32952 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32953 (asinl): Define using libm_alias_ldouble.
32954 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32955 (atan2l): Define using libm_alias_ldouble.
32956 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32957 (atanhl): Define using libm_alias_ldouble.
32958 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32959 (coshl): Define using libm_alias_ldouble.
32960 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32961 (exp10l): Define using libm_alias_ldouble.
32962 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32963 (exp2l): Define using libm_alias_ldouble.
32964 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32965 (expl): Define using libm_alias_ldouble.
32966 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32967 (fmodl): Define using libm_alias_ldouble.
32968 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32969 (hypotl): Define using libm_alias_ldouble.
32970 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32971 (j0l): Define using libm_alias_ldouble.
32973 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32974 (j1l): Define using libm_alias_ldouble.
32976 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32977 (jnl): Define using libm_alias_ldouble.
32979 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
32980 (log10l): Define using libm_alias_ldouble.
32981 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
32982 (log2l): Define using libm_alias_ldouble.
32983 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
32984 (logl): Define using libm_alias_ldouble.
32985 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
32986 (powl): Define using libm_alias_ldouble.
32987 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
32988 (remainderl): Define using libm_alias_ldouble.
32989 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
32990 (sinhl): Define using libm_alias_ldouble.
32991 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
32992 (sqrtl): Define using libm_alias_ldouble.
32993 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
32994 (tgammal): Define using libm_alias_ldouble.
32995 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
32996 (exp10l): Do not use long_double_symbol here.
32997 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
32998 [LIBM_SVID_COMPAT] (remainderl): Likewise.
32999 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33000 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33001 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33002 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33003 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33004 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33005 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33006 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33007 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33008 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33009 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33010 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33011 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33012 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33013 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33014 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33015 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33016 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33017 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33018 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33020 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33022 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33023 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33025 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33027 * io/read.c (read): Add libc_hidden_weak.
33028 * sysdeps/mach/hurd/read.c (read): Likewise.
33029 * io/write.c (write): Likewise.
33030 * sysdeps/mach/hurd/write.c (write): Likewise.
33031 * io/pread64.c (__pread64): Likewise.
33032 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33033 * posix/pread64.c (__pread64): Add libc_hidden_def.
33035 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33037 * benchtests/scripts/compare_strings.py: New option -g.
33038 (draw_graph): Print a message that a graph is being generated.
33039 (process_results): Generate graph only if -g is passed.
33040 (main): Process option -g.
33042 * benchtests/scripts/compare_strings.py (process_results):
33043 Better spacing for output.
33045 * benchtests/scripts/compare_strings.py: Use argparse.
33046 * benchtests/README: Document existence of compare_strings.py.
33048 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33050 * math/s_fma.c: Include <libm-alias-double.h>.
33051 (fma): Define using libm_alias_double.
33052 * math/s_nextafter.c: Include <libm-alias-double.h>.
33053 (nextafter): Define using libm_alias_double.
33054 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33055 (acos): Define using libm_alias_double.
33056 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33057 (aocsh): Define using libm_alias_double.
33058 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33059 (asin): Define using libm_alias_double.
33060 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33061 (atan2): Define using libm_alias_double.
33062 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33063 (atanh): Define using libm_alias_double.
33064 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33065 (cosh): Define using libm_alias_double.
33066 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33067 (exp10): Define using libm_alias_double.
33068 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33069 (exp2): Define using libm_alias_double.
33070 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33071 (exp): Define using libm_alias_double.
33072 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33073 (fmod): Define using libm_alias_double.
33074 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33075 (hypot): Define using libm_alias_double.
33076 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33077 (j0): Define using libm_alias_double.
33079 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33080 (j1): Define using libm_alias_double.
33082 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33083 (jn): Define using libm_alias_double.
33085 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33086 (log10): Define using libm_alias_double.
33087 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33088 (log2): Define using libm_alias_double.
33089 * math/w_log_compat.c: Include <libm-alias-double.h>.
33090 (log): Define using libm_alias_double.
33091 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33092 (pow): Define using libm_alias_double.
33093 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33094 (remainder): Define using libm_alias_double.
33095 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33096 (sinh): Define using libm_alias_double.
33097 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33098 (sqrt): Define using libm_alias_double.
33099 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33100 (tgamma): Define using libm_alias_double.
33101 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33102 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33103 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33104 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33105 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33106 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33107 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33108 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33109 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33110 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33111 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33112 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33113 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33114 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33115 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33116 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33117 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33118 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33119 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33120 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33121 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33122 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33123 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33124 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33125 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33127 * math/e_acoshl.c: Remove.
33128 * math/e_acosl.c: Likewise.
33129 * math/e_asinl.c: Likewise.
33130 * math/e_atan2l.c: Likewise.
33131 * math/e_atanhl.c: Likewise.
33132 * math/e_coshl.c: Likewise.
33133 * math/e_expl.c: Likewise.
33134 * math/e_fmodl.c: Likewise.
33135 * math/e_gammal_r.c: Likewise.
33136 * math/e_hypotl.c: Likewise.
33137 * math/e_j0l.c: Likewise.
33138 * math/e_j1l.c: Likewise.
33139 * math/e_jnl.c: Likewise.
33140 * math/e_lgammal_r.c: Likewise.
33141 * math/e_log10l.c: Likewise.
33142 * math/e_log2l.c: Likewise.
33143 * math/e_logl.c: Likewise.
33144 * math/e_powl.c: Likewise.
33145 * math/e_rem_pio2l.c: Likewise.
33146 * math/e_sinhl.c: Likewise.
33147 * math/e_sqrtf128.c: Likewise.
33148 * math/e_sqrtl.c: Likewise.
33149 * math/k_cosl.c: Likewise.
33150 * math/k_sinl.c: Likewise.
33151 * math/k_tanl.c: Likewise.
33152 * math/s_asinhl.c: Likewise.
33153 * math/s_atanl.c: Likewise.
33154 * math/s_cbrtl.c: Likewise.
33155 * math/s_erfl.c: Likewise.
33156 * math/s_expm1l.c: Likewise.
33157 * math/s_log1pl.c: Likewise.
33158 * math/s_tanhl.c: Likewise.
33160 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33164 [$(subdir) = math] (sysdep_calls): New variable. Has the
33165 previous contents of sysdep_routines, but re-sorted..
33166 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33168 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33169 defined in sysdep_calls and replace by the respective m_* names.
33170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33171 (compat_symbol): Undefine to avoid duplicated compat symbols in
33174 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33176 * math/s_fmaf.c: Include <libm-alias-float.h>.
33177 (fmaf): Define using libm_alias_float.
33178 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33179 (acosf): Define using libm_alias_float.
33180 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33181 (acoshf): Define using libm_alias_float.
33182 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33183 (asinf): Define using libm_alias_float.
33184 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33185 (atan2f): Define using libm_alias_float.
33186 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33187 (atanhf): Define using libm_alias_float.
33188 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33189 (coshf): Define using libm_alias_float.
33190 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33191 (exp10f): Define using libm_alias_float.
33192 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33193 (fmodf): Define using libm_alias_float.
33194 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33195 (hypotf): Define using libm_alias_float.
33196 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33197 (j0f): Define using libm_alias_float.
33199 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33200 (j1f): Define using libm_alias_float.
33202 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33203 (jnf): Define using libm_alias_float.
33205 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33206 (log10f): Define using libm_alias_float.
33207 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33208 (log2f): Define using libm_alias_float.
33209 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33210 (logf): Define using libm_alias_float.
33211 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33212 (powf): Define using libm_alias_float.
33213 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33214 (remainderf): Define using libm_alias_float.
33215 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33216 (sinhf): Define using libm_alias_float.
33217 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33218 (sqrtf): Define using libm_alias_float.
33219 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33220 (tgammaf): Define using libm_alias_float.
33222 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33224 * include/math.h (roundeven): Change hidden_proto call to
33226 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33228 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33229 (y0): Rename to __y0 and define as weak alias.
33230 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33231 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33233 (y0f): Rename to __y0f and define as weak alias.
33234 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33236 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33237 (y1): Rename to __y1 and define as weak alias.
33238 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33239 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33241 (y1f): Rename to __y1f and define as weak alias.
33242 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33244 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33245 (yn): Rename to __yn and define as weak alias.
33246 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33247 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33249 (ynf): Rename to __ynf and define as weak alias.
33250 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33251 (fromfp): Define as weak alias.
33252 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33253 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33254 (fromfpx): Define as weak alias.
33255 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33256 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33257 __getpayload and define as weak alias.
33258 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33259 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33260 __roundeven and define as weak alias.
33261 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33262 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33264 (setpayload): Define as weak alias.
33265 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33266 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33268 (setpayloadsig): Define as weak alias.
33269 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33270 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33271 __totalorder and define as weak alias.
33272 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33273 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33274 to __totalordermag and define as weak alias.
33275 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33276 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33277 (ufromfp): Define as weak alias.
33278 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33279 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33281 (ufromfpx): Define as weak alias.
33282 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33283 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33284 Rename to __getpayload and define as weak alias.
33285 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33286 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33287 Rename to __roundeven and define as weak alias.
33288 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33289 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33290 Rename to __totalorder and define as weak alias.
33291 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33292 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33293 (totalordermag): Rename to __totalordermag and define as weak
33295 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33296 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33298 (__roundevenl): Likewise.
33299 (__totalorderl): Likewise.
33300 (__totalordermagl): Likewise
33301 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33303 (fromfpf128): Define as weak alias.
33304 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33306 (fromfpxf128): Define as weak alias.
33307 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33309 (setpayloadf128): Define as weak alias.
33310 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33311 __setpayloadsigf128.
33312 (setpayloadsigf128): Define as weak alias.
33313 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33315 (ufromfpf128): Define as weak alias.
33316 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33318 (ufromfpxf128): Define as weak alias.
33319 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33320 (fromfpf): Define as weak alias.
33321 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33323 (fromfpxf): Define as weak alias.
33324 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33325 __getpayloadf and define as weak alias.
33326 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33327 __roundevenf and define as weak alias.
33328 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33330 (setpayloadf): Define as weak alias.
33331 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33333 (setpayloadsigf): Define as weak alias.
33334 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33335 __totalorderf and define as weak alias.
33336 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33337 Rename to __totalordermagf and define as weak alias.
33338 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33340 (ufromfpf): Define as weak alias.
33341 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33343 (ufromfpxf): Define as weak alias.
33344 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33346 (fromfpl): Define as weak alias.
33347 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33349 (fromfpxl): Define as weak alias.
33350 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33351 to __getpayloadl and define as weak alias.
33352 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33353 __roundevenl and define as weak alias.
33354 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33356 (setpayloadl): Define as weak alias.
33357 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33359 (setpayloadsigl): Define as weak alias.
33360 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33361 to __totalorderl and define as weak alias.
33362 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33363 Rename to __totalordermagl and define as weak alias.
33364 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33366 (ufromfpl): Define as weak alias.
33367 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33369 (ufromfpxl): Define as weak alias.
33370 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33372 (fromfpl): Define as weak alias.
33373 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33375 (fromfpxl): Define as weak alias.
33376 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33377 Rename to __getpayloadl and define as weak alias.
33378 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33379 to __roundevenl and define as weak alias. Call __roundeven
33380 instead of roundeven.
33381 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33383 (setpayloadl): Define as weak alias.
33384 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33386 (setpayloadsigl): Define as weak alias.
33387 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33388 Rename to __totalorderl and define as weak alias.
33389 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33390 Rename to __totalordermagl and define as weak alias.
33391 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33393 (ufromfpl): Define as weak alias.
33394 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33396 (ufromfpxl): Define as weak alias.
33397 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33399 (fromfpl): Define as weak alias.
33400 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33402 (fromfpxl): Define as weak alias.
33403 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33404 __getpayloadl and define as weak alias.
33405 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33406 __roundevenl and define as weak alias.
33407 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33409 (setpayloadl): Define as weak alias.
33410 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33412 (setpayloadsigl): Define as weak alias.
33413 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33414 __totalorderl and define as weak alias.
33415 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33416 Rename to __totalordermagl and define as weak alias.
33417 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33419 (ufromfpl): Define as weak alias.
33420 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33422 (ufromfpxl): Define as weak alias.
33424 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33426 * benchtests/bench-string.h (realloc_bufs): New function.
33427 (test_init): Call it.
33428 * benchtests/bench-memset-large.c (do_test): Likewise.
33429 * benchtests/bench-memset.c (do_test): Likewise.
33431 * benchtests/bench-memset-large.c: Print output in JSON
33433 * benchtests/bench-memset.c: Likewise.
33435 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33438 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33439 * iconvdata/Makefile: Add IBM858.
33440 * iconvdata/gconv-modules: Likewise.
33441 * iconvdata/tst-tables.sh: Likewise.
33442 * iconvdata/ibm858.c: New file.
33443 * localedata/charmaps/IBM858: Likewise.
33445 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33448 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33449 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33451 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33454 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33455 and add tel_int_fmt.
33457 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33459 * sysdeps/generic/libm-alias-float128.h: New file.
33460 * sysdeps/generic/math-type-macros-float128.h: Include
33461 <libm-alias-float128.h>.
33462 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33464 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33466 * sysdeps/generic/libm-alias-ldouble.h: New file.
33467 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33468 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33469 * sysdeps/generic/math-type-macros-ldouble.h: Include
33470 <libm-alias-ldouble.h>.
33471 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33472 libm_alias_ldouble.
33474 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33476 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33477 * math/w_exp_compat.c: ... here.
33478 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33479 * math/w_expf_compat.c: ... here.
33480 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33481 * math/w_expl_compat.c: ... here.
33482 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33483 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33484 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33485 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33487 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33489 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33491 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33493 (ldexpl): Only define as compat symbol for libc, not libm.
33494 (scalbnl): Define as compat symbol for libc here.
33495 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33496 define for [IS_IN (libc)].
33497 (__ldexpl_2): Remove alias.
33498 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33499 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33500 name in long_double_symbol call.
33501 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33502 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33503 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33504 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33505 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33507 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33508 Define as compat symbol.
33510 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33512 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33513 * sysdeps/unix/sysv/linux/alpha/Makefile
33514 [$(subdir) = csu] (sysdep_routines): Remove rule.
33516 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33518 * sysdeps/generic/libm-alias-double.h: New file.
33519 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33520 * sysdeps/generic/math-type-macros-double.h: Include
33521 <libm-alias-double.h>.
33522 [declare_mgen_alias] (declare_mgen_alias): Define to use
33524 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33525 (M_LIBM_NEED_COMPAT): Remove macro.
33526 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33527 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33528 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33530 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33531 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33532 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33533 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33534 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33535 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33536 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33537 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33538 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33539 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33540 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33541 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33542 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33543 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33544 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33545 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33546 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33547 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33548 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33549 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33550 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33551 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33552 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33553 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33554 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33555 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33556 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33557 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33558 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33560 (declare_mgen_alias): New macro.
33561 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33562 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33564 (M_LIBM_NEED_COMPAT): Remove macro.
33565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33566 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33567 <first-versions.h>.
33568 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33569 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33571 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33573 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33574 (declare_mgen_alias_2): Remove.
33575 * sysdeps/generic/math-type-macros-double.h
33576 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33578 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33580 (ldexp): Define with declare_mgen_alias.
33581 (scalbn): Likewise.
33583 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33585 * grp/initgroups.c: Include config.h.
33586 (DEFAULT_CONFIG): New macro.
33587 (internal_getgrouplist): Use DEFAULT_CONFIG.
33588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33589 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33590 (DEFAULT_DEFCONFIG): New macro.
33591 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33592 * nss/grp-lookup.c: Include config.h
33593 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33594 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33595 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33596 * manual/nss.texi: Update default values section.
33598 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33601 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33603 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33604 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33605 Handle MathVec_Prefer_No_AVX512.
33606 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33607 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33610 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33612 * posix/sched_primax.c (__sched_get_priority_max): Add
33614 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33615 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33616 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33617 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33618 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33619 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33620 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33621 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33624 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33626 * sysdeps/generic/libm-alias-float.h: New file.
33627 * sysdeps/generic/math-type-macros-float.h: Include
33628 <libm-alias-float.h>.
33629 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33631 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33634 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33635 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33636 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33637 (HWCAP_IMPORTANT): Likewise.
33638 (HWCAP_X86_64): New enum.
33639 (HWCAP_X86_AVX512_1): Updated.
33640 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33641 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33642 (modules-names): Add x86_64/tst-x86_64mod-1.
33643 (LDFLAGS-tst-x86_64mod-1.so): New.
33644 ($(objpfx)tst-x86_64-1): Likewise.
33645 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33646 (tst-x86_64-1-clean): Likewise.
33647 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33648 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33650 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33652 * po/sv.po: Update translations.
33653 * po/fr.po: Likewise.
33655 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33657 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33659 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33661 * elf/rtld-Rules: Fix $(error) use.
33663 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33666 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33667 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33668 * localedata/locales/bn_BD: “Bengali” was still used in some
33669 comments. Change it to “Bangla”.
33671 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33673 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33675 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33677 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33678 thunderx2t99p1 to list of cpu names.
33679 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33680 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33682 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33684 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33685 Use strcmp instead of tunable_is_name.
33687 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33689 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33690 (F_GET_RW_HINT): New macro.
33691 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33692 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33693 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33694 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33695 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33696 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33697 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33698 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33699 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33702 (F_ADD_SEALS): New macro.
33703 [__USE_GNU] (F_GET_SEALS): Likewise.
33704 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33705 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33706 [__USE_GNU] (F_SEAL_GROW): Likewise.
33707 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33709 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33711 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33712 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33713 * posix/glob_internal.h (__glob_pattern_type):
33714 * posix/glob.c (glob):
33715 * posix/glob_pattern_p.c (__glob_pattern_p):
33718 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33719 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33720 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33721 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33722 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33724 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33725 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33726 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33727 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33728 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33729 * sysdeps/wordsize-64/glob.c: Likewise.
33730 * sysdeps/wordsize-64/glob64.c: Likewise.
33731 * sysdeps/wordsize-64/globfree.c: Likewise.
33732 * sysdeps/wordsize-64/globfree64.c: Likewise.
33733 * sysdeps/unix/sysv/linux/glob.c: New file.
33734 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33735 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33736 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33737 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33738 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33739 adds !GLOB_NO_OLD_VERSION as an extra condition.
33740 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33741 using relative path instead of absolute one.
33742 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33743 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33744 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33745 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33746 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33747 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33750 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33751 (glob): Use the same scratch buffer for both getlogin_r and
33752 getpwnam_r. Don’t require preallocation of the login name. This
33753 simplifies storage allocation, and corrects the handling of
33757 * posix/glob.c (glob): Port recent patches to platforms
33758 lacking getpwnam_r.
33759 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33760 returns an error number rather than setting errno.
33762 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33763 instead of GCC extension.
33764 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33765 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33766 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33770 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33771 * posix/bug-glob1.c: Remove file.
33772 * posix/tst-glob_symlinks.c: New file.
33773 * posix/glob.c (__lstat64): New macro.
33774 (is_dir): New function.
33775 (glob, glob_in_dir): Match symlinks even if they are dangling.
33776 (link_stat, link_exists_p): Remove. All uses removed.
33780 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33781 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33786 * posix/Makefile (routines): Add globfree, globfree64, and
33788 * posix/flexmember.h: New file.
33789 * posix/glob_internal.h: Likewise.
33790 * posix/glob_pattern_p.c: Likewise.
33791 * posix/globfree.c: Likewise.
33792 * posix/globfree64.c: Likewise.
33793 * sysdeps/gnu/globfree64.c: Likewise.
33794 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33795 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33796 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33797 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33798 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33799 * sysdeps/wordsize-64/globfree.c: Likewise.
33800 * sysdeps/wordsize-64/globfree64.c: Likewise.
33801 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33802 [NDEBUG): Remove comments.
33803 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33804 (dirent_type): New type. Use uint_fast8_t not
33805 uint8_t, as C99 does not require uint8_t.
33806 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33807 (struct readdir_result): Use dirent_type. Do not define skip_entry
33808 unless it is needed; this saves a byte on platforms lacking d_ino.
33809 (readdir_result_type, readdir_result_skip_entry):
33810 New functions, replacing ...
33811 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33812 these functions, which were removed. This makes the callers
33813 easier to read. All callers changed.
33814 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33815 (size_add_wrapv, glob_use_alloca): New static functions.
33816 (glob, glob_in_dir): Check for size_t overflow in several places,
33817 and fix some size_t checks that were not quite right.
33818 Remove old code using SHELL since Bash no longer
33820 (glob, prefix_array): Separate MS code better.
33821 (glob_in_dir): Remove old Amiga and VMS code.
33822 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33824 (glob_in_dir): Do not rely on undefined behavior in accessing
33825 struct members beyond their bounds. Use a flexible array member
33827 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33828 0/1. Caller changed.
33829 (glob): Fix memory leaks.
33830 * posix/glob64 (globfree64): Move to separate file.
33831 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33832 (globfree64): Remove hidden alias.
33833 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33835 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33837 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33839 Move compat code to separate file.
33840 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33843 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33845 * resolv/tst-resolv-qtypes.c (domain): Changed to
33846 "const char domain[] =".
33848 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33850 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33853 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33854 (TCP_MD5SIG_EXT): Likewise.
33855 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33856 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33857 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33859 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33861 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33863 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33865 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33868 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33870 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33872 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33873 before assuming that the file is empty. Avoid testing buffer content
33876 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33879 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33881 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33883 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33885 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33887 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33889 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33891 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33894 2017-09-06 Florian Weimer <fweimer@redhat.com>
33896 * malloc/dynarray_emplace_enlarge.c
33897 (__libc_dynarray_emplace_enlarge): Add missing else.
33899 2017-09-06 Florian Weimer <fweimer@redhat.com>
33902 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33903 case of failure to obtain the global conf object.
33905 2017-09-06 Florian Weimer <fweimer@redhat.com>
33908 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33909 dynarray allocation failure.
33911 2017-09-06 Florian Weimer <fweimer@redhat.com>
33913 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33914 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33915 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33917 (response): Call them. Add 'p', '6' flag processing.
33918 (test_reverse): New function.
33919 (test_get2_any): Call it.
33920 (test_no_inet6): Add 'p' test.
33921 (test_inet6): Likewise.
33923 2017-09-06 Florian Weimer <fweimer@redhat.com>
33925 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33926 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33928 (test_gai): Adjust query names. Add additional tests.
33929 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33930 test_get2. Adjust query names. Add additional tests.
33931 (test_no_inet6): New function, extracted from threadfunc.
33932 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33933 Add additional tests.
33935 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33938 * localedata/unicode-gen/utf8_gen.py: Set the width for
33939 characters with Prepended_Concatenation_Mark property to 1
33940 * localedata/charmaps/UTF-8: Updated using the improved script.
33942 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33945 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33946 use the range notation for all ranges of neighbouring characters
33947 with the same width.
33949 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33951 * sysdeps/generic/math-type-macros-double.h: Include
33952 <math-svid-compat.h>.
33953 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33954 * sysdeps/generic/math-type-macros-float.h: Include
33955 <math-svid-compat.h>.
33956 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33957 * sysdeps/generic/math-type-macros-ldouble.h: Include
33958 <math-svid-compat.h>.
33959 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33960 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33962 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33963 * math/w_acosf_compat.c: Likewise.
33964 * math/w_acosh_compat.c: Likewise.
33965 * math/w_acoshf_compat.c: Likewise.
33966 * math/w_acoshl_compat.c: Likewise.
33967 * math/w_acosl_compat.c: Likewise.
33968 * math/w_asin_compat.c: Likewise.
33969 * math/w_asinf_compat.c: Likewise.
33970 * math/w_asinl_compat.c: Likewise.
33971 * math/w_atan2_compat.c: Likewise.
33972 * math/w_atan2f_compat.c: Likewise.
33973 * math/w_atan2l_compat.c: Likewise.
33974 * math/w_atanh_compat.c: Likewise.
33975 * math/w_atanhf_compat.c: Likewise.
33976 * math/w_atanhl_compat.c: Likewise.
33977 * math/w_cosh_compat.c: Likewise.
33978 * math/w_coshf_compat.c: Likewise.
33979 * math/w_coshl_compat.c: Likewise.
33980 * math/w_exp10_compat.c: Likewise.
33981 * math/w_exp10f_compat.c: Likewise.
33982 * math/w_exp10l_compat.c: Likewise.
33983 * math/w_exp2_compat.c: Likewise.
33984 * math/w_exp2f_compat.c: Likewise.
33985 * math/w_exp2l_compat.c: Likewise.
33986 * math/w_fmod_compat.c: Likewise.
33987 * math/w_fmodf_compat.c: Likewise.
33988 * math/w_fmodl_compat.c: Likewise.
33989 * math/w_hypot_compat.c: Likewise.
33990 * math/w_hypotf_compat.c: Likewise.
33991 * math/w_hypotl_compat.c: Likewise.
33992 * math/w_j0_compat.c: Likewise.
33993 * math/w_j0f_compat.c: Likewise.
33994 * math/w_j0l_compat.c: Likewise.
33995 * math/w_j1_compat.c: Likewise.
33996 * math/w_j1f_compat.c: Likewise.
33997 * math/w_j1l_compat.c: Likewise.
33998 * math/w_jn_compat.c: Likewise.
33999 * math/w_jnf_compat.c: Likewise.
34000 * math/w_jnl_compat.c: Likewise.
34001 * math/w_lgamma_r_compat.c: Likewise.
34002 * math/w_lgammaf_r_compat.c: Likewise.
34003 * math/w_lgammal_r_compat.c: Likewise.
34004 * math/w_log10_compat.c: Likewise.
34005 * math/w_log10f_compat.c: Likewise.
34006 * math/w_log10l_compat.c: Likewise.
34007 * math/w_log2_compat.c: Likewise.
34008 * math/w_log2f_compat.c: Likewise.
34009 * math/w_log2l_compat.c: Likewise.
34010 * math/w_log_compat.c: Likewise.
34011 * math/w_logf_compat.c: Likewise.
34012 * math/w_logl_compat.c: Likewise.
34013 * math/w_pow_compat.c: Likewise.
34014 * math/w_powf_compat.c: Likewise.
34015 * math/w_powl_compat.c: Likewise.
34016 * math/w_remainder_compat.c: Likewise.
34017 * math/w_remainderf_compat.c: Likewise.
34018 * math/w_remainderl_compat.c: Likewise.
34019 * math/w_sinh_compat.c: Likewise.
34020 * math/w_sinhf_compat.c: Likewise.
34021 * math/w_sinhl_compat.c: Likewise.
34022 * math/w_sqrt_compat.c: Likewise.
34023 * math/w_sqrtf_compat.c: Likewise.
34024 * math/w_sqrtl_compat.c: Likewise.
34025 * math/w_tgamma_compat.c: Likewise.
34026 * math/w_tgammaf_compat.c: Likewise.
34027 * math/w_tgammal_compat.c: Likewise.
34028 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34029 [LIBM_SVID_COMPAT].
34030 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34031 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34032 [LIBM_SVID_COMPAT].
34033 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34034 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34035 [LIBM_SVID_COMPAT].
34036 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34037 * sysdeps/i386/fpu/w_sqrt.c: New file.
34038 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34039 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34040 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34041 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34042 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34043 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34044 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34045 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34046 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34047 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34048 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34049 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34050 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34051 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34052 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34053 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34054 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34055 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34056 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34057 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34058 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34059 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34060 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34061 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34062 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34063 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34064 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34065 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34066 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34067 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34068 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34069 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34070 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34071 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34072 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34073 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34074 * sysdeps/ia64/fpu/w_log.c: Likewise.
34075 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34076 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34077 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34078 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34079 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34080 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34081 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34082 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34083 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34084 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34085 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34086 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34087 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34088 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34089 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34090 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34091 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34092 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34093 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34094 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34095 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34096 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34097 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34098 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34099 [LIBM_SVID_COMPAT].
34100 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34101 * sysdeps/ieee754/k_standard.c: Likewise.
34102 * sysdeps/ieee754/k_standardf.c: Likewise.
34103 * sysdeps/ieee754/k_standardl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34106 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34107 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34108 long_double_symbol call on [LIBM_SVID_COMPAT].
34109 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34110 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34111 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34112 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34113 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34114 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34115 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34116 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34117 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34118 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34119 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34120 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34121 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34122 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34123 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34124 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34125 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34126 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34127 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34128 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34129 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34130 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34132 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34134 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34135 * malloc/tst-mallocstate.c: Convert from test-skeleton
34136 to test-driver. Ifdef code using TEST_COMPAT macro.
34137 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34138 * math/test-matherr.c: Likewise.
34140 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34143 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34144 comparing word with byte-swapped constant.
34146 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34149 * locale/iso-639.def: add Miskito.
34150 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34151 * localedata/locales/miq_NI: New file.
34153 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34156 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34157 (__mkdir): Likewise.
34158 * io/chmod.c (__chmod): Add libc_hidden_def.
34159 * io/mkdir.c (__mkdir): Likewise.
34160 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34161 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34162 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34163 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34165 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34167 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34171 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34172 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34174 2017-09-04 Florian Weimer <fweimer@redhat.com>
34176 * math/math.h: Issue warning if log is defined.
34178 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34180 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34181 kernel version to 4.13.
34183 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34185 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34186 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34188 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34189 just <bits/types.h>.
34190 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34191 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34192 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34193 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34194 * misc/preadv2.c: Include <errno.h>.
34195 * misc/preadv64v2.c: Include <errno.h>.
34196 * misc/pwritev2.c: Include <errno.h>.
34197 * misc/pwritev64v2.c: Include <errno.h>.
34198 * sysdeps/posix/preadv2.c: Include <errno.h>.
34199 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34200 Fix <unistd.h> inclusion.
34201 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34202 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34203 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34204 __strtoul_internal): New functions.
34205 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34206 * sysdeps/posix/system.c: Include <sigsetops.h>.
34207 * sysdeps/mach/hurd/i386/Makefile
34208 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34209 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34210 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34211 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34212 __feraiseexcept_renamed to feraiseexcept instead of
34213 __GI_feraiseexcept.
34214 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34215 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34216 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34217 RWF_NOWAIT): Define to 0 if undefined already.
34218 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34220 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34221 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34223 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34225 * manual/math.texi (pow10): Do not document.
34226 (pow10f): Likewise.
34227 (pow10l): Likewise.
34228 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34229 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34230 * math/libm-test-exp10.inc (pow10_test): Remove.
34231 (do_test): Do not call pow10.
34232 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34233 [NO_LONG_DOUBLE] (pow10l): Likewise.
34234 * math/w_exp10f_compat.c (pow10f): Likewise.
34235 * math/w_exp10l_compat.c (pow10l): Likewise.
34236 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34237 (pow10): Make into compat symbol.
34238 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34239 (pow10f): Make into compat symbol.
34240 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34241 (pow10l): Make into compat symbol.
34242 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34244 (CFLAGS-nldbl-pow10.c): Remove variable..
34245 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34246 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34247 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34248 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34249 Undefine and redefine.
34250 (pow10l): Make into compat symbol.
34251 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34252 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34253 * sysdeps/arm/libm-test-ulps: Likewise.
34254 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34255 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34256 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34257 * sysdeps/microblaze/libm-test-ulps: Likewise.
34258 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34259 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34260 * sysdeps/nios2/libm-test-ulps: Likewise.
34261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34262 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34263 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34264 * sysdeps/sh/libm-test-ulps: Likewise.
34265 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34266 * sysdeps/tile/libm-test-ulps: Likewise.
34267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34269 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34271 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34273 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34275 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34276 "../ChangeLog.old/ChangeLog.8".
34277 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34278 "../ChangeLog.old/ChangeLog.14".
34280 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34282 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34285 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34287 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34289 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34291 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34292 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34294 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34296 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34297 32 atexit handlers.
34299 2017-09-01 Zack Weinberg <zackw@panix.com>
34301 * math/math.h (HUGE_VAL): Improve commentary.
34303 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34304 Andreas Schwab <schwab@suse.de>
34307 * include/stdio.h (__gen_tempfd): New function.
34308 * stdio-common/Makefile (routines): Add gentempfd.
34309 * stdio-common/gentempfd.c: New file.
34310 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34311 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34312 unnamed file first.
34314 2017-09-01 Florian Weimer <fweimer@redhat.com>
34318 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34319 result to determine success or failure, not the errno value.
34320 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34321 (tst-nss-files-hosts-erange): Link with -ldl.
34322 * nss/tst-nss-files-hosts-erange.c: New file.
34323 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34324 (do_test): Add NO_DATA tests.
34325 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34326 (do_test): Call it.
34328 2017-09-01 Florian Weimer <fweimer@redhat.com>
34331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34332 coming from gethostbyname2_r.
34334 2017-09-01 Florian Weimer <fweimer@redhat.com>
34336 * support/namespace.h (struct support_chroot_configuration): Add
34338 (struct support_chroot): Add path_hosts, path_host_conf.
34339 * support/support_chroot.c (write_file): New function.
34340 (support_chroot_create): Call it to process /etc/resolv.conf,
34341 /etc/hosts, /etc/host.conf.
34342 (support_chroot_free): Update.
34344 2017-09-01 Florian Weimer <fweimer@redhat.com>
34346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34347 status indicates it is set.
34349 2017-09-01 Florian Weimer <fweimer@redhat.com>
34352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34353 function lookup failures more reliable.
34355 2017-09-01 Florian Weimer <fweimer@redhat.com>
34357 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34358 (getcanonname): Likewise.
34359 (gaih_inet): Likewise.
34361 2017-09-01 Florian Weimer <fweimer@redhat.com>
34363 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34364 (getcanonname): Likewise.
34365 (gaih_inet): Likewise.
34367 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34368 Richard Henderson <rth@twiddle.net>
34370 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34371 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34372 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34373 (IREG_SIZE, OREG_SIZE): New macros.
34374 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34375 (IREG_SIZE, OREG_SIZE): New macros.
34376 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34377 (IREG_SIZE): New macro.
34378 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34379 (IREG_SIZE): New macro.
34380 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34382 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34383 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34384 (__CONCATX): Handle exceptions correctly on large values that may
34386 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34387 Initialize if not already set.
34388 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34390 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34392 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34393 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34395 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34397 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34399 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34401 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34403 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34405 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34407 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34408 (NO_CANCELLATION): Likewise.
34409 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34411 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34413 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34416 (NO_CANCELLATION): Likewise.
34417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34418 (NO_CANCELLATION): Likewise.
34419 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34421 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34423 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34425 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34427 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34429 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34430 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34432 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34434 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34437 2017-08-31 Florian Weimer <fweimer@redhat.com>
34439 * include/libc-symbols.h (internal_function): Remove.
34441 2017-08-31 Florian Weimer <fweimer@redhat.com>
34443 * stdlib/fmtmsg.c (internal_addseverity): Remove
34446 2017-08-31 Florian Weimer <fweimer@redhat.com>
34448 * stdio-common/printf_fp.c (group_number): Remove
34450 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34452 2017-08-31 Florian Weimer <fweimer@redhat.com>
34454 * posix/fnmatch.c (internal_function): Remove definition.
34455 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34456 * posix/regcomp.c (peek_token, init_word_char)
34457 (duplicate_node_closure, fetch_token, peek_token)
34458 (peek_token_bracket, build_range_exp, build_collating_symbol):
34460 * posix/regex_internal.c (re_string_construct_common)
34461 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34462 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34463 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34464 (re_string_translate_buffer, re_string_reconstruct)
34465 (re_string_peek_byte_case, re_string_fetch_byte_case)
34466 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34467 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34468 (re_node_set_add_intersect, re_node_set_init_union)
34469 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34470 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34471 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34472 (re_acquire_state_context): Likewise.
34473 * posix/regex_internal.h (internal_function): Remove definition.
34474 (re_string_realloc_buffers, build_wcs_buffer)
34475 (build_wcs_upper_buffer, build_upper_buffer)
34476 (re_string_translate_buffer, re_string_context_at)
34477 (re_string_char_size_at, re_string_wchar_at)
34478 (re_string_elem_size_at): Likewise.
34479 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34480 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34481 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34482 (re_search_internal, re_search_2_stub, re_search_stub)
34483 (re_copy_regs, prune_impossible_nodes, check_matching)
34484 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34485 (free_fail_stack_return, sift_states_iter_mb)
34486 (sift_states_backward, build_sifted_states)
34487 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34488 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34489 (check_subexp_limits, sift_states_bkref, merge_state_array)
34490 (find_recover_state, transit_state, merge_state_with_log)
34491 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34492 (transit_state_mb, transit_state_bkref, get_subexp)
34493 (get_subexp_sub, find_subexp_node, check_arrival)
34494 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34495 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34496 (check_node_accept_bytes, find_collation_sequence_value)
34497 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34498 (acquire_init_state_context, check_halt_node_context)
34499 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34500 (sub_epsilon_src_nodes): Likewise.
34501 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34502 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34503 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34504 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34505 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34506 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34507 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34508 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34509 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34510 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34511 (PREADV): Likewise.
34512 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34513 (PREADV): Likewise.
34514 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34515 (PWRITEV): Likewise.
34516 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34517 (PWRITEV): Likewise.
34518 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34519 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34521 2017-08-31 Florian Weimer <fweimer@redhat.com>
34523 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34524 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34525 Remove internal_function.
34526 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34527 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34528 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34529 (__deallocate_stack, __libc_pthread_init)
34530 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34531 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34532 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34534 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34535 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34536 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34538 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34539 (__pthread_mutex_unlock_usercnt): Likewise.
34541 2017-08-31 Florian Weimer <fweimer@redhat.com>
34543 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34544 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34545 (fts_safe_changedir): Remove internal_function.
34546 * io/ftw.c (internal_function): Remove definition.
34547 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34549 2017-08-31 Florian Weimer <fweimer@redhat.com>
34551 * inet/deadline.c (__deadline_current_time)
34552 (__deadline_from_timeval, __deadline_to_ms): Remove
34554 * inet/getnameinfo.c (nrl_domainname): Likewise.
34555 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34556 * inet/inet6_option.c (add_pad): Likewise.
34557 * inet/net-internal.h (__deadline_current_time)
34558 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34559 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34560 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34561 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34563 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34565 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34566 include <bits/nan.h>.
34567 * math/Makefile (headers): Remove bits/nan.h.
34568 * bits/nan.h: Remove.
34569 * sysdeps/ieee754/bits/nan.h: Likewise.
34570 * sysdeps/mips/bits/nan.h: Likewise.
34572 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34573 not include <bits/inf.h>.
34574 * math/Makefile (headers): Remove bits/inf.h.
34575 * bits/inf.h: Remove.
34576 * sysdeps/ieee754/bits/inf.h: Likewise.
34578 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34579 bits/huge_vall.h or bits/huge_val_flt128.h.
34580 (HUGE_VAL): Define directly here.
34581 [__USE_ISOC99] (HUGE_VALF): Likewise.
34582 [__USE_ISOC99] (HUGE_VALL): Likewise.
34583 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34584 (HUGE_VAL_F128): Likewise.
34585 * math/Makefile (headers): Remove bits/huge_val.h,
34586 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34587 * bits/huge_val.h: Remove.
34588 * bits/huge_val_flt128.h: Likewise.
34589 * bits/huge_valf.h: Likewise.
34590 * bits/huge_vall.h: Likewise.
34591 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34592 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34593 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34594 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34595 * sysdeps/sh/bits/huge_val.h: Likewise.
34596 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34597 * sysdeps/x86/bits/huge_vall.h: Likewise.
34599 2017-08-31 Florian Weimer <fweimer@redhat.com>
34601 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34603 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34605 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34606 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34607 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34608 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34609 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34610 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34611 * elf/dl-libc.c (dlerror_run): Likewise.
34612 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34613 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34614 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34615 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34617 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34618 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34619 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34620 * elf/dl-profile.c (_dl_start_profile): Likewise.
34621 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34622 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34624 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34625 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34626 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34627 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34628 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34629 (_dl_allocate_tls_storage): Likewise.
34630 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34631 (_dl_check_all_versions): Likewise.
34632 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34633 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34634 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34635 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34636 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34637 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34638 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34639 internal_function from __dl_start.
34640 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34641 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34642 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34643 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34644 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34645 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34646 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34647 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34648 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34649 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34650 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34651 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34652 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34653 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34654 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34656 (struct rtld_global_ro): Remove internal_function from the
34657 _dl_lookup_symbol_x member.
34658 (_dl_symbol_value): Remove. No longer defined anywhere.
34659 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34661 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34662 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34663 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34664 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34665 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34666 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34667 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34668 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34669 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34670 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34671 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34672 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34674 2017-08-31 Florian Weimer <fweimer@redhat.com>
34676 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34677 Remove internal_function.
34678 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34680 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34683 2017-08-31 Florian Weimer <fweimer@redhat.com>
34685 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34686 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34687 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34689 2017-08-31 Florian Weimer <fweimer@redhat.com>
34691 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34692 (__gai_enqueue_request): Remove internal_function.
34693 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34694 (__gai_remove_request, __gai_notify, __gai_notify_only)
34695 (__gai_sigqueue): Likewise.
34696 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34697 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34698 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34699 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34702 2017-08-31 Florian Weimer <fweimer@redhat.com>
34704 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34705 * include/dirent.h (__opendirat, __getdents, __getdents64)
34706 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34707 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34708 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34709 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34711 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34713 2017-08-31 Florian Weimer <fweimer@redhat.com>
34715 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34717 (GETCWD_RETURN_TYPE): Likewise.
34719 2017-08-31 Florian Weimer <fweimer@redhat.com>
34721 * include/time.h (__tz_compute, __strptime_internal): Remove
34723 * time/strptime_l.c (__strptime_internal): Likewise.
34724 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34726 2017-08-31 Florian Weimer <fweimer@redhat.com>
34728 * iconv/gconv.c (__gconv): Remove internal_function.
34729 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34730 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34731 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34732 (__gconv_release_cache): Likewise.
34733 * iconv/gconv_close.c (__gconv_close): Likewise.
34734 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34735 (read_conf_file, __gconv_get_path): Likewise.
34736 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34737 (__gconv_release_step, gen_steps, increment_counter)
34738 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34739 (__gconv_close_transform, free_modules_db): Likewise.
34740 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34742 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34743 (__gconv_find_transform, __gconv_lookup_cache)
34744 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34745 (__gconv_close_transform, __gconv_release_cache)
34746 (__gconv_loaded_object, __gconv_release_shlib)
34747 (__gconv_compare_alias): Likewise.
34748 * iconv/gconv_open.c (__gconv_open): Likewise.
34749 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34750 * iconv/iconvconfig.c (add_module): Likewise.
34751 * intl/dcigettext.c (plural_lookup, guess_category_value)
34752 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34753 * intl/eval-plural.h (plural_eval): Likewise.
34754 * intl/finddomain.c (_nl_find_domain): Likewise.
34755 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34756 (_nl_load_domain, _nl_find_msg): Likewise.
34757 (internal_function): Remove definition.
34758 * intl/loadinfo.h (internal_function): Likewise.
34759 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34761 * intl/localealias.c (internal_function): Remove definition.
34762 (read_alias_file): Remove internal_function.
34763 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34764 * intl/plural-exp.h (internal_function): Remove definition.
34765 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34767 * intl/plural.c: Regenerate.
34768 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34769 * locale/coll-lookup.c (__collidx_table_lookup)
34770 (__collseq_table_lookup): Likewise.
34771 * locale/coll-lookup.h (__collidx_table_lookup)
34772 (__collseq_table_lookup): Likewise.
34773 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34774 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34775 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34776 (_nl_unload_locale): Likewise.
34777 * locale/localeinfo.h (struct __locale_data): Remove
34778 internal_function from cleanup member.
34779 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34780 (_nl_remove_locale, _nl_load_locale_from_archive)
34781 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34782 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34783 (_nl_cleanup_time): Remove internal_function.
34784 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34785 (_nl_parse_alt_digit): Likewise.
34786 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34787 (_nl_select_era_entry): Likewise.
34788 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34789 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34790 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34791 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34792 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34794 2017-08-31 Florian Weimer <fweimer@redhat.com>
34796 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34797 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34798 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34799 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34801 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34802 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34803 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34804 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34806 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34808 2017-08-31 Florian Weimer <fweimer@redhat.com>
34810 * misc/getttyent.c (skip, value): Remove internal_function.
34811 * misc/syslog.c (openlog_internal): Likewise.
34812 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34814 2017-08-31 Florian Weimer <fweimer@redhat.com>
34816 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34817 (__nss_rewrite_field): Remove internal_function.
34818 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34819 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34820 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34821 * nss/nsswitch.c (nss_parse_file, nss_getline)
34822 (nss_parse_service_list, nss_new_service): Likewise.
34823 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34824 * nss/valid_field.c (__nss_valid_field): Likewise.
34825 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34827 2017-08-31 Florian Weimer <fweimer@redhat.com>
34829 * malloc/arena.c (__malloc_fork_lock_parent)
34830 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34831 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34832 internal_function from defintions.
34833 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34834 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34835 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34836 internal_function from declarations.
34837 * malloc/malloc.c (internal_function): Do not define.
34838 (mem2mem_check): Remove internal_function from declaration.
34839 (munmap_chunk, mremap_chunk): Remove internal_function.
34840 * malloc/mtrace.c (tr_where): Likewise.
34842 2017-08-31 Florian Weimer <fweimer@redhat.com>
34844 * include/rpc/pmap_clnt.h (__get_socket): Remove
34846 * sunrpc/auth_des.c (synchronize): Likewise.
34847 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34848 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34849 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34850 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34851 (key_call): Likewise.
34852 * sunrpc/pm_getport.c (__get_socket): Likewise.
34853 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34854 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34855 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34856 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34857 (invalidate): Likewise.
34858 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34859 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34860 (set_input_fragment, get_input_bytes): Likewise.
34862 2017-08-31 Florian Weimer <fweimer@redhat.com>
34864 * malloc/malloc.c (_int_free): Remove locked variable and related
34867 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34870 * Makerules (build-module-helper-objlist): Filter out
34871 $(elf-objpfx)sofini.os.
34872 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34875 2017-08-31 Florian Weimer <fweimer@redhat.com>
34877 * libio/fcloseall.c: Assume weak_alias is defined.
34878 * libio/feof.c: Likewise.
34879 * libio/fileno.c: Likewise.
34880 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34881 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34883 (_IO_file_open): Call __open directly.
34884 (_IO_new_file_sync): Assume ESPIPE is defined.
34885 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34886 (_IO_new_file_write): Call __write directly.
34887 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34888 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34889 * libio/genops.c: Assume _LIBC is defined.
34890 (save_for_backup): Remove internal_function.
34891 * libio/getc.c: Assume weak_alias is defined.
34892 * libio/getwc.c: Likewise.
34893 * libio/iofclose.c: Assume _LIBC is defined.
34894 * libio/iofdopen.c: Likewise.
34895 (_IO_fcntl): Remove macro definition.
34896 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34897 Call __fcntl directly.
34898 * libio/iofflush.c: Assume weak_alias is defined.
34899 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34901 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34902 * libio/iofgets.c: Likewise.
34903 * libio/iofopen.c: Assume _LIBC is defined.
34904 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34905 * libio/iofputs.c: Assume weak_alias is defined.
34906 * libio/iofread.c: Likewise.
34907 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34908 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34909 * libio/ioftell.c: Assume weak_alias is defined.
34910 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34911 * libio/iofwide.c: Assume _LIBC is defined.
34912 (_IO_fwide): Drop SHARED conditional because it is implied by
34914 * libio/iofwrite.c: Assume weak_alias is defined.
34915 * libio/iogetdelim.c: Likewise.
34916 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34917 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34918 (_IO_getwline): Call __wmemcpy directly.
34919 * libio/iopopen.c: Assume _LIBC is defined.
34920 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34921 (_IO_close): Remove macro definitions.
34922 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34924 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34926 * libio/ioputs.c: Assume weak_alias is defined.
34927 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34928 * libio/iosetbuffer.c: Assume weak_alias is defined.
34929 * libio/iosetvbuf.c: Likewise.
34930 * libio/ioungetc.c: Likewise.
34931 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34932 libc_hidden_def, libc_hidden_weak, NULL are defined.
34933 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34934 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34936 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34938 (_IO_old_file_init_internal): Drop SHARED conditional because it
34939 is implied by SHLIB_COMPAT.
34940 (_IO_old_file_fopen): Call __open directly.
34941 (_IO_old_file_sync): Assume ESPIPE is defined.
34942 (_IO_old_file_write): Call __write directly.
34943 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34944 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34945 Call __fcntl directly.
34946 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34947 (_IO_old_fgetpos): Assume EIO is defined.
34948 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34949 (_IO_old_fgetpos64): Assume EIO is defined.
34950 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34951 (_IO_old_fsetpos): Assume EIO is defined.
34952 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34953 (_IO_old_fsetpos64): Assume EIO is defined.
34954 * libio/oldiopopen.c: Assume _LIBC is defined.
34955 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34956 (_IO_close): Remove macro definitions.
34957 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34959 (_IO_old_proc_close): Call __close, __waitpid directly.
34960 * libio/put.c: Assume weak_alias is defined.
34961 * libio/stdfiles.c: Assume _LIBC is defined.
34962 * libio/stdio.c: Likewise.
34963 * libio/wfileops.c: Likewise.
34964 (_IO_wfile_sync): Assume ESPIPE is defined.
34965 * libio/wgenops.c: Assume _LIBC is defined.
34966 (save_for_wbackup): Remove internal_function.
34968 2017-08-31 Florian Weimer <fweimer@redhat.com>
34970 * malloc/malloc.c (top_check): Change return type to void. Remove
34972 * malloc/hooks.c (top_check): Likewise.
34973 (malloc_check, realloc_check, memalign_check): Adjust.
34975 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34978 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34979 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
34980 sigcontext and namespace requirements.
34981 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
34982 * sysdeps/m68k/sys/ucontext.h: Likewise.
34983 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
34984 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
34985 <bits/sigcontext.h>.
34986 (__ctx): Define earlier.
34987 (mcontext_t): Define structure contents rather than using struct
34989 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
34990 __glibc_reserved1 instead of __reserved.
34991 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
34992 <bits/sigcontext.h>.
34993 (__ctx): Define earlier.
34994 (mcontext_t): Define structure contents rather than using struct
34996 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
34997 mcontext_t instead of struct sigcontext.
34998 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
34999 <bits/sigcontext.h>.
35000 (__ctx): Define earlier.
35001 (mcontext_t): Define structure contents rather than using struct
35003 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35004 <bits/sigcontext.h>.
35005 (__ctx): Define earlier.
35006 (mcontext_t): Define structure contents rather than using struct
35008 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35009 mcontext_t instead of struct sigcontext.
35010 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35011 mcontext_t instead of struct sigcontext.
35012 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35013 <bits/sigcontext.h>.
35014 (__ctx): New macro.
35015 (struct __ia64_fpreg_mcontext): New type.
35016 (mcontext_t): Define structure contents rather than using struct
35018 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35019 (uc_sigmask): Define using __ctx.
35020 (uc_stack): Likewise.
35021 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35022 <bits/sigcontext.h>.
35023 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35024 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35025 <bits/sigcontext.h>.
35026 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35027 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35028 <bits/sigcontext.h>.
35029 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35030 <bits/sigcontext.h>.
35031 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35032 <bits/sigcontext.h>.
35033 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35034 <bits/sigcontext.h>.
35035 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35036 <bits/sigcontext.h>.
35037 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35038 <bits/sigcontext.h>.
35039 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35040 <bits/sigcontext.h>.
35041 (__ctx): Define earlier.
35042 (mcontext_t): Define structure contents rather than using struct
35044 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35045 <bits/sigcontext.h>. Include <bits/types.h>.
35046 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35047 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35048 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35049 (test-xfail-UNIX98/signal.h/conform): Likewise.
35050 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35051 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35052 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35053 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35054 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35055 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35056 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35057 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35058 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35060 2017-08-30 Florian Weimer <fweimer@redhat.com>
35062 * malloc/dynarray_emplace_enlarge.c
35063 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35064 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35065 * malloc/tst-dynarray.c (test_long_overflow): New function.
35066 (do_test): Call it.
35068 2017-08-30 Florian Weimer <fweimer@redhat.com>
35070 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35071 (set_arena_corrupt): Remove definitions.
35072 (mtrim): Do not check for corrupt arena.
35073 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35076 2017-08-30 Florian Weimer <fweimer@redhat.com>
35079 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35081 (ptmalloc_init): Do not set or use check_action.
35082 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35083 call to malloc_printerr. Remove return statement.
35084 (free_check): Likewise. Remove arena unlock.
35085 (top_check): Update comment. Adjust call to malloc_printerr.
35086 Remove heap repair code.
35087 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35088 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35089 (sysmalloc): Adjust call to malloc_printerr.
35090 (munmap_chunk, __libc_realloc): Likewise. Remove return
35092 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35093 Remove errout label and corresponding gotos.
35094 (_int_free): Likewise. Remove arena unlock.
35095 (do_set_mallopt_check): Do not set check_action.
35096 (malloc_printerr): Adjust parameter list. Do not mark arena as
35098 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35100 * manual/probes.texi (Memory Allocation Probes): Remove
35101 memory_mallopt_check_action.
35103 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35105 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35106 Use pointer to uint64_t instead of long int for sp.
35108 2017-08-30 Florian Weimer <fweimer@redhat.com>
35111 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35112 without printing a backtrace. Do not leak any information in the
35114 * manual/memory.texi (Heap Consistency Checking): Update.
35115 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35117 2017-08-30 Florian Weimer <fweimer@redhat.com>
35119 Do not scale NPTL tests with available number of CPUs.
35120 * nptl/tst-cond16.c (count): Set to constant value of 8.
35121 * nptl/tst-cond18.c (count): Likewise.
35123 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35126 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35127 Define to take a second argument that is a macro that
35128 concatentates a suffix, not the suffix itself.
35129 (__CONCAT_d): New macro.
35130 (__CONCAT_f): Likewise.
35131 (__CONCAT_l): Likewise.
35133 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35135 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35138 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35139 Aurelien Jarno <aurelien@aurel32.net>
35140 Maciej W. Rozycki <macro@imgtec.com>
35143 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35144 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35145 `mips16-syscall6' and `mips16-syscall7'.
35146 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35147 (CFLAGS-mips16-syscall7.c): Remove.
35148 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35149 Remove `__mips16_syscall5', `__mips16_syscall6' and
35150 `__mips16_syscall7'.
35151 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35152 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35153 `__mips_syscall_return'.
35154 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35155 (__mips16_syscall1): Likewise.
35156 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35157 (__mips16_syscall2): Likewise.
35158 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35159 (__mips16_syscall3): Likewise.
35160 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35161 (__mips16_syscall4): Likewise.
35162 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35164 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35166 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35168 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35169 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35170 `__mips16_syscall5'. Remove prototype.
35171 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35172 `__mips16_syscall6'. Remove prototype.
35173 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35174 `__mips16_syscall7'. Remove prototype.
35175 (__nomips16, __mips16_syscall_return): Move to...
35176 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35177 (__nomips16, __mips_syscall_return): ... here.
35178 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35179 `__mips16_syscall_return' to `__mips_syscall_return'.
35180 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35181 `internal_syscall##nr'.
35182 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35183 `internal_syscall##nr'.
35184 (FORCE_FRAME_POINTER): Remove.
35185 (__mips_syscall5): New prototype.
35186 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35187 (__mips_syscall6): New prototype.
35188 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35189 (__mips_syscall7): New prototype.
35190 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35191 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35192 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35193 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35194 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35195 (sysdep_routines): Add libc-do-syscall.
35196 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35197 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35199 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35202 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35203 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35204 (advise_stack_range): New function.
35205 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35206 stack non required to advise_stack_range at allocatestack.c
35208 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35210 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35212 2017-08-29 Florian Weimer <fweimer@redhat.com>
35215 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35216 __end_fct. Mangle __end_fct after setting it to NULL.
35217 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35218 (modules-names, modules-names-tests): Add
35219 tst-gconv-init-failure-mod.
35220 (gconv-modules): New target.
35221 (tst-gconv-init-failure-mod.so): Link against libsupport.
35222 (tst-gconv-init-failure): Depend on gconv-modules,
35223 tst-gconv-init-failure-mod.so.
35224 * iconv/tst-gconv-init-failure-mod.c: New file.
35225 * iconv/tst-gconv-init-failure.c: Likewise.
35226 * iconv/test-gconv-modules: Likewise.
35228 2017-08-29 Florian Weimer <fweimer@redhat.com>
35231 * iconv/gconv_db.c (free_derivation): Remove redundant
35233 (gen_steps): Unconditionally mangle __btowc_fct after
35235 (increment_counter): Likewise. Do not call init_fct for internal
35238 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35241 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35242 (_MSUF_): Remove macro.
35243 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35245 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35246 (__REDIRFROM_X): New macro.
35247 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35249 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35250 (__REDIRTO_X): Likewise.
35251 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35253 (__MATH_REDIRCALL_2): Likewise.
35254 (__MATH_REDIRCALL_INTERNAL): Likewise.
35255 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35256 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35257 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35258 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35259 * math/test-finite-macros.c: New file.
35260 * math/Makefile (tests): Add test-finite-macros.
35261 (CFLAGS-test-finite-macros.c): New variable.
35263 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35264 Jeff Law <law@redhat.com>
35267 Mangle NULL pointers in iconv/gconv.
35268 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35269 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35270 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35271 is non-NULL before demangling the end_fct. Check for NULL
35272 end_fct after demangling.
35273 (__gconv_release_step): Demangle the end_fct before checking
35274 it for NULL. Remove assert on __shlibc_handle != NULL.
35275 (gen_steps): Don't check btowc_fct for NULL before mangling.
35276 Demangle init_fct before checking for NULL.
35277 (increment_counter): Likewise.
35278 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35279 end_fct for NULL before mangling.
35280 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35283 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35286 * locale/iso-639.def: add Morisyen.
35288 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35291 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35292 (iszero): New C++ implementation that does not use
35293 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35294 signaling nans are enabled, since __builtin_types_compatible_p
35295 is a C-only feature.
35296 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35297 defined, include ieee754_float128.h for access to the union and
35298 member ieee854_float128.ieee.
35299 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35300 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35301 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35302 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35303 options of test-math-zero on powerpc64le.
35305 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35307 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35308 Change double to float.
35310 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35312 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35314 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35315 conditional code; define contents only for [LIBM_SVID_COMPAT].
35317 2017-08-28 Florian Weimer <fweimer@redhat.com>
35319 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35320 (abi-lp64_be-options): Remove.
35321 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35322 (abi-hard-options): Likewise.
35323 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35324 (abi-o32_hard-options, abi-o32_soft_2008-options)
35325 (abi-o32_hard_2008-options, abi-n32_soft-options)
35326 (abi-n32_hard-options, abi-n32_soft_2008-options)
35327 (abi-n32_hard_2008-options, abi-n64_soft-options)
35328 (abi-n64_hard-options, abi-n64_soft_2008-options)
35329 (abi-n64_hard_2008-options): Likewise.
35330 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35331 (abi-64-v1-options, abi-64-v2-options): Likewise.
35332 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35333 (abi-64-options): Likewise.
35334 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35335 (abi-64-options): Likewise.
35336 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35337 (abi-64-options): Likewise.
35338 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35339 (abi-64-options, abi-x32-options): Likewise.
35341 2017-08-28 Florian Weimer <fweimer@redhat.com>
35343 Store supported list of SYS_* system calls in the source tree.
35344 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35345 (bits/syscall.h): Generate from list file.
35346 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35347 [$(subdir) = misc] (tests): Add tst-syscall-list.
35348 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35349 [$(subdir) = misc] (tst-syscall-list-macros.list)
35350 [$(subdir) = misc] (tst-syscall-list-nr.list)
35351 (tst-syscall-list-sys.list): Helper targets for new
35352 tst-syscall-list test.
35353 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35354 tst-syscall-list.sh.
35355 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35356 target. Do not include bits/syscall.d.
35357 [$(subdir) = misc] (generated): Do not update.
35358 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35359 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35360 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35361 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35363 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35365 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35366 (tst-cxa_atexit, tst-on_exit): Likewise.
35367 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35368 tst-cxa_atexit, and tst-on_exit.
35369 * stdlib/tst-atexit-common.c: New file.
35370 * stdlib/tst-atexit.c: New file.
35371 * stdlib/tst-at_quick_exit.c: New file.
35372 * stdlib/tst-cxa_atexit.c: New file.
35373 * stdlib/tst-on_exit.c: New file.
35375 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35377 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35378 * mach/stack_chk_fail_local.c: New file.
35379 * hurd/stack_chk_fail_local.c: New file.
35380 * mach/Machrules ($(interface-library)-routines): Add
35381 stack_chk_fail_local.
35382 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35383 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35384 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35385 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35386 * hurd/Makefile (CFLAGS-hurdstartup.o,
35387 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35389 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35391 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35392 (index_cpu_*, index_arch_*): Removed.
35394 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35396 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35397 Use uint64_t instead of unsigned long.
35399 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35401 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35402 [__HAVE_DISTINCT_FLOAT128].
35404 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35405 of <bits/math-finite.h>.
35406 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35407 inclusion of <bits/math-finite.h>.
35408 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35409 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35410 __NO_LONG_DOUBLE_MATH].
35411 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35412 (__MATH_REDIRCALL_2): Likewise.
35413 (__MATH_REDIRCALL_INTERNAL): Likewise.
35414 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35415 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35416 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35430 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35431 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35432 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35433 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35435 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35436 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35437 w_sqrtf_compat-ppc32.
35439 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35441 * math/math.h [defined __cplusplus] (issignaling): In the long
35442 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35443 is not defined. Call __issignaling, otherwise.
35445 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35447 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35448 syscall definitions and replace __builtin_expect with __glibc_likely.
35449 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35451 (SYSCALL_CANCELLABLE): Removedefinition
35452 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35454 (PSEUDO_END): Likewise.
35455 [IS_IN (libpthread)] (CENABLE): Likewise.
35456 [IS_IN (libpthread)] (CDISABLE): Likewise.
35457 [IS_IN (libc)] (CENABLE): Likewise.
35458 [IS_IN (libc)] (CENABLE): Likewise.
35459 [IS_IN (librt)] (CDISABLE): Likewise.
35460 [IS_IN (librt)] (CDISABLE): Likewise.
35461 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35462 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35464 (PSEUDO_END): Likewise.
35465 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35466 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35467 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35468 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35469 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35470 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35471 (CENABLE): Likewise.
35472 (CDISABLE): Likewise.
35473 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35474 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35476 (PSEUDO_END): Likewise.
35477 [IS_IN (libpthread)] (CENABLE): Likewise.
35478 [IS_IN (libpthread)] (CDISABLE): Likewise.
35479 [IS_IN (libc)] (CENABLE): Likewise.
35480 [IS_IN (libc)] (CENABLE): Likewise.
35481 [IS_IN (librt)] (CDISABLE): Likewise.
35482 [IS_IN (librt)] (CDISABLE): Likewise.
35483 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35484 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35486 (PSEUDO_END): Likewise.
35487 [IS_IN (libpthread)] (CENABLE): Likewise.
35488 [IS_IN (libpthread)] (CDISABLE): Likewise.
35489 [IS_IN (libc)] (CENABLE): Likewise.
35490 [IS_IN (libc)] (CENABLE): Likewise.
35491 [IS_IN (librt)] (CDISABLE): Likewise.
35492 [IS_IN (librt)] (CDISABLE): Likewise.
35493 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35494 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35496 (PSEUDO_END): Likewise.
35497 [IS_IN (libpthread)] (CENABLE): Likewise.
35498 [IS_IN (libpthread)] (CDISABLE): Likewise.
35499 [IS_IN (libc)] (CENABLE): Likewise.
35500 [IS_IN (libc)] (CENABLE): Likewise.
35501 [IS_IN (librt)] (CDISABLE): Likewise.
35502 [IS_IN (librt)] (CDISABLE): Likewise.
35503 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35504 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35506 (PSEUDO_END): Likewise.
35507 [IS_IN (libpthread)] (CENABLE): Likewise.
35508 [IS_IN (libpthread)] (CDISABLE): Likewise.
35509 [IS_IN (libc)] (CENABLE): Likewise.
35510 [IS_IN (libc)] (CENABLE): Likewise.
35511 [IS_IN (librt)] (CDISABLE): Likewise.
35512 [IS_IN (librt)] (CDISABLE): Likewise.
35513 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35514 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35516 (PSEUDO_END): Likewise.
35517 [IS_IN (libpthread)] (CENABLE): Likewise.
35518 [IS_IN (libpthread)] (CDISABLE): Likewise.
35519 [IS_IN (libc)] (CENABLE): Likewise.
35520 [IS_IN (libc)] (CENABLE): Likewise.
35521 [IS_IN (librt)] (CDISABLE): Likewise.
35522 [IS_IN (librt)] (CDISABLE): Likewise.
35523 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35524 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35526 (PSEUDO_END): Likewise.
35527 [IS_IN (libpthread)] (CENABLE): Likewise.
35528 [IS_IN (libpthread)] (CDISABLE): Likewise.
35529 [IS_IN (libc)] (CENABLE): Likewise.
35530 [IS_IN (libc)] (CENABLE): Likewise.
35531 [IS_IN (librt)] (CDISABLE): Likewise.
35532 [IS_IN (librt)] (CDISABLE): Likewise.
35533 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35534 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35536 (PSEUDO_END): Likewise.
35537 [IS_IN (libpthread)] (CENABLE): Likewise.
35538 [IS_IN (libpthread)] (CDISABLE): Likewise.
35539 [IS_IN (libc)] (CENABLE): Likewise.
35540 [IS_IN (libc)] (CENABLE): Likewise.
35541 [IS_IN (librt)] (CDISABLE): Likewise.
35542 [IS_IN (librt)] (CDISABLE): Likewise.
35543 (SINGLE_THREAD_P): Likewise.
35544 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35546 (PSEUDO_END): Likewise.
35547 [IS_IN (libpthread)] (CENABLE): Likewise.
35548 [IS_IN (libpthread)] (CDISABLE): Likewise.
35549 [IS_IN (libc)] (CENABLE): Likewise.
35550 [IS_IN (libc)] (CENABLE): Likewise.
35551 [IS_IN (librt)] (CDISABLE): Likewise.
35552 [IS_IN (librt)] (CDISABLE): Likewise.
35553 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35554 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35556 (PSEUDO_END): Likewise.
35557 [IS_IN (libpthread)] (CENABLE): Likewise.
35558 [IS_IN (libpthread)] (CDISABLE): Likewise.
35559 [IS_IN (libc)] (CENABLE): Likewise.
35560 [IS_IN (libc)] (CENABLE): Likewise.
35561 [IS_IN (librt)] (CDISABLE): Likewise.
35562 [IS_IN (librt)] (CDISABLE): Likewise.
35563 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35564 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35565 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35566 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35567 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35569 (PSEUDO_END): Likewise.
35570 [IS_IN (libpthread)] (CENABLE): Likewise.
35571 [IS_IN (libpthread)] (CDISABLE): Likewise.
35572 [IS_IN (libc)] (CENABLE): Likewise.
35573 [IS_IN (libc)] (CENABLE): Likewise.
35574 [IS_IN (librt)] (CDISABLE): Likewise.
35575 [IS_IN (librt)] (CDISABLE): Likewise.
35576 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35579 (PSEUDO_END): Likewise.
35580 [IS_IN (libpthread)] (CENABLE): Likewise.
35581 [IS_IN (libpthread)] (CDISABLE): Likewise.
35582 [IS_IN (libc)] (CENABLE): Likewise.
35583 [IS_IN (libc)] (CENABLE): Likewise.
35584 [IS_IN (librt)] (CDISABLE): Likewise.
35585 [IS_IN (librt)] (CDISABLE): Likewise.
35586 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35587 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35589 (PSEUDO_END): Likewise.
35590 [IS_IN (libpthread)] (CENABLE): Likewise.
35591 [IS_IN (libpthread)] (CDISABLE): Likewise.
35592 [IS_IN (libc)] (CENABLE): Likewise.
35593 [IS_IN (libc)] (CENABLE): Likewise.
35594 [IS_IN (librt)] (CDISABLE): Likewise.
35595 [IS_IN (librt)] (CDISABLE): Likewise.
35596 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35599 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35600 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35602 (PSEUDO_END): Likewise.
35603 [IS_IN (libpthread)] (CENABLE): Likewise.
35604 [IS_IN (libpthread)] (CDISABLE): Likewise.
35605 [IS_IN (libc)] (CENABLE): Likewise.
35606 [IS_IN (libc)] (CENABLE): Likewise.
35607 [IS_IN (librt)] (CDISABLE): Likewise.
35608 [IS_IN (librt)] (CDISABLE): Likewise.
35609 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35610 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35612 (PSEUDO_END): Likewise.
35613 [IS_IN (libpthread)] (CENABLE): Likewise.
35614 [IS_IN (libpthread)] (CDISABLE): Likewise.
35615 [IS_IN (libc)] (CENABLE): Likewise.
35616 [IS_IN (libc)] (CENABLE): Likewise.
35617 [IS_IN (librt)] (CDISABLE): Likewise.
35618 [IS_IN (librt)] (CDISABLE): Likewise.
35619 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35621 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35623 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35625 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35627 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35629 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35632 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35633 middle and outer with size_t instead of int. Repleace %d and
35634 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35635 "MAX (outer, nchars - 64)" to support unsigned outer and
35636 nchars. Also exit loop when outer == 0.
35638 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35640 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35641 * include/signal.h (__sigsuspend_nocancel): Likewise.
35642 * include/time.h (__nanosleep_nocancel): Likewise.
35643 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35644 * login/utmp_file.c: Include non cancellable syscall header.
35645 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35648 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35650 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35651 .byte sequences with AVX512F instructions.
35652 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35653 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35654 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35655 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35657 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35660 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35661 Steve Ellcey <sellcey@cavium.com>
35663 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35664 Use PTR_REG macro in cmp instruction.
35666 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35668 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35669 Change the return type of the ifunc resolver to match the return
35670 type of the target function.
35672 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35674 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35675 (preadv64): Likewise.
35676 (pwrite64(: Likewise.
35677 (pwritev64): Likewise.
35679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35680 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35681 (LOAD_ARGS_0): Likewise.
35682 (LOAD_ARGS_1): Likewise.
35683 (LOAD_ARGS_2): Likewise.
35684 (LOAD_ARGS_3): Likewise.
35685 (LOAD_ARGS_4): Likewise.
35686 (LOAD_ARGS_5): Likewise.
35687 (LOAD_ARGS_6): Likewise.
35688 (LOAD_REGS_0): Likewise.
35689 (LOAD_REGS_1): Likewise.
35690 (LOAD_REGS_2): Likewise.
35691 (LOAD_REGS_3): Likewise.
35692 (LOAD_REGS_4): Likewise.
35693 (LOAD_REGS_5): Likewise.
35694 (LOAD_REGS_6): Likewise.
35695 (ASM_ARGS_0): Likewise.
35696 (ASM_ARGS_1): Likewise.
35697 (ASM_ARGS_2): Likewise.
35698 (ASM_ARGS_3): Likewise.
35699 (ASM_ARGS_4): Likewise.
35700 (ASM_ARGS_5): Likewise.
35701 (ASM_ARGS_6): Likewise.
35702 (LOAD_ARGS_TYPES_1): Likewise.
35703 (LOAD_ARGS_TYPES_2): Likewise.
35704 (LOAD_ARGS_TYPES_3): Likewise.
35705 (LOAD_ARGS_TYPES_4): Likewise.
35706 (LOAD_ARGS_TYPES_5): Likewise.
35707 (LOAD_ARGS_TYPES_6): Likewise.
35708 (LOAD_REGS_TYPES_1): Likewise.
35709 (LOAD_REGS_TYPES_2): Likewise.
35710 (LOAD_REGS_TYPES_3): Likewise.
35711 (LOAD_REGS_TYPES_4): Likewise.
35712 (LOAD_REGS_TYPES_5): Likewise.
35713 (LOAD_REGS_TYPES_6): Likewise.
35714 (TYPEFY): New define.
35715 (ARGIFY): Likewise.
35716 (internal_syscall0): Likewise.
35717 (internal_syscall1): Likewise.
35718 (internal_syscall2): Likewise.
35719 (internal_syscall3): Likewise.
35720 (internal_syscall4): Likewise.
35721 (internal_syscall5): Likewise.
35722 (internal_syscall6): Likewise.
35723 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35724 (INTERNAL_SYSCALL_NCS): Remove define.
35725 (internal_syscall1): Add define.
35727 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35729 * math/w_remainder_compat.c: Remove duplicate inclusion of
35730 math-svid-compat.h.
35731 * math/w_remainderf_compat.c: Likewise.
35732 * math/w_remainderl_compat.c: Likewise.
35734 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35738 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35741 * math/tgmath.h (__floating_type): Simplify definitions.
35742 (__real_integer_type): New macro.
35743 (__complex_integer_type): Likewise.
35744 (__expr_is_real): Likewise.
35745 (__tgmath_real_type_sub): Update comment to describe handling of
35747 (__tgmath_complex_type_sub): New macro.
35748 (__tgmath_complex_type): Likewise.
35749 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35750 (__TGMATH_CF128): Use __expr_is_real.
35751 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35753 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35754 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35755 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35758 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35760 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35762 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35764 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35767 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35768 nanosleep_not_cancel with __nanosleep_nocancel.
35769 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35770 (__nanosleep_nocancel): New macro.
35771 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35773 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35775 (__nanosleep_nocancel): New prototype.
35777 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35778 pause_not_cancel with __pause_nocancel.
35779 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35780 (__pause_nocancel): New macro.
35781 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35783 (__pause_nocancel): New prototype.
35784 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35786 2017-08-22 Martin Sebor <msebor@redhat.com>
35788 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35789 to return a pointer to the same type as the target function.
35791 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35795 * include/printf.h (__printf_fphex): Add attribute_hidden.
35796 (__guess_grouping): New prototype.
35797 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35798 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35799 libc_hidden_proto and libc_hidden_def.
35800 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35801 (__vstrfmon_l): Remove the third argument passed to
35804 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35806 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35807 definition for issignaling that does not rely on __MATH_TG,
35808 since __MATH_TG uses __builtin_types_compatible_p, which is only
35809 available in C mode.
35810 (CFLAGS-test-math-issignaling.cc): New variable.
35811 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35812 * math/test-math-issignaling.cc: New test for C++ implementation
35813 of type-generic issignaling.
35814 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35815 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35816 options of test-math-issignaling on powerpc64le.
35818 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35820 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35822 (hidden_proto): Likewise.
35823 (hidden_tls_proto): Likewise.
35824 (__hidden_proto): Likewise.
35826 2017-08-22 Florian Weimer <fweimer@redhat.com>
35828 math: Statically link tests of internal functionality.
35829 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35831 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35832 (gmp-objs): Remove assignment.
35833 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35835 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35838 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35840 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35842 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35845 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35846 variable definitions above inclusion of ../Rules.
35848 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35850 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35851 case calling __builtin_unreachable.
35853 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35855 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35856 __waitpid_nocancel.
35857 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35858 (__waitpid_nocancel): New macro.
35859 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35861 (__waitpid_nocancel): Replace macro with a function.
35862 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35865 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35867 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35868 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35870 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35871 __writev_nocancel_nostatus.
35872 (write_call_graph): Likewise.
35873 (write_bb_counts): Likewise.
35874 * resolv/herror.c (herror): Likewise.
35875 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35877 (__writev_nocancel_nostatus): New macro.
35878 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35880 (__writev_nocancel_nostatus): New function.
35882 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35885 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35887 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35889 (hidden_proto): Likewise.
35890 (hidden_tls_proto): Likewise.
35891 (__hidden_proto): Likewise.
35894 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35895 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35904 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35906 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35907 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35908 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35909 GLIBC_2.0 sqrtl symbol.
35911 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35912 [__USE_MISC] (_LIB_VERSION): Likewise.
35913 [__USE_MISC] (struct exception): Likewise.
35914 [__USE_MISC] (matherr): Likewise.
35915 [__USE_MISC] (DOMAIN): Likewise.
35916 [__USE_MISC] (SING): Likewise.
35917 [__USE_MISC] (OVERFLOW): Likewise.
35918 [__USE_MISC] (UNDERFLOW): Likewise.
35919 [__USE_MISC] (TLOSS): Likewise.
35920 [__USE_MISC] (PLOSS): Likewise.
35921 [__USE_MISC] (HUGE): Likewise.
35922 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35923 * math/math-svid-compat.h: New file.
35924 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35926 * include/math.h [!_ISOMAC] (__matherr): Remove.
35927 * manual/arith.texi (FP Exceptions): Do not document matherr.
35928 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35929 (tests-internal): New variable.
35930 (install-lib): Do not add libieee.a.
35931 (non-lib.a): Likewise.
35932 (extra-objs): Do not add libieee.a and ieee-math.o.
35933 (CPPFLAGS-s_lib_version.c): Remove variable.
35934 ($(objpfx)libieee.a): Remove rule.
35935 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35936 * math/ieee-math.c: Remove.
35937 * math/libm-test-support.c (matherr): Remove.
35938 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35939 and license notices. Include <math-svid-compat.h> and
35941 (matherr): Undefine as macro. Use compat_symbol_reference.
35942 (_LIB_VERSION): Likewise.
35943 * math/test-matherr-2.c: New file.
35944 * math/test-matherr-3.c: Likewise.
35945 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35947 (__kernel_standard_f): Likewise.
35948 (__kernel_standard_l): Likewise.
35949 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35950 <math_private.h>. Include <math-svid-compat.h>.
35951 (_LIB_VERSION): Undefine as macro.
35952 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35953 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35954 [LIBM_SVID_COMPAT], use compat_symbol.
35955 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35956 <math_private.h>. Include <math-svid-compat.h>.
35957 (matherr): Undefine as macro.
35958 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35960 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35961 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35962 compat_symbol_reference.
35963 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35964 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35965 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35966 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35967 (MATHERR_D): Remove declaration.
35968 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35969 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35970 [LIBM_BUILD] (pmatherrf): Likewise.
35971 [LIBM_BUILD] (pmatherr): Likewise.
35972 [LIBM_BUILD] (pmatherrl): Likewise.
35973 (DOMAIN): Likewise.
35975 (OVERFLOW): Likewise.
35976 (UNDERFLOW): Likewise.
35979 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
35980 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
35982 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
35983 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
35985 * math/lgamma-compat.h: Include <math-svid-compat.h>.
35986 * math/w_acos_compat.c: Likewise.
35987 * math/w_acosf_compat.c: Likewise.
35988 * math/w_acosh_compat.c: Likewise.
35989 * math/w_acoshf_compat.c: Likewise.
35990 * math/w_acoshl_compat.c: Likewise.
35991 * math/w_acosl_compat.c: Likewise.
35992 * math/w_asin_compat.c: Likewise.
35993 * math/w_asinf_compat.c: Likewise.
35994 * math/w_asinl_compat.c: Likewise.
35995 * math/w_atan2_compat.c: Likewise.
35996 * math/w_atan2f_compat.c: Likewise.
35997 * math/w_atan2l_compat.c: Likewise.
35998 * math/w_atanh_compat.c: Likewise.
35999 * math/w_atanhf_compat.c: Likewise.
36000 * math/w_atanhl_compat.c: Likewise.
36001 * math/w_cosh_compat.c: Likewise.
36002 * math/w_coshf_compat.c: Likewise.
36003 * math/w_coshl_compat.c: Likewise.
36004 * math/w_exp10_compat.c: Likewise.
36005 * math/w_exp10f_compat.c: Likewise.
36006 * math/w_exp10l_compat.c: Likewise.
36007 * math/w_exp2_compat.c: Likewise.
36008 * math/w_exp2f_compat.c: Likewise.
36009 * math/w_exp2l_compat.c: Likewise.
36010 * math/w_fmod_compat.c: Likewise.
36011 * math/w_fmodf_compat.c: Likewise.
36012 * math/w_fmodl_compat.c: Likewise.
36013 * math/w_hypot_compat.c: Likewise.
36014 * math/w_hypotf_compat.c: Likewise.
36015 * math/w_hypotl_compat.c: Likewise.
36016 * math/w_j0_compat.c: Likewise.
36017 * math/w_j0f_compat.c: Likewise.
36018 * math/w_j0l_compat.c: Likewise.
36019 * math/w_j1_compat.c: Likewise.
36020 * math/w_j1f_compat.c: Likewise.
36021 * math/w_j1l_compat.c: Likewise.
36022 * math/w_jn_compat.c: Likewise.
36023 * math/w_jnf_compat.c: Likewise.
36024 * math/w_jnl_compat.c: Likewise.
36025 * math/w_lgamma_main.c: Likewise.
36026 * math/w_lgamma_r_compat.c: Likewise.
36027 * math/w_lgammaf_main.c: Likewise.
36028 * math/w_lgammaf_r_compat.c: Likewise.
36029 * math/w_lgammal_main.c: Likewise.
36030 * math/w_lgammal_r_compat.c: Likewise.
36031 * math/w_log10_compat.c: Likewise.
36032 * math/w_log10f_compat.c: Likewise.
36033 * math/w_log10l_compat.c: Likewise.
36034 * math/w_log2_compat.c: Likewise.
36035 * math/w_log2f_compat.c: Likewise.
36036 * math/w_log2l_compat.c: Likewise.
36037 * math/w_log_compat.c: Likewise.
36038 * math/w_logf_compat.c: Likewise.
36039 * math/w_logl_compat.c: Likewise.
36040 * math/w_pow_compat.c: Likewise.
36041 * math/w_powf_compat.c: Likewise.
36042 * math/w_powl_compat.c: Likewise.
36043 * math/w_remainder_compat.c: Likewise.
36044 * math/w_remainderf_compat.c: Likewise.
36045 * math/w_remainderl_compat.c: Likewise.
36046 * math/w_scalb_compat.c: Likewise.
36047 * math/w_scalbf_compat.c: Likewise.
36048 * math/w_scalbl_compat.c: Likewise.
36049 * math/w_sinh_compat.c: Likewise.
36050 * math/w_sinhf_compat.c: Likewise.
36051 * math/w_sinhl_compat.c: Likewise.
36052 * math/w_sqrt_compat.c: Likewise.
36053 * math/w_sqrtf_compat.c: Likewise.
36054 * math/w_sqrtl_compat.c: Likewise.
36055 * math/w_tgamma_compat.c: Likewise.
36056 * math/w_tgammaf_compat.c: Likewise.
36057 * math/w_tgammal_compat.c: Likewise.
36058 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36059 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36060 * sysdeps/ieee754/k_standard.c: Likewise.
36061 * sysdeps/ieee754/k_standardf.c: Likewise.
36062 * sysdeps/ieee754/k_standardl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36065 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36066 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36067 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36068 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36069 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36070 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36071 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36077 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36078 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36079 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36081 2017-08-21 Florian Weimer <fweimer@redhat.com>
36084 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36085 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36086 Move before inclusion of ../Rules.
36088 2017-08-21 Florian Weimer <fweimer@redhat.com>
36091 * assert/assert.h (assert): Use static_cast (bool) for C++.
36092 Use the ternary operator in the warning branch for GNU C.
36093 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36094 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36095 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36096 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36097 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36099 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36102 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36103 (__syscall_clock_gettime): Add attribute_hidden.
36104 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36105 (__start_context): Likewise.
36107 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36109 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36111 (hidden_proto): Likewise.
36112 (hidden_tls_proto): Likewise.
36113 (__hidden_proto): Likewise.
36115 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36117 * include/libc-symbols.h (attribute_hidden): Enable hidden
36118 visibility in libc.a compiled with PIE.
36120 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36123 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36124 Add attribute_hidden.
36126 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36129 * Makerules (all-nonlib): Add $(others-extras).
36130 * catgets/Makefile (others-extras): New.
36131 * elf/Makefile (others-extras): Likewise.
36132 * nss/Makefile (others-extras): Likewise.
36134 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36137 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36138 * elf/dl-open.c: Include <libc-internal.h>.
36139 (__libc_multiple_libcs): Removed.
36140 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36142 * include/libc-internal.h (__libc_multiple_libcs): New.
36143 * misc/sbrk.c: Include <libc-internal.h>.
36144 (__libc_multiple_libcs): Removed.
36146 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36149 * grp/initgroups.c (__nss_group_database): Removed.
36150 (__nss_initgroups_database): Likewise.
36151 * nscd/gai.c (__nss_hosts_database): Likewise.
36152 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36153 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36154 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36155 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36156 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36157 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36159 * nss/nsswitch.c (__nss_database_custom): Define only if
36160 USE_NSCD is defined.
36161 (__nss_configure_lookup): Use __nss_database_custom only if
36162 USE_NSCD is defined.
36163 * nss/nsswitch.h (__nss_database_custom): Declare only if
36164 USE_NSCD is defined. Add attribute_hidden.
36165 (__nss_setent): Add attribute_hidden.
36166 (__nss_endent): Likewise.
36167 (__nss_getent_r): Likewise.
36168 (__nss_getent): Likewise.
36169 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36171 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36174 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36175 libc_hidden_proto and libc_hidden_def.
36177 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36180 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36181 Add libc_hidden_proto.
36182 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36183 Add libc_hidden_def.
36185 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36188 * gmon/Makefile (routines): Remove bb_init_func and
36190 (elide-routines.os): Removed.
36191 * gmon/bb_exit_func.c: Likewise.
36192 * gmon/bb_init_func.c: Likewise.
36193 * include/sys/gmon.h (__bb): Likewise.
36194 (__bb_init_func): Likewise.
36195 (__bb_exit_func): Likewise.
36196 * sysdeps/alpha/bb_init_func.S: Likewise.
36198 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36200 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36201 * include/setjmp.h (____longjmp_chk): Here. Add
36204 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36207 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36209 (__strspn_sse2): Likewise.
36211 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36213 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36214 (close_not_cancel_no_status): Likewise.
36215 (__close_nocancel): New macro.
36216 (__close_nocancel_nostatus): Likewise.
36217 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36219 (close_not_cancel): Likewise.
36220 (close_not_cancel_no_status): Likewise.
36221 (__close_nocancel): New prototype.
36222 (__close_nocancel_nostatus): New function.
36223 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36224 * catgets/open_catalog.c (__open_catalog): Replace
36225 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36226 * gmon/gmon.c (write_gmon): Likewise.
36227 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36228 * intl/loadmsgcat.c (close): Likewise.
36229 * io/ftw.c (open_dir_stream): Likewise.
36230 (ftw_startup): Likewise.
36231 * libio/fileops.c (_IO_file_open): Likewise.
36232 (_IO_file_close_mmap): Likewise.
36233 (_IO_file_close): Likewise.
36234 * libio/iopopen.c (_IO_dup2): Likewise.
36235 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36236 * locale/loadlocale.c (_nl_load_locale): Likewise.
36237 * login/utmp_file.c (pututline_file): Likewise.
36238 (endutent_file): Likewise.
36239 * misc/daemon.c (daemon): Likewise.
36240 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36241 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36242 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36243 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36244 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36245 * nscd/nscd_helper.c (open_socket): Likewise.
36246 (__nscd_open_socket): Likewise.
36247 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36248 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36249 (__nscd_innetgr): Likewise.
36250 * nss/nss_db/db-open.c (internal_setent): Likewise.
36251 * resolv/res-close.c (__res_iclose): Likewise.
36252 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36253 * sysdeps/posix/closedir.c (__closedir): Likewise.
36254 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36255 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36256 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36257 (opendir_tail): Likewise.
36258 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36259 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36260 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36261 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36262 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36263 (gethostid): Likewise.
36264 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36268 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36269 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36270 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36272 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36273 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36274 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36276 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36277 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36279 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36281 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36282 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36283 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36286 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36287 (openat_not_cancel_3): Likewise.
36288 (openat64_not_cancel_3): Likewise).
36289 (openat_not_cancel_3): Likewise).
36290 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36292 (openat_not_cancel_3): Likewise.
36293 (openat64_not_cancel): Likewise.
36294 (openat64_not_cancel_3): Likewise.
36295 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36296 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36297 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36298 __open{64}_nocancel.
36299 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36300 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36301 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36303 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36306 * include/argz.h (__argz_create_sep): New function prototype.
36307 (__argz_append): Likewise.
36308 (__argz_add): Likewise.
36309 (__argz_add_sep): Likewise.
36310 (__argz_delete): Likewise.
36311 (__argz_insert): Likewise.
36312 (__argz_replace): Likewise.
36313 * string/argz.h (__argz_create_sep): Removed.
36314 (__argz_append): Likewise.
36315 (__argz_add): Likewise.
36316 (__argz_add_sep): Likewise.
36317 (__argz_delete): Likewise.
36318 (__argz_insert): Likewise.
36319 (__argz_replace): Likewise.
36321 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36323 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36324 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36325 (GNU_PROPERTY_STACK_SIZE): Likewie.
36326 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36327 (GNU_PROPERTY_LOPROC): Likewise.
36328 (GNU_PROPERTY_HIPROC): Likewise.
36329 (GNU_PROPERTY_LOUSER): Likewise.
36330 (GNU_PROPERTY_HIUSER): Likewise.
36331 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36332 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36333 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36334 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36335 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36336 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36337 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36338 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36339 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36340 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36341 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36342 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36343 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36344 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36345 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36346 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36347 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36348 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36349 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36350 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36351 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36352 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36353 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36355 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36357 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36360 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36363 * math/math.h (isinf): Check if in C or C++ mode before using
36364 __builtin_types_compatible_p, since this is a C mode feature.
36366 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36368 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36369 (__write_nocancel): New macro.
36370 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36371 Rewrite as a function prototype.
36372 (write_not_cancel): Remove macro.
36373 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36374 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36375 (write_gmon): Likewise.
36376 * libio/fileops.c (_IO_new_file_write): Likewise.
36377 * login/utmp_file.c (pututline_file): Likewise.
36378 (updwtmp_file): Likewise.
36379 * stdio-common/psiginfo.c (psiginfo): Likewise.
36380 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36381 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36382 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36384 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36387 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36388 (__read_nocancel): New macro.
36389 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36391 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36393 (__read_nocancel): New prototype.
36394 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36395 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36396 with __read_nocancel.
36397 * intl/loadmsgcat.c (read): Likewise.
36398 * libio/fileops.c (_IO_file_read): Likewise.
36399 * locale/loadlocale.c (_nl_load_locale): Likewise.
36400 * login/utmp_file.c (getutent_r_file): Likewise.
36401 (internal_getut_r): Likewise.
36402 (getutline_r_file): Likewise.
36403 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36404 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36405 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36406 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36408 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36409 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36410 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36412 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36414 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36416 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36418 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36420 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36423 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36424 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36427 2017-08-17 DJ Delorie <dj@redhat.com>
36429 * bug17079.c: Update to new test harness.
36430 * test-digits-dots.c: Likewise.
36431 * test-netdb.c: Likewise.
36432 * tst-field.c: Likewise.
36433 * tst-nss-getpwent.c: Likewise.
36434 * tst-nss-static.c: Likewise.
36435 * tst-nss-test1.c: Likewise.
36436 * tst-nss-test2.c: Likewise.
36437 * tst-nss-test3.c: Likewise.
36438 * tst-nss-test4.c: Likewise.
36439 * tst-nss-test5.c: Likewise.
36441 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36443 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36444 (open_not_cancel_2): Likewise.
36445 (open_nocancel): New macro.
36446 (open64_nocancel): Likewise.
36447 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36448 (open_not_cancel_2): Likewise.
36449 (__open_nocancel): New prototype.
36450 (__open64_nocancel): Likewise.
36451 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36453 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36454 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36455 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36456 with __open_nocancel.
36457 * csu/check_fds.c (check_one_fd): Likewise.
36458 * gmon/gmon.c (write_gmon): Likewise.
36459 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36460 * intl/loadmsgcat.c (open): Likewise.
36461 * libio/fileops.c (_IO_file_open): Likewise.
36462 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36463 * locale/loadlocale.c (_nl_load_locale): Likewise.
36464 * login/utmp_file.c (setutent_file): Likewise.
36465 * misc/daemon.c (daemon): Likewise.
36466 * nss/nss_db/db-open.c (internal_setent): Likewise.
36467 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36468 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36469 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36470 (__opendir): Likewise.
36471 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36472 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36473 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36474 (gethostid): Likewise.
36475 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36476 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36478 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36479 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36480 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36481 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36483 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36485 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36487 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36489 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36491 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36493 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36494 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36496 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36498 * benchtests/bench-skeleton.c (main): Add support for
36499 latency benchmarking.
36500 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36502 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36504 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36505 the startup object.
36507 2017-08-17 Florian Weimer <fweimer@redhat.com>
36509 * include/sys/socket.h (__opensock): Remove internal_function.
36510 * socket/opensock.c (__opensock): Likewise.
36511 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36513 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36516 * signal/bits/types/__sigval_t.h: New file.
36517 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36518 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36519 and define sigval_t using __sigval_t.
36520 * include/bits/types/__sigval_t.h: New file.
36521 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36522 instead of <bits/types/__sigval_t.h>.
36523 (struct sigevent): Use __sigval_t instead of sigval_t.
36524 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36525 instead of <bits/types/__sigval_t.h>.
36526 (siginfo_t): Use __sigval_t instead of sigval_t.
36527 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36528 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36529 (struct sigevent): Use __sigval_t instead of sigval_t.
36530 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36531 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36532 (siginfo_t): Use __sigval_t instead of sigval_t.
36533 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36535 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36537 * NEWS: Remove "[Add new features here]" for 2.27.
36539 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36541 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36544 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36546 * NEWS: Mention x86-64 FMA optimization.
36548 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36551 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36553 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36554 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36555 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36557 2017-08-16 Andreas Schwab <schwab@suse.de>
36561 * elf/ldd.bash.in: Never run file directly.
36563 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36566 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36567 (L(SP_INF_0)): Likewise.
36569 2017-08-15 Florian Weimer <fweimer@redhat.com>
36571 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36574 2017-08-15 Florian Weimer <fweimer@redhat.com>
36576 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36577 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36578 BROKEN_THREAD_SIGNALS code.
36579 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36580 request_list): Remove caller_pid member used for
36581 BROKEN_THREAD_SIGNALS.
36582 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36583 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36584 Remove BROKEN_THREAD_SIGNALS support.
36585 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36586 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36588 2017-08-15 Florian Weimer <fweimer@redhat.com>
36590 * gmon/Makefile (tests): Add tst-gmon.
36591 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36593 (tests-special): Add tst-gmon-prof.out.
36594 (tst-gmon.out): Depend on clean-tst-gmon-data.
36595 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36596 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36597 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36599 * aclocal.m4 (GPROF): Set and substitute.
36600 * config.amke.in (GPROF): Set.
36601 * configure: Regenerate.
36603 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36605 * elf/elf.h A (NT_PPC_TAR): New macro.
36606 (NT_PPC_PPR): Likewise.
36607 (NT_PPC_DSCR): Likewise.
36608 (NT_PPC_EBB): Likewise.
36609 (NT_PPC_PMU): Likewise.
36610 (NT_PPC_TM_CGPR): Likewise.
36611 (NT_PPC_TM_CFPR): Likewise.
36612 (NT_PPC_TM_CVMX): Likewise.
36613 (NT_PPC_TM_CVSX): Likewise.
36614 (NT_PPC_TM_SPR): Likewise.
36615 (NT_PPC_TM_CTAR): Likewise.
36616 (NT_PPC_TM_CPPR): Likewise.
36617 (NT_PPC_TM_CDSCR): Likewise.
36619 2017-08-15 Florian Weimer <fweimer@redhat.com>
36621 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36622 regparm (2) instead of internal_function.
36623 (_MCOUNT_DECL): Adjust.
36625 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36627 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36628 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36630 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36632 * conform/data/sys/wait.h-data (si_value): Do not expect for
36635 2017-08-14 Florian Weimer <fweimer@redhat.com>
36638 NSS: Create stubs for accidentally exported lookup functions.
36639 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36640 Remove declaration.
36641 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36642 (ether_hostton): Call __nss_ethers_lookup2 instead.
36643 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36644 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36645 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36646 (setup): Call __nss_netgroup_lookup2 instead.
36647 * nss/Makefile (routines): Add compat-lookup.
36648 * nss/Versions (GLIBC_2.27): Add symbol version.
36649 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36650 (DB_COMPAT_FCT): Remove.
36651 * nss/compat-lookup.c: New file.
36652 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36653 from databases.def.
36654 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36655 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36656 (netname2user): Call __nss_publickey_lookup2 instead.
36657 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36658 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36661 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36662 Sergei Trofimovich <slyfox@inbox.ru>
36665 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36666 Rename to MMAP2_PAGE_UNIT.
36667 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36668 __OFF_T_MATCHES_OFF64_T is not defined.
36669 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36671 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36672 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36674 2017-08-14 Florian Weimer <fweimer@redhat.com>
36676 i386: Do not set internal_function.
36677 * config.h.in (USE_REGPARMS, internal_function): Remove.
36678 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36679 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36681 2017-08-14 Florian Weimer <fweimer@redhat.com>
36683 * elf/dl-init.c (_dl_init): Remove internal_function.
36684 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36685 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36687 2017-08-14 Florian Weimer <fweimer@redhat.com>
36689 * elf/rtld.c (_dl_start): Remove internal_function.
36690 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36693 2017-08-14 Florian Weimer <fweimer@redhat.com>
36695 * elf/dl-fini.c (_dl_fini): Remove internal_function
36696 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36698 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36700 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36701 (bit_cpu_SHSTK): Likewise.
36702 (index_cpu_IBT): Likewise.
36703 (index_cpu_SHSTK): Likewise.
36704 (reg_IBT): Likewise.
36705 (reg_SHSTK): Likewise.
36706 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36707 Handle index_cpu_IBT and index_cpu_SHSTK.
36709 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36712 * po/fr.po: Fix spelling mistake.
36714 2017-08-13 Florian Weimer <fweimer@redhat.com>
36716 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36717 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36718 (_dl_catch_error, _dl_receive_error): Likewise.
36719 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36720 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36721 (_dl_deallocate_tls): Likewise.
36722 * include/dlfcn.h (_dl_addr): Likewise.
36723 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36724 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36725 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36728 2017-08-13 Florian Weimer <fweimer@redhat.com>
36730 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36731 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36733 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36735 2017-08-13 Florian Weimer <fweimer@redhat.com>
36737 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36739 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36740 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36741 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36742 internal_function from _dl_make_stack_executable_hook member.
36743 (_dl_make_stack_executable): Remove internal_function.
36744 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36746 * sysdeps/unix/sysv/linux/dl-execstack.c
36747 (_dl_make_stack_executable): Likewise.
36749 2017-08-13 Florian Weimer <fweimer@redhat.com>
36751 * sysdeps/unix/sysv/linux/netlinkaccess.h
36752 (__netlink_assert_response): Remove internal_function.
36753 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36754 (__netlink_assert_response): Likewise.
36756 2017-08-13 Florian Weimer <fweimer@redhat.com>
36758 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36760 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36762 2017-08-13 Florian Weimer <fweimer@redhat.com>
36764 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36766 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36767 * inet/netgroup.h (__internal_setnetgrent)
36768 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36769 * inet/getnetgrent_r.c (__internal_setnetgrent)
36770 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36771 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36772 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36773 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36774 * nss/nsswitch.h (db_lookup_function): Likewise.
36776 2017-08-13 Florian Weimer <fweimer@redhat.com>
36778 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36779 Remove internal_function.
36780 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36781 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36782 message argument on the stack.
36783 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36786 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36788 Adapt test case data to the changes in the thousands
36792 * localedata/tst-langinfo.sh: Adapt test case data.
36793 * stdlib/tst-strfmon_l.c: Likewise.
36794 * stdlib/tst-strtod4.c: Likewise.
36795 * stdlib/tst-strtod5i.c: Likewise.
36797 2017-08-11 Florian Weimer <fweimer@redhat.com>
36800 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36801 Suppress pedantic warning resulting from statement expression.
36802 (__ASSERT_FUNCTION): Add missing __extension__.
36804 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36806 * benchtests/bench-memmove-large.c: Print output in JSON
36808 * benchtests/bench-memmove.c: Likewise.
36810 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36811 * benchtests/bench-memchr.c (do_one_test): Likewise.
36812 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36813 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36814 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36815 * benchtests/bench-memmove.c (do_one_test): Likewise.
36816 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36817 * benchtests/bench-memset.c (do_one_test): Likewise.
36818 * benchtests/bench-string.h (test_init): Remove memsets.
36820 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36823 (Computing the Width of an Integer Data Type): Rename section to
36824 "Width of an Integer Type". Remove inaccurate statement regarding
36825 lack of C language facilities for determining width of integer
36826 types, and reorder content to improve flow and context of
36829 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36831 * lang.texi (va_copy): Change standard from ISO to C99.
36832 (__va_copy): Add standard and header annotation.
36833 Update description for clarity of origins and current use.
36835 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36838 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36839 xssqrtqp requires operands to be in Vector Registers
36840 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36841 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36842 (__ieee754_sqrtf128): Likewise.
36844 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36846 * sysdeps/aarch64/memcmp.S (memcmp):
36847 Rewrite of optimized memcmp.
36849 2017-08-10 Florian Weimer <fweimer@redhat.com>
36851 Introduce ld.so exceptions.
36852 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36853 (_dl_exception_create, _dl_exception_create_format)
36854 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36855 (_dl_catch_exception): Declare.
36856 (_dl_catch_error): Update comment.
36857 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36858 errstring, malloced members with exception member.
36859 (_dl_out_of_memory): Remove.
36860 (fatal_error): New function, extracted from _dl_signal_error.
36861 (_dl_signal_exception, _dl_signal_cexception): New functions.
36862 (_dl_signal_error): Call _dl_exception_create to allocate an
36864 (_dl_catch_exception): New function, based on _dl_catch_error.
36865 (_dl_catch_error): Implement using _dl_catch_exception.
36866 * elf/dl-exception.c: New file.
36867 * elf/Makefile (dl-routines): Add dl-exception.
36868 (elide-routines.os): Likewise.
36869 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36870 _dl_exception_create_format, _dl_exception_free.
36871 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36872 _dl_signal_exception.
36873 * elf/dl-lookup.c (make_string): Remove.
36874 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36875 _dl_signal_cexception, _dl_exception_free.
36876 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36877 _dl_signal_exception.
36878 * elf/dl-sym.c (do_sym): Likewise.
36879 * elf/dl-version.c (make_string): Remove.
36880 (match_symbol): Use _dl_exception_create_format,
36881 _dl_signal_cexception, _dl_exception_free.
36882 (_dl_check_map_versions): Likewise.
36883 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36884 _dl_catch_exception.
36885 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36886 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36887 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36888 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36889 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36890 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36891 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36892 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36894 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36901 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36902 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36903 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36905 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36907 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36909 2017-08-10 Florian Weimer <fweimer@redhat.com>
36911 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36912 attribute_hidden, internal_function.
36913 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36916 2017-08-10 Florian Weimer <fweimer@redhat.com>
36918 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36919 function which calls __builtin_unreachable.
36921 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36923 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36924 Indian monetary formatting
36925 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36928 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36930 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36931 Fix typo in comment.
36934 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36935 PTRACE_SEIZE_DEVEL): Remove.
36936 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36937 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36938 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36939 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36940 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36942 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36944 * posix/bits/types.h (__qaddr_t): Remove.
36947 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36948 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36950 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36951 (ucontext_t): Use __ctx with uc_flags.
36952 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36953 (__ctxt): Likewise.
36954 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36956 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36957 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36959 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36960 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36962 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36964 (ucontext_t): Use __ctx with uc_flags.
36965 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36966 (ucontext_t): Use __ctx with uc_flags.
36967 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36968 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36969 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36970 (ucontext_t): Use __ctx with uc_flags.
36971 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36972 undefine further down.
36973 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36975 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36976 undefine further down.
36977 (ucontext_t): Use __ctx with uc_flags.
36978 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
36979 undefine further down.
36980 (ucontext_t): Use __ctx with uc_flags.
36981 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
36982 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
36983 Rename uc_pad to __glibc_reserved1.
36984 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
36985 undefine further down.
36986 (ucontext_t): Use __ctx with uc_flags.
36987 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
36989 (ucontext_t): Use __ctx with uc_flags.
36990 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
36991 __ctx with uc_flags.
36992 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
36993 (ucontext_t): Use __ctx with uc_flags.
36994 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
36995 __ctx with uc_flags.
36997 2017-08-09 Florian Weimer <fweimer@redhat.com>
37000 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37001 before early return.
37003 2017-08-09 Andreas Schwab <schwab@suse.de>
37006 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37010 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37011 tst-compat-forwarder.
37012 (modules-names): Add tst-compat-forwarder-mod.
37013 ($(objpfx)tst-compat-forwarder): Depend on
37014 $(objpfx)tst-compat-forwarder-mod.so.
37015 * nptl/tst-compat-forwarder.c: New file.
37016 * nptl/tst-compat-forwarder-mod.c: New file.
37018 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37020 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37023 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37024 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37026 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37028 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37029 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37030 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37031 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37033 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37036 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37039 * manual/setjmp.texi (getcontex): Document uc_stack value
37040 compatibility differences.
37042 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37044 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37045 (old_malloc_hook): Likewise.
37046 (old_memalign_hook): Likewise.
37047 (old_realloc_hook): Likewise.
37048 (struct hdr): Likewise.
37050 (freehook): Likewise.
37051 (mallochook): Likewise.
37052 (memalignhook): Likewise.
37053 (reallochook): Likewise.
37054 (mprobe): Likewise.
37055 * malloc/mtrace.c (mallwatch): Likewise.
37056 (tr_old_free_hook): Likewise.
37057 (tr_old_malloc_hook): Likewise.
37058 (tr_old_realloc_hook): Likewise.
37059 (tr_old_memalign_hook): Likewise.
37060 (tr_where): Likewise.
37061 (lock_and_info): Likewise.
37062 (tr_freehook): Likewise.
37063 (tr_mallochook): Likewise.
37064 (tr_reallochook): Likewise.
37065 (tr_memalignhook): Likewise.
37066 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37067 * misc/mmap.c (__mmap): Likewise.
37068 * misc/mmap64.c (__mmap64): Likewise.
37069 * misc/mprotect.c (__mprotect): Likewise.
37070 * misc/msync.c (msync): Likewise.
37071 * misc/munmap.c (__munmap): Likewise.
37072 * posix/posix_madvise.c (posix_madvise): Likewise.
37073 * socket/send.c (__send): Likewise.
37074 * socket/sendto.c (__sendto): Likewise.
37075 * socket/setsockopt.c (__setsockopt): Likewise.
37076 * string/memcmp.c (__ptr_t): Remove macro.
37077 (MEMCMP): Use void * instead of ptr_t.
37078 * string/memrchr.c (__ptr_t): Remove macro.
37079 (__memrchr): Use void * instead of ptr_t.
37080 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37081 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37082 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37083 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37084 * sysdeps/mach/msync.c (msync): Likewise.
37085 * sysdeps/mach/munmap.c (__munmap): Likewise.
37086 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37088 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37089 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37090 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37091 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37092 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37093 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37094 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37095 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37097 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37098 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37099 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37100 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37101 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37102 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37103 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37104 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37105 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37107 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37108 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37109 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37110 (MEMCMP): Use void * instead of ptr_t.
37111 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37112 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37114 2017-08-08 Florian Weimer <fweimer@redhat.com>
37116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37119 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37122 * csu/libc-tls.c: Include <startup.h> first.
37123 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37124 * elf/dl-tunables.c: Include <startup.h> first.
37125 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37126 * sysdeps/generic/startup.h: New file.
37127 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37128 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37129 (I386_USE_SYSENTER): New. Defined to 0.
37131 2017-08-08 Andreas Schwab <schwab@suse.de>
37134 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37135 * nptl/pt-system.c (system): Likewise.
37137 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37140 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37142 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37143 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37144 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37145 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37146 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37147 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37148 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37150 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37153 * bits/sigaction.h (struct sigaction): Define sa_handler and
37154 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37155 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37156 [__USE_XOPEN_EXTENDED].
37157 (SA_RESTART): Likewise.
37158 (SA_NODEFER): Likewise.
37159 (SA_RESETHAND): Likewise.
37160 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37161 (struct sigaction): Define sa_handler and sa_sigaction using union
37162 also for [__USE_XOPEN_EXTENDED].
37163 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37164 [__USE_XOPEN_EXTENDED].
37165 (SA_RESTART): Likewise.
37166 (SA_NODEFER): Likewise.
37167 (SA_RESETHAND): Likewise.
37168 * sysdeps/unix/sysv/linux/bits/sigaction.h
37169 (struct sigaction): Define sa_handler and sa_sigaction using union
37170 also for [__USE_XOPEN_EXTENDED].
37171 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37172 [__USE_XOPEN_EXTENDED].
37173 (SA_RESTART): Likewise.
37174 (SA_NODEFER): Likewise.
37175 (SA_RESETHAND): Likewise.
37176 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37177 (struct sigaction): Define sa_handler and sa_sigaction using union
37178 also for [__USE_XOPEN_EXTENDED].
37179 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37180 [__USE_XOPEN_EXTENDED].
37181 (SA_RESTART): Likewise.
37182 (SA_NODEFER): Likewise.
37183 (SA_RESETHAND): Likewise.
37184 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37185 (struct sigaction): Define sa_handler and sa_sigaction using union
37186 also for [__USE_XOPEN_EXTENDED].
37187 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37188 [__USE_XOPEN_EXTENDED].
37189 (SA_RESTART): Likewise.
37190 (SA_NODEFER): Likewise.
37191 (SA_RESETHAND): Likewise.
37192 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37193 (struct sigaction): Define sa_handler and sa_sigaction using union
37194 also for [__USE_XOPEN_EXTENDED].
37195 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37196 [__USE_XOPEN_EXTENDED].
37197 (SA_RESTART): Likewise.
37198 (SA_NODEFER): Likewise.
37199 (SA_RESETHAND): Likewise.
37200 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37201 (struct sigaction): Define sa_handler and sa_sigaction using union
37202 also for [__USE_XOPEN_EXTENDED].
37203 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37204 [__USE_XOPEN_EXTENDED].
37205 (SA_RESTART): Likewise.
37206 (SA_NODEFER): Likewise.
37207 (SA_RESETHAND): Likewise.
37208 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37209 (struct sigaction): Define sa_handler and sa_sigaction using union
37210 also for [__USE_XOPEN_EXTENDED].
37211 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37212 [__USE_XOPEN_EXTENDED].
37213 (SA_RESTART): Likewise.
37214 (SA_NODEFER): Likewise. Define directly rather than as alias.
37215 (SA_RESETHAND): Likewise.
37216 (SA_INTERRUPT): Define only for [__USE_MISC].
37217 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37218 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37220 (SA_STACK): Define only for [__USE_MISC].
37221 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37222 (struct sigaction): Define sa_handler and sa_sigaction using union
37223 also for [__USE_XOPEN_EXTENDED].
37224 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37225 [__USE_XOPEN_EXTENDED].
37226 (SA_RESTART): Likewise.
37227 (SA_NODEFER): Likewise.
37228 (SA_RESETHAND): Likewise.
37229 (SA_NOPTRACE): Define only for [__USE_MISC].
37231 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37232 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37233 (struct catalog_info): Likewise.
37234 * inet/htontest.c (lo): Likewise.
37236 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37237 * inet/inet_net.c (inet_network): Likewise.
37238 * inet/inet_netof.c (inet_netof): Likewise.
37239 * inet/rcmd.c (__ivaliduser): Likewise.
37240 (iruserok): Likewise.
37241 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37242 * locale/programs/locale-spec.c (locale_special): Likewise.
37243 * nis/nis_findserv.c (struct findserv_req): Likewise.
37244 (__nis_findfastest_with_timeout): Likewise.
37245 * nss/test-netdb.c (test_network): Likewise.
37246 * resolv/inet_neta.c (inet_neta): Likewise.
37247 * resolv/ns_date.c (ns_datetosecs): Likewise.
37248 (SECS_PER_DAY): Likewise.
37249 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37251 * resolv/res_comp.c (__putlong): Likewise.
37252 (__putshort): Likewise.
37253 (_getlong): Likewise.
37254 (_getshort): Likewise.
37255 * resolv/res_debug.c (p_time): Likewise.
37256 (precsize_ntoa): Likewise.
37257 (precsize_aton): Likewise.
37258 (latlon2ul): Likewise.
37259 (loc_aton): Likewise.
37260 (loc_ntoa): Likewise.
37261 * resolv/res_hconf.c (struct netaddr): Likewise.
37262 (_res_hconf_reorder_addrs): Likewise.
37263 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37264 (clnttcp_control): Likewise.
37265 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37266 (clntudp_control): Likewise.
37267 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37268 (clntunix_control): Likewise.
37269 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37270 * sunrpc/rpc/auth.h (union des_block): Likewise.
37271 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37272 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37273 (xdrrec_create): Likewise.
37274 (xdrrec_endofrecord): Likewise.
37275 (flush_out): Likewise.
37276 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37277 (xdrstdio_putlong): Likewise.
37278 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37281 * misc/sys/cdefs.h (__long_double_t): Remove.
37282 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37283 instead of __long_double_t,
37284 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37286 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37288 * benchtests/scripts/compare_strings.py: Avoid display error when
37289 running on a text terminal.
37291 * benchtests/scripts/compare_strings.py (main): Add an
37292 optional -base option.
37293 (process_results): New argument base_func.
37295 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37297 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37298 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37300 2017-08-07 Andreas Schwab <schwab@suse.de>
37302 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37303 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37304 * intl/Makefile ($(objpfx)tst-gettext.out)
37305 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37306 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37307 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37308 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37309 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37310 * posix/Makefile ($(objpfx)globtest.out)
37311 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37312 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37313 ($(objpfx)tst-printf.out): Likewise.
37314 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37315 ($(objpfx)tst-setcontext3.out): Likewise.
37317 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37319 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37320 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37321 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37322 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37323 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37325 (CFLAGS-doasin-fma.c): New.
37326 (CFLAGS-dosincos-fma.c): Likewise.
37327 (CFLAGS-e_asin-fma.c): Likewise.
37328 (CFLAGS-e_atan2-fma.c): Likewise.
37329 (CFLAGS-e_exp-fma.c): Likewise.
37330 (CFLAGS-e_log-fma.c): Likewise.
37331 (CFLAGS-e_pow-fma.c): Likewise.
37332 (CFLAGS-halfulp-fma.c): Likewise.
37333 (CFLAGS-mpa-fma.c): Likewise.
37334 (CFLAGS-mpatan-fma.c): Likewise.
37335 (CFLAGS-mpatan2-fma.c): Likewise.
37336 (CFLAGS-mpexp-fma.c): Likewise.
37337 (CFLAGS-mplog-fma.c): Likewise.
37338 (CFLAGS-mpsqrt-fma.c): Likewise.
37339 (CFLAGS-mptan-fma.c): Likewise.
37340 (CFLAGS-s_atan-fma.c): Likewise.
37341 (CFLAGS-sincos32-fma.c): Likewise.
37342 (CFLAGS-slowexp-fma.c): Likewise.
37343 (CFLAGS-slowpow-fma.c): Likewise.
37344 (CFLAGS-s_sin-fma.c): Likewise.
37345 (CFLAGS-s_tan-fma.c): Likewise.
37346 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37347 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37348 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37349 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37350 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37351 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37352 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37353 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37354 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37355 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37356 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37357 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37358 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37359 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37360 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37361 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37362 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37363 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37364 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37366 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37367 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37368 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37369 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37371 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37372 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37373 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37378 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37380 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37381 (min_of_type_f): New macro.
37382 (min_of_type_): Likewise.
37383 (min_of_type_l): Likewise.
37384 (min_of_type_f128): Likewise.
37385 (min_of_type): Define using __MATH_TG and taking an expression
37387 (math_check_force_underflow): Pass expression instead of type to
37389 (math_check_force_underflow_nonneg): Likewise.
37391 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37393 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37394 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37395 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37397 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37400 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37401 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37402 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37403 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37404 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37405 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37406 memmove_chk-nonshared and memset_chk-nonshared
37407 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37408 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37409 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37410 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37411 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37412 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37413 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37414 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37415 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37416 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37417 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37418 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37419 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37420 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37421 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37422 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37423 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37424 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37425 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37426 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37427 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37428 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37429 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37430 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37431 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37432 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37433 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37434 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37435 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37436 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37437 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37438 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37439 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37440 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37441 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37442 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37443 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37444 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37445 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37446 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37447 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37448 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37449 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37450 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37451 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37452 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37453 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37454 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37455 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37456 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37457 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37458 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37459 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37460 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37461 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37462 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37463 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37464 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37465 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37466 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37467 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37468 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37469 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37470 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37471 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37472 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37473 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37474 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37475 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37476 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37477 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37478 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37479 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37480 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37481 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37482 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37483 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37484 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37485 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37486 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37487 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37488 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37489 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37490 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37491 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37492 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37493 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37494 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37495 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37496 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37497 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37498 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37499 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37501 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37502 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37503 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37504 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37505 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37506 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37507 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37508 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37509 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37510 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37511 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37512 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37513 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37514 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37516 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37518 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37519 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37520 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37521 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37522 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37523 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37524 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37525 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37526 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37527 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37528 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37529 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37530 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37531 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37532 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37533 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37534 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37535 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37536 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37537 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37538 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37539 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37540 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37541 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37542 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37543 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37544 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37545 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37546 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37547 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37548 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37550 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37551 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37552 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37553 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37554 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37555 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37556 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37557 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37558 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37559 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37560 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37561 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37562 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37563 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37564 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37565 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37566 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37567 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37568 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37569 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37571 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37572 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37573 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37574 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37575 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37576 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37578 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37579 Don't include <sysdep.h> nor <init-arch.h>.
37580 (_ZGVbN2v_cos): Removed.
37581 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37583 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37584 Don't include <sysdep.h> nor <init-arch.h>.
37585 (_ZGVdN4v_cos): Removed.
37586 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37588 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37589 Don't include <sysdep.h> nor <init-arch.h>.
37590 (_ZGVeN8v_cos): Removed.
37591 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37593 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37594 Don't include <sysdep.h> nor <init-arch.h>.
37595 (_ZGVbN2v_exp): Removed.
37596 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37598 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37599 Don't include <sysdep.h> nor <init-arch.h>.
37600 (_ZGVdN4v_exp): Removed.
37601 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37603 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37604 Don't include <sysdep.h> nor <init-arch.h>.
37605 (_ZGVeN8v_exp): Removed.
37606 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37608 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37609 Don't include <sysdep.h> nor <init-arch.h>.
37610 (_ZGVbN2v_log): Removed.
37611 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37613 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37614 Don't include <sysdep.h> nor <init-arch.h>.
37615 (_ZGVdN4v_log): Removed.
37616 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37618 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37619 Don't include <sysdep.h> nor <init-arch.h>.
37620 (_ZGVeN8v_log): Removed.
37621 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37623 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37624 Don't include <sysdep.h> nor <init-arch.h>.
37625 (_ZGVbN2vv_pow): Removed.
37626 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37628 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37629 Don't include <sysdep.h> nor <init-arch.h>.
37630 (_ZGVdN4vv_pow): Removed.
37631 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37633 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37634 Don't include <sysdep.h> nor <init-arch.h>.
37635 (_ZGVeN8vv_pow): Removed.
37636 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37638 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37639 Don't include <sysdep.h> nor <init-arch.h>.
37640 (_ZGVbN2v_sin): Removed.
37641 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37643 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37644 Don't include <sysdep.h> nor <init-arch.h>.
37645 (_ZGVbN4v_sin): Removed.
37646 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37648 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37649 Don't include <sysdep.h> nor <init-arch.h>.
37650 (_ZGVbN8v_sin): Removed.
37651 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37653 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37654 Don't include <sysdep.h> nor <init-arch.h>.
37655 (_ZGVbN2vvv_sincos): Removed.
37656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37658 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37659 Don't include <sysdep.h> nor <init-arch.h>.
37660 (_ZGVdN4vvv_sincos): Removed.
37661 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37663 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37664 Don't include <sysdep.h> nor <init-arch.h>.
37665 (_ZGVeN8vvv_sincos): Removed.
37666 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37668 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37669 Don't include <sysdep.h> nor <init-arch.h>.
37670 (_ZGVeN16v_cosf): Removed.
37671 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37673 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37674 Don't include <sysdep.h> nor <init-arch.h>.
37675 (_ZGVbN4v_cosf): Removed.
37676 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37678 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37679 Don't include <sysdep.h> nor <init-arch.h>.
37680 (_ZGVdN8v_cosf): Removed.
37681 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37683 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37684 Don't include <sysdep.h> nor <init-arch.h>.
37685 (_ZGVeN16v_expf): Removed.
37686 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37688 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37689 Don't include <sysdep.h> nor <init-arch.h>.
37690 (_ZGVbN4v_expf): Removed.
37691 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37693 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37694 Don't include <sysdep.h> nor <init-arch.h>.
37695 (_ZGVdN8v_expf): Removed.
37696 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37698 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37699 Don't include <sysdep.h> nor <init-arch.h>.
37700 (_ZGVeN16v_logf): Removed.
37701 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37703 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37704 Don't include <sysdep.h> nor <init-arch.h>.
37705 (_ZGVbN4v_logf): Removed.
37706 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37708 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37709 Don't include <sysdep.h> nor <init-arch.h>.
37710 (_ZGVdN8v_logf): Removed.
37711 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37713 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37714 Don't include <sysdep.h> nor <init-arch.h>.
37715 (_ZGVeN16vv_powf): Removed.
37716 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37718 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37719 Don't include <sysdep.h> nor <init-arch.h>.
37720 (_ZGVbN4vv_powf): Removed.
37721 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37723 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37724 Don't include <sysdep.h> nor <init-arch.h>.
37725 (_ZGVdN8vv_powf): Removed.
37726 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37729 Don't include <sysdep.h> nor <init-arch.h>.
37730 (_ZGVeN16vvv_sincosf): Removed.
37731 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37733 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37734 Don't include <sysdep.h> nor <init-arch.h>.
37735 (_ZGVbN4vvv_sincosf): Removed.
37736 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37738 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37739 Don't include <sysdep.h> nor <init-arch.h>.
37740 (_ZGVdN8vvv_sincosf): Removed.
37741 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37743 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37744 Don't include <sysdep.h> nor <init-arch.h>.
37745 (_ZGVeN16v_sinf): Removed.
37746 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37748 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37749 Don't include <sysdep.h> nor <init-arch.h>.
37750 (_ZGVbN4v_sinf): Removed.
37751 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37753 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37754 Don't include <sysdep.h> nor <init-arch.h>.
37755 (_ZGVdN8v_sinf): Removed.
37757 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37759 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37760 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37761 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37762 s_rint-sse4_1 and s_rintf-sse4_1.
37763 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37764 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37765 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37766 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37767 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37768 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37769 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37770 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37771 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37772 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37773 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37774 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37776 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37777 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37778 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37779 (__ceilf): Removed.
37780 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37781 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37782 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37783 (__floor): Removed.
37784 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37785 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37786 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37787 (__floorf): Removed.
37788 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37789 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37790 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37791 (__nearbyint): Removed.
37792 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37793 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37794 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37795 (__nearbyintf): Removed.
37796 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37797 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37798 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37800 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37801 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37802 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37803 (__rintf): Removed.
37805 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37807 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37808 SHARED. Avoid dynamic relocation against main in static PIE.
37810 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37813 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37814 (LDFLAGS-tst-prelink): Likewise.
37816 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37818 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37819 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37820 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37821 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37822 (INTERNAL_SYSCALL_NCS): Likewise.
37823 (LOADARGS_1): Likewise.
37824 (LOADARGS_5): Likewise.
37825 (RESTOREARGS_1): Likewise.
37826 (RESTOREARGS_5): Likewise.
37828 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37830 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37831 (MEMPCPY_SYMBOL): Likewise.
37832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37833 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37836 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37837 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37839 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37840 (__hidden_ver1): Don't use in libc.a.
37841 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37842 (__mempcpy): Don't create a weak alias in libc.a.
37843 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37845 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37846 (__hidden_ver1): Don't use in libc.a.
37848 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37850 * config.make.in (have-insert): New.
37851 * configure.ac (libc_cv_insert): New. Set to yes if linker
37852 supports INSERT in linker script.
37853 (AC_SUBST(libc_cv_insert): New.
37854 * configure: Regenerated.
37855 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37856 if $(have-insert) == yes.
37858 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37860 * elf/Makefile (tests): Add vismain only if
37861 $(have-protected-data) == yes.
37862 (tests-pie): Likewise.
37864 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37867 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37868 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37870 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37873 * sysdeps/i386/i586/memset.S
37874 (__memset_zero_constant_len_parameter): Removed.
37875 * sysdeps/i386/i686/memset.S
37876 (__memset_zero_constant_len_parameter): Likewise.
37877 * sysdeps/i386/i686/multiarch/memset_chk.S
37878 (__memset_zero_constant_len_parameter): Likewise.
37879 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37882 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37884 * stdlib/getentropy.c (getentropy): Change return type to int.
37886 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37888 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37890 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37892 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37894 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37895 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37897 (ieee_float_shape_type): Likewise.
37898 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37899 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37900 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37901 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37902 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37903 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37904 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37905 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37906 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37908 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37909 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37910 (__ieee754_yn): Likewise.
37911 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37912 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37913 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37915 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37916 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37917 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37918 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37919 (__erfc): Likewise.
37920 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37921 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37922 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37923 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37924 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37925 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37927 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37928 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37929 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37930 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37931 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37932 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37933 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37934 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37935 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37936 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37937 (__issignaling): Likewise.
37938 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37939 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37940 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37942 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37943 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37944 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37945 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37947 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37949 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37950 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37951 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37952 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37953 (__erfcf): Likewise.
37954 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37955 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37956 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37957 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37959 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37960 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37962 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37963 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37964 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37965 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37966 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37967 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37968 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37969 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37971 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37973 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37975 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37976 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37978 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37980 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
37981 (__ieee754_ynl): Likewise.
37982 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
37983 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
37985 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
37987 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
37988 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
37989 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37991 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
37992 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
37993 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
37994 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
37995 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
37996 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
37997 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
37998 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38000 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38001 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38002 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38004 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38005 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38006 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38007 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38008 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38011 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38013 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38015 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38017 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38018 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38019 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38020 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38021 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38022 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38023 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38025 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38028 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38030 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38031 (__ieee754_remainderl): Likewise.
38032 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38033 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38034 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38035 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38037 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38040 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38041 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38042 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38043 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38044 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38047 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38048 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38049 (__ieee754_y0l): Likewise.
38052 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38053 (__ieee754_y1l): Likewise.
38056 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38057 (__ieee754_ynl): Likewise.
38058 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38059 (__ieee754_lgammal_r): Likewise.
38060 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38062 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38063 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38064 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38065 (__erfcl): Likewise.
38066 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38067 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38069 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38070 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38071 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38072 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38073 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38077 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38078 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38079 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38080 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38081 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38083 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38084 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38086 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38087 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38088 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38089 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38090 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38092 2017-08-03 Florian Weimer <fweimer@redhat.com>
38095 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38096 on memory allocation failure.
38098 2017-08-03 Alan Modra <amodra@gmail.com>
38100 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38101 tst-tlsopt-powerpc.c with function name change and no test harness.
38102 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38103 Call tls_get_addr_opt_test.
38104 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38105 (modules-names): Add mod-tlsopt-powerpc.
38106 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38107 (tst-tlsopt-powerpc): Depend on .so.
38108 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38109 define. Expand use in TLS_GD and TLS_LD.
38111 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38113 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38115 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38117 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38120 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38121 comparing size with that of double.
38122 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38123 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38124 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38125 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38126 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38127 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38128 unsigned __int128 types.
38130 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38132 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38133 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38134 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38135 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38136 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38138 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38140 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38142 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38146 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38147 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38148 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38149 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38150 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38154 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38157 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38158 bit-field expressions passed to sizeof or typeof.
38159 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38160 (__TGMATH_F128): Likewise.
38161 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38162 (__TGMATH_CF128): Likewise.
38163 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38164 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38165 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38166 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38167 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38168 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38169 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38170 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38171 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38172 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38173 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38174 (__TGMATH_UNARY_IMAG): Likewise.
38175 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38176 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38177 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38179 (define_vars_for_type): Handle bit_field type specially.
38180 (Tests.__init__): Declare structure with bit-field element.
38182 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38185 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38186 (MEMCPY_CHK): Define only if SHARED is defined.
38187 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38189 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38192 See ChangeLog.18 for earlier changes.