1 2019-09-03 Florian Weimer <fweimer@redhat.com>
4 * locale/programs/charmap.h (struct charseq): Turn bytes into a
6 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
9 2019-09-02 Florian Weimer <fweimer@redhat.com>
11 * misc/tst-mntent-autofs.c: New file.
12 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
14 2019-09-02 Ian Kent <ikent@redhat.com>
16 Use autofs "ignore" mount hint in getmntent_r/getmntent.
17 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
19 (__getmntent_r): Call it. Filter out autofs entries with an
20 "ignore" mount option.
22 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
24 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
25 (generic_memcpy): Include generic C memcpy.
26 * benchtests/bench-memmove.c (simple_memmove): Remove.
27 (generic_memmove): Include generic C memmove.
28 * benchtests/bench-memset.c (simple_memset): Remove.
29 (generic_memset): Include generic C memset.
30 * benchtests/bench-memset-large.c (simple_memset): Remove.
31 (generic_memset): Include generic C memset.
32 * benchtests/bench-memset-walk.c (simple_memset): Remove.
33 (generic_memset): Include generic C memset.
34 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
35 * string/memset.c (MEMSET): Likewise.
36 * sysdeps/x86_64/memcopy.h: Remove empty file.
38 2019-08-30 Florian Weimer <fweimer@redhat.com>
40 nptl: Move pthread_attr_getinheritsched implementation into libc.
41 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
42 (libpthread-routines): Remove pthread_attr_getinheritsched.
43 * nptl/Versions (libpthread GLIBC_2.0): Remove
44 pthread_attr_getinheritsched.
45 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
46 * nptl/nptl-init.c (pthread_functions): Remove initializer for
47 ptr_pthread_attr_getinheritsched.
48 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
49 Remove ptr_pthread_attr_getinheritsched member.
50 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
51 Remove pthread_attr_getinheritsched.
52 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
54 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
56 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
58 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
60 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
62 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
64 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
66 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
67 (GLIBC_2.4): Likewise.
68 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
69 (GLIBC_2.0): Likewise.
70 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
71 (GLIBC_2.18): Likewise.
72 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
73 (GLIBC_2.18): Likewise.
74 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
75 (GLIBC_2.0): Likewise.
76 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
77 (GLIBC_2.0): Likewise.
78 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
80 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
81 (GLIBC_2.0): Likewise.
82 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
83 (GLIBC_2.3): Likewise.
84 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
85 (GLIBC_2.17): Likewise.
86 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
87 (GLIBC_2.27): Likewise.
88 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
89 (GLIBC_2.0): Likewise.
90 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
91 (GLIBC_2.2): Likewise.
92 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
94 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
96 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
97 (GLIBC_2.0): Likewise.
98 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
99 (GLIBC_2.2): Likewise.
100 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
101 (GLIBC_2.2.5): Likewise.
102 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
103 (GLIBC_2.16): Likewise.
105 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
107 * sysdeps/mach/hurd/getcwd.c
108 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
109 slash if we got an unknown root directory. (__getcwd): Do not fail with
110 EGRATUITOUS if we got an unknown root directory.
111 * hurd/hurdselect.c (SELECT_ERROR): New macro.
113 - Add `error' field to `d' structures array.
114 - If a poll descriptor is bogus, set EBADF, but continue with a zero
116 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
117 EBADF there is any bit set above _hurd_dtablesize.
118 - Do not request io_select on bogus descriptors (SELECT_ERROR).
119 - On io_select request error, record the error.
120 - On io_select bogus reply, use EIO error code.
121 - On io_select bogus or error reply, record the error.
122 - Do not destroy reply port for bogus FDs.
123 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
124 EBADF case, or else POLLERR.
125 - On error, make select simulated readiness.
128 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
131 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
132 unlocks SS and returns to the saved PC.
133 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
134 thread stack instead of the saved PC.
136 2019-08-30 Richard Braun <rbraun@sceen.net>
138 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
140 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
141 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
142 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
144 (_hurd_select): Replace the call to __io_select with either
145 __io_select_request or __io_select_timeout_request, depending on the
146 timeout. Count the number of ready descriptors (replies for which at
147 least one type bit is set). Implement the timeout locally when there is
150 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
152 * elf/dl-addr.c (determine_info): Calculate the symbol index
153 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
154 * elf/dl-lookup.c (do_lookup_x): Ditto.
155 (_dl_setup_hash): Initialize MIPS xhash translation table.
156 * elf/elf.h (SHT_MIPS_XHASH): New define.
157 (DT_MIPS_XHASH): New define.
158 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
160 (ELF_MACHINE_HASH_SYMIDX): Ditto.
161 (ELF_MACHINE_XHASH_SETUP): Ditto.
162 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
164 (ELF_MACHINE_HASH_SYMIDX): Ditto.
165 (ELF_MACHINE_XHASH_SETUP): Ditto.
166 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
167 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
169 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
171 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
173 * sysdeps/sh/preconfigure.ac: New file.
174 * sysdeps/sh/preconfigure: Regenerate.
175 * sysdeps/sh/be/sh3/Implies: New file.
176 * sysdeps/sh/be/sh4/Implies: Likewise.
177 * sysdeps/sh/le/sh3/Implies: Likewise.
178 * sysdeps/sh/le/sh4/Implies: Likewise.
179 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
180 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
181 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
182 sysdeps/unix/sysv/linux/sh/le/*.abilist.
183 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
185 * sysdeps/microblaze/preconfigure.ac: New file.
186 * sysdeps/microblaze/preconfigure: Regenerate.
187 * sysdeps/microblaze/be/implies: New file.
188 * sysdeps/microblaze/le/implies: Likewise.
189 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
190 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
191 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
192 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
193 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
195 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
196 * sysdeps/arm/preconfigure: Regenerate.
197 * sysdeps/arm/be/Implies: New file.
198 * sysdeps/arm/be/armv6/Implies: Likewise.
199 * sysdeps/arm/be/armv6t2/Implies: Likewise.
200 * sysdeps/arm/be/armv7/Implies: Likewise.
201 * sysdeps/arm/le/Implies: Likewise.
202 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
203 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
204 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
205 sysdeps/unix/sysv/linux/arm/le/*.abilist.
206 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
208 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
210 Fix posix/tst-regex by using UTF-8 and own test input
211 Problem reported by Stefan Liebler in:
212 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
213 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
214 (do_test, test_expr): Adjust to the fact that this source file,
215 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
216 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
217 so that it is now UTF-8.
219 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
221 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
222 (fegetenv_status): Generate 'mffsl' unconditionally.
224 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
226 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
228 (_FPU_MASK_ALL): Delete.
230 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
232 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
233 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
235 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
236 with simpler required steps, set fewer FPSCR bits if possible.
238 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
240 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
241 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
242 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
243 weight access to FPSCR; remove unnecessary second FPSCR read and
245 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
246 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
247 access to FPSCR; Use macros in fenv_libc.h in favor of local.
249 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
251 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
252 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
253 (fenv_exceptions_to_reg): New.
254 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
255 operation with call to fenv_exceptions_to_reg().
256 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
258 2019-08-28 Florian Weimer <fweimer@redhat.com>
260 * misc/mntent.c (struct mntent_buffer): Define.
261 (mntent_buffer): Adjust type to void *.
262 (allocate): Adjust for allocate_once.
263 (deallocate): New function.
264 (getmntent): Call allocate_once.
266 2019-08-28 Florian Weimer <fweimer@redhat.com>
268 nptl: Move pthread_attr_setdetachstate implementation into libc.
269 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
270 (libpthread-routines): Remove pthread_attr_setdetachstate.
271 * nptl/Versions (libpthread GLIBC_2.0): Remove
272 pthread_attr_setdetachstate.
273 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
274 * nptl/nptl-init.c (pthread_functions): Remove initializer for
275 ptr_pthread_attr_setdetachstate.
276 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
277 Remove ptr_pthread_attr_setdetachstate member.
278 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
279 Remove pthread_attr_setdetachstate.
280 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
282 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
284 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
286 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
288 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
290 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
292 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
293 (GLIBC_2.4): Likewise.
294 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
295 (GLIBC_2.0): Likewise.
296 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
297 (GLIBC_2.18): Likewise.
298 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
299 (GLIBC_2.0): Likewise.
300 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
301 (GLIBC_2.0): Likewise.
302 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
305 (GLIBC_2.0): Likewise.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
307 (GLIBC_2.3): Likewise.
308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
309 (GLIBC_2.17): Likewise.
310 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
311 (GLIBC_2.27): Likewise.
312 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
313 (GLIBC_2.0): Likewise.
314 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
315 (GLIBC_2.2): Likewise.
316 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
318 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
319 (GLIBC_2.0): Likewise.
320 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
321 (GLIBC_2.2): Likewise.
322 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
323 (GLIBC_2.2.5): Likewise.
324 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
325 (GLIBC_2.16): Likewise.
327 2019-08-28 Florian Weimer <fweimer@redhat.com>
330 * login/Makefile (tests): Add tst-pututxline-lockfail.
331 (tst-pututxline-lockfail): Link with -lpthread.
332 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
333 (__libc_getutid_r): Adjust.
334 (__libc_pututline): Likewise. Check for file_offset == -1.
335 * login/tst-pututxline-lockfail.c: New file.
337 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
339 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
340 * posix/tst-regex.input: New file.
342 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
345 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
347 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
348 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
349 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
350 * sysdeps/mips/tst-undefined-weak.c: Likewise.
351 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
352 Increment highest valid ABIVERSION value.
354 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
356 * sysdeps/unix/sysv/linux/mips/Makefile
357 (test-xfail-check-execstack):
358 Move under mips-has-gnustack != yes.
359 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
360 Apply -Wa,-execstack if mips-force-execstack == yes.
361 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
362 * sysdeps/unix/sysv/linux/mips/configure.ac
363 (mips-force-execstack): New var.
364 Set to yes for hard-float builds with minimum_kernel < 4.8.0
365 or minimum_kernel not set at all.
366 (mips-has-gnustack): New var.
367 Use value of libc_cv_as_noexecstack
368 if mips-force-execstack != yes, otherwise set to no.
370 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
371 Florian Weimer <fweimer@redhat.com>
373 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
374 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
375 Make a compat_symbol.
376 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
377 (__profil_counter_global): Likewise.
379 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
380 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
382 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
383 sigcontext_get_pc and return aligned cast to uintptr_t.
384 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
385 * sysdeps/posix/profil.c (profil_count): Change PC argument to
387 (__profil): Use SA_SIGINFO.
388 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
390 (__sprofil): Use SA_SIGINFO.
391 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
392 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
393 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
394 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
395 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
396 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
397 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
398 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
399 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
400 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
401 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
402 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
403 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
404 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
405 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
406 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
407 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
408 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
409 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
410 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
411 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
412 GET_PC, __sigaction, sigaction): Remove defines.
413 (sigcontext_get_pc): New function.
414 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
415 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
416 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
417 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
418 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
419 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
420 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
421 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
422 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
423 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
424 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
426 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
427 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
428 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
429 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
430 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
431 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
432 Handle CTX argument as ucontext_t.
433 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
435 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
436 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
437 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
438 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
439 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
440 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
441 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
442 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
443 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
444 tst-sigcontextinfo-get_pc.
445 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
446 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
448 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
450 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
453 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
456 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
457 * localedata/locales/ug_CN (first_weekday): Likewise.
458 * localedata/locales/zh_CN (first_weekday): Likewise.
460 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
462 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
463 field name in mcontext_t struct.
465 2019-08-22 Joseph Myers <joseph@codesourcery.com>
467 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
468 unsupported with libidn2 before 2.0.5.
469 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
471 * manual/time.texi (strftime): Document %Ob and %OB as C2X
474 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
476 Remove dead regex code
477 * posix/regex_internal.c (re_node_set_insert):
478 Remove unnecessary assignment. Reported by Tim Rühsen in:
479 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
481 Fix bad pointer / leak in regex code
482 This was found by Coverity (CID 1484201). [BZ#24844]
483 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
484 pointer and/or memory leak when storage is exhausted.
486 2019-08-21 Zack Weinberg <zackw@panix.com>
488 * misc/syslog.c (__vsyslog_internal)
489 * time/getdate.c (__getdate_r)
490 * time/tst_wcsftime.c (main):
491 Use return value of time, not its argument.
493 * string/strfry.c (strfry)
494 * sysdeps/mach/sleep.c (__sleep):
495 Remove unnecessary casts of NULL in calls to time.
497 2019-08-21 Joseph Myers <joseph@codesourcery.com>
499 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
500 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
501 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
502 (__TGMATH_2_NARROW_F): Likewise.
503 (__TGMATH_2_NARROW_D): New macro.
504 (__TGMATH_2_NARROW_F16): Likewise.
505 (__TGMATH_2_NARROW_F32): Likewise.
506 (__TGMATH_2_NARROW_F64): Likewise.
507 (__TGMATH_2_NARROW_F32X): Likewise.
508 (__TGMATH_2_NARROW_F64X): Likewise.
509 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
510 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
511 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
512 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
513 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
514 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
515 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
516 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
517 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
518 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
519 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
520 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
521 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
522 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
524 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
526 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
528 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
530 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
532 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
534 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
536 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
538 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
539 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
540 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
541 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
542 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
543 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
544 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
545 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
546 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
548 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
550 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
552 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
554 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
555 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
556 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
557 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
558 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
559 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
560 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
561 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
562 * math/gen-tgmath-tests.py (Type): Add members
563 non_standard_real_argument_types_list, long_double_type,
564 complex_float64_type and float32x_ext_type.
565 (Type.__init__): Set the new members.
566 (Type.floating_type): Add new argument floatn.
567 (Type.real_floating_type): Likewise.
568 (Type.can_combine_types): Likewise.
569 (Type.combine_types): Likewise.
570 (Type.init_types): Create internal Float32x_ext type.
571 (Tests.__init__): Define Float32x_ext in generated C code.
572 (Tests.add_tests): Handle narrowing functions.
573 (Tests.add_all_tests): Likewise.
574 (Tests.tests_text): Allow variation in mant_dig for narrowing
575 functions with compilers before GCC 8.
576 * math/Makefile (tgmath3-narrow-types): New variable.
577 (tgmath3-narrow-macros): Likewise.
578 (tgmath3-macros): Add $(tgmath3-narrow-macros).
580 2019-08-20 Andreas Schwab <schwab@suse.de>
582 * sysdeps/i386/fpu/libm-test-ulps: Update.
584 2019-08-19 Carlos O'Donell <carlos@redhat.com>
586 * nscd/nscd.conf: Add warning and comment about shared option.
588 2019-08-19 Carlos O'Donell <carlos@redhat.com>
590 * nss/nsswitch.conf: Expand comments, and simplify defaults.
591 * manual/nss.texi (NSS Basics): List all known databases.
592 (Services in the NSS configuration): Mention automount.
594 2019-08-19 Florian Weimer <fweimer@redhat.com>
596 Do not print backtraces on fatal errors.
597 * debug/fortify_fail.c (__libc_argv): Remove declaration.
598 (__fortify_fail_abort): Remove definition.
599 (__fortify_fail): Call __libc_message directly.
600 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
601 (__stack_chk_fail): Call __fortify_fail instead of
602 __fortify_fail_abort.
603 * include/stdio.h (__fortify_fail_abort): Remove declaration.
604 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
606 (__libc_message): Do not handle do_backtrace. Do not call
608 (__libc_fatal): Do not pass do_backtrace to __libc_message.
609 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
610 (before_abort): Remove definitions.
612 2019-08-16 Florian Weimer <fweimer@redhat.com>
614 nptl: Move pthread_attr_getdetachstate implementation into libc.
615 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
616 (libpthread-routines): Remove pthread_attr_getdetachstate.
617 * nptl/Versions (libpthread GLIBC_2.0): Remove
618 pthread_attr_getdetachstate.
619 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
620 * nptl/nptl-init.c (pthread_functions): Remove initializer for
621 ptr_pthread_attr_getdetachstate.
622 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
623 Remove ptr_pthread_attr_getdetachstate member.
624 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
625 Remove pthread_attr_getdetachstate.
626 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
628 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
630 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
632 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
634 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
636 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
638 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
639 (GLIBC_2.4): Likewise.
640 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
641 (GLIBC_2.0): Likewise.
642 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
643 (GLIBC_2.18): Likewise.
644 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
645 (GLIBC_2.0): Likewise.
646 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
647 (GLIBC_2.0): Likewise.
648 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
651 (GLIBC_2.0): Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
653 (GLIBC_2.3): Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
655 (GLIBC_2.17): Likewise.
656 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
657 (GLIBC_2.27): Likewise.
658 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
659 (GLIBC_2.0): Likewise.
660 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
661 (GLIBC_2.2): Likewise.
662 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
664 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
665 (GLIBC_2.0): Likewise.
666 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
667 (GLIBC_2.2): Likewise.
668 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
669 (GLIBC_2.2.5): Likewise.
670 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
671 (GLIBC_2.16): Likewise.
673 2019-08-16 Joseph Myers <joseph@codesourcery.com>
675 * math/libm-test-compat_totalorder.inc (do_test)
676 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
677 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
678 * math/libm-test-compat_totalordermag.inc (do_test)
679 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
681 2019-08-15 Florian Weimer <fweimer@redhat.com>
683 nptl: Move pthread_attr_init implementation into libc.
684 * nptl/Makefile (routines): Add pthread_attr_init.
685 (libpthread-routines): Remove pthread_attr_init.
686 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
687 (libpthread GLIBC_2.0): Likewise.
688 * nptl/pthread_attr_init.c: Check for libc compat version instead
689 of libpthread compat version.
690 * nptl/forward.c (__pthread_attr_init_2_0)
691 (__pthread_attr_init_2_1): Remove definitions.
692 * nptl/nptl-init.c (pthread_functions): Remove initializers for
693 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
694 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
695 Remove members ptr___pthread_attr_init_2_0,
696 ptr___pthread_attr_init_2_1.
697 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
698 Remove pthread_attr_init.
699 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
701 (GLIBC_2.1): Likewise.
702 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
704 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
706 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
708 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
710 (GLIBC_2.1): Likewise.
711 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
713 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
714 (GLIBC_2.4): Likewise.
715 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
716 (GLIBC_2.0): Likewise.
717 (GLIBC_2.1): Likewise.
718 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
719 (GLIBC_2.18): Likewise.
720 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
721 (GLIBC_2.0): Likewise.
722 (GLIBC_2.1): Likewise.
723 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
724 (GLIBC_2.0): Likewise.
725 (GLIBC_2.1): Likewise.
726 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
729 (GLIBC_2.0): Likewise.
730 (GLIBC_2.1): Likewise.
731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
732 (GLIBC_2.3): Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
734 (GLIBC_2.17): Likewise.
735 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
736 (GLIBC_2.27): Likewise.
737 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
738 (GLIBC_2.0): Likewise.
739 (GLIBC_2.1): Likewise.
740 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
741 (GLIBC_2.2): Likewise.
742 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
744 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
745 (GLIBC_2.0): Likewise.
746 (GLIBC_2.1): Likewise.
747 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
748 (GLIBC_2.2): Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
750 (GLIBC_2.2.5): Likewise.
751 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
752 (GLIBC_2.16): Likewise.
754 2019-08-15 Florian Weimer <fweimer@redhat.com>
757 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
758 new object in __RTLD_OPENEXEC mode (except for the origin).
759 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
760 check for the error message.
761 (do_test): Call it. Add check using relative path.
762 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
763 (tst-dlopen-aout-container): Link with libpthread.
764 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
766 2019-08-15 Joseph Myers <joseph@codesourcery.com>
768 * math/bits/mathcalls.h
769 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
770 (totalorder): Take pointer arguments.
771 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
772 (totalordermag): Likewise.
773 * manual/arith.texi (totalorder): Likewise.
774 (totalorderf): Likewise.
775 (totalorderl): Likewise.
776 (totalorderfN): Likewise.
777 (totalorderfNx): Likewise.
778 (totalordermag): Likewise.
779 (totalordermagf): Likewise.
780 (totalordermagl): Likewise.
781 (totalordermagfN): Likewise.
782 (totalordermagfNx): Likewise.
783 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
784 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
785 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
786 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
787 totalorderl, totalordermag, totalordermagf, totalordermagl,
788 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
789 totalordermagf64, totalordermagf32x, totalorderf64x,
790 totalordermagf64x, totalorderf128 and totalordermagf128.
791 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
792 and compat_totalordermag.
793 (libm-test-funcs-compat): New variable.
794 (libm-tests-compat): Likewise.
795 (tests): Do not include compat tests.
796 (tests-internal): Add compat tests.
797 ($(foreach t,$(libm-tests-base),
798 $(objpfx)$(t)-compat_totalorder.o)): Depend
799 on $(objpfx)libm-test-totalorder.c.
800 ($(foreach t,$(libm-tests-base),
801 $(objpfx)$(t)-compat_totalordermag.o): Depend on
802 $(objpfx)libm-test-totalordermag.c.
803 (tgmath3-macros): Remove totalorder and totalordermag.
804 * math/libm-test-compat_totalorder.inc: New file.
805 * math/libm-test-compat_totalordermag.inc: Likewise.
806 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
807 (RUN_TEST_fpfp_b): New macro.
808 (RUN_TEST_LOOP_fpfp_b): Likewise.
809 * math/libm-test-totalorder.inc (totalorder_test_data): Use
811 (totalorder_test): Condition on [!COMPAT_TEST].
813 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
815 (totalordermag_test): Condition on [!COMPAT_TEST].
817 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
818 totalorder and totalordermag.
819 * math/test-tgmath.c (NCALLS): Change to 132.
820 (F(compile_test)): Do not call totalorder or totalordermag.
821 (F(totalorder)): Remove.
822 (F(totalordermag)): Likewise.
823 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
824 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
825 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
827 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
828 [!_ISOMAC] (TEST_SIZE): Update call to STR.
829 [!_ISOMAC] (TEST_ALIGN): Likewise.
830 [!_ISOMAC] (TEST_OFFSET): Likewise.
831 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
832 and <first-versions.h>.
833 (__totalorder): Take pointer arguments. Add symbol versions and
835 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
836 <shlib-compat.h> and <first-versions.h>.
837 (__totalordermag): Take pointer arguments. Add symbol versions
839 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
840 <shlib-compat.h> and <first-versions.h>.
841 (__totalorder): Take pointer arguments. Add symbol versions and
843 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
844 <shlib-compat.h> and <first-versions.h>.
845 (__totalordermag): Take pointer arguments. Add symbol versions
847 * sysdeps/ieee754/float128/float128_private.h
848 (__totalorder_compatl): New macro.
849 (__totalordermag_compatl): Likewise.
850 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
851 and <first-versions.h>.
852 (__totalorderf): Take pointer arguments. Add symbol versions and
854 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
855 <shlib-compat.h> and <first-versions.h>.
856 (__totalordermagf): Take pointer arguments. Add symbol versions
858 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
859 <shlib-compat.h> and <first-versions.h>.
860 (__totalorderl): Take pointer arguments. Add symbol versions and
862 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
863 <shlib-compat.h> and <first-versions.h>.
864 (__totalordermagl): Take pointer arguments. Add symbol versions
866 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
868 (__totalorderl): Take pointer arguments. Add symbol versions and
870 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
872 (__totalordermagl): Take pointer arguments. Add symbol versions
874 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
875 <shlib-compat.h> and <first-versions.h>.
876 (__totalorderl): Take pointer arguments. Add symbol versions and
878 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
879 <shlib-compat.h> and <first-versions.h>.
880 (__totalordermagl): Take pointer arguments. Add symbol versions
882 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
884 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
886 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
887 (do_test): Update calls to totalorderl and totalordermagl.
888 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
889 Update calls to totalorderl and totalordermagl.
890 * sysdeps/mach/hurd/i386/libm.abilist: Update.
891 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
892 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
893 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
894 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
895 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
896 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
897 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
898 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
899 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
900 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
901 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
902 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
903 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
912 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
913 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
914 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
915 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
916 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
917 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
918 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
919 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
921 2019-08-15 Florian Weimer <fweimer@redhat.com>
924 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
925 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
926 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
928 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
929 __attribute_nonstring__ to ut_id.
930 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
933 2019-08-15 Florian Weimer <fweimer@redhat.com>
936 * login/utmp_file.c (file_locking_failed): Use struct flock64.
937 (file_locking_unlock): Likewise.
939 2019-08-15 Florian Weimer <fweimer@redhat.com>
942 login: Disarm timer after utmp lock acquisition.
943 * login/utmp_file.c (struct file_locking): Remove.
944 (try_file_lock): Adjust.
945 (file_lock_restore): Remove function.
946 (__libc_getutent_r): .
947 (internal_getut_r): Likewise.
948 (__libc_getutline_r): Likewise.
949 (__libc_pututline): Likewise.
950 (__libc_updwtmp): Likewise.
952 2019-08-15 Florian Weimer <fweimer@redhat.com>
954 nptl: Remove pthread_self compatibility symbol from libpthread.
955 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
957 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
958 * nptl/compat-pthread_self.c: Remove file.
959 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
961 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
963 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
965 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
967 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
969 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
971 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
972 (GLIBC_2.4): Likewise.
973 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
974 (GLIBC_2.0): Likewise.
975 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
976 (GLIBC_2.18): Likewise.
977 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
978 (GLIBC_2.0): Likewise.
979 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
980 (GLIBC_2.0): Likewise.
981 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
984 (GLIBC_2.0): Likewise.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
986 (GLIBC_2.3): Likewise.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
988 (GLIBC_2.17): Likewise.
989 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
990 (GLIBC_2.0): Likewise.
991 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
992 (GLIBC_2.2): Likewise.
993 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
995 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
996 (GLIBC_2.0): Likewise.
997 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
998 (GLIBC_2.2): Likewise.
999 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1000 (GLIBC_2.2.5): Likewise.
1001 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1002 (GLIBC_2.16): Likewise.
1004 2019-08-15 Florian Weimer <fweimer@redhat.com>
1006 nptl: Move pthread_attr_destroy implementation into libc.
1007 * nptl/Makefile (routines): Add pthread_attr_destroy.
1008 (libpthread-routines): Remove pthread_attr_destroy.
1009 * nptl/Versions (libpthread GLIBC_2.0): Remove
1010 pthread_attr_destroy.
1011 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1012 libc compat version instead of libpthread compat version.
1013 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1014 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1015 ptr_pthread_attr_destroy.
1016 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1017 Remove ptr_pthread_attr_destroy member.
1018 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1019 Remove pthread_attr_destroy.
1020 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1022 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1024 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1026 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1028 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1030 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1032 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1033 (GLIBC_2.4): Likewise.
1034 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1035 (GLIBC_2.0): Likewise.
1036 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1037 (GLIBC_2.18): Likewise.
1038 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1039 (GLIBC_2.0): Likewise.
1040 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1041 (GLIBC_2.0): Likewise.
1042 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1045 (GLIBC_2.0): Likewise.
1046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1047 (GLIBC_2.3): Likewise.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1049 (GLIBC_2.17): Likewise.
1050 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1051 (GLIBC_2.27): Likewise.
1052 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1053 (GLIBC_2.0): Likewise.
1054 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1055 (GLIBC_2.2): Likewise.
1056 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1059 (GLIBC_2.0): Likewise.
1060 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1061 (GLIBC_2.2): Likewise.
1062 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1063 (GLIBC_2.2.5): Likewise.
1064 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1065 (GLIBC_2.16): Likewise.
1067 2019-08-15 Andreas Schwab <schwab@suse.de>
1069 * sysdeps/i386/fpu/libm-test-ulps: Update.
1071 2019-08-15 Florian Weimer <fweimer@redhat.com>
1073 * malloc/Makefile (tests): Only add tst-mxfast for
1075 * malloc/tst-mxfast.c: Fix copyright year.
1076 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1079 2019-08-15 Florian Weimer <fweimer@redhat.com>
1081 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1083 * login/Makefile (tests): Add tst-updwtmpx.
1084 * login/tst-updwtmpx.c: New file.
1086 2019-08-15 Florian Weimer <fweimer@redhat.com>
1088 nptl: Move pthread_equal implementation into libc.
1089 * nptl/Makefile (routines): Add pthread_equal.
1090 * nptl/forward.c (pthread_equal): Remove definition.
1091 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1093 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1094 Remove ptr_pthread_equal member.
1095 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1096 Remove pthread_equal.
1097 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1099 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1101 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1103 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1105 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1107 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1109 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1110 (GLIBC_2.4): Likewise.
1111 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1112 (GLIBC_2.0): Likewise.
1113 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1114 (GLIBC_2.18): Likewise.
1115 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1116 (GLIBC_2.0): Likewise.
1117 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1118 (GLIBC_2.0): Likewise.
1119 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1122 (GLIBC_2.0): Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1124 (GLIBC_2.3): Likewise.
1125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1126 (GLIBC_2.17): Likewise.
1127 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1128 (GLIBC_2.27): Likewise.
1129 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1130 (GLIBC_2.0): Likewise.
1131 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1132 (GLIBC_2.2): Likewise.
1133 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1135 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1136 (GLIBC_2.0): Likewise.
1137 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1138 (GLIBC_2.2): Likewise.
1139 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1140 (GLIBC_2.2.5): Likewise.
1141 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1142 (GLIBC_2.16): Likewise.
1144 2019-08-14 Florian Weimer <fweimer@redhat.com>
1146 * support/support_descriptors.c: Include <support/descriptors.h>.
1148 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1150 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1151 Disable DC ZVA code if this macro is defined as zero.
1152 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1153 Change to zero to disable using DC ZVA.
1155 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1157 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1159 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1160 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1161 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1162 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1165 2019-08-13 Florian Weimer <fweimer@redhat.com>
1167 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1169 (struct file_locking): New.
1170 (try_file_lock, file_unlock, file_lock_restore): New functions.
1171 (__libc_getutent_r): Use the new functions.
1172 (internal_getut_r): Likewise.
1173 (__libc_getutline_r): Likewise.
1174 (__libc_pututline): Likewise.
1175 (__libc_updwtmp): Likewise.
1177 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1179 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1181 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1182 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1183 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1184 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1185 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1186 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1187 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1189 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1190 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1191 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1193 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1195 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1197 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1199 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1201 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1203 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1205 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1206 (IEC_60559_BFP_EXT)]: Likewise.
1207 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1209 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1211 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1213 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1215 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1217 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1219 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1221 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1223 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1224 Likewise, except for totalorder, totalordermag, getpayload,
1225 setpayload and setpayloadsig.
1226 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1227 except for totalorder and totalordermag.
1229 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1231 (strndup): Likewise.
1233 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1234 Undefine and define to 1 if [_GNU_SOURCE].
1235 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1236 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1237 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1238 (__USE_ISOC99): Likewise.
1239 (__USE_ISOC95): Likewise.
1240 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1242 2019-08-13 Florian Weimer <fweimer@redhat.com>
1244 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1246 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1247 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1248 * login/getutmpx.c (getutmpx): Likewise.
1249 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1251 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1252 _HAVE_UT_TV are always true.
1253 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1254 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1255 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1256 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1258 (internal_getut_r): _HAVE_UT_TYPE is always true.
1259 (__libc_pututline): Likewise.
1260 * login/programs/utmpdump.c (print_entry): Assume that
1261 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1262 _HAVE_UT_TV are always true.
1263 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1264 _HAVE_UT_ID are always true.
1265 * sysdeps/gnu/bits/utmp.h: Move to ...
1266 * bits/utmp.h: ... here, replacing the old file.
1268 2019-08-12 Florian Weimer <fweimer@redhat.com>
1270 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1271 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1273 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1274 (do_test): Open the executable using an absolute path. Print
1275 error message to standard output.
1277 2019-08-09 DJ Delorie <dj@redhat.com>
1279 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1280 * manual/tunables.texi: Document it.
1281 * malloc/malloc.c (do_set_mxfast): New.
1282 (__libc_mallopt): Call it.
1283 * malloc/arena.c: Add mxfast tunable.
1284 * malloc/tst-mxfast.c: New.
1285 * malloc/Makefile: Add it.
1287 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1288 Carlos O'Donell <carlos@redhat.com>
1291 * malloc/malloc.c (__malloc_info): Account for top chunk.
1293 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1295 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1296 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1298 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1300 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1302 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1304 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1306 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1308 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1311 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1314 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1316 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1318 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1320 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1322 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1323 (ALWAYS_USE_VSYSCALL): Likewise.
1324 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1325 (ALWAYS_USE_VSYSCALL): Likewise.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1327 (ALWAYS_USE_VSYSCALL): Likewise.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1329 (ALWAYS_USE_VSYSCALL): Likewise.
1330 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1332 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1333 (ALWAYS_USE_VSYSCALL): Likewise.
1334 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1335 (ALWAYS_USE_VSYSCALL): Likewise.
1336 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1340 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1341 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1342 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1343 USE_VSYSCALL): Remove defitions.
1346 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1347 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1348 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1352 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1353 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1354 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1355 (ALWAYS_USE_VSYSCALL): Define.
1356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1357 (ALWAYS_USE_VSYSCALL): Likewise.
1360 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1361 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1362 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1365 * sysdeps/sh/libm-test-ulps: Update.
1367 2019-08-05 Florian Weimer <fweimer@redhat.com>
1370 * login/uptmp-private.h (struct ufuncs): Remove definition.
1371 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1372 (__libc_utmp_jump_table): Remove declarations.
1373 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1374 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1375 (__libc_updwtmp): Declare.
1376 * login/getutent_r.c (__libc_utmp_unknown_functions)
1377 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1378 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1379 (endutent_unknown): Remove definitions.
1380 (__setutent): Call __libc_setutent.
1381 (__getutent_r): Call __libc_getutent_r.
1382 (__pututline): Call __libc_pututline.
1383 (__endutent): Call __libc_endutent.
1384 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1385 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1386 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1387 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1388 (__libc_setutent): Rename from stetutent_file. Drop static.
1389 (maybe_setutent): New function.
1390 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1391 Check for initialization.
1392 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1393 Check for initialization.
1394 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1395 Check for initialization.
1396 (__libc_pututline): Rename from pututline_file. Drop static.
1397 Check for initialization.
1398 (__libc_endutent): Rename from endutent_file. Drop static. Check
1400 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1401 * login/utmpname.c (__utmpname): Call __libc_endutent.
1402 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1403 __libc_getutlien_r, __libc_endutent.
1404 * manual/users.texi (Who Logged In, Manipulating the Database):
1407 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1409 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1411 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1413 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1415 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1416 kernel version number to 5.2.
1418 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1420 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1421 mnemonics and set .machine power8.
1422 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1423 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1424 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1425 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1426 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1428 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1429 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1430 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1431 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1433 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1435 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1437 2019-08-01 Florian Weimer <fweimer@redhat.com>
1440 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1443 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1446 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1449 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1451 * version.h (RELEASE): Set to "stable".
1452 (VERSION): Set to "2.30".
1453 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1455 * manual/install.texi: Update component versions.
1456 * INSTALL: Regenerate.
1459 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1461 * po/be.po: Update translations.
1462 * po/bg.po: Likewise.
1463 * po/ca.po: Likewise.
1464 * po/cs.po: Likewise.
1465 * po/da.po: Likewise.
1466 * po/de.po: Likewise.
1467 * po/el.po: Likewise.
1468 * po/eo.po: Likewise.
1469 * po/es.po: Likewise.
1470 * po/fi.po: Likewise.
1471 * po/fr.po: Likewise.
1472 * po/gl.po: Likewise.
1473 * po/hr.po: Likewise.
1474 * po/hu.po: Likewise.
1475 * po/ia.po: Likewise.
1476 * po/id.po: Likewise.
1477 * po/it.po: Likewise.
1478 * po/ja.po: Likewise.
1479 * po/ko.po: Likewise.
1480 * po/lt.po: Likewise.
1481 * po/nb.po: Likewise.
1482 * po/nl.po: Likewise.
1483 * po/pl.po: Likewise.
1484 * po/pt_BR.po: Likewise.
1485 * po/ru.po: Likewise.
1486 * po/rw.po: Likewise.
1487 * po/sk.po: Likewise.
1488 * po/sl.po: Likewise.
1489 * po/sv.po: Likewise.
1490 * po/tr.po: Likewise.
1491 * po/uk.po: Likewise.
1492 * po/vi.po: Likewise.
1493 * po/zh_CN.po: Likewise.
1494 * po/zh_TW.po: Likewise.
1496 2019-07-31 Florian Weimer <fweimer@redhat.com>
1500 iconv, libio: Revert reference counting changes.
1501 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1502 free the steps array.
1503 * libio/Makefile (tests): Remove tst-wfile-gconv.
1504 (tests-container): Do not add tst-wfile-ascii.
1505 (tst-wfile-gconv-ENV): Do not set.
1506 (generated): Do not add tst-wfile-gconv.mtrace,
1507 tst-wfile-gconv.check.
1508 [($run-built-tests)] (tests-special): Do not add
1509 tst-wfile-gconv-mem.out.
1510 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1511 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1512 instead of __wcsmbs_clone_conv.
1513 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1514 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1516 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1519 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1521 2019-07-30 Florian Weimer <fweimer@redhat.com>
1523 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1524 type to uintptr_t. Update comment.
1525 (check_stack_top): Adjust.
1527 2019-07-29 Florian Weimer <fweimer@redhat.com>
1529 Linux: Move declaration of getdents64 to <dirent.h>.
1530 * bits/dirent_ext.h: New file.
1531 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1532 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1533 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1534 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1536 * manual/filesys.texi (Low-level Directory Access): Update header
1539 2019-07-29 DJ Delorie <dj@redhat.com>
1540 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1543 * Makeconfig (all-subdirs): Improved source comments.
1544 * Makefile (testroot.pristine/install.stamp): Pass
1545 subdirs='$(sorted-subdirs)' to make install.
1547 2019-07-25 Florian Weimer <fweimer@redhat.com>
1550 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1551 counter before freeing array.
1553 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1556 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1558 * sysdeps/x86_64/configure: Regenerated.
1559 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1560 to -mprefer-vector-width=128 if supported.
1562 2019-07-24 Florian Weimer <fweimer@redhat.com>
1564 * scripts/build-many-glibcs.py (Context.checkout): Default to
1567 2019-07-24 Florian Weimer <fweimer@redhat.com>
1570 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1571 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1572 (sysdep_headers): Add bits/socket-constants.h.
1573 (tests-special): Add tst-socket-consts.out.
1574 (tst-socket-consts.out): New target.
1575 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1576 around <asm/unistd.h>.
1577 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1578 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1580 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1581 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1582 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1583 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1584 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1585 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1587 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1589 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1592 * Makefile (testroot.pristine/install.stamp): Pass
1593 subdirs='$(all-subdirs)' to make install.
1595 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1596 the same arguments used in all tests.
1598 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1600 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1602 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1605 * locale/C-translit.h.in: Add Cyrillic transliteration.
1607 2019-07-19 Florian Weimer <fweimer@redhat.com>
1609 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1611 (fsconfig): Add system call name.
1612 (fsmount): Likewise.
1615 (move_mount): Likewise.
1616 (open_tree): Likewise.
1618 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1620 * po/libc.pot: Regenerate.
1622 2019-07-18 Mike Crowe <mac@mcrowe.com>
1624 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1625 functions recently added to sysdeps/nptl/pthread.h:
1626 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1627 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1629 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1630 pthread_cond_clockwait forwarding functions. There are no internal
1631 users, so it is unnecessary to expose these functions in libc.so.
1632 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1633 unnecessary ptr___pthread_cond_clockwait member.
1634 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1637 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1640 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1641 begin with an uppercase letter now.
1643 (mon): Update from CLDR, reword February from "Kudo" to
1644 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1645 and August from "Liiqen" to "Leqeeni".
1646 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1647 April from "Agda Baxisso" to "Agda Baxis" and August from
1648 "Leqeeni" to "Liiqen".
1649 * localedata/locales/aa_ER@saaho (mon): Likewise.
1650 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1651 abbreviated February from "Kud" to "Nah".
1652 (mon): Update from CLDR, reword February from "Kudo" to
1653 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1655 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1658 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1660 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1663 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1664 name_mrs, name_miss, and name_ms.
1665 * localedata/locales/nl_NL (LC_NAME): Likewise.
1667 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1670 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1671 * localedata/locales/en_IE (first_weekday): Likewise.
1673 2019-07-12 Mike Crowe <mac@mcrowe.com>
1675 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1676 that is only useful if futex_supports_exact_relative_timeouts ()
1678 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1680 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1681 timeouts potentially being imprecise since it's no longer true.
1682 Remove declaration of futex_supports_exact_relative_timeouts.
1683 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1684 of futex_supports_exact_relative_timeouts.
1686 * NEWS: Mention recently-added pthread_cond_clockwait,
1687 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1688 sem_clockwait functions.
1690 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1691 works like pthread_mutex_timedlock but takes a clockid parameter to
1692 measure the abstime parameter against.
1693 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1694 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1695 * nptl/pthread_mutex_timedlock.c
1696 (__pthread_mutex_clocklock_common): Rename from
1697 __pthread_mutex_timedlock and add clockid parameter. Pass this
1698 parameter to lll_clocklock and lll_clocklock_elision in place of
1699 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1700 LIBC_PROBE and validate clockid parameter before calling
1701 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1702 implementation to add LIBC_PROBE and calls
1703 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1705 * nptl/Makefile: Add tst-mutex11.c.
1706 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1707 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1708 clockid parameters to pthread_mutex_clocklock.
1709 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1710 clockid parameter to indicate which clock to be used. Call
1711 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1712 (do_test): Call do_test_clock to separately test
1713 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1714 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1715 * nptl/tst-mutex9.c: Likewise.
1716 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1717 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1719 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1721 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1723 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1725 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1727 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1729 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1731 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1732 (GLIBC_2.30): Likewise.
1733 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1734 (GLIBC_2.30): Likewise.
1735 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1736 (GLIBC_2.30): Likewise.
1737 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1738 (GLIBC_2.30): Likewise.
1739 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1740 (GLIBC_2.30): Likewise.
1741 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1744 (GLIBC_2.30): Likewise.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1746 (GLIBC_2.30): Likewise.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1748 (GLIBC_2.30): Likewise.
1749 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1750 (GLIBC_2.30): Likewise.
1751 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1752 (GLIBC_2.30): Likewise.
1753 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1754 (GLIBC_2.30): Likewise.
1755 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1757 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1758 (GLIBC_2.30): Likewise.
1759 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1760 (GLIBC_2.30): Likewise.
1761 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1762 (GLIBC_2.30): Likewise.
1763 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1764 (GLIBC_2.30): Likewise.
1766 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1767 parameter to indicate the clock that the abstime parameter should
1768 be measured against in preparation for adding
1769 pthread_mutex_clocklock.
1770 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1771 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1772 from __lll_timedlock and add clockid parameter.
1773 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1775 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1776 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1777 rather than __gettimeofday so that clockid can be used. This means
1778 that conversion from struct timeval is no longer required.
1779 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1781 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1782 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1783 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1784 from lll_timedlock_elision, add clockid parameter and use
1785 meaningful names for other parameters. (__pthread_mutex_timedlock):
1786 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1787 lll_clocklock_elision.
1788 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1789 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1790 clockid parameter. (__lll_clocklock_elision): Rename from
1791 __lll_timedlock_elision and add clockid parameter.
1792 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1793 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1795 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1796 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1797 (LLL_LOCK): Likewise.
1798 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1799 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1801 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1802 pthread_rwlock_clockwrlock which behave like
1803 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1804 respectively, except they always measure abstime against the
1805 supplied clockid. The functions currently support CLOCK_REALTIME
1806 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1808 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1809 pthread_wrlock_clockwrlock.
1810 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1811 pthread_rwlock_clockwrlock.c.
1812 * nptl/pthread_rwlock_clockrdlock.c: Implement
1813 pthread_rwlock_clockrdlock.
1814 * nptl/pthread_rwlock_clockwrlock.c: Implement
1815 pthread_rwlock_clockwrlock.
1816 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1817 clockid parameter and verify that it indicates a supported clock on
1818 entry so that we fail even if it doesn't end up being used. Pass
1819 that clock on to futex_abstimed_wait when necessary.
1820 (__pthread_rwlock_wrlock_full): Likewise.
1821 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1822 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1823 be used because there's no timeout.
1824 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1825 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1826 be used because there is no timeout.
1827 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1828 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1830 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1831 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1833 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1834 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1835 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1836 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1837 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1838 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1839 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1840 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1841 (GLIBC_2.30): Likewise.
1842 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1843 (GLIBC_2.30): Likewise.
1844 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1845 (GLIBC_2.30): Likewise.
1846 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1847 (GLIBC_2.30): Likewise.
1848 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1849 (GLIBC_2.30): Likewise.
1850 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1852 (GLIBC_2.30): Likewise.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1854 (GLIBC_2.30): Likewise.
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1856 (GLIBC_2.30): Likewise.
1857 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1858 (GLIBC_2.30): Likewise.
1859 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1860 (GLIBC_2.30): Likewise.
1861 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1862 (GLIBC_2.30): Likewise.
1863 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1864 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1865 (GLIBC_2.30): Likewise.
1866 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1867 (GLIBC_2.30): Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1869 (GLIBC_2.30): Likewise.
1870 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1871 (GLIBC_2.30): Likewise.
1872 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1873 pthread_rwlock_clockwrlock timeout tests to match the existing
1874 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1875 * nptl/tst-rwlock14.c (do_test): Likewise.
1876 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1877 ancillary output throughout. (tf): Accept thread_args structure so
1878 that rwlock, a clockid and function name can be passed to the
1879 thread. (do_test_clock): Rename from do_test. Accept clockid
1880 parameter to specify test clock. Use the magic clockid value of
1881 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
1882 pthread_rwlock_timedwrlock should be tested, otherwise pass the
1883 specified clockid to pthread_rwlock_clockrdlock and
1884 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
1885 (do_test): Call do_test_clock to test each clockid in turn.
1886 * nptl/tst-rwlock7.c: Likewise.
1887 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
1888 thread_args structure so that the (now int) thread number, the
1889 clockid and the function name can be passed to the thread.
1890 (do_test_clock): Renamed from do_test. Pass the necessary
1891 thread_args when creating the reader and writer threads. Use
1892 xpthread_create and xpthread_join.
1893 (do_test): Call do_test_clock to test each clockid in turn.
1894 * manual/threads.texi: Add documentation for
1895 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
1897 nptl: pthread_rwlock: Move timeout validation into _full functions
1898 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
1899 Check validity of abstime parameter.
1900 (__pthread_rwlock_rwlock_full): Likewise.
1901 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1902 Remove check for validity of abstime parameter.
1903 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1906 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
1907 like pthread_cond_timedwait except it always measures abstime
1908 against the supplied clockid.
1909 * nptl/Makefile: Add tst-cond26 and tst-cond27
1910 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
1911 * sysdeps/nptl/pthread.h: Likewise
1912 * nptl/forward.c: Add __pthread_cond_clockwait
1913 * nptl/forward.c: Likewise
1914 * nptl/pthreadP.h: Likewise
1915 * sysdeps/nptl/pthread-functions.h: Likewise
1916 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
1917 clockid parameter and comment describing why we don't need to check
1918 its value. Use that value when calling
1919 futex_abstimed_wait_cancelable rather than reading the clock from
1920 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
1921 (__pthread_cond_timedwait): Read clock from flags and pass it to
1922 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
1923 function with weak alias from pthread_cond_clockwait.
1924 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1925 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1926 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1927 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1928 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1929 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1930 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1931 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1932 (GLIBC_2.30): Likewise.
1933 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1934 (GLIBC_2.30): Likewise.
1935 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1936 (GLIBC_2.30): Likewise.
1937 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1938 (GLIBC_2.30): Likewise.
1939 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1940 (GLIBC_2.30): Likewise.
1941 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1943 (GLIBC_2.30): Likewise.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1945 (GLIBC_2.30): Likewise.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1947 (GLIBC_2.30): Likewise.
1948 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1949 (GLIBC_2.30): Likewise.
1950 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1951 (GLIBC_2.30): Likewise.
1952 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1953 (GLIBC_2.30): Likewise.
1954 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1955 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1956 (GLIBC_2.30): Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1958 (GLIBC_2.30): Likewise.
1959 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1960 (GLIBC_2.30): Likewise.
1961 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1962 (GLIBC_2.30): Likewise.
1963 * nptl/tst-cond11.c (run_test): Support testing
1964 pthread_cond_clockwait too by using a special magic
1965 CLOCK_USE_ATTR_CLOCK value to determine whether to call
1966 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
1967 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
1968 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
1969 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
1970 clocks to pthread_cond_clockwait.
1971 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
1972 struct timespec and pthread_cond_clockwait.
1973 * manual/threads.texi: Document pthread_cond_clockwait.
1975 nptl: Add POSIX-proposed sem_clockwait which behaves just like
1976 sem_timedwait, but measures abstime against the specified clock.
1977 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
1978 clockid parameters to indicate the clock which abstime should be
1980 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
1981 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
1982 __new_sem_wait_slow.
1983 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
1985 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
1986 sem_clockwait.c to match those used for sem_timedwait.c.
1987 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
1988 * nptl/Versions (GLIBC_2.30): Likewise.
1989 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1990 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1991 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1992 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1993 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1994 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1995 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1996 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1997 (GLIBC_2.30): Likewise.
1998 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1999 (GLIBC_2.30): Likewise.
2000 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2001 (GLIBC_2.30): Likewise.
2002 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2003 (GLIBC_2.30): Likewise.
2004 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2005 (GLIBC_2.30): Likewise.
2006 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2008 (GLIBC_2.30): Likewise.
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2010 (GLIBC_2.30): Likewise.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2012 (GLIBC_2.30): Likewise.
2013 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2014 (GLIBC_2.30): Likewise.
2015 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2016 (GLIBC_2.30): Likewise.
2017 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2018 (GLIBC_2.30): Likewise.
2019 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2020 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2021 (GLIBC_2.30): Likewise.
2022 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2023 (GLIBC_2.30): Likewise.
2024 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2025 (GLIBC_2.30): Likewise.
2026 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2027 (GLIBC_2.30): Likewise.
2028 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2030 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2031 tests to also test sem_clockwait.
2032 * manual/threads.texi: Document sem_clockwait.
2034 nptl: Add clockid parameter to futex timed wait calls
2035 * sysdeps/nptl/lowlevellock-futex.h,
2036 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2037 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2038 takes a clockid rather than a special clockbit.
2039 * sysdeps/nptl/lowlevellock-futex.h: Add
2040 lll_futex_supported_clockid so that client functions can check
2041 whether their clockid parameter is valid even if they don't
2042 ultimately end up calling lll_futex_clock_wait_bitset.
2043 * sysdeps/nptl/futex-internal.h,
2044 sysdeps/unix/sysv/linux/futex-internal.h
2045 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2046 clockid_t parameter to indicate which clock the absolute time
2047 passed should be measured against. Pass that clockid onto
2048 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2050 * sysdeps/nptl/futex-internal.h,
2051 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2052 futex_abstimed_supported_clockid so that client functions can check
2053 whether their clockid parameter is valid even if they don't
2054 ultimately end up calling futex_abstimed_wait.
2055 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2056 code to calculate relative timeout for
2057 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2058 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2059 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2060 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2061 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2062 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2063 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2065 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2068 * posix/tst-mmap-offset.c: Mention BZ #24699.
2069 (do_test_bz21270): Rename to do_test_large_offset and use
2070 mmap64_maximum_offset to check for maximum expected offset value.
2071 * sysdeps/generic/mmap_info.h: New file.
2072 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2073 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2076 2019-07-10 DJ Delorie <dj@redhat.com>
2077 Sergei Trofimovich <slyfox@inbox.ru>
2081 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2083 * nss/tst-nss-db-endgrent.c: New.
2084 * nss/tst-nss-db-endgrent.root: New.
2085 * nss/tst-nss-db-endpwent.c: New.
2086 * nss/tst-nss-db-endpwent.root: New.
2087 * nss/Makefile: Add new tests.
2088 * support/links-dso-program-c.c: Add selinux dependency.
2089 * support/links-dso-program.cc: Add selinux dependency.
2090 * support/Makefile: Build those with -lselinux if enabled.
2092 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2094 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2095 DT_AARCH64_VARIANT_PCS check.
2096 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2097 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2100 2019-07-10 Andreas Schwab <schwab@suse.de>
2103 * malloc/malloc.h (__malloc_check_init): Don't declare.
2104 * include/malloc.h (__malloc_check_init): Likewise.
2105 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2106 * manual/memory.texi (__malloc_check_init): Don't mention it.
2108 2019-07-10 Mao Han <han_mao@c-sky.com>
2110 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2112 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2114 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2115 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2117 2019-07-08 DJ Delorie <dj@redhat.com>
2120 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2121 * io/tst-ftw-lnk.c: New test.
2122 * io/Makefile: Run it.
2124 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2126 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2127 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2128 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2129 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2130 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2131 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2133 Adjust implementation path.
2134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2135 Adjust implementation path.
2136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2137 Adjust implementation path.
2138 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2139 (libm-sysdep_routines): Add s_log* objects.
2140 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2141 CFLAGS-s_logb-power7.c): New fule.
2142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2144 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2148 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2151 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2154 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2158 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2161 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2164 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2168 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2171 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2173 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2174 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2175 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2177 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2178 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2179 powerpc32 integer 0 converting to -0.
2181 * benchtests/Makefile (bench-math): Add logb.
2182 * benchtests/logb-inputs: New file.
2183 * benchtests/logbf-inputs: New file.
2185 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2186 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2187 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2188 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2193 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2194 sysdep_routines): Add s_modf* objects.
2195 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2196 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2199 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2203 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2206 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2209 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2212 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2215 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2217 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2218 twoM500, twoM600, two60factor, pdnum): Remove.
2219 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2220 (__ieee754_hypot): Replace static variables with inline definition,
2221 remove ununsed branches.
2222 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2223 (libm-sysdep_routines): Remove e_hypot-* objects.
2224 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2225 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2227 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2228 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2229 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2230 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2231 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2233 * benchtests/Makefile (bench-math): Add hypot.
2234 * benchtests/hypot-inputs: New file.
2236 2019-07-08 Vincent Chen <vincentc@andestech.com>
2238 * sysdeps/unix/sysv/linux/dl-vdso.h
2239 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2241 2019-07-04 Andreas Schwab <schwab@suse.de>
2244 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2246 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2248 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2249 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2250 * sysdeps/aarch64/sys/ifunc.h: New file.
2251 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2252 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2254 2019-07-01 Florian Weimer <fweimer@redhat.com>
2257 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2258 Replace __vfork with __libpthread_version_placeholder for
2260 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2261 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2263 * nptl/pt-vfork.c: Remove file.
2264 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2265 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2266 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2267 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2268 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2269 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2270 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2271 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2272 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2273 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2274 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2275 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2276 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2277 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2278 Remove vfork, __vfork.
2279 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2281 (GLIBC_2.1.2): Replace __vfork with
2282 __libpthread_version_placeholder.
2283 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2284 Remove vfork, __vfork.
2285 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2287 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2289 (GLIBC_2.1.2): Replace __vfork with
2290 __libpthread_version_placeholder.
2291 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2293 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2294 (GLIBC_2.4): Remove vfork, __vfork.
2295 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2296 (GLIBC_2.0): Remove vfork.
2297 (GLIBC_2.1.2): Replace __vfork with
2298 __libpthread_version_placeholder.
2299 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2300 (GLIBC_2.18): Remove vfork, __vfork.
2301 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2302 (GLIBC_2.0): Remove vfork.
2303 (GLIBC_2.2): Remove __vfork.
2304 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2305 (GLIBC_2.2): Remove vfork, __vfork.
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2307 (GLIBC_2.0): Remove vfork.
2308 (GLIBC_2.1.2): Replace __vfork with
2309 __libpthread_version_placeholder.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2311 (GLIBC_2.3): Remove vfork, __vfork.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2313 (GLIBC_2.17): Likewise.
2314 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2315 (GLIBC_2.0): Remove vfork.
2316 (GLIBC_2.1.2): Replace __vfork with
2317 __libpthread_version_placeholder.
2318 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2319 (GLIBC_2.2): Remove vfork, __vfork.
2320 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2322 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2323 (GLIBC_2.0): Remove vfork.
2324 (GLIBC_2.1.2): Replace __vfork with
2325 __libpthread_version_placeholder.
2326 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2327 (GLIBC_2.2): Remove vfork, __vfork.
2328 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2329 (GLIBC_2.2.5): Likewise.
2330 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2331 (GLIBC_2.16): Likewise.
2332 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2333 Remove __errno_location.
2335 2019-07-02 Florian Weimer <fweimer@redhat.com>
2338 * malloc/Depend: Add nptl and htl, due to potential indirect
2339 libpthread dependency of memusagestat.
2341 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2343 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2346 2019-07-01 Florian Weimer <fweimer@redhat.com>
2348 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2349 variant for arm-linux-gnueabi.
2351 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2354 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2356 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2357 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2358 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2359 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2360 and tst-cet-legacy-mod-6c.
2361 (CFLAGS-tst-cet-legacy-5a.c): New.
2362 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2363 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2364 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2365 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2366 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2367 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2368 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2369 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2370 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2371 ($(objpfx)tst-cet-legacy-5a): Likewise.
2372 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2373 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2374 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2375 ($(objpfx)tst-cet-legacy-5b): Likewise.
2376 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2377 (tst-cet-legacy-5b-ENV): Likewise.
2378 ($(objpfx)tst-cet-legacy-6a): Likewise.
2379 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2380 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2381 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2382 ($(objpfx)tst-cet-legacy-6b): Likewise.
2383 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2384 (tst-cet-legacy-6b-ENV): Likewise.
2385 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2386 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2387 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2388 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2389 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2390 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2391 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2392 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2393 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2394 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2395 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2396 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2397 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2398 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2400 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2402 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2403 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2404 (__fegetround_ISA300) New.
2405 (__fegetround_ISA2) New.
2406 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2407 (_FPU_MFFS): Move implementation...
2409 (_FPU_MFFSL): Move implementation....
2410 (_FPU_GET_RC_ISA300): Here. New.
2411 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2412 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2413 (fegetenv_status): New.
2414 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2415 instead of fegetenv_register().
2416 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2418 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2420 * benchtests/bench-math-inlines.c: Increase iterations.
2421 * benchtests/bench-memcmp.c: Likewise.
2422 * benchtests/bench-rawmemchr.c: Likewise.
2423 * benchtests/bench-strcmp.c: Likewise.
2424 * benchtests/bench-strcpy_chk.c: Likewise.
2425 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2426 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2427 (INNER_LOOP_ITERS_SMALL): Likewise.
2428 * benchtests/bench-strncat.c: Increase iterations.
2429 * benchtests/bench-strncmp.c: Increase iterations.
2430 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2431 * benchtests/bench-strrchr.c: Increase iterations.
2432 * benchtests/bench-strstr.c: Keep iterations unchanged.
2433 * benchtests/bench-strtod.c: Increase iterations.
2435 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2437 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2438 with INNER_LOOP_ITERS_LARGE.
2439 * benchtests/bench-memchr.c: Likewise.
2440 * benchtests/bench-rawmemchr.c: Likewise.
2441 * benchtests/bench-strcat.c: Likewise.
2442 * benchtests/bench-strchr.c: Likewise.
2443 * benchtests/bench-string.h: Likewise.
2444 * benchtests/bench-strlen.c: Likewise.
2445 * benchtests/bench-strncpy.c: Likewise.
2446 * benchtests/bench-strnlen.c: Likewise.
2448 2019-06-28 Florian Weimer <fweimer@redhat.com>
2450 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2451 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2452 entire allocated memory range.
2454 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2456 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2457 (prepare_version_base): New helper inline function.
2458 (prepare_version): New macro replacing PREPARE_VERSION.
2459 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2461 2019-06-28 Florian Weimer <fweimer@redhat.com>
2464 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2465 mismatch in a versioned symbol reference.
2466 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2467 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2468 tst-sonamemove-dlopen.
2469 (module-names): Add tst-sonamemove-linkmod1,
2470 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2471 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2472 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2473 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2474 (tst-sonamemove-runmod1.so): Link against
2475 tst-sonamemove-runmod2.so.
2476 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2477 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2478 tst-sonamemove-runmod2.so.
2479 (tst-sonamemove-dlopen): Link with -ldl.
2480 (tst-sonamemove-dlopen.out): Likewise.
2481 * elf/tst-sonamemove-link.c: New file.
2482 * elf/tst-sonamemove-dlopen.c: Likewise.
2483 * elf/tst-sonamemove-linkmod1.c: Likewise.
2484 * elf/tst-sonamemove-linkmod1.map: Likewise.
2485 * elf/tst-sonamemove-runmod1.c: Likewise.
2486 * elf/tst-sonamemove-runmod1.map: Likewise.
2487 * elf/tst-sonamemove-runmod2.c: Likewise.
2488 * elf/tst-sonamemove-runmod2.map: Likewise.
2490 2019-06-28 Florian Weimer <fweimer@redhat.com>
2492 * support/xdlfcn.h (xdlvsym): Declare function.
2493 * support/xdlfcn.c (xdlvsym): Define funciton.
2495 2019-06-28 Florian Weimer <fweimer@redhat.com>
2498 io: Remove the copy_file_range emulation.
2499 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2500 not define and call copy_file_range_compat.
2501 * io/Makefile (tests-static, tests-internal): Do not add
2502 tst-copy_file_range-compat.
2503 * io/copy_file_range-compat.c: Remove file.
2504 * io/copy_file_range.c (copy_file_range): Define as stub.
2505 * io/tst-copy_file_range-compat.c: Remove file.
2506 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2507 (typical_sizes): Update comment. Remove 16K sizes.
2508 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2510 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2511 (delayed_write_failure_beginning, delayed_write_failure_end)
2512 (cross_device_failure, enospc_failure_1, enospc_failure)
2513 (oappend_failure): Remove functions.
2514 (tests): Adjust test case list.
2515 (do_test): Remove file system search code. Check for ENOSYS from
2516 copy_file_range. Do not free xdevfile.
2517 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2518 copy_file_range. Do not document the EXDEV error, which future
2519 kernels may not report. Update the wording to reflect that
2520 further errors are possible.
2521 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2522 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2524 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2525 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2527 * sysdeps/unix/sysv/linux/kernel-features.h
2528 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2531 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2533 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2534 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2537 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2539 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2540 used as a mask for the mode argument of __vfprintf_internal.
2541 * stdio-common/printf-parse.h (printf_arg): New union member:
2543 * stdio-common/vfprintf-internal.c
2544 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2545 (PARSE_FLOAT_VA_ARG): Likewise.
2546 (SETUP_FLOAT128_INFO): Likewise.
2547 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2548 SETUP_FLOAT128_INFO.
2549 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2550 floating-point value to the new union member, pa_float128.
2551 (printf_positional): Zero-initialize args_value[cnt] with memset.
2553 2019-06-27 Florian Weimer <fweimer@redhat.com>
2556 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2557 buffer size if necessary.
2558 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2560 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2562 (large_buffer_checks): Likewise.
2563 (do_test): Call large_buffer_checks.
2565 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2567 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2568 * sysdeps/x86/dl-lookupcfg.h: Here.
2569 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2571 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2574 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2575 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2577 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2578 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2579 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2580 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2581 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2583 * sysdeps/powerpc/powerpc32/fpu/Makefile
2584 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2585 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2586 and fctidz optimization.
2587 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2588 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2590 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2591 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2592 CFLAGS-s_lround-power5+.c): New rule.
2593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2614 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2615 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2616 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2618 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2619 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2621 2019-06-26 Vincent Chen <vincentc@andestech.com>
2623 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2624 specific system calls, fp_udfiex_crtl and udftrap.
2626 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2628 * nptl/tst-eintr1.c (tf1): Add return statement.
2629 (do_test): Remove unused th variable.
2631 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2633 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2634 Return error if get_character fails.
2636 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2638 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2640 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
2643 * localedata/locales/szl_PL (day): Use the correct Unicode
2644 sequences instead of non-ASCII characters.
2646 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2649 * localedata/locales/szl_PL (abday): Spelling corrections.
2653 (alt_mon): This, then apply spelling corrections.
2654 (mon): New entry, month names in the genitive case.
2656 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
2659 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2660 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2661 (thousands_sep): Likewise.
2662 (grouping): Set to 3;3.
2664 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2666 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2667 PREPARE_VERSION_KNOWN.
2668 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2669 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2671 (VDSO_HASH_LINUX_2_6_39): Likewise.
2672 (VDSO_NAME_LINUX_4_9): Likewise.
2673 (VDSO_HASH_LINUX_4_9): Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2675 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2676 (_libc_vdso_platform_setup): Likewise.
2677 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2678 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2680 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2683 2019-06-20 Mike Crowe <mac@mcrowe.com>
2685 * nptl/eintr.c: Use libsupport.
2686 * nptl/tst-eintr1.c: Likewise.
2687 * nptl/tst-eintr2.c: Likewise.
2688 * nptl/tst-eintr3.c: Likewise.
2689 * nptl/tst-eintr4.c: Likewise.
2690 * nptl/tst-eintr5.c: Likewise.
2691 * nptl/tst-mutex-errorcheck.c: Likewise.
2692 * nptl/tst-mutex5.c: Likewise.
2694 * support/test-driver.h: Add verbose_printf macro.
2696 * support/xtime.h: Add xclock_now() helper function.
2698 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2699 Florian Weimer <fweimer@redhat.com>
2702 * libio/genops.c (_IO_unbuffer_all)
2703 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2704 buffers and access _IO_FILE_complete members of legacy libio streams.
2705 * libio/tst-bz24228.c: New file.
2706 * libio/tst-bz24228.map: Likewise.
2707 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2708 [build-shared] (generated): Add tst-bz24228.mtrace and
2710 [run-built-tests && build-shared] (tests-special): Add
2711 $(objpfx)tst-bz24228-mem.out.
2712 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2713 ($(objpfx)tst-bz24228-mem.out): New rule.
2715 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2717 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2718 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2719 (__FPU_MFFSL): Likewise.
2720 (_FPU_SETCW): Likewise.
2722 2019-06-19 Stan Shebs <stanshebs@google.com>
2723 Raoni Fassina Firmino <raoni@linux.ibm.com>
2726 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2727 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2728 static-linking version.
2729 * sysdeps/unix/sysv/linux/powerpc/Makefile
2730 (tests-static): Add test-gettimebasefreq-static.
2732 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2735 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
2738 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2739 between the currency symbol and the minus sign).
2740 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2742 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2745 * string/test-strcasestr.c (check_result): Add NULL check.
2746 * nss/tst-field.c (check_rewrite): Likewise.
2747 * benchtests/bench-strstr.c (do_one_test): Likewise.
2748 * string/test-strstr.c (check_result): Likewise.
2749 * argp/argp-test.c (popt): Increase size of buf to 12.
2750 * benchtests/bench-malloc-simple.c (bench):
2751 Do not initialize tests array out of bounds.
2753 2019-06-19 Florian Weimer <fweimer@redhat.com>
2756 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2759 2019-06-18 Florian Weimer <fweimer@redhat.com>
2762 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2763 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2764 fail when called from dlopen.
2765 * elf/Makefile [have-fpie && build-shared] (tests): Add
2767 (tst-dlopen-pie): Link with -ldl.
2768 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2769 * elf/tst-dlopen-pie.c (do_test): New file.
2771 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2774 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2775 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2776 between the currency symbol and the minus sign).
2777 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2778 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2780 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2782 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2783 sysdep-rtld-routines): Remove rules.
2784 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2785 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2786 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2787 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2788 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2789 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2790 vDSO path for SHARED.
2791 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2792 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2793 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2794 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2795 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2796 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2798 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2799 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2800 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2801 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2802 CFLAGS-s_llround-power5+.c): New rule.
2803 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2805 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2807 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2809 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2811 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2814 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2816 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2818 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2819 * sysdeps/powerpc/powerpc64/fpu/Makefile
2820 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2822 (libm-sysdep_routines): Remove s_llround-* objects.
2823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2833 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2834 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2835 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2836 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2838 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2839 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2840 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2841 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2842 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2843 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2844 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2845 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2846 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2848 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2849 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2850 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2851 * sysdeps/powerpc/powerpc32/fpu/Makefile
2852 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2853 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2855 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2856 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2857 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2859 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2860 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2861 CFLAGS-s_lrint-ppc32.c): New rule.
2862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2872 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2873 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2875 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
2882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
2884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
2887 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2888 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
2890 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
2891 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
2893 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
2895 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
2897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
2898 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
2899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
2900 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
2901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
2902 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
2903 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
2904 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
2905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2906 (libm-sysdep_routines): Remove s_llrint-* objects.
2907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
2909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
2911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
2912 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
2913 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
2914 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
2915 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
2916 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
2917 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2918 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
2919 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2922 2019-06-14 Florian Weimer <fweimer@redhat.com>
2924 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
2925 argument to __glibc_has_include to inhibit macro expansion.
2927 2019-06-14 Florian Weimer <fweimer@redhat.com>
2929 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
2930 function-like macro, so that __has_include can inhibit expansion
2933 2019-06-13 Joseph Myers <joseph@codesourcery.com>
2935 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
2938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2939 Allow memset in libc.so.
2941 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2943 * sysdeps/aarch64/dl-dtprocnum.h: New file.
2944 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
2945 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
2946 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
2947 symbols at load time.
2948 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
2950 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2952 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
2953 (DT_AARCH64_VARIANT_PCS): Define.
2955 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2958 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
2960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
2964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
2965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2968 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2969 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
2970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
2971 Remove s_finite* objects.
2972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
2973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
2974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
2975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
2977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2978 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2979 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
2980 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2981 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
2983 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
2984 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
2986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2987 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
2989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
2991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
2993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2997 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2998 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
2999 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3000 Remove s_isinf* and s_isinf* objects.
3001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3007 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3008 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3010 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3013 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3015 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3016 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3017 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3019 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3036 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3037 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3038 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3039 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3041 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3042 Remove s_isnan-* and s_isnanf-* objects.
3043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3052 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3053 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3054 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3055 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3056 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3057 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3058 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3059 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3062 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3064 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3065 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3066 CFLAGS-bench-isfinite.c): New rule.
3067 * benchtests/isnan-input: New file.
3068 * benchtests/isinf-input: New file.
3069 * benchtests/isfinite-input: New file.
3071 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3072 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3073 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3074 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3076 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3086 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3087 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3089 Remove s_copysign-power6 s_copysign-ppc64.
3090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3096 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3097 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3098 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3101 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3102 round_to_integer_float, round_mode): Add RINT handling.
3103 (reset_fenv_mode): New symbol.
3104 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3105 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3106 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3107 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3108 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3109 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3111 2019-06-12 Florian Weimer <fweimer@redhat.com>
3114 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3115 * libio/freopen.c (freopen): Use it.
3117 2019-06-12 Florian Weimer <fweimer@redhat.com>
3119 Linux: Deprecate sysctl.
3120 * include/sysctl.h (__sysctl): Remove declaration.
3121 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3123 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3124 (sysctl): Add deprecation attribute.
3125 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3126 directly, to avoid the deprecation warning. Do not include
3128 (__sysctl): Remove hidden alias.
3130 2019-06-12 Florian Weimer <fweimer@redhat.com>
3132 Linux: Use kernel headers for statx definitions if available.
3133 * include/bits/statx-generic.h: New file.
3134 * include/bits/types/struct_statx.h: Likewise.
3135 * include/bits/types/struct_statx_timestamp.h: Likewise.
3136 * io/Makefile (headers): Add bits/statx-generic.h.
3137 * io/bits/statx-generic.h: New file. Partly copied from
3139 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3140 define original_statx.
3141 * io/bits/types/struct_statx.h: Likewise.
3142 * io/bits/types/struct_statx_timestamp.h: Likewise.
3143 (statx_generic): Use original_statx.
3144 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3145 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3147 2019-06-12 Florian Weimer <fweimer@redhat.com>
3149 * misc/sys/cdefs.h (__glibc_has_include): Define.
3151 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3153 * string/memmem.c (__memmem): Rewrite to improve performance.
3155 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3157 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3159 (two_way_long_needle): Block inlining.
3160 * string/strstr.c (strstr2): Add new function.
3161 (strstr3): Likewise.
3162 (STRSTR): Completely rewrite strstr to improve performance.
3164 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3166 * benchtests/bench-strstr.c (test_hard_needle): New function.
3168 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3170 * malloc/tst-calloc.c: Include <libc-diag.h>.
3171 (null_test): Ignore -Wunused-result around calls to calloc.
3172 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3173 (do_test): Ignore -Wunused-result around call to malloc.
3175 2019-06-07 Florian Weimer <fweimer@redhat.com>
3177 Linux: Add getdents64 system call.
3178 * include/dirnent.h (getdents): Add comment and change buffer
3179 argument type to void *.
3180 (getdents64): Likewise. Add hidden prototype.
3181 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3183 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3185 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3186 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3187 argument type to void *.
3188 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3189 Add hidden definition and getdents64 alias.
3190 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3192 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3193 * manual/filesys.texi (Accessing Directories): Add Low-level
3194 Directory Access node reference.
3195 (Opening a Directory): Cross-reference it.
3196 (Low-level Directory Access): New node.
3197 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3199 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3201 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3202 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3204 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3206 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3208 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3210 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3212 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3214 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3216 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3217 (GLIBC_2.30): Likewise.
3218 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3219 (GLIBC_2.30): Likewise.
3220 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3221 (GLIBC_2.30): Likewise.
3222 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3223 (GLIBC_2.30): Likewise.
3224 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3227 (GLIBC_2.30): Likewise.
3228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3229 (GLIBC_2.30): Likewise.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3231 (GLIBC_2.30): Likewise.
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3233 (GLIBC_2.30): Likewise.
3234 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3236 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3238 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3240 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3243 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3245 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3247 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3250 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3252 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3256 (_FPU_GETCW): Use __FPU_MFFS().
3257 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3259 2019-06-06 Florian Weimer <fweimer@redhat.com>
3261 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3262 internal GCC preprocessor identifier __has_include__.
3264 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3266 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3267 with call to equivalent function.
3269 2019-06-04 Florian Weimer <fweimer@redhat.com>
3271 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3272 (do_release_shlib): Adjust for __twalk_r.
3273 (__gconv_release_shlib): Call __twalk_r.
3275 2019-06-04 Andreas Schwab <schwab@suse.de>
3278 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3279 no irreversible characters occurred.
3280 * iconv/gconv_simple.c (internal_ucs4_loop)
3281 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3282 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3283 (ucs4_internal_loop_single, internal_ucs4le_loop)
3284 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3285 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3286 (ucs4le_internal_loop_single): Add const to outend.
3287 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3288 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3289 * iconv/Makefile (tests): Add tst-iconv7.
3290 * iconv/tst-iconv7.c: New file.
3292 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3294 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3296 2019-06-01 Florian Weimer <fweimer@redhat.com>
3298 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3299 * sysdeps/unix/sysv/linux/arm/Makefile
3300 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3301 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3302 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3303 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3304 compatibility symbols.
3306 2019-05-31 Florian Weimer <fweimer@redhat.com>
3308 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3309 system calls for the arm architecture: breakpoint, get_tls,
3310 set_tls, usr26, usr32.
3312 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3314 * sysdeps/powerpc/Makefile
3315 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3316 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3317 Declare '.machine power7' to get support for ldbrx.
3318 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3319 directive based on the directory of the file.
3320 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3321 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3322 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3323 '.machine' directive.
3324 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3325 (VADDUQM_V7_V8): Remove.
3326 (__STRCASECMP): Replace macros with actual instructions.
3327 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3328 '.machine' directive.
3329 (VCLZD_V8_v7): Remove.
3330 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3332 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3334 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3336 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3338 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3340 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3342 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3343 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3344 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3345 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3347 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3349 2019-05-28 mansayk <6688000@gmail.com>
3352 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3354 2019-05-28 mansayk <6688000@gmail.com>
3357 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3358 (abmon): Likewise, but remove the trailing dots.
3360 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3362 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3364 2019-05-27 Florian Weimer <fweimer@redhat.com>
3366 * nptl/nptl-init.c: Add comment.
3368 2019-05-24 Florian Weimer <fweimer@redhat.com>
3370 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3371 struct in_addr/struct in6_addr alignment.
3373 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3375 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3376 (F_SEAL_FUTURE_WRITE): New macro.
3378 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3380 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3381 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3382 * elf/tst-ldconfig_aux-cache.root: New directory.
3383 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3384 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3385 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3387 2019-05-22 Zack Weinberg <zackw@panix.com>
3389 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3391 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3392 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3394 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3399 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3400 Issue an #error if used with a compiler in SPE-float mode.
3401 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3402 * sysdeps/powerpc/powerpc32/setjmp_common.S
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3409 Remove code to preserve SPE register state.
3411 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3412 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3413 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3414 Remove __SPE__ ifndefs.
3416 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3418 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3419 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3420 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3421 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3422 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3423 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3424 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3425 (INNER_LOOP_ITERS_MEDIUM): New define.
3426 (INNER_LOOP_ITERS_SMALL): New define.
3427 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3428 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3429 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3430 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3431 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3433 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3435 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3437 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3438 (SEMTIMEDOP_IPC_ARGS): Likewise.
3440 2019-05-21 Florian Weimer <fweimer@redhat.com>
3443 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3444 before updating __counter field and release it afterwards. Add
3446 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3447 requirement for __counter member.
3449 2019-05-21 Florian Weimer <fweimer@redhat.com>
3452 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3453 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3454 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3455 instead of __gconv_release_step.
3456 * libio/Makefile (tests): Add tst-wfile-gconv.
3457 (tests-container): Add tst-wfile-ascii.
3458 (tst-wfile-gconv-ENV): Enable mtrace.
3459 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3460 (tests-special): Add tst-wfile-gconv-mem.out.
3461 (tst-wfile-gconv.out): Depend on locales.
3462 (tst-wfile-gconv-mem.out): Add mtrace rule.
3463 * libio/tst-wfile-ascii.c: New file.
3464 * libio/tst-wfile-gconv.c: Likewise.
3466 2019-05-20 Florian Weimer <fweimer@redhat.com>
3469 libio: Remove codecvt vtable.
3470 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3472 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3473 __libio_codecvt_encoding.
3474 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3475 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3476 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3477 * libio/iofwide.c (__libio_codecvt): Remove variable.
3478 (_IO_fwide): Do not copy __libio_codecvt.
3479 (__libio_codecvt_out): Rename from do_out and export.
3480 (do_unshift): Remove function.
3481 (__libio_codecvt_in): Rename from do_in and export.
3482 (__libio_codecvt_encoding): Rename from do_encoding and export.
3483 (do_always_noconv): Remove function.
3484 (__libio_codecvt_length): Rename from do_length and export.
3485 (do_max_length): Remove function.
3486 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3488 (struct _IO_codecvt): Remove fields __codecvt_destr,
3489 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3490 __codecvt_do_encoding, __codecvt_do_always_noconv,
3491 __codecvt_do_length, __codecvt_do_max_length.
3492 * libio/libioP.h (enum __codecvt_result): Define; moved from
3494 (__libio_codecvt_out, __libio_codecvt_in)
3495 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3497 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3498 (_IO_wfile_underflow): Call __libio_codecvt_in.
3499 (_IO_wfile_underflow): Likewise.
3500 (_IO_wfile_underflow_mmap): Likewise.
3501 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3502 __libio_codecvt_length.
3503 (adjust_wide_data): Call __libio_codecvt_encoding,
3505 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3506 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3507 __libio_codecvt_length.
3509 2019-05-20 Florian Weimer <fweimer@redhat.com>
3511 * support/support.h (support_sbindir_prefix): Declare.
3512 (support_install_rootsbindir): Update comment.
3513 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3514 * support/support_paths.c (support_sbindir_prefix): Define.
3516 2019-05-20 Mike Crowe <mac@mcrowe.com>
3518 * support/timespec.c: Add backslash to correct newline in failure
3521 * support/timespec.h: Correct confusing comment.
3523 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3525 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3527 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3528 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3529 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3530 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3533 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3536 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3538 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3539 (NT_ARM_PACG_KEYS): Likewise.
3541 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3543 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3544 (tcache_put): Remove redundant assert.
3545 (tcache_get): Remove redundant asserts.
3546 (__libc_malloc): Check tcache count is not zero.
3547 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3549 2019-05-17 Florian Weimer <fweimer@redhat.com>
3551 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3553 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3556 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3558 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3560 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3561 (__ASSUME_STATX): Likewise.
3563 2019-05-16 Florian Weimer <fweimer@redhat.com>
3565 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3567 (LINE_PARSER): Do not map IPv4 addresses.
3568 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3570 (_nss_nis_gethostent_r): Always pass AF_INET to
3571 internal_nis_gethostent_r.
3572 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3574 (_nss_nis_gethostbyname2_r): Adjust call to
3575 internal_nis_gethostent_r.
3576 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3577 call to internal_nis_gethostent_r.
3578 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3580 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3581 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3582 Remove flags argument. Do not map IPv4 addresses.
3583 (internal_nisplus_gethostent_r): Adjust call to
3584 _nss_nisplus_parse_hostent.
3585 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3586 to _nss_nisplus_parse_hostent.
3587 (_nss_nisplus_gethostbyname2_r): Adjust call to
3588 internal_gethostbyname2_r.
3589 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3590 Adjust call to internal_gethostbyname2_r.
3591 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3592 _nss_nisplus_parse_hostent.
3593 (_nss_nisplus_gethostbyname4_r): Adjust call to
3594 internal_gethostbyname2_r.
3596 2019-05-16 Florian Weimer <fweimer@redhat.com>
3598 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3600 (LINE_PARSER): Remove address mapping.
3601 (EXTRA_ARGS_VALUE): Remove flags argument.
3602 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3603 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3604 gethostbyname3_multi.
3605 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3606 _nss_files_gethostbyname3_r.
3607 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3609 2019-05-16 Florian Weimer <fweimer@redhat.com>
3611 * support/support_test_compare_blob.c (report_blob): Report
3612 incorrect NULL blobs.
3614 2019-05-15 Mark Wielaard <mark@klomp.org>
3617 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3618 __libc_once_get (once) and static_buf == NULL.
3619 (__dlerror): Check we have a valid key, set result to static_buf
3622 2019-05-15 Andreas Schwab <schwab@suse.de>
3625 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3626 __codecvt_do_length.
3627 * libio/Makefile (tests): Add tst-wfile-sync.
3628 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3629 * libio/tst-wfile-sync.c: New file.
3630 * libio/tst-wfile-sync.input: New file.
3632 2019-05-15 Florian Weimer <fweimer@redhat.com>
3634 nss: Turn __nss_database_lookup into a compatibility symbol.
3635 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3636 __nss_database_lookup.
3637 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3638 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3639 __nss_database_lookup.
3640 (__nss_next): Move to …
3641 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3643 (__nss_database_lookup): New function.
3644 * nss/Versions (GLIBC_2.0): Update comment.
3645 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3646 * grp/initgroups.c (internal_getgrouplist): Call
3647 __nss_database_lookup2 instead of __nss_database_lookup.
3648 * nscd/aicache.c (addhstaiX): Likewise.
3649 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3650 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3651 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3652 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3653 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3655 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3656 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3659 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
3661 * support/support.h (support_install_rootsbindir): New variable.
3662 * support/support_paths.c: Likewise.
3663 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3665 2019-05-15 Florian Weimer <fweimer@redhat.com>
3667 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3668 * iconv/gconv_int.h (__gconv_transliterate): … here.
3669 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3670 * iconv/skeleton.c: Likewise.
3672 2019-05-14 Florian Weimer <fweimer@redhat.com>
3674 Linux: Add the tgkill function.
3675 * bits/signal_ext.h: New file.
3676 * manual/signal.texi (Signaling Another Process): Document tgkill.
3677 * signal/Makefile (headers): Add bits/signal_ext.h.
3678 * signal/signal.h: Include <bits/signal_ext.h>.
3679 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3680 (tst-tgkill): Link with libpthread.
3681 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3682 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3683 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3684 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3686 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3687 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3688 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3689 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3690 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3691 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3692 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3693 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3694 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3695 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3696 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3698 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3699 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3700 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3709 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3710 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3711 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3712 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3713 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3714 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3715 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3716 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3718 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3720 * manual/search.texi (Tree Search Function): Adjust twalk_r
3723 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3726 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3729 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3730 * support/support.h (support_bindir_prefix): New variable.
3731 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3733 * config.make.in (bindir): New variable.
3735 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3736 (lll_trylock): Call __lll_trylock.
3737 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3738 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3739 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3740 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3741 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3742 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3743 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3744 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3745 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3746 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3747 lowlevellock-futex.h.
3749 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3750 initialization for LLL_LOCK_INITIALIZER different than 0.
3751 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3752 Assume LLL_LOCK_INITIALIZER being 0.
3753 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3754 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3756 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3757 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3759 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3760 Optimize futex call and add systemtap probe.
3762 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3763 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3764 __libc_disable_asynccancel, __librt_enable_asynccancel,
3765 __libc_disable_asynccancel, __librt_enable_asynccancel,
3766 __librt_disable_asynccancel): Move to ...
3767 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3768 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3769 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3770 * sysdeps/generic/single-thread.h: New file.
3771 * sysdeps/unix/sysdep.h: Include single-thread.h.
3772 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3773 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3775 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3778 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3779 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3781 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3782 * localedata/unicode-gen/PropList.txt: Likewise.
3783 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3784 * localedata/charmaps/UTF-8: Regenerate.
3785 * localedata/locales/i18n_ctype: Likewise.
3786 * localedata/locales/tr_TR: Likewise.
3787 * localedata/locales/translit_circle: Likewise.
3788 * localedata/locales/translit_cjk_compat: Likewise.
3789 * localedata/locales/translit_combining: Likewise.
3790 * localedata/locales/translit_compat: Likewise.
3791 * localedata/locales/translit_font: Likewise.
3792 * localedata/locales/translit_fraction: Likewise.
3794 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3797 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3798 (do_set_tcache_count): Only update if count is small enough.
3799 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3801 2019-05-10 Florian Weimer <fweimer@redhat.com>
3803 * nptl/sem_close.c (struct walk_closure): Define.
3804 (walker): Adjust for __twalk_r.
3805 (sem_close): Call __twalk_r.
3807 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3809 * support/timespec.c (test_timespec_before_impl,
3810 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3813 2019-05-09 Mike Crowe <mac@mcrowe.com>
3815 * nptl/tst-abstime.c: Use libsupport.
3817 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3818 small bug where only tv.tv_usec was checked which could cause an
3819 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3822 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3825 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3826 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3828 * nptl/tst-cond11.c: Use libsupport.
3830 * support/timespec.h: New file. Provide timespec helper functions
3831 along with macros in the style of those in check.h.
3832 * support/timespec.c: New file. Implement check functions declared
3833 in support/timespec.h.
3834 * support/timespec-add.c: New file from gnulib containing
3835 timespec_add implementation that handles overflow.
3836 * support/timespec-sub.c: New file from gnulib containing
3837 timespec_sub implementation that handles overflow.
3838 * support/README: Mention timespec.h.
3840 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3843 * nptl/Makefile: Move tst-eintr1 to xtests.
3845 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3847 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3849 (round_mode): Add definition for TRUNC.
3850 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3851 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3852 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3853 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3854 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3856 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3858 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3860 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3862 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3864 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3866 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3868 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3870 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3871 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3872 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3873 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3874 s_truncf-power5+, and s_truncf-ppc64.
3875 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3876 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3878 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3880 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3881 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
3883 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
3885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
3886 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
3887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3888 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
3889 s_truncf-power5+, and s_truncf-ppc64.
3890 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
3892 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
3893 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
3895 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
3896 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3897 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3898 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
3899 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
3901 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3903 (round_mode): Add definition for ROUND.
3904 (round_to_integer_float): Likewise.
3905 * sysdeps/powerpc/fpu/s_round.c: New file.
3906 * sysdeps/powerpc/fpu/s_roundf.c: New file.
3907 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
3908 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3909 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
3911 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
3913 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
3915 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3917 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
3919 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
3921 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
3923 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
3925 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
3926 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
3927 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3928 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
3929 s_roundf-power5+, and s_roundf-ppc64.
3930 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
3931 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
3933 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
3934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
3935 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
3936 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
3938 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
3940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
3941 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
3942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3943 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
3944 s_roundf-power5+, and s_roundf-ppc64.
3945 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
3947 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
3948 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
3950 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
3951 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3952 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3953 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
3954 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
3956 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
3958 (round_mode): Add definition for FLOOR.
3959 * sysdeps/powerpc/fpu/s_floor.c: New file.
3960 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
3961 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
3962 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
3967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
3973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
3975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
3977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
3979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
3980 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
3981 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3982 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
3983 s_floorf-power5+, and s_floorf-ppc64.
3984 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
3985 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
3987 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
3988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
3989 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
3990 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
3992 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
3994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
3995 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
3996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3997 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
3998 s_floorf-power5+, and s_floorf-ppc64.
3999 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4007 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4008 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4009 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4010 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4012 2019-05-08 Mike Crowe <mac@mcrowe.com>
4014 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4015 clock_gettime wrapper for use in tests that fails the test rather
4016 than returning failure.
4018 * support/xtime.h: New file to declare xclock_gettime.
4020 * support/Makefile: Add xclock_gettime.c.
4022 * support/README: Mention xtime.h.
4024 2019-05-08 Florian Weimer <fweimer@redhat.com>
4026 malloc/tst-mallocfork2: Use process-shared barriers.
4027 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4028 (signal_count, sigusr1_sender_pid): Remove.
4029 (iterations): Define constant.
4030 (shared): New variable.
4031 (sigusr1_received): Update comment.
4032 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4033 (signal_sender): Optional use barriers to avoid sending signals
4034 during irrelevant times.
4035 (do_it): Initialize variable shared. Use xfork for error
4036 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4037 the iteration count, independent of signal delivery. Check for
4038 deadlocks in fork. Introduce barriers for reducing signal
4039 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4040 replaced by the barriers. Count signals during fork/free/malloc
4042 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4044 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4046 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4048 (clock_adjtime64) New syscall.
4049 (clock_getres_time64) Likewise.
4050 (clock_gettime64) Likewise.
4051 (clock_nanosleep_time64) Likewise.
4052 (clock_settime64) Likewise.
4053 (futex_time64) Likewise.
4054 (io_pgetevents_time64) Likewise.
4055 (io_uring_enter) Likewise.
4056 (io_uring_register) Likewise.
4057 (io_uring_setup) Likewise.
4058 (mq_timedreceive_time64) Likewise.
4059 (mq_timedsend_time64) Likewise.
4060 (pidfd_send_signal) Likewise.
4061 (ppoll_time64) Likewise.
4062 (pselect6_time64) Likewise.
4063 (recvmmsg_time64) Likewise.
4064 (rt_sigtimedwait_time64) Likewise.
4065 (sched_rr_get_interval_time64) Likewise.
4066 (semtimedop_time64) Likewise.
4067 (timer_gettime64) Likewise.
4068 (timer_settime64) Likewise.
4069 (timerfd_gettime64) Likewise.
4070 (timerfd_settime64) Likewise.
4071 (utimensat_time64) Likewise.
4073 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4074 version to 9 branch.
4076 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4078 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4079 __memmove_thunderx2 to the list of implementations
4080 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4081 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4082 (__memmove_thunderx2): Rewritten using SIMD ld/st
4083 (__memcpy_thunderx2): Fixed handling overlapping cases.
4084 Used ldp/stp instead of ldr/str if possible. Made loops
4087 2019-05-03 Florian Weimer <fweimer@redhat.com>
4089 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4091 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4094 * elf/tst-pldd.c (in_str_list): New function.
4095 (do_test): Add default names for ld and libc as one option.
4097 2019-05-02 Florian Weimer <fweimer@redhat.com>
4099 misc: Add twalk_r function.
4100 * include/search.h (__twalk_r): Declare.
4101 * manual/examples/twalk.c: New file.
4102 * manual/search.texi (Tree Search Function): Document twalk_r.
4103 * misc/Versions (2.30): Export twalk_r.
4104 (GLIBC_PRIVATE): Export __twalk_r.
4105 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4106 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4107 (twalk_r): Add weak alias.
4108 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4109 (walk_trace): New variable.
4110 (struct twalk_with_twalk_r_closure): Define.
4111 (twalk_with_twalk_r_action): New function.
4112 (twalk_with_twalk_r): Likewise.
4113 (walk_action): Call walk_trace_add.
4114 (walk_tree_with): Rename from walk_tree. Add walk argument.
4115 (walk_tree): New function.
4116 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4117 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4119 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4121 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4122 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4123 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4124 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4125 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4126 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4128 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4130 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4132 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4133 (GLIBC_2.30): Likewise.
4134 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4135 (GLIBC_2.30): Likewise.
4136 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4137 (GLIBC_2.30): Likewise.
4138 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4139 (GLIBC_2.30): Likewise.
4140 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4143 (GLIBC_2.30): Likewise.
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4145 (GLIBC_2.30): Likewise.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4147 (GLIBC_2.30): Likewise.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4149 (GLIBC_2.30): Likewise.
4150 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4152 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4154 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4156 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4157 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4159 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4161 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4163 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4166 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4168 Make mktime etc. compatible with __time64_t
4169 Keep these functions compatible with Gnulib while adding
4170 __time64_t support. The basic idea is to move private API
4171 declarations from include/time.h to time/mktime-internal.h, since
4172 the former file cannot easily be shared with Gnulib whereas the
4174 Also, do some other minor cleanup while in the neighborhood.
4175 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4176 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4177 since Gnulib needs it.
4178 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4179 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4180 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4181 (in_time_t_range): New static function.
4182 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4183 so that glibc users are not tempted to use __time64_t.
4184 * time/mktime-internal.h: Rewrite so that it does both glibc
4185 and Gnulib work. Include time.h if not _LIBC.
4186 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4187 (__time64_t): New type or macro, moved here from
4189 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4190 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4191 from include/time.h.
4192 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4193 New macros, taken from GNulib.
4194 (__mktime_internal): New prototype, moved here from include/time.h.
4195 * time/mktime.c (mktime_min, mktime_max, convert_time)
4196 (ranged_convert, __mktime_internal, __mktime64):
4197 * time/timegm.c (__timegm64):
4198 Use __time64_t, not time_t.
4199 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4200 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4202 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4203 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4204 for libc_hidden_def.
4206 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4208 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4210 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4213 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4214 from `-Wmaybe-uninitialized'.
4215 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4217 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4219 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4221 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4222 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4223 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4224 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4225 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4227 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4244 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4245 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4246 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4247 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4249 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4252 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4253 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4255 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4258 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4261 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4262 s_ceilf-power5+, and s_ceilf-ppc64.
4263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4268 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4269 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4270 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4271 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4273 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4274 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4275 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4277 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4279 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4280 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4281 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4282 (sem_getvalue): Likewise.
4284 2019-04-26 Florian Weimer <fweimer@redhat.com>
4286 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4287 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4289 2019-04-26 Florian Weimer <fweimer@redhat.com>
4291 Makeconfig: Move -Wl,-rpath-link options before library references.
4292 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4293 (link-libc): Remove $(link-libc-rpath-link).
4295 2019-04-25 Florian Weimer <fweimer@redhat.com>
4297 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4298 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4299 (+link-static-before-libc): Remove $(CC).
4300 (+link-static, +link-static-tests): Add $(CC).
4301 (+link-before-libc): Remove $(CC).
4302 (+link, +link-pie, +link-pie-printers): Add $(CC).
4304 2019-04-26 Florian Weimer <fweimer@redhat.com>
4306 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4307 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4308 (+link-static-before-libc): Remove $(CC).
4309 (+link-static, +link-static-tests): Add $(CC).
4310 (+link-before-libc): Remove $(CC).
4311 (+link, +link-pie, +link-pie-printers): Add $(CC).
4313 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4316 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4318 2019-04-25 Florian Weimer <fweimer@redhat.com>
4320 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4321 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4322 (bench-link-targets): New variable.
4323 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4325 2019-04-25 Florian Weimer <fweimer@redhat.com>
4327 Also enable BIND_NOW for programs if --enable-bind-now.
4328 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4329 (+link-pie): Use $(link-extra-flags).
4330 (+link-static): Likewise.
4331 [! $(build-pie-default)] (+link): Likewise.
4332 * manual/install.texi (Configuring and compiling): Update
4333 --enable-bind-now description.
4334 * INSTALL: Regenerated.
4336 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4338 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4339 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4341 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4344 * malloc/Makefile (others): Add memusagestat.
4345 ($(objpfx)memusagestat): Delete rule.
4346 (LDLIBS-memusagestat): New variable.
4348 2019-04-24 Florian Weimer <fweimer@redhat.com>
4350 * locale/Makefile (tests-special): Guard setting by
4351 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4352 to run while cross-compiling.
4354 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4357 * elf/Makefile (tests-container): Add tst-pldd.
4358 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4359 (E(find_maps)): Avoid use alloca, use default read file operations
4360 instead of explicit LFS names, and fix infinite loop.
4361 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4362 (get_process_info): Use _Static_assert instead of assert, use default
4363 directory operations instead of explicit LFS names, and free some
4365 * elf/tst-pldd.c: New file.
4367 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4369 * malloc/arena.c (do_set_mallopt_check): Removed.
4371 2019-04-23 Florian Weimer <fweimer@redhat.com>
4373 locale: Add LOCPATH diagnostics to the locale program.
4374 * locale/programs/locale.c (setlocale_failed): New variable.
4375 (try_setlocale): New function.
4376 (quote_string): Likewise.
4377 (setlocale_diagnostics): Likewise.
4378 (main): Call try_setlocale instead of setlocale. Call
4379 setlocale_diagnostics.
4380 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4381 (tst-locale-locpath.out): New target.
4382 * locale/tst-locale-locpath.sh: New file.
4384 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4386 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4389 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4392 * malloc/hooks.c (malloc_check, realloc_check): Use
4393 __builtin_add_overflow on overflow check and adapt to
4394 checked_request2size change.
4395 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4396 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4397 allocation size to PTRDIFF_MAX.
4398 (REQUEST_OUT_OF_RANGE): Remove macro.
4399 (checked_request2size): Change to inline function and limit maximum
4400 requested size to PTRDIFF_MAX.
4401 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4402 maximum allocation size to PTRDIFF_MAX.
4403 (_mid_memalign): Use _int_memalign call for overflow check.
4404 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4405 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4406 limit maximum requested size to PTRDIFF_MAX.
4407 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4408 valloc, pvalloc): Add __attribute_alloc_size__.
4409 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4410 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4411 larger than PTRDIFF_MAX.
4412 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4413 around tests of malloc with negative sizes.
4414 * malloc/tst-posix_memalign.c (do_test): Likewise.
4415 * malloc/tst-pvalloc.c (do_test): Likewise.
4416 * malloc/tst-valloc.c (do_test): Likewise.
4417 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4418 with resulting size allocation larger than PTRDIFF_MAX with
4419 reallocarray_nowarn.
4420 (reallocarray_nowarn): New function.
4421 * NEWS: Mention the malloc function semantic change.
4423 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4425 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4426 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4428 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4429 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4430 * sysdeps/powerpc/fpu/s_fma.c: New file.
4431 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4433 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4434 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4436 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4437 the magic flag store.
4438 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4440 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4442 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4443 Remove rt_sigreturn call.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4446 Remove rt_sigreturn call.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4452 * support/Makefile (libsupport-routines): Add support_subprocess,
4453 xposix_spawn, xposix_spawn_file_actions_addclose, and
4454 xposix_spawn_file_actions_adddup2.
4455 (tst-support_capture_subprocess-ARGS): New rule.
4456 * support/capture_subprocess.h (support_capture_subprogram): New
4458 * support/support_capture_subprocess.c (support_capture_subprocess):
4459 Refactor to use support_subprocess and support_capture_poll.
4460 (support_capture_subprogram): New function.
4461 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4462 str_to_write_mode, test_common, parse_int, handle_restart,
4463 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4464 (do_test): Add support_capture_subprogram tests.
4465 * support/subprocess.h: New file.
4466 * support/support_subprocess.c: Likewise.
4467 * support/xposix_spawn.c: Likewise.
4468 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4469 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4470 * support/xspawn.h: Likewise.
4472 2019-04-17 Mike Gerow <gerow@google.com>
4474 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4477 2019-04-11 Florian Weimer <fweimer@redhat.com>
4479 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4480 domain with empty string.
4481 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4483 2019-04-11 Florian Weimer <fweimer@redhat.com>
4485 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4487 (alloc_buffer_next): Change return type to non-const. Update
4490 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4492 * manual/time.texi (Formatting Calendar Time): Add missing percent
4493 sign to conversion specifier.
4495 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4496 Kwok Cheung Yeung <kcy@codesourcery.com>
4499 * malloc/mtrace.c: Define prototypes for all hooks.
4500 (set_default_hooks): New function.
4501 (set_trace_hooks): Likewise.
4502 (save_default_hooks): Likewise.
4503 (tr_freehook): Use new s*_hooks functions.
4504 (tr_mallochook): Likewise.
4505 (tr_reallochook): Likewise.
4506 (tr_memalignhook): Likewise.
4508 (muntrace): Likewise.
4510 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4512 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4513 (generic_stpcpy): New function.
4514 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4515 (generic_stpncpy): New function.
4516 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4517 (generic_strcat): New function.
4518 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4519 (generic_strcpy): New function.
4520 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4521 (STUPID_STRNCAT): Remove function.
4522 (generic_strncat): New function.
4523 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4524 (STUPID_STRNCPY): Remove function.
4525 (generic_strncpy): New function.
4526 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4527 (generic_strnlen): New function.
4528 (memchr_strnlen): New function.
4529 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4530 (memchr_strlen): Likewise.
4532 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4534 * benchtests/bench-strstr.c (input): Add realistic input text.
4535 (stupid_strstr): Remove function.
4536 (basic_strstr): Add function.
4537 (twoway_strstr): Add function.
4538 (do_one_test): Add result checking.
4539 (do_test): Use new input text. Remove accidental early matches.
4540 (test_main): Improve range of tests, reduce unaligned cases.
4542 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4544 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4545 (basic_memmem): Add function.
4546 (twoway_memmem): Add function.
4548 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4550 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4551 * benchtests/bench-malloc-thread.c: Likewise.
4552 * benchtests/bench-skeleton.c: Likewise.
4553 * benchtests/bench-strtod.c: Likewise.
4554 * benchtests/bench-timing.h: Likewise.
4556 2019-04-08 Florian Weimer <fweimer@redhat.com>
4558 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4560 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4561 RES_INSECURE2 security checks.
4562 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4563 RES_INSECURE2 handling.
4565 2019-04-08 Florian Weimer <fweimer@redhat.com>
4567 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4568 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4569 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4571 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4572 (tests-internal): Update justification for tst-resolv-res_init,
4573 tst-resolv-res_init-thread.
4574 (tst-res_use_inet6): Remove target.
4575 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4576 * resolv/res_debug.c (p_option): Remove "inet6" support.
4577 * resolv/res_init.c (res_setoptions): Likewise.
4578 * resolv/res_use_inet6.h: Remove file.
4579 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4581 (res_use_inet6): Always return false.
4582 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4583 * resolv/resolv_context.h: Adjust file comment.
4584 (struct resolv_context): Update comment on __next field.
4585 (__resolv_context_put): Update comment.
4586 * resolv/tst-res_use_inet6.c: Remove file.
4587 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4589 (test_cases): Adjust test case.
4590 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4591 (thread_byname2_af_inet6): Use old byname_inet6 code.
4592 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4593 (gai): Remove do_inet6 argument.
4594 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4595 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4596 (thread_gai_unspec_inet6): Remove functions.
4597 (do_test): Adjust thread_funcs.
4598 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4600 (gaih_inet): Do not disable RES_USE_INET6 flag.
4602 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4604 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4605 and remove redundant code.
4607 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4609 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4611 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4612 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4616 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4619 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4620 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4621 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4622 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4623 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4625 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4627 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4629 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4630 Remove wcsrchr optimizations.
4631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4633 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4636 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4638 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4641 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4646 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4647 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4648 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4649 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4650 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4651 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4652 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4654 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4657 Remove wcschr optimizations.
4658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4660 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4663 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4665 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4666 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4673 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4674 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4675 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4676 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4677 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4679 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4681 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4684 Remove wcscpy optimizations.
4685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4687 * include/loop_unroll.h: New file.
4688 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4689 besides generic implementation.
4691 2019-04-03 DJ Delorie <dj@redhat.com>
4693 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4694 snprintf truncating output.
4696 2019-04-02 DJ Delorie <dj@redhat.com>
4698 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4701 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4704 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4706 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4707 (mkreftable): Add rules for the new Japanese era and the new dates.
4709 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4710 Rafał Lużyński <digitalfreak@lingonborough.com>
4712 * time/tst-strftime2.c (date_t): Explicitly define the type.
4713 (dates): Use natural month and year numbers to express a date.
4714 (is_before): New function to compare dates.
4715 (mkreftable): Minor improvements to simplify maintenance.
4716 (do_test): Reflect the changes in dates array.
4719 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4720 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4721 * time/tst-strftime2.c (locales): Likewise.
4722 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4723 2010-04-01, and 2011-04-01.
4724 (mkreftable): Add rules for the new locales and the new dates.
4726 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4728 * localedata/locales/ja_JP: Add comments to era entries.
4730 2019-04-01 DJ Delorie <dj@redhat.com>
4733 * time/strptime_l.c (%Ey): Fix fencepost error.
4734 * time/tst-strftime3.c: New.
4735 * time/Makefile (tests): Add tst-strftime3.
4737 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
4739 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4740 conditional branch to DIVBYZERO. Fix unwind info.
4741 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4742 excb after conditional branch to $powerof2. Add missing unop
4743 instructions and .align directives and reorder instructions to
4746 2019-04-01 Richard Henderson <rth@twiddle.net>
4748 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4750 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4753 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4755 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4756 $libc_cv_riscv_float_abi in `test' invocation.
4757 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4759 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4761 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4763 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4765 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4766 (_GET_SI_FPSCR): Likewise.
4767 (_SET_SI_FPSCR): Likewise.
4769 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4771 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4773 (signbit): Use builtin for clang 3.3.
4774 (isinf): Use builtin for clang 3.7.
4776 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4778 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4780 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4782 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4785 2019-03-25 Mike Crowe <mac@mcrowe.com>
4787 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4788 pthread_rwlock_timedrdlock with calls to
4789 pthread_rwlock_timedwrlock to ensure that the latter is tested
4790 too. Use new function name in diagnostic messages too.
4792 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4793 (do_test) Use libsupport test macros rather than hand-coded
4794 conditionals and error messages. Ensure that sem_init returns zero
4795 rather than not -1. Use <support/test-driver.c> rather than
4798 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4799 test macros rather than hand-coded conditionals and error messages.
4800 Use <support/test-driver.c> rather than test-skeleton.c.
4802 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4804 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4806 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4807 (NT_MIPS_MSA): Likewise.
4809 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4811 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4812 * benchtests/README: Update description.
4813 * benchtests/bench-timing.h: Default to hp-timing.
4814 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4815 HP_TIMING_PRINT): Remove.
4816 (HP_TIMING_NOW): Add generic implementation.
4817 (hp_timing_t): Change to uint64_t.
4819 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4821 * nptl/descr.h: Likewise.
4822 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4823 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4824 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4825 Abstract hp-timing usage with RTLD_* macros.
4826 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4827 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4828 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4829 HP_TIMING_NONAVAIL): Likewise.
4830 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4832 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4833 HP_SMALL_TIMING_AVAIL): Likewise.
4834 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4835 HP_SMALL_TIMING_AVAIL): Likewise.
4836 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4837 HP_SMALL_TIMING_AVAIL): Likewise.
4838 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4839 HP_SMALL_TIMING_AVAIL): Likewise.
4840 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4842 * sysdeps/generic/hp-timing-common.h: Update comment with
4843 HP_TIMING_AVAIL removal.
4845 * include/random-bits.h: New file.
4846 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4847 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4849 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4850 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4853 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4854 * rt/Makefile (clock-routines): Remove get_clockfreq.
4855 * rt/get_clockfreq.c: Remove file.
4856 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4857 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4860 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4862 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4863 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4864 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4865 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4866 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4868 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4869 pthread_clock_settime.
4870 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4871 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4872 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4873 * elf/rtld.c (_dl_start_final): Likewise.
4874 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4875 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4877 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4878 (_dl_cpuclock_offset): Remove.
4879 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4880 cpuclock_offset_ununsed.
4881 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
4882 cpuclock_offset set.
4883 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4884 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4885 * nptl/pthread_clock_gettime.c: Remove file.
4886 * nptl/pthread_clock_settime.c: Likewise.
4887 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
4888 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
4889 and CLOCK_PROCESS_CPUTIME_ID support.
4890 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
4891 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
4892 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
4893 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
4894 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
4896 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
4898 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4900 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
4901 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
4902 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
4904 * sysdeps/s390/memmem-arch13.S: New file.
4905 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
4906 if it is only used as fallback.
4907 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
4908 * sysdeps/s390/multiarch/ifunc-impl-list.c
4909 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
4911 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4913 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
4914 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
4915 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
4917 * sysdeps/s390/multiarch/ifunc-impl-list.c
4918 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
4919 * sysdeps/s390/strstr-arch13.S: New file.
4920 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
4921 if it is only used as fallback.
4922 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
4924 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4926 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
4927 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
4928 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
4929 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
4931 * sysdeps/s390/multiarch/ifunc-impl-list.c
4932 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
4933 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
4934 S390_IS_ARCH13_MIE3): New defines.
4936 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4938 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
4939 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
4940 * sysdeps/s390/configure.ac: Add checks for arch13 support.
4941 * sysdeps/s390/configure: Regenerated.
4943 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
4945 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
4946 Add vxe2, vxp, dflt, sort flags.
4947 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
4948 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
4950 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
4951 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
4952 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
4953 HWCAP_S390_DFLT): Define.
4955 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4958 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
4959 of compiler warning.
4960 * locale/programs/ld-collate.c (collate_output): Likewise.
4962 2019-03-21 DJ Delorie <dj@redhat.com>
4965 * iconv/iconvconfig.c (write_output): Replace floating point math
4966 with integer math to avoid imprecise results.
4967 * locale/programs/ld-collate.c (collate_output): Likewise.
4969 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
4971 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
4972 Add HWCAP_S390_VX and HWCAP_S390_VXE.
4974 2019-03-20 mansayk <6688000@gmail.com>
4977 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
4978 (abday): Likewise, but remove the trailing dots.
4980 2019-03-19 Joseph Myers <joseph@codesourcery.com>
4982 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
4984 (HWCAP_PACA): Likewise.
4985 (HWCAP_PACG): Likewise.
4986 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4988 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
4990 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4992 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
4995 2019-03-15 Joseph Myers <joseph@codesourcery.com>
4997 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4999 (old_getpagesize): New syscall.
5001 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5004 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5005 * localedata/locales/cmn_TW (era): Likewise.
5006 * localedata/locales/hak_TW (era): Likewise.
5007 * localedata/locales/lzh_TW (era): Likewise.
5008 * localedata/locales/nan_TW (era): Likewise.
5010 2019-03-14 Adam Maris <amaris@redhat.com>
5012 * malloc/malloc.c (_int_malloc): Check for large bin list
5013 corruption when inserting unsorted chunk.
5015 2019-03-14 Florian Weimer <fweimer@redhat.com>
5017 Remove obsolete, never-implemented XSI STREAMS declarations.
5018 * manual/terminal.texi (Allocation): Remove portability note and
5020 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5022 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5023 * sysdeps/unix/inet/Subdirs (streams): Remove.
5024 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5025 (conformtest-headers-UNIX98): Likewise.
5026 (conformtest-headers-XOPEN2K): Likewise.
5027 (conformtest-headers-POSIX2008): Likewise.
5028 * posix/compat-streams.c: New file.
5029 * posix/Makefile (routines): Add it.
5030 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5031 getpmsg, isastream, putmsg, putpmsg.
5032 (GLIBC_2.30): New section.
5033 * bits/stropts.h: Remove file.
5034 * bits/xtitypes.h: Likewise.
5035 * conform/data/stropts.h-data: Likewise.
5036 * include/stropts.h: Likewise.
5037 * include/sys/stropts.h: Likewise.
5038 * include/xtitypes.h: Likewise.
5039 * streams/Makefile: Likewise.
5040 * streams/fattach.c: Likewise.
5041 * streams/fdetach.c: Likewise.
5042 * streams/getmsg.c: Likewise.
5043 * streams/getpmsg.c: Likewise.
5044 * streams/isastream.c: Likewise.
5045 * streams/putmsg.c: Likewise.
5046 * streams/putpmsg.c: Likewise.
5047 * streams/stropts.h: Likewise.
5048 * streams/sys/stropts.h: Likewise.
5049 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5050 * sysdeps/s390/bits/xtitypes.h: Likewise.
5051 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5052 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5053 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5054 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5055 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5056 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5057 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5058 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5059 * sysdeps/x86/bits/xtitypes.h: Likewise.
5061 2019-03-14 Florian Weimer <fweimer@redhat.com>
5063 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5065 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5066 but not with libnss_files.
5067 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5069 2019-03-14 Zack Weinberg <zackw@panix.com>
5071 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5072 Specify encoding="utf-8" when opening headers to check.
5074 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5076 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5078 (Context.checkout_tar): Handle variable major version for Linux
5081 2019-03-13 Florian Weimer <fweimer@redhat.com>
5084 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5086 2019-03-13 Zack Weinberg <zackw@panix.com>
5088 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5090 * include/inttypes.h: Adjust to match.
5091 * include/stdint.h: New wrapper.
5093 2019-03-13 Zack Weinberg <zackw@panix.com>
5095 * scripts/check-obsolete-constructs.py: New test script.
5096 * scripts/check-installed-headers.sh: Remove tests for
5097 obsolete typedefs, superseded by check-obsolete-constructs.py.
5098 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5099 as a special test. Update commentary.
5100 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5101 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5103 * posix/sys/types.h (__u_intN_t): Remove.
5104 (u_int8_t): Typedef using __uint8_t.
5105 (u_int16_t): Typedef using __uint16_t.
5106 (u_int32_t): Typedef using __uint32_t.
5107 (u_int64_t): Typedef using __uint64_t.
5109 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5111 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5113 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5114 Ignore types other than AT_HWCAP.
5115 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5116 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5118 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5119 in the case of falling back to generic output mechanism.
5120 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5123 2019-03-12 Florian Weimer <fweimer@redhat.com>
5125 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5127 2019-03-12 Florian Weimer <fweimer@redhat.com>
5130 resolv: Enable full ICMP errors for UDP DNS sockets
5131 * resolv/res_enable_icmp.c: New file.
5132 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5133 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5134 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5137 2019-03-11 Mao Han <han_mao@c-sky.com>
5139 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5140 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5142 2019-03-11 Mao Han <han_mao@c-sky.com>
5144 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5145 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5146 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5148 2019-03-11 Mao Han <han_mao@c-sky.com>
5150 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5152 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5155 2019-03-11 Mao Han <han_mao@c-sky.com>
5157 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5158 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5161 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5164 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5165 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5167 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5168 * localedata/unicode-gen/PropList.txt: Likewise.
5169 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5170 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5171 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5172 * localedata/charmaps/UTF-8: Regenerate.
5173 * localedata/locales/i18n_ctype: Likewise.
5174 * localedata/locales/tr_TR: Likewise.
5175 * localedata/locales/translit_circle: Likewise.
5176 * localedata/locales/translit_cjk_compat: Likewise.
5177 * localedata/locales/translit_combining: Likewise.
5178 * localedata/locales/translit_compat: Likewise.
5179 * localedata/locales/translit_font: Likewise.
5180 * localedata/locales/translit_fraction: Likewise.
5182 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5184 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5185 than after operators.
5186 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5187 (setitimer_locked): Likewise.
5188 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5189 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5190 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5191 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5192 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5193 (PPC_CPU_SUPPORTED): Likewise.
5194 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5195 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5196 (stat_overflow): Likewise.
5197 (statfs_overflow): Likewise.
5198 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5199 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5200 (eq_ttyname_r): Likewise.
5201 (run_chroot_tests): Likewise.
5203 2019-03-07 Florian Weimer <fweimer@redhat.com>
5205 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5208 2019-03-07 Martin Liska <mliska@suse.cz>
5210 * math/Makefile: Change location where math-vector-fortran.h is
5212 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5213 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5214 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5215 * scripts/check-installed-headers.sh: Skip Fortran header files.
5216 * scripts/check-wrapper-headers.py: Likewise.
5218 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5220 * nptl/nptl-init.c (__have_futex_clock_realtime,
5221 __have_futex_clock_realtime): Remove definition.
5222 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5223 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5224 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5225 __ASSUME_FUTEX_CLOCK_REALTIME support.
5226 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5227 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5228 * sysdeps/unix/sysv/linux/kernel-features.h
5229 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5230 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5233 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5235 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5236 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5237 __GI___wcscpy and wcscpy.
5239 2019-03-04 Florian Weimer <fweimer@redhat.com>
5241 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5243 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5246 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5248 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5249 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5251 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5254 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5255 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5257 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5259 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5261 (do_test): Likewise.
5262 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5263 (do_test_call_varg): Likewise.
5264 (do_test_call_rarg): Likewise.
5265 * sysdeps/ieee754/ldbl-opt/Makefile
5266 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5268 ($(objpfx)tst-nldbl-warn.c): New rule.
5269 ($(objpfx)tst-nldbl-error.c): Likewise.
5270 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5273 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5276 * include/bits/error-ldbl.h: New file.
5277 * include/error.h: Include stdarg.h. Declare internal functions
5278 __error_internal and __error_at_line_internal.
5279 * misc/Makefile (headers): Add bits/error-ldbl.h.
5280 * misc/bits/error-ldbl.h: New file.
5281 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5282 avoid the inclusion of bits/error.h.
5283 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5284 and __nldbl_error_at_line.
5285 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5286 (__nldbl_error, __ndlbl_error_at_line): New functions.
5287 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5288 Redirect error and error_at_line.
5289 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5298 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5299 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5300 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5302 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5305 * include/bits/err-ldbl.h: New file.
5306 * include/err.h: Add prototypes for the internal functions:
5307 __vwarnx_internal and __vwarn_internal.
5308 * misc/Makefile (headers): Add bits/err-ldbl.h.
5309 * misc/bits/err-ldbl.h: New file.
5310 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5311 defined, i.e.: when -mlong-double-64 is in use.
5312 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5313 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5314 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5315 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5316 (VA_CALL): New macro.
5317 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5318 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5320 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5321 declare prototypes for the new functions.
5322 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5331 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5332 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5333 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5335 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5337 * sysdeps/ieee754/ldbl-opt/Makefile
5338 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5339 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5340 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5342 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5345 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5346 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5347 * argp/bits/argp-ldbl.h: New file.
5348 * include/argp.h: Include stdarg.h. Add prototypes for internal
5349 functions: __argp_error_internal and __argp_failure_internal.
5350 * include/bits/argp-ldbl.h: New file.
5351 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5352 __nldbl_argp_error and __nldbl_argp_failure.
5353 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5354 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5355 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5356 Redirect argp_error and argp_failure calls.
5357 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5366 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5367 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5368 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5370 2019-03-01 Florian Weimer <fweimer@redhat.com>
5373 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5374 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5375 code, to avoid creating an ABI tag note.
5376 (modules-names-nobuild): Add tst-big-note-lib.
5378 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5380 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5381 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5383 2019-03-01 Florian Weimer <fweimer@redhat.com>
5386 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5387 (__netlink_assert_response): Add additional missing newlines.
5389 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5391 * sysdeps/powerpc/powerpc32/dl-machine.c
5392 (__elf_machine_fixup_plt): Use space before '('.
5393 (__process_machine_rela): Likewise.
5394 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5396 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5398 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5400 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5401 (pattern): Likewise.
5403 (check_result): Likewise.
5404 (check_excepts): Likewise.
5405 (check_op): Likewise.
5406 (fail_xr): Likewise.
5407 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5408 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5410 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5413 (__makecontext): Likewise.
5414 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5417 2019-02-28 Florian Weimer <fweimer@redhat.com>
5420 elf: Add test with a local IFUNC resolver.
5421 * elf/ifuncmain9.c: New file.
5422 * elf/ifuncmain9pic.c: Likewise.
5423 * elf/ifuncmain9picstatic.c: Likewise.
5424 * elf/ifuncmain9pie.c: Likewise.
5425 * elf/ifuncmain9static.c: Likewise.
5426 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5427 ifuncmain9static, ifuncmain9picstatic.
5428 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5429 Add ifuncmain9, ifuncmain9pic.
5430 * elf/Makefile [multi-arch && build-shared && have-fpie]
5431 (ifunc-pie-tests): Add ifuncmain9pie.
5432 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5433 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5434 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5436 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5438 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5439 * configure: Regenerated.
5440 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5442 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5445 symbol as __wcspcy instead of wcscpy.
5447 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5449 * include/stdio.h (__renameat2): New hidden prototype.
5450 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5451 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5452 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5453 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5455 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5457 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5460 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5461 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5462 * benchtests/bench-strlen.c (do_test): Likewise.
5463 (test_main): Likewise.
5464 * catgets/gencat.c (read_old): Likewise.
5465 * elf/cache.c (load_aux_cache): Likewise.
5466 * iconvdata/bug-iconv8.c (do_test): Likewise.
5467 * math/test-tgmath-ret.c (do_test): Likewise.
5468 * nis/nis_call.c (rec_dirsearch): Likewise.
5469 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5470 * nptl/tst-audit-threads.c (do_test): Likewise.
5471 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5472 * nss/nss_test1.c (init): Likewise.
5473 * nss/test-netdb.c (test_hosts): Likewise.
5474 * posix/execvpe.c (maybe_script_execute): Likewise.
5475 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5476 * stdio-common/tst-printf.c (do_test): Likewise.
5477 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5478 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5479 * stdlib/qsort.c (STACK_SIZE): Likewise.
5480 * stdlib/test-canon.c (do_test): Likewise.
5481 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5482 * string/memcmp.c (OPSIZ): Likewise.
5483 * string/test-strcpy.c (do_test): Likewise.
5484 (do_random_tests): Likewise.
5485 * string/test-strlen.c (do_test): Likewise.
5486 (test_main): Likewise.
5487 * string/test-strrchr.c (do_test): Likewise.
5488 (do_random_tests): Likewise.
5489 * string/tester.c (test_memrchr): Likewise.
5490 (test_memchr): Likewise.
5491 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5492 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5493 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5494 (read_encoded_value_with_base): Likewise.
5495 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5496 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5497 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5498 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5499 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5500 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5502 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5504 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5505 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5506 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5508 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5510 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5512 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5514 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5515 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5516 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5517 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5518 * time/test_time.c (main): Likewise.
5520 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5522 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5524 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5527 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5530 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5532 * include/wchar.h (__wcscpy): New prototype.
5533 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5534 (__wcscpy): Route internal symbol to generic implementation.
5535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5536 Add internal __wcscpy alias.
5537 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5538 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5539 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5540 * wcsmbs/wcscpy.c (wcscpy): Add
5541 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5542 use generic implementation.
5543 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5545 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5548 * sysdeps/m68k/wcpcpy.c: Remove file.
5549 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5551 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5553 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5554 than after operators.
5555 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5556 * sysdeps/mach/hurd/getcwd.c
5557 (__hurd_canonicalize_directory_name_internal): Likewise.
5558 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5559 (pthread_mutex_consistent): Likewise.
5560 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5562 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5563 (__pthread_mutex_transfer_np): Likewise.
5564 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5565 (__pthread_mutex_unlock): Likewise.
5566 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5567 (mtx_owned_p): Likewise.
5568 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5569 (pthread_mutexattr_getrobust): Likewise.
5570 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5571 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5573 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5574 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5575 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5576 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5577 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5578 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5581 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5583 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5584 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5585 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5586 (____longjmp_chk): Likewise.
5587 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5590 (INTERNAL_SYSCALL): Likewise.
5591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5592 (INTERNAL_SYSCALL): Likewise.
5593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5594 (__get_clockfreq_via_cpuinfo): Likewise.
5596 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5598 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5599 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5600 (WORD_COPY_BWD): Likewise.
5601 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5604 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5605 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5607 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5609 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5611 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5612 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5613 rather than after operators.
5614 * elf/cache.c (print_cache): Likewise.
5615 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5616 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5617 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5618 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5619 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5620 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5621 (reauth_proc): Likewise.
5622 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5623 (__file_name_split_at): Likewise.
5624 (__directory_name_split_at): Likewise.
5625 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5626 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5627 * iconv/gconv_dl.c (do_print): Likewise.
5628 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5629 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5630 * locale/setlocale.c (new_composite_name): Likewise.
5631 * malloc/memusagestat.c (main): Likewise.
5632 * misc/fstab.c (fstab_convert): Likewise.
5633 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5635 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5636 (getgrent_next_file): Likewise.
5637 (internal_getgrnam_r): Likewise.
5638 (internal_getgrgid_r): Likewise.
5639 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5641 (internal_getgrent_r): Likewise.
5642 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5643 (getpwent_next_nss): Likewise.
5644 (getpwent_next_file): Likewise.
5645 (internal_getpwnam_r): Likewise.
5646 (internal_getpwuid_r): Likewise.
5647 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5649 (getspent_next_nss): Likewise.
5650 (internal_getspnam_r): Likewise.
5651 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5652 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5653 * string/strchr.c (STRCHR): Likewise.
5654 * string/strchrnul.c (STRCHRNUL): Likewise.
5655 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5656 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5657 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5658 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5659 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5661 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5662 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5663 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5664 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5665 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5666 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5667 (open_file): Likewise.
5668 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5669 (pthread_mutexattr_setprotocol): Likewise.
5670 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5671 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5672 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5673 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5674 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5676 (elf_machine_rela): Likewise.
5677 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5678 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5679 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5680 * sysdeps/posix/rename.c (rename): Likewise.
5681 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5682 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5683 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5684 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5685 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5686 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5687 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5689 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5691 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5692 * time/tzfile.c (__tzfile_compute): Likewise.
5694 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5696 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5697 rather than after operators.
5698 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5699 * crypt/md5.c (md5_finish_ctx): Likewise.
5700 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5701 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5702 * elf/cache.c (load_aux_cache): Likewise.
5703 * elf/dl-load.c (open_verify): Likewise.
5704 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5705 * elf/readelflib.c (process_elf_file): Likewise.
5706 * elf/rtld.c (dl_main): Likewise.
5707 * elf/sprof.c (generate_call_graph): Likewise.
5708 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5709 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5710 * hurd/dtable.c (reauth_dtable): Likewise.
5711 * hurd/getdport.c (__getdport): Likewise.
5712 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5713 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5714 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5716 * hurd/hurdioctl.c (fioctl): Likewise.
5717 * hurd/hurdselect.c (_hurd_select): Likewise.
5718 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5719 (STOPSIGS): Likewise.
5720 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5721 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5722 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5723 * hurd/msgportdemux.c (msgport_server): Likewise.
5724 * hurd/setauth.c (_hurd_setauth): Likewise.
5725 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5726 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5727 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5728 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5729 * login/tst-utmp.c (do_check): Likewise.
5730 (simulate_login): Likewise.
5731 * mach/lowlevellock.h (lll_lock): Likewise.
5732 (lll_trylock): Likewise.
5733 * math/test-fenv.c (ALL_EXC): Likewise.
5734 * math/test-fenvinline.c (ALL_EXC): Likewise.
5735 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5736 * nis/nis_call.c (__do_niscall3): Likewise.
5737 * nis/nis_callback.c (cb_prog_1): Likewise.
5738 * nis/nis_defaults.c (searchaccess): Likewise.
5739 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5740 * nis/nis_ismember.c (internal_ismember): Likewise.
5741 * nis/nis_local_names.c (nis_local_principal): Likewise.
5742 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5743 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5745 * nis/ypclnt.c (yp_match): Likewise.
5746 (yp_first): Likewise.
5747 (yp_next): Likewise.
5748 (yp_master): Likewise.
5749 (yp_order): Likewise.
5750 * nscd/hstcache.c (cache_addhst): Likewise.
5751 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5752 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5753 (internal_getpwuid_r): Likewise.
5754 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5755 * posix/glob.h (__GLOB_FLAGS): Likewise.
5756 * posix/regcomp.c (peek_token): Likewise.
5757 (peek_token_bracket): Likewise.
5758 (parse_expression): Likewise.
5759 * posix/regexec.c (sift_states_iter_mb): Likewise.
5760 (check_node_accept_bytes): Likewise.
5761 * posix/tst-spawn3.c (do_test): Likewise.
5762 * posix/wordexp-test.c (testit): Likewise.
5763 * posix/wordexp.c (parse_tilde): Likewise.
5764 (exec_comm): Likewise.
5765 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5766 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5767 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5768 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5769 * stdio-common/tst-fileno.c (do_test): Likewise.
5770 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5771 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5772 * stdlib/strtod_l.c (round_and_return): Likewise.
5773 (____STRTOF_INTERNAL): Likewise.
5774 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5775 * string/strcspn.c (STRCSPN): Likewise.
5776 * string/test-memmem.c (simple_memmem): Likewise.
5777 * termios/tcsetattr.c (tcsetattr): Likewise.
5778 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5779 * time/asctime.c (asctime_internal): Likewise.
5780 * time/strptime_l.c (__strptime_internal): Likewise.
5781 * time/sys/time.h (timercmp): Likewise.
5782 * time/tzfile.c (__tzfile_compute): Likewise.
5784 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5787 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5789 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5791 * argp/argp-help.c (__argp_error_internal): New function,
5792 renamed from __argp_error, but that takes a 'mode_flags'
5793 parameter to control the format of long double parameters.
5794 (__argp_error): Converted into a call __argp_error_internal.
5795 (__argp_failure_internal): New function, renamed from
5796 __argp_failure, but that takes a 'mode_flags' parameter.
5797 (__argp_failure): Converted into a call __argp_failure_internal.
5798 * misc/err.c (__vwarnx_internal): New function, renamed from
5799 vwarnx, but that takes a 'mode_flags' parameter.
5800 (vwarnx): Converted into a call to __vwarnx_internal.
5801 (__vwarn_internal): New function, renamed from vwarn, but that
5802 takes a 'mode_flags' parameter.
5803 (vwarn): Converted into a call to __vwarn_internal.
5804 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5805 call to __vfxprintf with 'mode_flags'.
5806 (__error_internal): New function, renamed from error, but that
5807 takes a 'mode_flags' parameter.
5808 (error): Converted into a call to __error_internal.
5809 (__error_at_line_internal): New function, renamed from
5810 error_at_line, but that takes a 'mode_flags' parameter.
5811 (error_at_line): Converted into a call to
5812 __error_at_line_internal.
5813 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5814 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5817 2019-02-20 Martin Liska <mliska@suse.cz>
5819 * math/Makefile: Install math-vector-fortran.h.
5820 * bits/math-vector-fortran.h: New file.
5821 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5823 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5825 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5826 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5828 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5830 * nptl/pthread_mutex_trylock.c: Fix comment.
5832 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5834 * nptl/pthread_tryjoin.c: Fix comment.
5836 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5839 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5840 after R_SPARC_H34 case.
5842 2019-02-18 Florian Weimer <fweimer@redhat.com>
5844 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5845 (getanswer): Do not call Dprintf.
5846 (res_gethostbyname2_context): Likewise.
5847 (res_gethostbyaddr_context): Likewise.
5849 2019-02-18 Florian Weimer <fweimer@redhat.com>
5851 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5853 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5855 * libio/stdfiles.c: Update comment.
5856 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5857 set _IO_stdin, _IO_stdout, _IO_stderr.
5858 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5859 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5861 (_IO_deallocate_file): New inline function.
5862 * libio/iolibio.h (_IO_vprintf): Remove definition.
5863 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5864 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5865 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5867 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5868 __builtin_expect. Use _IO_legacy_file.
5870 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5872 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5873 Initialize ctid with a known value and remove update of ctid
5875 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5876 as assumed current value of ctid_ptr.
5878 2019-02-16 Florian Weimer <fweimer@redhat.com>
5880 Check that non-sysdeps headers have wrapper headers.
5881 * scripts/check-wrapper-headers.py: New file.
5882 * Makefile (tests-special): Add check-wrapper-headers.out.
5883 (check-wrapper-headers.out): New target.
5884 * Rules (tests-special): Add check-wrapper-headers.out.
5885 (check-wrapper-headers.out): New target.
5887 2019-02-16 Florian Weimer <fweimer@redhat.com>
5889 Add missing header wrappers under include/.
5890 * include/ar.h: New file.
5891 * include/bits/mqueue2.h: Likewise.
5892 * include/bits/stdio.h: Likewise.
5893 * include/bits/stdio2.h: Likewise.
5894 * include/fstab.h: Likewise.
5895 * include/fts.h: Likewise.
5896 * include/lastlog.h: Likewise.
5897 * include/netinet/icmp6.h: Likewise.
5898 * include/netinet/igmp.h: Likewise.
5899 * include/netinet/ip6.h: Likewise.
5900 * include/re_comp.h: Likewise.
5901 * include/regexp.h: Likewise.
5902 * include/rpcsvc/bootparam.h: Likewise.
5903 * include/rpcsvc/yp_prot.h: Likewise.
5904 * include/sys/random.h: Likewise.
5905 * include/sys/stropts.h: Likewise.
5906 * include/sys/ttychars.h: Likewise.
5907 * include/sys/vfs.h: Likewise.
5908 * include/wait.h: Likewise.
5910 2019-02-16 Florian Weimer <fweimer@redhat.com>
5912 * nptl_db/proc_service.h: Move to ...
5913 * sysdeps/nptl/proc_service.h: ... here.
5914 * nptl_db/thread_db.h: Move to ...
5915 * sysdeps/nptl/thread_db.h: ... here.
5916 * nptl/descr.h: Include <thread_db.h>.
5918 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5920 * io/Makefile (tests): Add tst-lockf.
5921 * io/lockf.c (lockf): Use __fcntl and only define for
5922 !__OFF_T_MATCHES_OFF64_T.
5923 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
5924 __OFF_T_MATCHES_OFF64_T case.
5925 * io/tst-lockf.c: New file.
5926 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
5927 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
5928 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
5929 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
5930 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
5932 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
5933 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
5934 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
5936 2019-02-15 Florian Weimer <fweimer@redhat.com>
5939 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
5940 pd->result after the thread descriptor has been freed.
5942 2019-02-15 Joseph Myers <joseph@codesourcery.com>
5944 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
5945 from function return type.
5947 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
5949 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5951 * scripts/test_printers_common.py: Set TERM to a known harmless
5954 2019-02-14 Joseph Myers <joseph@codesourcery.com>
5956 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
5957 (xdr_u_int): Likewise.
5958 (xdr_enum): Likewise.
5959 (xdr_bytes): Reword fall-through comment.
5960 (xdr_string): Likewise.
5962 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5965 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
5966 (tests): Add tst-join8 tst-join9.
5967 * nptl/lll_timedwait_tid.c: Remove file.
5968 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
5969 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
5970 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
5971 * nptl/pthread_join_common.c (timedwait_tid): New function.
5972 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
5974 * nptl/tst-join5.c (thread_join): New function.
5975 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
5977 * nptl/tst-join8.c: New file.
5978 * nptl/tst-join9.c: Likewise.
5979 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
5980 lll_futex_timed_wait_cancel): Add generic macros.
5981 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
5983 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5984 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5985 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5986 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
5988 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
5990 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5991 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
5992 (lll_futex_timed_wait_cancel): New macro.
5994 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
5996 * benchtests/Makefile: Add malloc-simple benchmark.
5997 * benchtests/bench-malloc-simple.c: New benchmark.
5999 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6001 * benchtests/bench-memmove.c (do_one_test): Remove unused
6004 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6008 2019-01-13 Jim Wilson <jimw@sifive.com>
6011 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6012 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6014 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6016 * nptl/Makefile (tests): Add tst-unwind-thread.
6017 (CFLAGS-tst-unwind-thread.c): Define.
6018 * nptl/tst-unwind-thread.c: New file.
6019 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6022 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6024 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6026 * nis/nis_call.c (__do_niscall3): Likewise.
6028 * catgets/gencat.c (normalize_line): Use braces around empty
6030 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6031 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6032 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6033 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6034 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6035 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6036 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6039 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6042 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6044 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6045 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6046 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6047 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6048 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6049 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6050 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6051 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6052 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6053 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6054 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6055 * benchtests/bench-bcopy.c: Delete file.
6056 * benchtests/bench-bzero.c: Likewise.
6057 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6058 (simple_memccpy): Remove.
6059 (generic_memccpy): Add function.
6060 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6061 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6062 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6063 (generic_mempcpy): Add new function.
6064 * benchtests/bench-memset.c (simple_bzero): Remove.
6065 (builtin_bzero): Remove.
6066 (builtin_memset): Remove.
6067 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6068 (generic_rawmemchr): Add new function.
6070 2019-02-12 Florian Weimer <fweimer@redhat.com>
6072 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6074 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6077 * elf/Makefile (tests): Add tst-audit13.
6078 (modules-names): Add tst-audit13mod1.
6079 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6081 * elf/tst-audit13.c: New file.
6082 * elf/tst-audit13mod1.c: Likewise.
6084 2019-02-12 Florian Weimer <fweimer@redhat.com>
6087 * elf/rtld.c (unload_audit_module): New function.
6088 (report_audit_module_load_error): Likewise.
6089 (load_audit_module): Likewise. Extracted from dl_main. Call
6090 _dl_close if the laversion symbol cannot be found. Use early
6091 returns for error handling. Add malloc error check. Check for a
6092 zero return value from la_version. Remove spurious comment about
6093 static TLS initialization. Remove useless casts.
6094 (notify_audit_modules_of_loaded_object): New function. Extracted
6096 (load_audit_module): Likewise.
6097 (dl_main): Call load_audit_modules.
6099 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6101 * elf/dl-exception.c (_dl_exception_create_format): Add
6102 fall-through comments.
6103 * elf/ldconfig.c (parse_conf_include): Likewise.
6104 * elf/rtld.c (print_statistics): Likewise.
6105 * locale/programs/charmap.c (parse_charmap): Likewise.
6106 * misc/mntent_r.c (__getmntent_r): Likewise.
6107 * posix/wordexp.c (parse_arith): Likewise.
6108 (parse_backtick): Likewise.
6109 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6110 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6113 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6115 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6116 Use float instead of double.
6118 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6120 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6122 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6124 * sysdeps/powerpc/bits/mathinline.h: Remove.
6126 2019-02-08 Florian Weimer <fweimer@redhat.com>
6128 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6129 * math/bits/math-finite.h: Move to ...
6130 * bits/math-finite.h: ... here.
6132 2019-02-08 Florian Weimer <fweimer@redhat.com>
6134 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6135 * bits/unistd_ext.h: here.
6137 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6140 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6141 * nss/tst-nss-files-hosts-long.c: New file.
6142 * nss/tst-nss-files-hosts-long.root: New directory.
6143 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6144 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6146 2019-02-08 Florian Weimer <fweimer@redhat.com>
6148 * include/bits/unistd_ext.h: Remove file.
6149 * posix/bits/unistd_ext.h: Move to ...
6150 * sysdeps/generic/bits/unistd_ext.h: ... here.
6152 2019-02-08 Florian Weimer <fweimer@redhat.com>
6154 * include/bits/unistd_ext.h: New file.
6156 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6158 * time/tst-strftime2.c: Use array_length macros instead of magic
6161 2019-02-08 Florian Weimer <fweimer@redhat.com>
6164 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6166 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6167 locking if the new do_locking argument is true.
6168 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6169 __run_fork_handlers.
6171 2019-02-08 Florian Weimer <fweimer@redhat.com>
6174 Linux: Add gettid system call wrapper.
6175 * posix/Makefile (headers): Add bits/unistd_ext.h.
6176 * posix/bits/unistd_ext.h: New file.
6177 * posix/unistd.h: Include it.
6178 * manual/process.texi (Process Identification): Document gettid.
6179 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6180 tst-gettid, tst-gettid-kill.
6181 (tst-gettid): Link with $(shared-thread-library).
6182 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6183 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6184 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6185 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6186 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6187 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6189 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6191 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6192 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6194 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6196 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6198 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6200 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6202 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6204 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6206 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6207 (GLIBC_2.30): Likewise.
6208 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6209 (GLIBC_2.30): Likewise.
6210 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6211 (GLIBC_2.30): Likewise.
6212 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6213 (GLIBC_2.30): Likewise.
6214 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6217 (GLIBC_2.30): Likewise.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6219 (GLIBC_2.30): Likewise.
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6221 (GLIBC_2.30): Likewise.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6223 (GLIBC_2.30): Likewise.
6224 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6226 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6228 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6230 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6231 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6233 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6235 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6237 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6239 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6241 2019-02-08 Florian Weimer <fweimer@redhat.com>
6243 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6244 compatibility symbols.
6246 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6249 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6250 Add compiler barriers and comments.
6252 2019-02-07 Florian Weimer <fweimer@redhat.com>
6254 * include/array_length.h (array_length): Do not use a statement
6255 expression and _Static_assert, so that array_length can be used at
6256 file scope and as a constant expression.
6258 2019-02-07 Florian Weimer <fweimer@redhat.com>
6260 * support/xdlfcn.h (xdlmopen): Declare.
6261 * support/xdlmopen.c: New file.
6262 * support/Makefile (libsupport-routines): Add xdlmopen.
6264 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6266 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6267 before return type, without separate inline.
6268 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6269 * elf/dl-tunables.h (tunable_is_name): Likewise.
6270 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6271 (do_set_top_pad): Likewise.
6272 (do_set_mmap_threshold): Likewise.
6273 (do_set_mmaps_max): Likewise.
6274 (do_set_mallopt_check): Likewise.
6275 (do_set_perturb_byte): Likewise.
6276 (do_set_arena_test): Likewise.
6277 (do_set_arena_max): Likewise.
6278 (do_set_tcache_max): Likewise.
6279 (do_set_tcache_count): Likewise.
6280 (do_set_tcache_unsorted_limit): Likewise.
6281 * nis/nis_subr.c (count_dots): Likewise.
6282 * nptl/allocatestack.c (advise_stack_range): Likewise.
6283 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6285 (reduce_sincos): Likewise.
6286 (do_sincos): Likewise.
6287 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6288 (do_set_elision_enable): Likewise.
6289 (TUNABLE_CALLBACK_FNDECL): Likewise.
6291 2019-02-06 Florian Weimer <fweimer@redhat.com>
6293 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6294 (xdlsym): Use dlerror to detect a NULL symbol.
6296 2019-02-06 Florian Weimer <fweimer@redhat.com>
6298 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6300 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6302 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6304 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6306 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6308 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6309 __wmemcmp and weak alias to wmemcmp.
6311 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6314 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6315 TLS_TCB_AT_TP tls variant.
6316 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6317 Add alignment checks.
6318 * support/Makefile (libsupport-routines): Add xposix_memalign and
6320 * support/support.h: Add xposix_memalign.
6321 * support/xthread.h: Add xpthread_attr_setstack.
6322 * support/xposix_memalign.c: New File.
6323 * support/xpthread_attr_setstack.c: Likewise.
6325 2019-02-05 Florian Weimer <fweimer@redhat.com>
6328 arm: Use "nr" constraint for Systemtap probes, to avoid the
6329 compiler using memory operands for constants, due to the "o"
6330 alternative in the default "nor" constraint.
6331 * include/stap-probe.h [USE_STAP_PROBE]: Include
6332 <stap-probe-machine.h>
6333 * sysdeps/generic/stap-probe-machine.h: New file.
6334 * sysdeps/arm/stap-probe-machine.h: Likewise.
6336 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6338 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6339 with 0, not tcache->entries[tc_idx].
6341 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6344 2019-02-04 Andreas Schwab <schwab@suse.de>
6348 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6349 looking up collating elements match against (wide) character
6350 sequence instead of name. Correct alignment adjustment.
6351 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6352 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6353 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6354 (LOCALES): Add cs_CZ.ISO-8859-2.
6355 * posix/tst-fnmatch4.c: New file.
6356 * posix/tst-fnmatch5.c: New file.
6357 * include/wchar.h (__wmemcmp): Declare.
6358 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6359 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6360 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6361 * sysdeps/s390/wmemcmp.c: Likewise.
6363 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6367 * NEWS: Updated for CVE-2019-7309.
6368 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6369 upper 32 bits of RDX register for x32. Use unsigned Jcc
6370 instructions, instead of signed.
6371 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6372 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6374 2019-02-04 Florian Weimer <fweimer@redhat.com>
6376 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6377 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6378 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6380 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6381 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6382 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6383 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6385 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6387 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6389 (posix_spawn_file_actions_addopen): Likewise.
6390 (posix_spawn_file_actions_addclose): Likewise.
6391 (posix_spawn_file_actions_adddup2): Likewise.
6392 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6394 (posix_spawn_file_actions_addfchdir_np): Likewise.
6396 2019-02-04 David Newall <glibc@davidnewall.com>
6398 elf: Implement --preload option for the dynamic linker.
6399 * elf/rtld.c (preloadarg): New variable.
6400 (handle_preload_list): Pass through “where” argument to
6402 (dl_main): Handle "--preload" and add second call to
6403 handle_preload_list.
6404 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6405 (tst-rtld-preload-OBJS): Set variable.
6406 (tst-rtld-preload.out): New target.
6407 * elf/tst-rtld-preload.sh: New file.
6409 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6411 * Makefile (testrun.sh): Exit in case of incorrect argument.
6413 2019-02-04 Florian Weimer <fweimer@redhat.com>
6415 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6418 2019-02-03 Florian Weimer <fweimer@redhat.com>
6420 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6421 implicit overflow checks.
6423 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6425 * stdlib/isomac.c: Include <unistd.h>.
6427 2019-02-03 Florian Weimer <fweimer@redhat.com>
6429 * include/time.h (__tzfile_default): Use int, not long int, for
6431 * time/tzfile.c (struct ttinfo): Change type of the offset member
6433 (__tzfile_read): Remove useless cast.
6434 (__tzfile_default): Adjust prototype.
6435 * time/tzset.c (tz_rule): Change type of the offset member to int.
6436 (parse_offset): Change the type of the sign variable to int.
6438 2019-02-03 Florian Weimer <fweimer@redhat.com>
6441 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6442 * libio/getchar.c (getchar): Likewise.
6443 * libio/getchar_u.c (getchar_unlocked): Likewise.
6444 * libio/getwchar.c (getwchar): Likewise.
6445 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6446 * libio/iogets.c (_IO_gets): Likewise.
6447 * libio/vscanf.c (_IO_vscanf): Likewise.
6448 * libio/vwscanf.c (__vwscanf): Likewise.
6449 * libio/tst-bz24153.c: New file.
6450 * libio/Makefile (tests): Add it.
6452 2019-02-02 Florian Weimer <fweimer@redhat.com>
6455 * manual/resource.texi (Basic Scheduling Functions): Add
6456 portability note. Change process to task throughout the section.
6457 Remove incorrect comment about sched_yield as it affects
6458 tasks/threads, not entire processes.
6459 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6460 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6462 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6464 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6465 * configure: Regenerated.
6466 * manual/install.texi (Tools for Compilation): Update minimum GCC
6468 * INSTALL: Regenerated.
6470 2019-02-01 Florian Weimer <fweimer@redhat.com>
6472 * support/support_test_compare_string.c
6473 (support_test_compare_string): Use "string" in error message.
6474 * support/tst-test_compare_string.c (do_test): Adjust.
6476 2019-02-01 Florian Weimer <fweimer@redhat.com>
6478 * support/support_format_address_family.c
6479 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6481 2019-02-01 Florian Weimer <fweimer@redhat.com>
6483 * manual/socket.texi (Internet Address Formats): Clarify the byte
6484 order of struct sockaddr_in, struct sockaddr_in6. Document
6485 sin6_flowinfo and sin6_scope_id.
6487 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6489 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6490 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6491 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6492 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6493 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6494 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6496 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6498 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6499 [!MEMCHR](MEMCHR): Set to __memchr.
6500 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6501 Add memchr_generic and memchr_nosimd.
6502 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6503 (__libc_ifunc_impl_list): Add memchr ifuncs.
6504 * sysdeps/aarch64/multiarch/memchr.c: New file.
6505 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6506 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6508 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6510 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6512 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6513 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6514 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6515 Add IS_EMAG check for ifunc dispatch.
6516 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6517 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6519 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6521 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6522 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6524 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6527 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6529 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6531 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6533 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6534 syscall-template file.
6536 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6537 Torvald Riegel <triegel@redhat.com>
6538 Rik Prohaska <prohaska7@gmail.com>
6541 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6542 tst-rwlock-trywrlock-stall.
6543 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6544 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6545 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6546 Set __wrphase_fute to 1 only if we started the write phase.
6547 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6548 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6549 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6550 * support/xpthread_rwlock_destroy.c: New file.
6551 * support/xthread.h: Declare xpthread_rwlock_destroy.
6553 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6555 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6558 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6561 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6562 * libio/fileops.c (_IO_new_file_underflow): Likewise
6563 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6564 * libio/putchar.c (putchar): Likewise.
6565 * libio/putchar_u.c (putchar_unlocked): Likewise.
6566 * libio/putwchar.c (putchar): Likewise.
6567 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6568 * libio/tst-bz24051.c: New test.
6569 * libio/Makefile (tests): Add tst-bz24051
6571 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6574 regex: fix read overrun [BZ #24114]
6575 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6576 https://debbugs.gnu.org/34140
6577 * posix/regexec.c (proceed_next_node):
6578 Do not read past end of input buffer.
6580 2019-01-31 Florian Weimer <fweimer@redhat.com>
6583 * nss/nss_files/files-alias.c (get_next_alias): Handle
6584 continuation line without newline at the end.
6585 * nss/tst-nss-files-alias-truncated.c: New file.
6586 * nss/Makefile [$(build-shared)] (tests): Add
6587 tst-nss-files-alias-truncated.
6588 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6589 * support/namespace.h (struct support_chroot_configuration): Add
6591 (struct support_chroot): Add path_aliases member.
6592 * support/support_chroot.c (support_chroot_create): Handle
6594 (support_chroot_free): Free path_aliases.
6596 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6598 * version.h (RELEASE): Set to "development".
6599 (VERSION): Set to "2.29.9000".
6600 * NEWS: Add section for 2.30.
6602 * version.h (RELEASE): Set to "stable".
6603 (VERSION): Set to "2.29".
6604 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6606 * NEWS: Add the list of bugs fixed in 2.29.
6607 * manual/contrib.texi: Update contributors list with some more
6609 * manual/install.texi: Update latest versions of packages
6611 * INSTALL: Regenerated.
6613 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6615 * po/be.po: Update translations.
6616 * po/bg.po: Likewise.
6617 * po/ca.po: Likewise.
6618 * po/cs.po: Likewise.
6619 * po/da.po: Likewise.
6620 * po/de.po: Likewise.
6621 * po/el.po: Likewise.
6622 * po/eo.po: Likewise.
6623 * po/es.po: Likewise.
6624 * po/fi.po: Likewise.
6625 * po/fr.po: Likewise.
6626 * po/gl.po: Likewise.
6627 * po/hr.po: Likewise.
6628 * po/hu.po: Likewise.
6629 * po/ia.po: Likewise.
6630 * po/id.po: Likewise.
6631 * po/it.po: Likewise.
6632 * po/ja.po: Likewise.
6633 * po/ko.po: Likewise.
6634 * po/lt.po: Likewise.
6635 * po/nb.po: Likewise.
6636 * po/nl.po: Likewise.
6637 * po/pl.po: Likewise.
6638 * po/pt_BR.po: Likewise.
6639 * po/ru.po: Likewise.
6640 * po/rw.po: Likewise.
6641 * po/sk.po: Likewise.
6642 * po/sl.po: Likewise.
6643 * po/sv.po: Likewise.
6644 * po/tr.po: Likewise.
6645 * po/uk.po: Likewise.
6646 * po/vi.po: Likewise.
6647 * po/zh_CN.po: Likewise.
6648 * po/zh_TW.po: Likewise.
6650 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6653 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6654 of $f3 register on $y_is_neg path.
6656 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6659 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6660 sigaltstack.ss_flags.
6662 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6665 * manual/time.texi (strftime): Document "%Ey".
6666 * time/strftime_l.c (__strftime_internal): Set the default width
6667 padding with zero of "%Ey" to 2.
6670 * manual/time.texi (strftime): Document "%EC" and "%EY".
6671 * time/Makefile (tests): Add tst-strftime2.
6672 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6673 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6674 override padding for "%Ey".
6675 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6676 "%Ey" in the subformat as if decorated with that flag.
6677 * time/tst-strftime2.c: New file.
6679 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6681 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6685 * elf/Makefile (tests): Add tst-audit13.
6686 (modules-names): Add tst-audit13mod1.
6687 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6689 * elf/rtld.c (dl_main): Handle invalid audit module version.
6690 * elf/tst-audit13.c: New file.
6691 * elf/tst-audit13mod1.c: Likewise.
6693 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6695 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6696 returned by __hurd_at_flags.
6697 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6698 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6699 directly instead of __hurd_file_name_lookup.
6701 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6703 * scripts/build-many-glibcs.py (Context.checkout): Default
6704 binutils version to 2.32 branch.
6706 2019-01-21 Florian Weimer <fweimer@redhat.com>
6710 resolv: Reject trailing characters in host names
6711 * include/arpa/inet.h (__inet_aton_exact): Declare.
6712 (inet_aton): Remove hidden prototype. No longer used internally.
6713 * nscd/gai.c (__inet_aton): Do not define.
6714 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6715 * nss/digits_dots.c (__inet_aton): Likewise.
6716 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6717 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6718 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6719 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6720 (tst-resolv-trailing): Likewise.
6721 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6723 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6724 Make static. Add endp parameter.
6725 (__inet_aton_exact): New function.
6726 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6727 (__inet_addr): Call inet_aton_end.
6728 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6729 not just IPv6. Call __inet_aton_exact.
6730 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6731 (tests): Make const. Add additional test cases with trailing
6733 (do_test): Use array_length.
6734 * resolv/tst-inet_aton_exact.c: New file.
6735 * resolv/tst-resolv-trailing.c: Likewise.
6736 * resolv/tst-resolv-nondecimal.c: Likewise.
6737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6739 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6743 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6744 Clear the upper 32 bits of RSI register.
6745 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6746 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6747 and tst-size_t-wcsnlen.
6748 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6749 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6751 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6755 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6756 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6757 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6758 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6759 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6761 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6765 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6767 * sysdeps/x86_64/strcmp.S: Likewise.
6768 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6769 tst-size_t-strncmp and tst-size_t-wcsncmp.
6770 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6771 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6772 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6774 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6778 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6779 RDX_LP for length. Clear the upper 32 bits of RDX register.
6780 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6781 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6782 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6783 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6785 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6789 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6790 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6791 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6792 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6794 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6798 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6799 length. Clear the upper 32 bits of RDX register.
6800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6801 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6803 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6805 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6807 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6809 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6813 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6814 length. Clear the upper 32 bits of RDX register.
6815 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6816 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6817 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6819 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6820 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6822 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6826 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6827 upper 32 bits of RDX register.
6828 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6829 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6831 * sysdeps/x86_64/x32/test-size_t.h: New file.
6832 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6833 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6835 2019-01-18 Florian Weimer <fweimer@redhat.com>
6838 resolv: Do not send queries for non-host-names in nss_dns.
6839 * resolv/nss_dns/dns-host.c (check_name): New function.
6840 (_nss_dns_gethostbyname2_r): Use it.
6841 (_nss_dns_gethostbyname_r): Likewise.
6842 (_nss_dns_gethostbyname4_r): Likewise.
6844 2019-01-21 Florian Weimer <fweimer@redhat.com>
6846 * resolv/inet_addr.c: Reformat to GNU style.
6847 (__inet_addr, __inet_aton): Update comment.
6849 2019-01-18 Florian Weimer <fweimer@redhat.com>
6851 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6852 ("malloc: Use current (C11-style) atomics for fastbin access").
6853 This commit introduces a substantial performance regression on
6855 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6856 (REMOVE_FB): Define.
6857 (_int_malloc): Use it and reindent.
6858 (_int_free): Use CAS loop with
6859 catomic_compare_and_exchange_val_rel.
6860 (malloc_consolidate): Use atomic_exchange_acq.
6863 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6865 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6867 (LDFLAGS-tst-minsigstksz-2): Likewise.
6868 (LDFLAGS-tst-minsigstksz-3): Likewise.
6869 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6870 (LDFLAGS-tst-minsigstksz-4): Likewise.
6872 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6874 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6877 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6879 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6881 2019-01-16 Zack Weinberg <zackw@panix.com>
6883 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
6884 (xget_sigstack_location): New test support functions.
6885 * support/xsigstack.c: New file, implementing them.
6886 * support/tst-xsigstack.c: New test for them.
6887 * support/Makefile: Update.
6889 * signal/tst-minsigstksz-1.c
6890 * signal/tst-minsigstksz-2.c
6891 * signal/tst-minsigstksz-3.c
6892 * signal/tst-minsigstksz-3a.c
6893 * signal/tst-minsigstksz-4.c: New tests.
6894 * signal/Makefile: Run them.
6896 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
6898 * po/libc.pot: Regenerate.
6900 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6902 * math/libm-test-fma.inc (fma_test_data): Set
6903 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
6905 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6907 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
6908 (do_test): Changed __vector __int128_t to __vector unsigned int.
6910 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6913 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
6914 stpcpy-avx2 and stpncpy-avx2.
6915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
6916 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
6917 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
6919 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
6920 ifunc-strcpy.h}: rename header for a more generic name.
6921 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
6922 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
6923 AVX unaligned load is fast and vzeroupper is preferred.
6924 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
6925 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
6926 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
6927 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
6928 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
6929 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
6931 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
6933 * argp/argp-help.c: Fix typo in comment.
6934 * misc/sys/cdefs.h: Likewise.
6935 * posix/regexec.c (sift_states_iter_mb): Likewise.
6936 * socket/sockatmark.c: Likewise.
6937 * socket/sys/socket.h: Likewise.
6938 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
6939 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
6940 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
6941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6942 * sysdeps/unix/sockatmark.c: Likewise.
6943 * time/strptime_l.c: Likewise.
6945 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6947 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
6948 missing space after the cast of "_NL_CURRENT".
6950 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
6952 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
6953 ifdef to fix read of VSCR.
6954 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
6955 tst-ucontext-ppc64-vscr.c to test list.
6956 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
6958 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
6960 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
6963 2019-01-09 Jim Wilson <jimw@sifive.com>
6965 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
6967 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
6969 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
6970 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
6971 __memcpy_falkor for ares.
6972 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
6974 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6977 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
6980 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
6981 4_FP_W_TYPEs are used for IEEE quad precision.
6982 * soft-fp/extendhftf2.c: Likewise.
6983 * soft-fp/extendsftf2.c: Likewise.
6984 * soft-fp/extendxftf2.c: Likewise.
6985 * soft-fp/trunctfdf2.c: Likewise.
6986 * soft-fp/trunctfhf2.c: Likewise.
6987 * soft-fp/trunctfsf2.c: Likewise.
6988 * soft-fp/trunctfxf2.c: Likewise.
6989 * sysdeps/alpha/ots_cvttx.c: Likewise.
6990 * sysdeps/alpha/ots_cvtxt.c: Likewise.
6991 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
6992 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
6993 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
6994 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
6995 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
6996 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
6997 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
6998 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
6999 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7000 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7001 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7002 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7003 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7004 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7005 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7006 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7008 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7011 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7012 code with -fmath-errno.
7013 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7014 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7015 * string/test-strerror-errno.c: New file.
7017 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7020 * localedata/locales/en_US (date_fmt): Add, set to
7021 "%a %d %b %Y %r %Z".
7023 2019-01-07 Florian Weimer <fweimer@redhat.com>
7026 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7027 instead of @var{errno}.
7028 (Parsing of Integers): Likewise.
7029 (Parsing of Floats): Likewise.
7030 * manual/filesys.texi (Working with Directory Trees): Likewise.
7031 (Temporary Files): Likewise.
7032 * manual/job.texi (Terminal Access Functions): Likewise.
7033 * manual/llio.texi (Synchronizing I/O): Likewise.
7034 * manual/math.texi (SVID Random): Likewise.
7035 * manual/message.texi (The catgets Functions): Likewise.
7036 (Translation with gettext): Likewise.
7037 (Locating gettext catalog): Likewise.
7038 (Charset conversion in gettext): Likewise.
7039 * manual/nss.texi (NSS Module Function Internals): Likewise.
7040 * manual/search.texi (Hash Search Function): Likewise.
7041 * manual/setjmp.texi (System V contexts): Likewise.
7042 * manual/time.texi (Sleeping): Likewise.
7043 * manual/users.texi (Lookup User): Likewise.
7044 (Lookup Group): Likewise.
7046 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7048 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7051 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7054 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7055 __builtin_unreachable for default case in switch.
7056 (__ieee754_yn): Likewise.
7057 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7058 (__ieee754_ynl): Likewise.
7059 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7060 (__ieee754_ynl): Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7062 (__ieee754_ynl): Likewise.
7064 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7066 * manual/maint.texi: Use @{ and @}.
7068 2019-01-04 Florian Weimer <fweimer@redhat.com>
7070 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7072 (do_in_chroot_1): Call it.
7074 Improve error reporting in case it is not possible to create a
7075 collision for the PTY name required by the test.
7077 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7079 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7080 lll_wait_tid with timeout.
7081 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7082 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7083 futex_reltimed_wait_cancelable for cancelabla mode.
7084 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7085 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7087 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7088 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7089 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7090 SYSCALL_CANCEL_NCS): New macro.
7091 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7092 (lll_timedwait_tid): Remove macro.
7093 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7095 (lll_timedwait_tid): Likewise.
7096 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7098 (lll_timedwait_tid): Likewise.
7099 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7101 (lll_timedwait_tid): Likewise.
7102 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7103 Use INTERNAL_SYSCALL_CANCEL.
7104 * sysdeps/unix/sysv/linux/futex-internal.h
7105 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7106 instead of __pthread_{enable,disable}_asynccancel.
7107 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7108 (lll_futex_wait_cancel): New macro.
7110 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7111 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7113 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7114 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7116 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7117 in backtrace analysis.
7118 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7120 (tf_send): Likewise.
7122 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7123 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7124 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7125 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7126 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7127 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7128 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7129 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7130 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7131 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7132 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7133 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7135 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7136 tst-cancel-wrappers.sh.
7137 (generated): Remove tst-cancel-wrappers.out.
7138 (tst-cancel-wrappers.out): Remove rule.
7139 * nptl/tst-cancel-wrappers.sh: Remove file.
7141 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7143 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7144 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7147 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7150 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7151 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7152 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7153 close-on-exec reset for adddup2 file action.
7154 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7156 2019-01-03 Zack Weinberg <zackw@panix.com>
7158 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7159 parameter. Only use deprecated scanf when __USE_GNU is defined
7160 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7161 than 201103L, whichever is relevant for the language being compiled.
7163 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7164 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7165 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7166 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7167 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7171 * libio/iovswscanf.c
7176 * stdio-common/fscanf.c
7177 * stdio-common/scanf.c
7178 * stdio-common/vfscanf.c
7179 * stdio-common/vfwscanf.c
7180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7181 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7182 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7183 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7184 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7185 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7186 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7187 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7188 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7189 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7190 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7191 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7192 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7193 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7194 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7196 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7197 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7198 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7200 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7201 with a preprocessor macro.
7203 * stdio-common/bug21.c, stdio-common/scanf14.c:
7204 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7205 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7206 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7207 to xscanf, xfscanf, xsscanf.
7209 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7210 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7211 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7212 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7214 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7215 override feature selection macros or provide definitions of u_char etc.
7216 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7217 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7218 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7221 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7224 bits/termios-misc.h.
7225 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7226 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7227 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7228 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7229 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7230 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7232 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7233 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7234 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7235 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7236 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7237 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7239 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7240 (sysdep_headers): Add termios-misc.h.
7242 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7243 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7244 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7248 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7249 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7250 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7251 TCSAFLUSH): Move to termios-tcflow.h.
7252 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7253 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7254 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7255 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7259 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7260 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7261 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7262 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7263 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7264 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7265 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7266 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7268 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7269 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7270 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7275 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7276 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7277 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7278 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7279 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7281 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7282 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7283 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7289 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7290 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7291 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7293 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7294 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7295 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7296 __MAX_BAUD): Move to termios-baud.h.
7297 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7298 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7299 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7301 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7303 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7305 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7306 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7307 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7309 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7310 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7312 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7313 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7315 [USE_MISC] (XTABS): Likewise.
7316 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7317 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7319 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7321 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7323 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7324 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7325 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7326 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7327 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7328 IUTF8): Move to termios-c_iflag.h.
7329 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7330 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7331 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7332 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7334 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7336 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7337 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7338 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7339 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7340 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7341 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7342 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7343 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7344 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7345 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7346 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7347 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7349 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7350 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7351 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7352 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7355 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7357 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7359 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7361 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7365 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7366 _HAVE_C_OSPEED): Define.
7367 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7368 _HAVE_C_OSPEED): Likewise.
7369 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7370 _HAVE_C_OSPEED): Likewise.
7371 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7372 (cfsetospeed): Check for define value instead of existence.
7373 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7374 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7375 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7376 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7377 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7380 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7382 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7383 (TIOCSER_TEMT): Likewise.
7384 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7385 (TEOCSER_TEMT): Likewise.
7387 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7390 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7392 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7394 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7396 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7398 * sysdeps/htl/pt-barrierattr-setpshared.c
7399 (pthread_barrierattr_setpshared): Add stub warning.
7400 * sysdeps/htl/pt-condattr-setpshared.c
7401 (pthread_condattr_setpshared): Likewise.
7402 * sysdeps/htl/pt-mutexattr-setpshared.c
7403 (pthread_mutexattr_setpshared): Likewise.
7404 * sysdeps/htl/pt-rwlockattr-setpshared.c
7405 (pthread_rwlockattr_setpshared): Likewise.
7406 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7407 (pthread_mutexattr_setpshared): Likewise.
7409 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7411 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7412 constants to match with Linux 4.20.
7414 * sysdeps/mips/mips32/libm-test-ulps: Update.
7415 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7417 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7420 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7421 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7422 than __typeof (...) for the a_ptr variable.
7424 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7426 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7427 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7428 * libio/Makefile (tests): Add tst-sprintf-ub and
7430 (CFLAGS-tst-sprintf-ub.c): New variable.
7431 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7432 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7433 destination buffer and check for overflows in fortified mode.
7434 * libio/libioP.h (PRINTF_CHK): New macro.
7435 * libio/tst-sprintf-chk-ub.c: New file.
7436 * libio/tst-sprintf-ub.c: Likewise.
7438 2019-01-02 Florian Weimer <fweimer@redhat.com>
7441 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7444 2019-01-02 Florian Weimer <fweimer@redhat.com>
7446 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7448 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7450 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7453 * sysdeps/unix/sysv/linux/netpacket/packet.h
7454 (PACKET_IGNORE_OUTGOING): New macro.
7456 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7459 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7461 (riscv_flush_icache): New syscall.
7463 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7464 trailing whitespace removed.
7465 * scripts/config.guess: Update to version 2019-01-01.
7466 * scripts/config.sub: Update to version 2019-01-01.
7467 * scripts/move-if-change: Update from gnulib.
7469 * NEWS: Update copyright dates.
7470 * catgets/gencat.c (print_version): Likewise.
7471 * csu/version.c (banner): Likewise.
7472 * debug/catchsegv.sh: Likewise.
7473 * debug/pcprofiledump.c (print_version): Likewise.
7474 * debug/xtrace.sh (do_version): Likewise.
7475 * elf/ldconfig.c (print_version): Likewise.
7476 * elf/ldd.bash.in: Likewise.
7477 * elf/pldd.c (print_version): Likewise.
7478 * elf/sotruss.sh: Likewise.
7479 * elf/sprof.c (print_version): Likewise.
7480 * iconv/iconv_prog.c (print_version): Likewise.
7481 * iconv/iconvconfig.c (print_version): Likewise.
7482 * locale/programs/locale.c (print_version): Likewise.
7483 * locale/programs/localedef.c (print_version): Likewise.
7484 * login/programs/pt_chown.c (print_version): Likewise.
7485 * malloc/memusage.sh (do_version): Likewise.
7486 * malloc/memusagestat.c (print_version): Likewise.
7487 * malloc/mtrace.pl: Likewise.
7488 * manual/libc.texinfo: Likewise.
7489 * nptl/version.c (banner): Likewise.
7490 * nscd/nscd.c (print_version): Likewise.
7491 * nss/getent.c (print_version): Likewise.
7492 * nss/makedb.c (print_version): Likewise.
7493 * posix/getconf.c (main): Likewise.
7494 * scripts/test-installation.pl: Likewise.
7495 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7497 * All files with FSF copyright notices: Update copyright dates
7498 using scripts/update-copyrights.
7499 * locale/programs/charmap-kw.h: Regenerated.
7500 * locale/programs/locfile-kw.h: Likewise.
7502 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7504 * timezone/zdump.c: Update from tzcode 2018i.
7505 * timezone/zic.c: Likewise.
7507 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7509 regex: improve Gnulib port to AIX
7510 From the glibc point of view, this removes duplicate macro
7511 definitions and is obviously safe.
7512 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7513 * posix/regex_internal.h:
7514 (__attribute__, __attribute_warn_unused_result__):
7515 Remove; already defined elsewhere.
7517 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7520 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7521 copying operation. (ncopies had the wrong type, resulting in an
7522 integer wraparound and too few elements being copied.)
7524 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7527 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7528 <asm/syscalls.h> exists with __has_include__ before including it.
7530 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7532 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7535 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7537 * hurd/lookup-retry: Include <unistd.h>.
7538 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7539 Release it on return. Handle "pid" magical lookup retry.
7541 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7544 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7545 (t_fmt_ampm): Likewise.
7546 * localedata/locales/aa_ER (t_fmt): Likewise.
7547 (t_fmt_ampm): Likewise.
7548 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7549 (t_fmt_ampm): Likewise.
7550 * localedata/locales/aa_ET (t_fmt): Likewise.
7551 (t_fmt_ampm): Likewise.
7552 * localedata/locales/am_ET (t_fmt): Likewise.
7553 (t_fmt_ampm): Likewise.
7554 * localedata/locales/byn_ER (t_fmt): Likewise.
7555 (t_fmt_ampm): Likewise.
7556 * localedata/locales/om_ET (t_fmt): Likewise.
7557 (t_fmt_ampm): Likewise.
7558 * localedata/locales/sid_ET (t_fmt): Likewise.
7559 (t_fmt_ampm): Likewise.
7560 * localedata/locales/so_DJ (t_fmt): Likewise.
7561 (t_fmt_ampm): Likewise.
7562 * localedata/locales/so_ET (t_fmt): Likewise.
7563 (t_fmt_ampm): Likewise.
7564 * localedata/locales/so_SO (t_fmt): Likewise.
7565 (t_fmt_ampm): Likewise.
7566 * localedata/locales/ti_ER (t_fmt): Likewise.
7567 (t_fmt_ampm): Likewise.
7568 * localedata/locales/ti_ET (t_fmt): Likewise.
7569 (t_fmt_ampm): Likewise.
7570 * localedata/locales/tig_ER (t_fmt): Likewise.
7571 (t_fmt_ampm): Likewise.
7572 * localedata/locales/wal_ET (t_fmt): Likewise.
7573 (t_fmt_ampm): Likewise.
7575 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7576 * localedata/locales/ar_IN (t_fmt): Likewise.
7577 * localedata/locales/bhb_IN (t_fmt): Likewise.
7578 * localedata/locales/bho_IN (t_fmt): Likewise.
7579 * localedata/locales/bi_VU (t_fmt): Likewise.
7580 * localedata/locales/bn_BD (t_fmt): Likewise.
7581 * localedata/locales/bn_IN (t_fmt): Likewise.
7582 * localedata/locales/brx_IN (t_fmt): Likewise.
7583 * localedata/locales/doi_IN (t_fmt): Likewise.
7584 * localedata/locales/en_HK (t_fmt): Likewise.
7585 (t_fmt_ampm): Likewise.
7586 * localedata/locales/en_IN (t_fmt): Likewise.
7587 * localedata/locales/en_PH (t_fmt): Likewise.
7588 * localedata/locales/gu_IN (t_fmt): Likewise.
7589 * localedata/locales/hi_IN (t_fmt): Likewise.
7590 * localedata/locales/hif_FJ (t_fmt): Likewise.
7591 * localedata/locales/hne_IN (t_fmt): Likewise.
7592 * localedata/locales/kn_IN (t_fmt): Likewise.
7593 * localedata/locales/kok_IN (t_fmt): Likewise.
7594 * localedata/locales/ks_IN (t_fmt): Likewise.
7595 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7596 * localedata/locales/mag_IN (t_fmt): Likewise.
7597 * localedata/locales/mai_IN (t_fmt): Likewise.
7598 * localedata/locales/mjw_IN (t_fmt): Likewise.
7599 * localedata/locales/ml_IN (t_fmt): Likewise.
7600 * localedata/locales/mni_IN (t_fmt): Likewise.
7601 * localedata/locales/mr_IN (t_fmt): Likewise.
7602 * localedata/locales/ms_MY (t_fmt): Likewise.
7603 * localedata/locales/pa_IN (t_fmt): Likewise.
7604 * localedata/locales/raj_IN (t_fmt): Likewise.
7605 * localedata/locales/sa_IN (t_fmt): Likewise.
7606 * localedata/locales/sat_IN (t_fmt): Likewise.
7607 * localedata/locales/sd_IN (t_fmt): Likewise.
7608 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7609 * localedata/locales/tcy_IN (t_fmt): Likewise.
7610 * localedata/locales/the_NP (t_fmt): Likewise.
7611 * localedata/locales/to_TO (t_fmt): Likewise.
7612 * localedata/locales/ur_IN (t_fmt): Likewise.
7614 * localedata/locales/hif_FJ (d_t_fmt): Set to
7615 "%A %d %b %Y %I:%M:%S %p".
7616 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7618 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7619 * localedata/locales/ar_BH (t_fmt): Likewise.
7620 * localedata/locales/ar_DZ (t_fmt): Likewise.
7621 * localedata/locales/ar_EG (t_fmt): Likewise.
7622 * localedata/locales/ar_IQ (t_fmt): Likewise.
7623 * localedata/locales/ar_JO (t_fmt): Likewise.
7624 * localedata/locales/ar_KW (t_fmt): Likewise.
7625 * localedata/locales/ar_LB (t_fmt): Likewise.
7626 * localedata/locales/ar_LY (t_fmt): Likewise.
7627 * localedata/locales/ar_OM (t_fmt): Likewise.
7628 * localedata/locales/ar_QA (t_fmt): Likewise.
7629 * localedata/locales/ar_SD (t_fmt): Likewise.
7630 * localedata/locales/ar_SS (t_fmt): Likewise.
7631 * localedata/locales/ar_SY (t_fmt): Likewise.
7632 * localedata/locales/ar_TN (t_fmt): Likewise.
7633 * localedata/locales/ar_YE (t_fmt): Likewise.
7635 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7636 (t_fmt_ampm): Likewise.
7637 * localedata/locales/gez_ET (t_fmt): Likewise.
7638 (t_fmt_ampm): Likewise.
7640 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7641 (t_fmt_ampm): Likewise.
7642 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7644 * localedata/locales/zh_HK (t_fmt):
7645 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7647 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7648 because this locale does not use the 12-hour clock.
7649 (t_fmt): Set to "%Z %H:%M:%S".
7650 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7652 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7653 because this locale does not use the 12-hour clock.
7654 (t_fmt): Set to "%H:%M:%S %Z".
7655 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7657 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7658 because this locale does not use the 12-hour clock.
7659 (t_fmt): Set to "%T".
7660 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7661 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7663 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7664 because this locale does not use the 12-hour clock.
7665 (t_fmt): Set to "%H:%M:%S %Z".
7666 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7668 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7669 because this locale does not use the 12-hour clock.
7670 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7671 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7673 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7677 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7678 (t_fmt_ampm): Likewise.
7679 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7680 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7681 (d_fmt): Set to "%-d.%-m.%y".
7683 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7685 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7686 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7687 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7689 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7690 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7691 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7693 * support/blob_repeat.c (check_mul_overflow_size_t,
7694 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7696 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7698 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7700 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7702 regex: simplify Gnulib port
7703 This simplifies the code, by removing stuff intended for porting
7704 to Gnulib but no longer needed there.
7705 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7706 uses of libc_hidden_def, weak_alias.
7707 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7708 _Restrict_ except for public-facing headers.
7709 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7710 Remove; already defined elsewhere.
7711 * posix/regex.c, posix/regex_internal.h:
7712 Use __GNUC_PREREQ instead of rolling our own.
7713 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7715 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7717 * benchtests/bench-strlen.c (generic_strlen): New function.
7718 (memchr_strlen): New function.
7720 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7722 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7723 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7724 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7726 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7730 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7732 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7733 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7734 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7735 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7736 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7737 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7738 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7740 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7743 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7744 PLT reference in libc.so.
7745 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7746 _Q_lltoq and _Q_qtod PLT references in libc.so.
7748 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7750 * benchtests/bench-memchr.c: Cleanup defines.
7751 * benchtests/bench-memcmp.c: Likewise.
7752 * benchtests/bench-memset.c: Likewise.
7753 * benchtests/bench-memset-large.c: Likewise.
7754 * benchtests/bench-memset-walk.c: Likewise.
7755 * benchtests/bench-stpcpy.c: Likewise.
7756 * benchtests/bench-stpncpy.c: Likewise.
7757 * benchtests/bench-strcat.c: Likewise.
7758 * benchtests/bench-strchr.c: Likewise.
7759 * benchtests/bench-strcmp.c: Likewise.
7760 * benchtests/bench-strcpy.c: Likewise.
7761 * benchtests/bench-strcspn.c: Likewise.
7762 * benchtests/bench-string.h: Likewise.
7763 * benchtests/bench-strlen.c: Likewise.
7764 * benchtests/bench-strncat.c: Likewise.
7765 * benchtests/bench-strncmp.c: Likewise.
7766 * benchtests/bench-strncpy.c: Likewise.
7767 * benchtests/bench-strnlen.c: Likewise.
7768 * benchtests/bench-strpbrk.c: Likewise.
7769 * benchtests/bench-strrchr.c: Likewise.
7770 * benchtests/bench-strspn.c: Likewise.
7772 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7774 * stdlib/longlong.h: Update from GCC.
7777 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7778 * configure: Regenerated.
7779 * manual/install.texi (Tools for Compilation): Update minimum GCC
7781 * INSTALL: Regenerated.
7783 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7785 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7787 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7789 * malloc/malloc.c (mremap_chunk): Additional checks.
7791 2018-12-21 Mao Han <han_mao@c-sky.com>
7793 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7794 * scripts/build-many-glibcs.py: Add C-SKY targets.
7795 * sysdeps/csky/Implies: New file.
7796 * sysdeps/csky/Makefile: Likewise.
7797 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7798 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7799 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7800 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7801 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7802 * sysdeps/csky/abiv2/memmove.S: Likewise.
7803 * sysdeps/csky/abiv2/memset.S: Likewise.
7804 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7805 * sysdeps/csky/abiv2/start.S: Likewise.
7806 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7807 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7808 * sysdeps/csky/abiv2/strlen.S: Likewise.
7809 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7810 * sysdeps/csky/abort-instr.h: Likewise.
7811 * sysdeps/csky/atomic-machine.h: Likewise.
7812 * sysdeps/csky/bits/endian.h: Likewise.
7813 * sysdeps/csky/bits/fenv.h: Likewise.
7814 * sysdeps/csky/bits/link.h: Likewise.
7815 * sysdeps/csky/bits/setjmp.h: Likewise.
7816 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7817 * sysdeps/csky/bsd-setjmp.S: Likewise.
7818 * sysdeps/csky/configure: Likewise.
7819 * sysdeps/csky/configure.ac: Likewise.
7820 * sysdeps/csky/dl-machine.h: Likewise.
7821 * sysdeps/csky/dl-procinfo.c: Likewise.
7822 * sysdeps/csky/dl-procinfo.h: Likewise.
7823 * sysdeps/csky/dl-sysdep.h: Likewise.
7824 * sysdeps/csky/dl-tls.h: Likewise.
7825 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7826 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7827 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7828 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7829 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7830 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7831 * sysdeps/csky/fpu/fegetround.c: Likewise.
7832 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7833 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7834 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7835 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7836 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7837 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7838 * sysdeps/csky/fpu/fesetround.c: Likewise.
7839 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7840 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7841 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7842 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7843 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7844 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7845 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7846 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7847 * sysdeps/csky/fpu_control.h: Likewise.
7848 * sysdeps/csky/gccframe.h: Likewise.
7849 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7850 * sysdeps/csky/ldsodefs.h: Likewise.
7851 * sysdeps/csky/libc-tls.c: Likewise.
7852 * sysdeps/csky/linkmap.h: Likewise.
7853 * sysdeps/csky/machine-gmon.h: Likewise.
7854 * sysdeps/csky/memusage.h: Likewise.
7855 * sysdeps/csky/nofpu/Implies: Likewise.
7856 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7857 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7858 * sysdeps/csky/nptl/Makefile: Likewise.
7859 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7860 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7861 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7862 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7863 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7864 * sysdeps/csky/nptl/tls.h: Likewise.
7865 * sysdeps/csky/preconfigure: Likewise.
7866 * sysdeps/csky/sfp-machine.h: Likewise.
7867 * sysdeps/csky/sotruss-lib.c: Likewise.
7868 * sysdeps/csky/stackinfo.h: Likewise.
7869 * sysdeps/csky/sysdep.h: Likewise.
7870 * sysdeps/csky/tininess.h: Likewise.
7871 * sysdeps/csky/tst-audit.h: Likewise.
7872 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7873 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7874 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7875 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7876 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7877 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7878 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7879 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7880 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7881 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
7882 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
7883 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
7884 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
7885 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
7886 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
7887 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
7888 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
7889 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
7890 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
7891 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
7892 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
7893 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
7894 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
7895 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
7896 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
7897 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
7898 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
7899 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
7900 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
7901 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
7902 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
7903 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
7904 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
7905 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
7906 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
7907 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
7908 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
7909 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
7910 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
7911 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
7912 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
7913 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
7914 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
7915 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
7917 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
7919 * include/time.h (__difftime64): Add.
7920 * time/difftime.c (subtract): convert to 64-bit time.
7921 * time/difftime.c (__difftime64): Add.
7922 * time/difftime.c (__difftime): Wrap around __difftime64.
7924 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
7926 * manual/examples/add.c: Remove redundant "if not".
7927 * manual/examples/argp-ex1.c: Likewise.
7928 * manual/examples/argp-ex2.c: Likewise.
7929 * manual/examples/argp-ex3.c: Likewise.
7930 * manual/examples/argp-ex4.c: Likewise.
7931 * manual/examples/atexit.c: Likewise.
7932 * manual/examples/db.c: Likewise.
7933 * manual/examples/dir.c: Likewise.
7934 * manual/examples/dir2.c: Likewise.
7935 * manual/examples/execinfo.c: Likewise.
7936 * manual/examples/filecli.c: Likewise.
7937 * manual/examples/filesrv.c: Likewise.
7938 * manual/examples/fmtmsgexpl.c: Likewise.
7939 * manual/examples/genpass.c: Likewise.
7940 * manual/examples/inetcli.c: Likewise.
7941 * manual/examples/inetsrv.c: Likewise.
7942 * manual/examples/isockad.c: Likewise.
7943 * manual/examples/longopt.c: Likewise.
7944 * manual/examples/memopen.c: Likewise.
7945 * manual/examples/memstrm.c: Likewise.
7946 * manual/examples/mkdirent.c: Likewise.
7947 * manual/examples/mkfsock.c: Likewise.
7948 * manual/examples/mkisock.c: Likewise.
7949 * manual/examples/mygetpass.c: Likewise.
7950 * manual/examples/pipe.c: Likewise.
7951 * manual/examples/popen.c: Likewise.
7952 * manual/examples/rprintf.c: Likewise.
7953 * manual/examples/search.c: Likewise.
7954 * manual/examples/select.c: Likewise.
7955 * manual/examples/setjmp.c: Likewise.
7956 * manual/examples/sigh1.c: Likewise.
7957 * manual/examples/sigusr.c: Likewise.
7958 * manual/examples/stpcpy.c: Likewise.
7959 * manual/examples/strdupa.c: Likewise.
7960 * manual/examples/strftim.c: Likewise.
7961 * manual/examples/subopt.c: Likewise.
7962 * manual/examples/swapcontext.c: Likewise.
7963 * manual/examples/termios.c: Likewise.
7964 * manual/examples/testopt.c: Likewise.
7965 * manual/examples/testpass.c: Likewise.
7966 * manual/examples/timeval_subtract.c: Likewise.
7968 2018-12-19 Joseph Myers <joseph@codesourcery.com>
7970 * sysdeps/x86/fpu/math_private.h: New file.
7971 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
7973 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
7978 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7980 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
7981 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
7982 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
7983 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
7985 (_dl_show_auxv): Give a special treatment to
7986 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
7987 and AT_L3_CACHEGEOMETRY.
7988 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
7989 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
7990 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
7991 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
7993 2018-12-19 Andreas Schwab <schwab@suse.de>
7995 * nscd/connections.c (check_use): Don't abort on invalid len.
7997 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7999 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8000 values in the 64bit value cases.
8002 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8008 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8014 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8017 (__gmtime64_r): Add.
8019 (__gmtime64_r): Add.
8020 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8026 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8029 (__localtime64_r): Add.
8031 (__localtime64_r): Add.
8032 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8034 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8036 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8037 kernel_sigction definition.
8039 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8041 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8043 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8044 __syscall_rt_sigaction.
8045 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8046 (kernel_sigaction): Use Linux generic defintion.
8048 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8049 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8050 (__syscall_rt_sigaction): Remove implementation.
8051 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8053 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8054 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8055 INTERNAL_SYSCALL): Remove definitions.
8056 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8057 action and signal set size.
8058 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8059 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8061 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8062 James Clarke <jrtc27@jrtc27.com>
8065 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8066 Define if SA_RESTORER is defined.
8067 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8068 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8070 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8071 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8073 (HAS_SA_RESTORER): Define.
8074 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8075 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8076 (HAS_SA_RESTORER): Define.
8077 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8078 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8079 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8080 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8081 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8083 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8085 * sysdeps/unix/sysv/linux/kernel-features.h
8086 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8087 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8088 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8089 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8090 (__ASSUME_ST_INO_64_BIT): Likewise.
8091 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8092 <kernel-features.h>.
8093 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8094 Remove conditional code.
8095 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8096 <kernel-features.h>.
8097 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8098 Remove conditional code.
8099 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8100 <kernel-features.h>.
8101 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8102 Remove conditional code.
8103 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8104 <kernel-features.h>.
8105 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8106 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8108 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8110 * sysdeps/s390/multiarch/ifunc-resolve.h
8111 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8112 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8113 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8114 Delete macro definition.
8115 (s390_libc_ifunc_init): Rename to
8116 s390_libc_ifunc_expr_stfle_init.
8117 * sysdeps/s390/bzero: Use
8118 s390_libc_ifunc_expr_stfle_init instead of
8119 s390_libc_ifunc_init.
8120 * sysdeps/s390/memcmp.c: Likewise.
8121 * sysdeps/s390/memcpy.c: Likewise.
8122 * sysdeps/s390/mempcpy.c: Likewise.
8123 * sysdeps/s390/memset.c: Likewise.
8125 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8127 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8128 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8130 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8132 * sysdeps/s390/multiarch/Makefile
8133 (sysdep_routines): Remove wmemcmp variants.
8134 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8135 * sysdeps/s390/multiarch/ifunc-impl-list.c
8136 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8137 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8138 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8139 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8140 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8141 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8142 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8143 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8145 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8147 * sysdeps/s390/multiarch/Makefile
8148 (sysdep_routines): Remove wmemset variants.
8149 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8150 * sysdeps/s390/multiarch/ifunc-impl-list.c
8151 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8152 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8153 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8154 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8155 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8156 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8157 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8158 * sysdeps/s390/ifunc-wmemset.h: New file.
8160 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8162 * sysdeps/s390/multiarch/Makefile
8163 (sysdep_routines): Remove wmemchr variants.
8164 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8165 * sysdeps/s390/multiarch/ifunc-impl-list.c
8166 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8167 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8168 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8169 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8170 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8171 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8172 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8173 * sysdeps/s390/ifunc-wmemchr.h: New file.
8175 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8177 * sysdeps/s390/multiarch/Makefile
8178 (sysdep_routines): Remove wcscspn variants.
8179 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8180 * sysdeps/s390/multiarch/ifunc-impl-list.c
8181 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8182 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8183 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8184 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8185 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8186 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8187 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8188 * sysdeps/s390/ifunc-wcscspn.h: New file.
8190 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8192 * sysdeps/s390/multiarch/Makefile
8193 (sysdep_routines): Remove wcspbrk variants.
8194 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8195 * sysdeps/s390/multiarch/ifunc-impl-list.c
8196 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8197 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8198 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8199 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8200 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8201 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8202 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8203 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8205 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8207 * sysdeps/s390/multiarch/Makefile
8208 (sysdep_routines): Remove wcsspn variants.
8209 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8210 * sysdeps/s390/multiarch/ifunc-impl-list.c
8211 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8212 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8213 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8214 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8215 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8216 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8217 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8218 * sysdeps/s390/ifunc-wcsspn.h: New file.
8220 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8222 * sysdeps/s390/multiarch/Makefile
8223 (sysdep_routines): Remove wcsrchr variants.
8224 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8225 * sysdeps/s390/multiarch/ifunc-impl-list.c
8226 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8227 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8228 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8229 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8230 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8231 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8232 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8233 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8235 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8237 * sysdeps/s390/multiarch/Makefile
8238 (sysdep_routines): Remove wcschrnul variants.
8239 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8240 * sysdeps/s390/multiarch/ifunc-impl-list.c
8241 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8242 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8243 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8244 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8245 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8246 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8247 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8248 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8250 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8252 * sysdeps/s390/multiarch/Makefile
8253 (sysdep_routines): Remove wcschr variants.
8254 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8255 * sysdeps/s390/multiarch/ifunc-impl-list.c
8256 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8257 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8258 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8259 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8260 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8261 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8262 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8263 * sysdeps/s390/ifunc-wcschr.h: New file.
8265 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8267 * sysdeps/s390/multiarch/Makefile
8268 (sysdep_routines): Remove wcsncmp variants.
8269 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8270 * sysdeps/s390/multiarch/ifunc-impl-list.c
8271 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8272 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8273 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8274 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8275 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8276 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8277 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8278 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8280 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8282 * sysdeps/s390/multiarch/Makefile
8283 (sysdep_routines): Remove wcscmp variants.
8284 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8285 * sysdeps/s390/multiarch/ifunc-impl-list.c
8286 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8287 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8288 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8289 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8290 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8291 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8292 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8293 * sysdeps/s390/ifunc-wcscmp.h: New file.
8295 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8297 * sysdeps/s390/multiarch/Makefile
8298 (sysdep_routines): Remove wcsncat variants.
8299 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8300 * sysdeps/s390/multiarch/ifunc-impl-list.c
8301 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8302 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8303 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8304 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8305 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8306 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8307 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8308 * sysdeps/s390/ifunc-wcsncat.h: New file.
8310 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8312 * sysdeps/s390/multiarch/Makefile
8313 (sysdep_routines): Remove wcscat variants.
8314 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8315 * sysdeps/s390/multiarch/ifunc-impl-list.c
8316 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8317 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8318 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8319 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8320 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8321 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8322 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8323 * sysdeps/s390/ifunc-wcscat.h: New file.
8325 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8327 * sysdeps/s390/multiarch/Makefile
8328 (sysdep_routines): Remove wcpncpy variants.
8329 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8330 * sysdeps/s390/multiarch/ifunc-impl-list.c
8331 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8332 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8333 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8334 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8335 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8336 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8337 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8338 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8340 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8342 * sysdeps/s390/multiarch/Makefile
8343 (sysdep_routines): Remove wcsncpy variants.
8344 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8345 * sysdeps/s390/multiarch/ifunc-impl-list.c
8346 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8347 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8348 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8349 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8350 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8351 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8352 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8353 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8355 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8357 * sysdeps/s390/multiarch/Makefile
8358 (sysdep_routines): Remove wcpcpy variants.
8359 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8360 * sysdeps/s390/multiarch/ifunc-impl-list.c
8361 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8362 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8363 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8364 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8365 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8366 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8367 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8368 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8370 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8372 * sysdeps/s390/multiarch/Makefile
8373 (sysdep_routines): Remove wcscpy variants.
8374 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8375 * sysdeps/s390/multiarch/ifunc-impl-list.c
8376 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8377 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8378 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8379 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8380 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8381 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8382 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8383 * sysdeps/s390/ifunc-wcscpy.h: New file.
8385 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8387 * sysdeps/s390/multiarch/Makefile
8388 (sysdep_routines): Remove wcsnlen variants.
8389 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8390 * sysdeps/s390/multiarch/ifunc-impl-list.c
8391 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8392 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8393 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8394 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8395 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8396 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8397 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8398 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8400 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8402 * sysdeps/s390/multiarch/Makefile
8403 (sysdep_routines): Remove wcslen variants.
8404 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8405 * sysdeps/s390/multiarch/ifunc-impl-list.c
8406 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8407 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8408 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8409 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8410 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8411 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8412 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8413 * sysdeps/s390/ifunc-wcslen.h: New file.
8415 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8417 * sysdeps/s390/multiarch/Makefile
8418 (sysdep_routines): Remove memrchr variants.
8419 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8420 * sysdeps/s390/multiarch/ifunc-impl-list.c
8421 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8422 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8423 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8424 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8425 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8426 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8427 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8428 * sysdeps/s390/ifunc-memrchr.h: New file.
8430 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8432 * sysdeps/s390/multiarch/Makefile
8433 (sysdep_routines): Remove memccpy variants.
8434 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8435 * sysdeps/s390/multiarch/ifunc-impl-list.c
8436 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8437 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8438 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8439 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8440 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8441 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8442 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8443 * sysdeps/s390/ifunc-memccpy.h: New file.
8445 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8447 * sysdeps/s390/multiarch/Makefile
8448 (sysdep_routines): Remove rawmemchr variants.
8449 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8450 * sysdeps/s390/multiarch/ifunc-impl-list.c
8451 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8452 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8453 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8454 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8455 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8456 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8457 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8458 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8460 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8462 * sysdeps/s390/multiarch/Makefile
8463 (sysdep_routines): Remove memchr variants.
8464 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8465 * sysdeps/s390/multiarch/ifunc-impl-list.c
8466 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8467 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8468 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8469 * sysdeps/s390/multiarch/memchr.c: Move to ...
8470 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8471 * sysdeps/s390/ifunc-memchr.h: New file.
8472 * sysdeps/s390/s390-64/memchr.S: Move to ...
8473 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8474 for 31/64bit and ifunc handling.
8475 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8476 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8477 * sysdeps/s390/s390-32/memchr.S: Likewise.
8479 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8481 * sysdeps/s390/multiarch/Makefile
8482 (sysdep_routines): Remove strcspn variants.
8483 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8484 * sysdeps/s390/multiarch/ifunc-impl-list.c
8485 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8486 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8487 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8488 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8489 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8490 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8491 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8492 * sysdeps/s390/ifunc-strcspn.h: New file.
8494 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8496 * sysdeps/s390/multiarch/Makefile
8497 (sysdep_routines): Remove strpbrk variants.
8498 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8499 * sysdeps/s390/multiarch/ifunc-impl-list.c
8500 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8501 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8502 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8503 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8504 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8505 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8506 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8507 * sysdeps/s390/ifunc-strpbrk.h: New file.
8509 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8511 * sysdeps/s390/multiarch/Makefile
8512 (sysdep_routines): Remove strspn variants.
8513 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8514 * sysdeps/s390/multiarch/ifunc-impl-list.c
8515 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8516 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8517 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8518 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8519 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8520 * sysdeps/s390/multiarch/strspn.c: Move to ...
8521 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8522 * sysdeps/s390/ifunc-strspn.h: New file.
8524 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8526 * sysdeps/s390/multiarch/Makefile
8527 (sysdep_routines): Remove strrchr variants.
8528 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8529 * sysdeps/s390/multiarch/ifunc-impl-list.c
8530 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8531 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8532 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8533 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8534 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8535 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8536 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8537 * sysdeps/s390/ifunc-strrchr.h: New file.
8539 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8541 * sysdeps/s390/multiarch/Makefile
8542 (sysdep_routines): Remove strchrnul variants.
8543 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8544 * sysdeps/s390/multiarch/ifunc-impl-list.c
8545 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8546 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8547 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8548 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8549 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8550 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8551 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8552 * sysdeps/s390/ifunc-strchrnul.h: New file.
8554 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8556 * sysdeps/s390/multiarch/Makefile
8557 (sysdep_routines): Remove strchr variants.
8558 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8559 * sysdeps/s390/multiarch/ifunc-impl-list.c
8560 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8561 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8562 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8563 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8564 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8565 * sysdeps/s390/multiarch/strchr.c: Move to ...
8566 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8567 * sysdeps/s390/ifunc-strchr.h: New file.
8569 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8571 * sysdeps/s390/multiarch/Makefile
8572 (sysdep_routines): Remove strncmp variants.
8573 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8574 * sysdeps/s390/multiarch/ifunc-impl-list.c
8575 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8576 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8577 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8578 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8579 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8580 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8581 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8582 * sysdeps/s390/ifunc-strncmp.h: New file.
8584 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8586 * sysdeps/s390/multiarch/Makefile
8587 (sysdep_routines): Remove strcmp variants.
8588 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8589 * sysdeps/s390/multiarch/ifunc-impl-list.c
8590 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8591 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8592 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8593 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8594 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8595 * sysdeps/s390/ifunc-strcmp.h: New file.
8596 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8597 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8598 for 31/64bit and ifunc handling.
8599 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8600 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8601 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8603 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8605 * sysdeps/s390/multiarch/Makefile
8606 (sysdep_routines): Remove strncat variants.
8607 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8608 * sysdeps/s390/multiarch/ifunc-impl-list.c
8609 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8610 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8611 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8612 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8613 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8614 * sysdeps/s390/multiarch/strncat.c: Move to ...
8615 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8616 * sysdeps/s390/ifunc-strncat.h: New file.
8618 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8620 * sysdeps/s390/multiarch/Makefile
8621 (sysdep_routines): Remove strcat variants.
8622 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8623 * sysdeps/s390/multiarch/ifunc-impl-list.c
8624 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8625 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8626 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8627 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8628 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8629 * sysdeps/s390/multiarch/strcat.c: Move to ...
8630 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8631 * sysdeps/s390/ifunc-strcat.h: New file.
8633 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8635 * sysdeps/s390/multiarch/Makefile
8636 (sysdep_routines): Remove stpncpy variants.
8637 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8638 * sysdeps/s390/multiarch/ifunc-impl-list.c
8639 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8640 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8641 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8642 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8643 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8644 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8645 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8646 * sysdeps/s390/ifunc-stpncpy.h: New file.
8648 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8650 * sysdeps/s390/multiarch/Makefile
8651 (sysdep_routines): Remove strncpy variants.
8652 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8653 * sysdeps/s390/multiarch/ifunc-impl-list.c
8654 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8655 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8656 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8657 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8658 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8659 * sysdeps/s390/ifunc-strncpy.h: New file.
8660 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8661 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8662 and adjust ifunc handling.
8663 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8664 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8665 and adjust ifunc handling.
8666 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8667 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8669 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8671 * sysdeps/s390/multiarch/Makefile
8672 (sysdep_routines): Remove stpcpy variants.
8673 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8674 * sysdeps/s390/multiarch/ifunc-impl-list.c
8675 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8676 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8677 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8678 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8679 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8680 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8681 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8682 * sysdeps/s390/ifunc-stpcpy.h: New file.
8684 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8686 * sysdeps/s390/multiarch/Makefile
8687 (sysdep_routines): Remove strcpy variants.
8688 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8689 * sysdeps/s390/multiarch/ifunc-impl-list.c
8690 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8691 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8692 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8693 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8694 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8695 * sysdeps/s390/ifunc-strcpy.h: New file.
8696 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8697 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8698 for 31/64bit and ifunc handling.
8699 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8700 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8701 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8703 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8705 * sysdeps/s390/multiarch/Makefile
8706 (sysdep_routines): Remove strnlen variants.
8707 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8708 * sysdeps/s390/multiarch/ifunc-impl-list.c
8709 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8710 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8711 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8712 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8713 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8714 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8715 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8716 * sysdeps/s390/ifunc-strnlen.h: New file.
8718 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8720 * sysdeps/s390/multiarch/Makefile
8721 (sysdep_routines): Remove strlen variants.
8722 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8723 * sysdeps/s390/multiarch/ifunc-impl-list.c
8724 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8725 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8726 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8727 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8728 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8729 * sysdeps/s390/multiarch/strlen.c: Move to ...
8730 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8731 * sysdeps/s390/ifunc-strlen.h: New file.
8733 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8735 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8736 * sysdeps/s390/multiarch/ifunc-impl-list.c
8737 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8738 * sysdeps/s390/ifunc-memmem.h: New file.
8739 * sysdeps/s390/memmem.c: Likewise.
8740 * sysdeps/s390/memmem-c.c: Likewise.
8741 * sysdeps/s390/memmem-vx.c: Likewise.
8743 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8745 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8746 * sysdeps/s390/multiarch/ifunc-impl-list.c
8747 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8748 * sysdeps/s390/ifunc-strstr.h: New file.
8749 * sysdeps/s390/strstr.c: Likewise.
8750 * sysdeps/s390/strstr-c.c: Likewise.
8751 * sysdeps/s390/strstr-vx.c: Likewise.
8753 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8755 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8756 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8757 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8758 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8760 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8761 * sysdeps/s390/memmove-c.c: New file.
8762 * sysdeps/s390/memmove.c: Likewise.
8763 * sysdeps/s390/multiarch/ifunc-impl-list.c
8764 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8768 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8769 * sysdeps/s390/configure.ac: Add check for z13 support.
8770 * sysdeps/s390/configure: Regenerated.
8772 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8774 * sysdeps/s390/memcopy.h: New file.
8776 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8778 * sysdeps/s390/s390-32/bcopy.S: Remove.
8779 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8781 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8783 * sysdeps/s390/ifunc-memcpy.h: New File.
8784 * sysdeps/s390/memcpy.S: Move to ...
8785 * sysdeps/s390/memcpy-z900.S ... here.
8786 Move implementations from memcpy-s390x.s to here.
8787 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8788 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8789 Remove memcpy/mempcpy variants.
8790 * sysdeps/s390/Makefile (sysdep_routines):
8791 Add memcpy/mempcpy variants.
8792 * sysdeps/s390/multiarch/ifunc-impl-list.c
8793 (__libc_ifunc_impl_list): Adjust ifunc variants for
8795 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8797 * sysdeps/s390/memcpy.c: ... here.
8798 Adjust ifunc variants for memcpy.
8799 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8800 * sysdeps/s390/mempcpy.c: ... here.
8801 Adjust ifunc variants for mempcpy.
8802 * sysdeps/s390/mempcpy.S: Delete file.
8804 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8806 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8807 * sysdeps/s390/memcpy.S: ... here.
8808 Adjust to be usable for 31/64bit.
8809 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8810 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8811 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8812 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8813 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8814 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8815 Adjust to be usable for 31/64bit.
8816 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8817 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8818 * sysdeps/s390/multiarch/memcpy.c: ... here.
8819 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8823 * sysdeps/s390/ifunc-memcmp.h: New File.
8824 * sysdeps/s390/memcmp.S: Move to ...
8825 * sysdeps/s390/memcmp-z900.S ... here.
8826 Move implementations from memcmp-s390x.s to here.
8827 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8828 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8829 Remove memcmp variants.
8830 * sysdeps/s390/Makefile (sysdep_routines):
8831 Add memcmp variants.
8832 * sysdeps/s390/multiarch/ifunc-impl-list.c
8833 (__libc_ifunc_impl_list): Adjust ifunc variants for
8835 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8837 * sysdeps/s390/memcmp.c: ... here.
8838 Adjust ifunc variants for memcmp.
8840 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8842 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8843 * sysdeps/s390/memcmp.S: ... here.
8844 Adjust to be usable for 31/64bit.
8845 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8846 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8847 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8849 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8850 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8851 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8852 Adjust to be usable for 31/64bit.
8853 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8854 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8855 * sysdeps/s390/multiarch/memcmp.c: ... here.
8856 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8858 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8860 * sysdeps/s390/s390-32/bzero.S: Delete file.
8861 * sysdeps/s390/s390-64/bzero.S: Likewise.
8862 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8863 * sysdeps/s390/bzero.c: New file.
8864 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8865 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8866 * sysdeps/s390/multiarch/ifunc-impl-list.c
8867 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8869 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8871 * sysdeps/s390/ifunc-memset.h: New File.
8872 * sysdeps/s390/memset.S: Move to ...
8873 * sysdeps/s390/memset-z900.S ... here.
8874 Move implementations from memset-s390x.s to here.
8875 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8876 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8877 Remove memset variants.
8878 * sysdeps/s390/Makefile (sysdep_routines):
8879 Add memset variants.
8880 * sysdeps/s390/multiarch/ifunc-impl-list.c
8881 (__libc_ifunc_impl_list): Adjust ifunc variants for
8883 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
8885 * sysdeps/s390/memset.c: ... here.
8886 Adjust ifunc variants for memset.
8888 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8890 * sysdeps/s390/s390-64/memset.S: Move to ...
8891 * sysdeps/s390/memset.S: ... here.
8892 Adjust to be usable for 31/64bit.
8893 * sysdeps/s390/s390-32/memset.S: Delete File.
8894 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
8895 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8897 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8898 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
8899 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
8900 Adjust to be usable for 31/64bit.
8901 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
8902 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
8903 * sysdeps/s390/multiarch/memset.c: ... here.
8904 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
8906 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8908 * sysdeps/s390/multiarch/ifunc-resolve.h
8909 (s390_libc_ifunc_init, s390_libc_ifunc,
8910 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
8912 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8914 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
8915 * sysdeps/s390/configure.ac: Add check for z10 support.
8916 * sysdeps/s390/configure: Regenerated.
8918 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
8920 * sysdeps/i386/atomic-machine.h: Merged with ...
8921 * sysdeps/x86_64/atomic-machine.h: To ...
8922 * sysdeps/x86/atomic-machine.h: This. New file.
8924 2018-12-18 Florian Weimer <fweimer@redhat.com>
8926 Rewrite locale/gen-translit.pl in Python.
8927 * locale/Makefile (generated): Add C-translit.h.
8928 (before-compile): Add $(objpfx)C-translit.h.
8929 (C-translit.h): Move to $(objpfx). Create target directory.
8930 Build using Python script.
8931 * locale/gen-translit.py: New file.
8932 * locale/gen-translit.pl: Remove file.
8933 * locale/C-translit.h.in: Change comment character to '#' for
8934 easier parsing without a C preprocessor.
8935 * locale/C-translit.h: Remove generated file.
8936 * manual/install.texi (Tools for Compilation): Do not mention
8938 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
8939 Remove locale/C-translit.h.
8940 * scripts/update-copyrights: Likewise.
8941 * INSTALL: Regenerate.
8943 2018-12-18 Florian Weimer <fweimer@redhat.com>
8946 * localedata/locales/bi_VU: Remove executable bit from file.
8948 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
8951 (__localtime64): Add.
8952 * manual/maint.texi: Document Y2038 symbol handling.
8954 (__localtime64): Add.
8955 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
8957 2018-12-17 Joseph Myers <joseph@codesourcery.com>
8959 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
8962 * scripts/glibcextract.py (compare_macro_consts): Take parameters
8963 to allow extra macros from first or second sources.
8964 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
8965 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8966 (tests-special): Add $(objpfx)tst-mman-consts.out.
8967 ($(objpfx)tst-mman-consts.out): New makefile target.
8969 2018-12-17 Mao Han <han_mao@c-sky.com>
8971 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
8972 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
8973 without stat64 system call support.
8974 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
8975 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
8976 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8977 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
8978 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
8979 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
8980 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
8981 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
8982 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
8983 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
8984 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
8986 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
8988 regex: fix storage-exhaustion error
8990 * posix/regexec.c (get_subexp):
8991 Do not continue if storage is exhausted.
8993 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
8995 regex: fix heap-use-after-free error
8997 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
8998 https://debbugs.gnu.org/32592
8999 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9000 call extend_buffers which reallocates the re_string_t internal buffer.
9001 Local variable 'buf' was not updated in such case, resulting in
9003 * posix/regexec.c (get_subexp): Update 'buf' after call to
9006 2018-12-15 Florian Weimer <fweimer@redhat.com>
9008 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9009 (minimum_stride_size): Use it.
9010 (support_blob_repeat_allocate): Likewise.
9012 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9014 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9019 2018-12-14 Florian Weimer <fweimer@redhat.com>
9021 * manual/process.texi (Process Creation Concepts): Remove
9022 documentation of process (ID) lifetime. List more process
9023 creation functions. Reference Process Identification section.
9024 (Process Identification): Add information about process ID
9025 lifetime. Describe Linux thread/task IDs.
9026 * manual/signal.texi (Signaling Another Process): Mention that the
9027 signal is always sent to the process.
9029 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9031 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9032 and tst-ldbl-efgcvt.
9033 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9034 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9035 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9036 (fcvt_tests, output_error, output_r_error, do_test): Use the
9037 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9038 select the type of floating-point variables and arguments; to
9039 produce extra tests for double and conversion specifiers for
9040 printf; and to set the names of called functions.
9041 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9042 in tst-efgcvt-template.c.
9043 * misc/tst-ldbl-efgcvt.c: Likewise.
9045 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9047 * nss/Makefile (tst-nss-test3.out): New rule.
9049 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9051 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9054 2018-12-13 fanjinke <fanjinke@hygon.cn>
9056 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9059 2018-12-13 Andreas Schwab <schwab@suse.de>
9062 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9063 (__pthread_rwlock_rdlock_full): Update expected value for
9064 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9065 * nptl/tst-rwlock-pwn.c: New file.
9066 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9068 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9070 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9073 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9075 * benchtests/scripts/compare_bench.py (do_compare): write to
9076 stderr in casestat is not present.
9077 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9078 stderr in case timings field is not present. Also string showing
9079 the output filename goes into the stderr.
9081 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9083 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9084 and ZeroDivisorError exceptions.
9085 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9086 argument to loop through user provided statistics.
9087 * benchtests/scripts/compare_bench.py (main): Include the --stats
9090 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9092 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9095 2018-12-12 Florian Weimer <fweimer@redhat.com>
9097 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9098 clause to copyright header.
9100 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9103 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9104 registers saved in the stack frame.
9105 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9106 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9108 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9110 * include/bits/monetary-ldbl.h: New file.
9111 * include/bits/printf-ldbl.h: Likewise.
9112 * include/bits/stdio-ldbl.h: Likewise.
9113 * include/bits/stdlib-ldbl.h: Likewise.
9114 * include/bits/syslog-ldbl.h: Likewise.
9115 * include/bits/wchar-ldbl.h: Likewise.
9117 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9119 * libio/libio.h: Remove redirection for _IO_vfprintf.
9121 2018-12-11 Andreas Schwab <schwab@suse.de>
9123 * Makerules: Remove all references to abilist-pattern.
9124 (update-all-abi): Simplify find expression.
9126 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9129 * math/auto-libm-test-in: Add new test case.
9130 * math/auto-libm-test-out-pow: Regenerated.
9131 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9133 2018-12-10 DJ Delorie <dj@redhat.com>
9136 * support/test-container.c: Move postclean step to before we
9139 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9141 * scripts/gen-as-const.py (main): Handle --python option.
9142 * scripts/gen-py-const.awk: Remove.
9143 * Makerules (py-const-script): Use gen-as-const.py.
9144 ($(py-const)): Likewise.
9145 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9146 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9147 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9148 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9149 ~PTHREAD_MUTEX_NO_ELISION_NP.
9150 * manual/README.pretty-printers: Update reference to
9153 * scripts/glibcextract.py: New file.
9154 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9155 or tempfile. Import glibcexctract.
9156 (compute_c_consts): Remove. Moved to glibcextract.py.
9157 (gen_test): Update reference to compute_c_consts.
9159 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9160 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9161 * sysdeps/unix/sysv/linux/Makefile
9162 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9163 Redirect stderr as well as stdout.
9165 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9168 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9169 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9170 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9171 ALWAYS_USE_VSYSCALL.
9172 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9173 ALWAYS_USE_VSYSCALL.
9174 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9175 ALWAYS_USE_VSYSCALL.
9177 2018-12-10 Florian Weimer <fweimer@redhat.com>
9180 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9181 offset instead of count for clarity. Fix typo in comment.
9182 (__old_getdents64): Keep track of previous offset. Use it to call
9184 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9185 that d_off is never zero.
9187 2018-12-10 Andreas Schwab <schwab@suse.de>
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9190 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9192 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9193 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9195 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9197 * timezone/private.h: Update from tzcode 2018g.
9198 * timezone/tzfile.h: Likewise.
9199 * timezone/tzselect.ksh: Likewise.
9200 * timezone/zdump.c: Likewise.
9201 * timezone/zic.c: Likewise.
9203 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9206 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9207 (do_test): Adjust buffer size and fix format.
9209 2018-12-07 DJ Delorie <dj@redhat.com>
9212 * malloc/tst-tcfree3.c: New.
9213 * malloc/Makefile: Add it.
9215 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9217 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9219 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9221 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9222 used as a mask for the mode argument of __vfscanf_internal and
9223 __vfwscanf_internal.
9224 * stdio-common/vfscanf-internal.c
9225 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9226 (__strtof128_internal): Define to __wcstof128_internal.
9227 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9228 __strtof128_internal or __wcstof128_internal when the format of
9229 long double is the same as _Float128.
9231 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9233 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9234 * posix/confstr.c (confstr): Rename to __confstr.
9235 (__confstr): Add hidden def.
9236 (confstr): Add weak alias for __confstr.
9237 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9240 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9242 * NEWS: Mention getcpu.
9243 * include/sched.h (__getcpu): New libc_hidden_proto.
9244 * manual/resource.texi: Document getcpu.
9245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9246 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9247 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9248 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9249 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9250 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9251 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9252 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9253 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9254 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9255 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9256 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9257 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9259 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9260 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9261 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9270 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9271 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9272 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9273 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9274 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9275 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9276 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9277 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9278 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9279 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9280 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9283 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9285 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9287 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9289 2018-12-07 Florian Weimer <fweimer@redhat.com>
9292 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9293 * posix/Versions (GLIBC_2.29): Export
9294 posix_spawn_file_actions_addfchdir_np.
9295 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9296 * posix/spawn_faction_destroy.c
9297 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9298 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9299 and the field action.fchdir_action.
9300 * posix/tst-spawn-chdir.c (add_chdir): New function.
9301 (do_test): Add do_fchdir loop. Call add_chdir.
9302 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9303 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9304 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9305 posix_spawn_file_actions_addfchdir_np.
9306 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9308 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9310 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9311 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9313 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9315 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9317 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9319 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9321 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9323 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9324 (GLIBC_2.29): Likewise.
9325 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9326 (GLIBC_2.29): Likewise.
9327 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9328 (GLIBC_2.29): Likewise.
9329 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9330 (GLIBC_2.29): Likewise.
9331 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9334 (GLIBC_2.29): Likewise.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9336 (GLIBC_2.29): Likewise.
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9338 (GLIBC_2.29): Likewise.
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9340 (GLIBC_2.29): Likewise.
9341 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9343 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9345 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9347 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9348 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9350 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9352 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9354 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9357 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9359 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9360 trailing whitespace removed.
9361 * scripts/config.guess: Update to version 2018-11-28.
9362 * scripts/config.sub: Update to version 2018-11-28.
9363 * scripts/install-sh: Update to version 2018-03-11.20.
9364 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9365 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9367 2018-12-07 Florian Weimer <fweimer@redhat.com>
9371 * inet/tst-if_index-long.c: New file.
9372 * inet/Makefile (tests): Add tst-if_index-long.
9374 2018-12-07 Florian Weimer <fweimer@redhat.com>
9376 * support/check.h (support_record_failure_is_failed): Declare.
9377 * support/descriptors.h: New file.
9378 * support/support_descriptors.c: Likewise.
9379 * support/tst-support_descriptors.c: Likewise.
9380 * support/support_record_failure.c
9381 (support_record_failure_is_failed): New function.
9382 * support/Makefile (libsupport-routines): Add support_descriptors.
9383 (tests): Add tst-support_descriptors.
9385 2018-12-05 Zack Weinberg <zackw@panix.com>
9386 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9388 * stdio-common/vfprintf-internal.c
9389 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9390 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9391 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9392 and __no_long_double.
9393 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9394 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9395 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9396 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9397 and __nldbl_*syslog* functions.
9398 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9399 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9400 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9401 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9402 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9403 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9404 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9405 (__nldbl_vwprintf, __nldbl_wprintf):
9406 Directly call the appropriate __v*printf_internal routine, passing
9407 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9409 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9410 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9411 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9412 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9413 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9414 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9415 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9416 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9417 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9418 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9419 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9420 (__nldbl_syslog, __nldbl_vsyslog):
9421 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9422 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9424 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9427 2018-12-05 Zack Weinberg <zackw@panix.com>
9428 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9431 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9432 Moved here from debug/vsprintf_chk.c.
9433 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9434 and completion logic for the strfile to match exactly what
9435 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9436 _IO_str_init_static_internal instead of maxlen-1.
9437 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9438 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9439 __vsprintf_internal.
9441 * debug/vsprintf_chk.c (__vsprintf_chk)
9442 * debug/sprintf_chk.c (__sprintf_chk):
9443 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9444 'flags' argument is positive, and slen as maxlen. 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/asprintf_chk.c (__asprintf_chk)
9449 * debug/dprintf_chk.c (__dprintf_chk)
9450 * debug/fprintf_chk.c (__fprintf_chk)
9451 * debug/fwprintf_chk.c (__fwprintf_chk)
9452 * debug/printf_chk.c (__printf_chk)
9453 * debug/snprintf_chk.c (__snprintf_chk)
9454 * debug/swprintf_chk.c (__swprintf_chk)
9455 * debug/vasprintf_chk.c (__vasprintf_chk)
9456 * debug/vdprintf_chk.c (__vdprintf_chk)
9457 * debug/vfprintf_chk.c (__vfprintf_chk)
9458 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9459 * debug/vprintf_chk.c (__vprintf_chk)
9460 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9461 * debug/vswprintf_chk.c (__vswprintf_chk)
9462 * debug/vwprintf_chk.c (__vwprintf_chk)
9463 * debug/wprintf_chk.c (__wprintf_chk):
9464 Directly call the corresponding vxxprintf_internal function, passing
9465 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9466 the FILE and/or construct a temporary FILE. Minimize and normalize
9467 header inclusions and variable names. Do not libc_hidden_def anything.
9469 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9470 __obstack_vprintf_internal.
9471 (__obstack_vprintf_chk): Convert into a wrapper that calls
9472 __obstack_vprintf_internal (these two functions already had the
9473 same code) and move to new file...
9474 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9476 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9477 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9478 * debug/Makefile (routines): Add vobprintf_chk.
9480 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9481 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9482 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9483 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9484 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9485 (__nldbl___obstack_vfprintf_chk):
9486 Directly call the corresponding vxxprintf_internal function,
9487 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9488 duplicate comparison of slen with 0 or maxlen from the corresponding
9489 non-__nldbl function.
9491 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9492 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9493 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9494 Remove libc_hidden_proto.
9496 * stdio-common/vfprintf-internal.c
9497 (__vfprintf_internal, __vfwprintf_internal):
9498 Do not check _IO_FLAGS2_FORTIFY.
9499 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9500 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9501 a comment explaining why it has the maxlen argument.
9502 (_IO_acquire_lock_clear_flags2_fct): Remove.
9503 (_IO_acquire_lock_clear_flags2): Remove.
9504 (_IO_release_lock): Remove conditional statement which will
9506 (_IO_acquire_lock): Remove variable which is now unused.
9507 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9508 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9510 * stdio-common/Makefile (tests): Add tst-bz11319 and
9511 tst-bz11319-fortify2.
9512 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9513 * stdio-common/tst-bz11319-fortify2.c: New file.
9514 * stdio-common/tst-bz11319.c: Likewise.
9516 2018-12-05 Zack Weinberg <zackw@panix.com>
9517 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9519 * misc/syslog.c: Include libioP.h, not iolibio.h.
9520 (__vsyslog_internal): New function with the former body of
9521 __vsyslog_chk; takes mode_flags argument same as
9522 __v*printf_internal. Call __vfprintf_internal directly.
9524 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9525 Remove libc_hidden_def.
9526 (__syslog, __syslog_chk): Use __vsyslog_internal.
9527 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9529 * include/sys/syslog.h: Add multiple inclusion guard.
9530 Add prototype for __vsyslog_internal.
9531 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9533 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9534 Use __vsyslog_internal.
9536 2018-12-05 Zack Weinberg <zackw@panix.com>
9537 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9539 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9540 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9541 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9543 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9544 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9546 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9547 Include wctype.h here if COMPILE_WPRINTF is defined.
9548 Define __vfprintf_internal or __vfwprintf_internal, depending
9550 Temporarily, on entry to this function, update mode_flags
9551 according to the environmental settings corresponding to
9552 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9553 Throughout, check mode_flags instead of __ldbl_is_dbl and
9554 _IO_FLAGS2_FORTIFY on the destination FILE.
9555 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9556 Include vfprintf-internal.c. Don't include wctype.h.
9557 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9558 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9560 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9561 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9563 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9565 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9566 and add mode_flags argument; use __vfprintf_internal.
9567 (__vdprintf): New function. Alias vdprintf to this.
9568 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9569 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9570 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9571 (__obstack_printf): Use __obstack_printf_internal.
9572 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9573 public aliases __vsnprintf and vsnprintf.
9574 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9576 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9577 public aliases _IO_vsprintf and vsprintf.
9578 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9579 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9580 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9581 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9582 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9584 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9585 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9586 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9587 * stdio-common/printf.c: Use __vfprintf_internal.
9589 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9590 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9591 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9593 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9594 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9595 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9596 __vfwprintf_internal.
9598 * libio/libio.h: Remove libc_hidden_proto and declaration for
9600 Remove declaration of _IO_vfwprintf.
9601 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9603 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9605 * include/stdio.h: Add prototype for __vasprintf.
9606 (__vsnprintf): Remove declaration, because there are no more
9608 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9609 declaration, because there are no more internal calls.
9611 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9612 __vsnprintf_internal, instead of _IO_vsnprintf.
9613 * argp/argp-help.c (__argp_error, __argp_failure): Use
9614 __vasprintf_internal, instead of _IO_vasprintf.
9615 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9616 redefine, because there are no more internal calls.
9618 2018-12-05 Zack Weinberg <zackw@panix.com>
9619 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9621 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9622 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9623 Include libio/strfile.h instead of libioP.h.
9624 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9625 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9626 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9627 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9628 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9629 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9630 necessary. Do not set __no_long_double. Normalize variable names.
9631 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9632 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9633 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9634 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9635 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9636 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9637 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9638 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9639 Do not set __no_long_double. Normalize variable names.
9641 2018-12-05 Zack Weinberg <zackw@panix.com>
9642 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9644 * stdio-common/isoc99_scanf.c
9645 * stdio-common/isoc99_fscanf.c
9646 * stdio-common/isoc99_sscanf.c
9647 * stdio-common/isoc99_vscanf.c
9648 * stdio-common/isoc99_vfscanf.c
9649 * stdio-common/isoc99_vsscanf.c
9650 * wcsmbs/isoc99_wscanf.c
9651 * wcsmbs/isoc99_fwscanf.c
9652 * wcsmbs/isoc99_swscanf.c
9653 * wcsmbs/isoc99_vwscanf.c
9654 * wcsmbs/isoc99_vfwscanf.c
9655 * wcsmbs/isoc99_vswscanf.c:
9656 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9657 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9658 No need to lock and unlock the FILE passed to that function.
9660 * stdio-common/vfscanf-internal.c
9661 (__vfscanf_internal, __vfwscanf_internal):
9662 Don't look at _IO_FLAGS2_SCANF_STD.
9663 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9664 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9665 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9667 2018-12-05 Zack Weinberg <zackw@panix.com>
9668 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9670 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9671 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9672 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9673 * libio/strfile.h: Add multiple inclusion guard.
9674 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9676 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9677 consistency with the other version of this file.
9678 (ldbl_compat_symbol): New macro.
9679 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9682 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9683 Define __vfscanf_internal or __vfwscanf_internal, depending on
9684 COMPILE_WSCANF; don't define any other public symbols.
9685 Remove errval and code to set errp.
9686 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9687 as the mode_flags argument.
9688 (encode_error, conv_error, input_error): Don't set errval.
9689 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9690 Include vfscanf-internal.c.
9691 * stdio-common/vfscanf.c: New file defining the public entry
9692 point vfscanf, which calls __vfscanf_internal.
9693 * stdio-common/vfwscanf.c: New file defining the public entry
9694 point vfwscanf, which calls __vfwscanf_internal.
9696 * stdio-common/iovfscanf.c: New file.
9697 * stdio-common/iovfwscanf.c: Likewise.
9699 * stdio-common/Makefile (routines): Add vfscanf-internal,
9700 vfwscanf-internal, iovfscanf, iovfwscanf.
9701 * stdio-common/Versions: Mention GLIBC_2.29, so that
9702 it can be used in SHLIB_COMPAT expressions.
9703 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9704 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9705 Call __vfscanf_internal, instead of _IO_vfscanf.
9706 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9708 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9711 * libio/iovsscanf.c: Clean up includes, when possible. Use
9712 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9713 __vfscanf_internal or __vfwscanf_internal directly.
9714 * libio/iovswscanf.c: Likewise.
9715 * libio/swscanf.c: Likewise.
9716 * libio/vscanf.c: Likewise.
9717 * libio/vwscanf.c: Likewise.
9718 * libio/wscanf.c: Likewise.
9719 * stdio-common/isoc99_fscanf.c: Likewise.
9720 * stdio-common/isoc99_scanf.c: Likewise.
9721 * stdio-common/isoc99_sscanf.c: Likewise.
9722 * stdio-common/isoc99_vfscanf.c: Likewise.
9723 * stdio-common/isoc99_vscanf.c: Likewise.
9724 * stdio-common/isoc99_vsscanf.c: Likewise.
9725 * stdio-common/scanf.c: Likewise.
9726 * stdio-common/sscanf.c: Likewise.
9727 * wcsmbs/isoc99_fwscanf.c: Likewise.
9728 * wcsmbs/isoc99_swscanf.c: Likewise.
9729 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9730 * wcsmbs/isoc99_vswscanf.c: Likewise.
9731 * wcsmbs/isoc99_vwscanf.c: Likewise.
9732 * wcsmbs/isoc99_wscanf.c: Likewise.
9734 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9737 (__tz_compute): Replace time_t with __time64_t.
9738 (__tz_convert): Replace time_t* with __time64_t.
9739 (__offtime): Replace time_t* with __time64_t.
9741 (__gmtime_r): Adjust call to __tz_convert.
9744 (__localtime_r): Likewise.
9745 (localtime): Likewise.
9746 * time/offtime.c: Replace time_t with __time64_t.
9747 * time/tzset.c: Likewise.
9749 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9751 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9752 dynamic linker unless [$(run-built-tests) = yes].
9754 2018-12-03 DJ Delorie <dj@delorie.com>
9756 * support/test-container.c (check_for_unshare_hints): New.
9757 (main): Call it if unshare fails. Add support for "su" scriptlet
9760 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9762 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9763 'START' to indicate that start text should be output.
9764 (gen_test): Likewise.
9765 (main): Generate 'START' for first symbol or '--' line, or at end
9766 of input if not previously generated.
9768 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9771 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9772 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9773 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9774 ALWAYS_USE_VSYSCALL.
9776 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9779 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9782 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9785 * locale/programs/localedef.c: Declare boolean hard_links default true.
9786 (options): Add --no-hard-links option.
9787 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9788 * locale/programs/localedef.h: Declare prototype for hard_links.
9789 * locale/programs/locfile.c (write_locale_data): Don't use hard
9790 links if hard_links is false.
9792 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9794 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9796 (__cache_sysconf): Likewise.
9797 (init_cacheinfo): Likewise.
9798 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9799 populate COMMON_CPUID_INDEX_80000007 and
9800 COMMON_CPUID_INDEX_80000008.
9801 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9802 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9803 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9804 (init_cpu_features): Use _Static_assert on
9805 index_arch_Fast_Unaligned_Load.
9806 __get_cpuid_registers and __get_arch_feature. Updated for
9807 cpu_features_basic. Set stepping in cpu_features.
9808 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9809 (FEATURE_INDEX_2): New.
9810 (FEATURE_INDEX_MAX): Changed to enum.
9811 (COMMON_CPUID_INDEX_D_ECX_1): New.
9812 (COMMON_CPUID_INDEX_80000007): Likewise.
9813 (COMMON_CPUID_INDEX_80000008): Likewise.
9814 (cpuid_registers): Likewise.
9815 (cpu_features_basic): Likewise.
9816 (CPU_FEATURE_USABLE): Likewise.
9817 (bit_arch_XXX_Usable): Likewise.
9818 (cpu_features): Use cpuid_registers and cpu_features_basic.
9819 (bit_arch_XXX): Reweritten.
9820 (bit_cpu_XXX): Likewise.
9821 (index_cpu_XXX): Likewise.
9822 (reg_XXX): Likewise.
9823 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9825 (CHECK_CPU_FEATURE): New.
9826 (CHECK_CPU_FEATURE_USABLE): Likewise.
9827 (cpu_kinds): Likewise.
9828 (do_test): Print vendor, family, model and stepping. Check
9829 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9830 (TEST_FUNCTION): Removed.
9831 Include <support/test-driver.c> instead of
9832 "../../test-skeleton.c".
9833 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9834 Check POPCNT instead of POPCOUNT.
9835 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9837 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9839 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9840 there is no element in `consts'.
9842 2018-12-01 Florian Weimer <fweimer@redhat.com>
9844 * support/support_capture_subprocess.c
9845 (support_capture_subprocess): Check that pipe descriptors have
9846 expected values. Close original pipe descriptors in subprocess.
9848 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9851 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9852 attr with __pthread_default_barrierattr.
9853 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9854 attr with __pthread_default_condattr.
9855 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9856 attr with __pthread_default_mutexattr.
9857 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9858 attr with __pthread_default_rwlockattr.
9860 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9862 * manual/tunables.texi (POSIX Thread Tunables): New node.
9863 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9864 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9865 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9866 __pthread_tunables_init.
9867 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9868 (max_adaptive_count): Define.
9869 * nptl/pthread_mutex_conf.c: New file.
9870 * nptl/pthread_mutex_conf.h: New file.
9871 * sysdeps/generic/adaptive_spin_count.h: New file.
9872 * sysdeps/nptl/dl-tunables.list: New file.
9873 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9874 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9875 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9878 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9881 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
9882 * stdlib/on_exit.c (__on_exit): Likewise.
9883 * stdlib/Makefile (tests): Add tst-bz20544.
9884 * stdlib/tst-bz20544.c: New test.
9886 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
9889 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
9890 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
9893 2018-11-30 Florian Weimer <fweimer@redhat.com>
9895 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
9896 Extend error logging.
9897 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
9900 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9902 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
9903 __sigismember instead of sigismember.
9904 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
9905 cancel_handler): New definitions.
9906 (do_system): Use posix_spawn instead of fork and execl and remove
9908 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
9909 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
9910 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
9911 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9912 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9913 * sysdeps/unix/sysv/linux/system.c: Likewise.
9917 * NEWS: Add new semantic for atfork with popen and system.
9918 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
9921 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9924 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
9925 modification order when accessing reloc_result->addr.
9926 * include/link.h (reloc_result): Add field init.
9927 * nptl/Makefile (tests): Add tst-audit-threads.
9928 (modules-names): Add tst-audit-threads-mod1 and
9929 tst-audit-threads-mod2.
9930 Add rules to build tst-audit-threads.
9931 * nptl/tst-audit-threads-mod1.c: New file.
9932 * nptl/tst-audit-threads-mod2.c: Likewise.
9933 * nptl/tst-audit-threads.c: Likewise.
9934 * nptl/tst-audit-threads.h: Likewise.
9936 2018-11-30 Joseph Myers <joseph@codesourcery.com>
9938 * scripts/gen-as-const.py: New file.
9939 * scripts/gen-as-const.awk: Remove.
9940 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
9942 ($(objpfx)test-as-const-%.c): Likewise.
9944 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9946 * elf/dl-exception.c: Include <_itoa.h>.
9948 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9950 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
9951 returned by __f_setlk.
9953 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
9954 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9956 * elf/Makefile (tests-internal): Add tst-create_format1.
9957 * elf/dl-exception.c (_dl_exception_create_format): Support
9959 * elf/tst-create_format1.c: New file.
9961 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
9963 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
9964 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
9966 * argp/argp-help.c (__argp_failure): Likewise.
9968 2018-11-29 Mao Han <han_mao@c-sky.com>
9970 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
9971 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
9972 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
9973 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
9974 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
9975 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
9976 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
9977 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
9978 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
9979 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
9980 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
9981 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
9982 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
9983 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
9984 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
9985 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
9986 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
9987 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
9988 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
9989 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
9990 (R_CKCORE_TLS_TPOFF32): New defines.
9992 2018-11-29 Florian Weimer <fweimer@redhat.com>
9994 * posix/Makefile (before-compile): Remove testcases.h and
9996 (generated): Add testcases.h and ptestcases.h.
9997 (testcases.h, ptestcases.h): Move to $(objpfx).
9998 (runtests.o): Add dependency on testcases.h.
9999 (runptests.o): Add dependency on ptestcases.h.
10000 * posix/testcases.h, posix/ptestcases.h: Remove files.
10001 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10002 not touch posix/testcases.h and posix/ptestcases.h.
10004 2018-11-28 Florian Weimer <fweimer@redhat.com>
10006 support: Add signal support to support_capture_subprocess_check.
10007 * support/capture_subprocess.h (support_capture_subprocess_check):
10008 Adjust comment and rename parameter.
10009 * support/support_capture_subprocess_check.c
10010 (print_actual_status): New function.
10011 (support_capture_subprocess_check): Support negative
10012 status_or_signal. Call print_actual_status.
10013 * support/tst-support_capture_subprocess.c (do_test): Call
10014 support_capture_subprocess_check.
10015 * libio/tst-vtables-common.c (termination_status)
10016 (init_termination_status): Remove.
10017 (check_for_termination): Adjust support_capture_subprocess_check
10019 (do_test): Remove call to init_termination_status.
10021 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10023 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10024 source directory instead of a copy.
10025 (CommandList.create_copy_dir): Remove.
10027 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10029 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10031 2018-11-28 Florian Weimer <fweimer@redhat.com>
10033 * support/support.h (support_quote_string): Do not use str
10036 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10038 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10039 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10041 2018-11-27 Florian Weimer <fweimer@redhat.com>
10043 * support/support.h (support_quote_string): Declare.
10044 * support/support_quote_string.c: New file.
10045 * support/tst-support_quote_string.c: Likewise.
10046 * support/Makefile (libsupport-routines): Add
10047 support_quote_string.
10048 (tests): Add tst-support_quote_string.
10050 2018-11-27 Florian Weimer <fweimer@redhat.com>
10054 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10055 descriptor leak in case of ENODEV error.
10057 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10060 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10061 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10062 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10064 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10066 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10067 Error for unknown lines.
10069 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10071 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10072 Touch additional files.
10074 2018-11-26 Florian Weimer <fweimer@redhat.com>
10077 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10080 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10083 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10084 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10085 SHARED. Include sysdep.h.
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10087 ALWAYS_USE_VSYSCALL.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10089 ALWAYS_USE_VSYSCALL.
10091 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10094 * nptl/Makefile (tests-static): Add tst-cond11-static.
10096 * nptl/tst-cond11-static.c: New File.
10097 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10098 tst-affinity-static.
10100 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10102 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10103 (USE_VSYSCALL): Likewise.
10104 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10105 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10107 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10112 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10115 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10116 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10119 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10121 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10122 (tst-cet-legacy-1a-ARGS): New.
10123 ($(objpfx)tst-cet-legacy-1a): New target.
10124 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10126 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10128 * conform/conformtest.py (CompileSubTest.__init__): Set
10129 self.run_early to False.
10130 (ExecuteSubTest.__init__): Likewise.
10131 (HeaderTests.run): Try running all non-optional, non-XFAILed
10132 compilation tests in a single execution of the compiler.
10134 * conform/conformtest.py (CompileSubTest): New class.
10135 (ExecuteSubTest): Likewise.
10136 (ElementTest.run): Rename to gen_subtests. Append tests to
10137 self.subtests instead of running them.
10138 (ConstantTest.run): Likewise.
10139 (SymbolTest.run): Likewise.
10140 (TypeTest.run): Likewise.
10141 (TagTest.run): Likewise.
10142 (FunctionTest.run): Likewise.
10143 (VariableTest.run): Likewise.
10144 (MacroFunctionTest.run): Likewise.
10145 (MacroStrTest.run): Likewise.
10146 (HeaderTests.handle_test_line): Generate subtests for tests.
10147 (HeaderTests.run): Run subtests for tests.
10149 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10151 * math/Versions (GLIBC_2.29): Add pow.
10152 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10154 * math/w_pow.c: New file.
10155 * sysdeps/i386/fpu/w_pow.c: New file.
10156 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10158 and add necessary aliases.
10159 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10160 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10161 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10162 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10163 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10164 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10165 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10166 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10167 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10168 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10169 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10170 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10171 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10172 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10173 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10178 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10179 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10180 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10181 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10182 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10183 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10184 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10185 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10187 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10188 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10189 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10191 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10193 * math/Versions (GLIBC_2.29): Add log2.
10194 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10196 * math/w_log2.c: New file.
10197 * sysdeps/i386/fpu/w_log2.c: New file.
10198 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10199 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10200 and add necessary aliases.
10201 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10202 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10203 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10204 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10205 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10206 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10207 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10208 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10209 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10210 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10211 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10212 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10213 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10214 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10215 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10220 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10221 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10222 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10224 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10225 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10226 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10228 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10230 * math/Versions (GLIBC_2.29): Add log.
10231 * math/w_log_compat.c (__log_compat): Change to versioned compat
10233 * math/w_log.c: New file.
10234 * sysdeps/i386/fpu/w_log.c: New file.
10235 * sysdeps/ia64/fpu/e_log.S: Update.
10236 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10237 and add necessary aliases.
10238 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10239 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10240 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10241 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10242 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10243 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10244 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10245 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10246 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10247 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10248 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10249 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10250 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10251 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10252 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10257 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10258 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10259 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10260 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10262 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10263 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10264 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10266 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10267 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10268 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10269 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10271 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10273 * math/Versions (GLIBC_2.29): Add exp and exp2.
10274 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10275 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10276 * math/w_exp_compat.c (__exp_compat): Likewise.
10277 * math/w_exp.c: New file.
10278 * math/w_exp2.c: New file.
10279 * sysdeps/i386/fpu/w_exp.c: New file.
10280 * sysdeps/i386/fpu/w_exp2.c: New file.
10281 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10282 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10284 and add necessary aliases.
10285 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10286 and add necessary aliases.
10287 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10288 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10289 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10290 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10291 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10308 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10309 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10310 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10311 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10312 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10313 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10314 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10315 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10316 (__ieee754_exp): Rename to __exp.
10317 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10318 (__ieee754_exp): Rename to __exp.
10319 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10320 (__ieee754_exp): Rename to __exp.
10321 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10323 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10325 2018-11-20 DJ Delorie <dj@redhat.com>
10327 * malloc/malloc.c (tcache_entry): Add key field.
10328 (tcache_put): Set it.
10329 (tcache_get): Likewise.
10330 (_int_free): Check for double free in tcache.
10331 * malloc/tst-tcfree1.c: New.
10332 * malloc/tst-tcfree2.c: New.
10333 * malloc/Makefile: Run the new tests.
10334 * manual/probes.texi: Document memory_tcache_double_free probe.
10336 * dlfcn/dlerror.c (check_free): Prevent double frees.
10338 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10340 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10342 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10344 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10345 in tests. Use names for format arguments.
10346 (ConstantTest.run): Likewise.
10347 (SymbolTest.run): Likewise.
10348 (TypeTest.run): Likewise.
10349 (TagTest.run): Likewise.
10350 (FunctionTest.run): Likewise.
10351 (VariableTest.run): Likewise.
10352 (MacroFunctionTest.run): Likewise.
10353 (MacroStrTest.run): Likewise.
10354 (HeaderTests.__init__): Set self.num_tests.
10355 (HeaderTests.handle_test_line): Set test.num. Increment
10358 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10360 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10361 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10364 2018-11-19 Mao Han <han_mao@c-sky.com>
10366 * scripts/config.guess: Update to version 2018-08-29.
10367 * scripts/config.sub: Update to version 2018-08-29.
10369 2018-11-19 Florian Weimer <fweimer@redhat.com>
10371 support: Print timestamps in timeout handler.
10372 * support/support_test_main.c (print_timestamp): New function.
10373 (signal_handler): Use it to print the termination time and the
10374 time of the last write to standard output.
10376 2018-11-16 Zack Weinberg <zackw@panix.com>
10377 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10379 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10380 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10382 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10383 and add flags argument. Check flags instead of __ldbl_is_dbl when
10384 deciding whether to set is_long_double.
10385 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10386 passing zero for flags argument.
10387 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10389 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10390 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10391 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10392 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10393 variable names. Remove libc_hidden_def/libc_hidden_proto from
10394 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10395 longer called from within the library.
10396 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10397 for __nldbl___vstrfmon_l, declare it explicitly.
10399 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10401 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10403 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10405 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10406 F_SETLK64, F_SETLKW64, respectively.
10407 * sysdeps/mach/hurd/f_setlk.c: New file.
10408 * sysdeps/mach/hurd/f_setlk.h: New file.
10409 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10411 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10412 (__libc_fcntl): Move non-flock operations to...
10413 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10414 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10416 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10418 mktime: DEBUG_MKTIME cleanup
10419 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10420 And it’s no longer needed now that glibc and Gnulib both have
10421 their own testing mechanisms for mktime.
10422 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10424 mktime: fix non-EOVERFLOW errno handling
10426 mktime was not properly reporting failures when the underlying
10427 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10428 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10429 The problem could happen on non-glibc platforms, with Gnulib.
10430 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10431 (tm_diff): ... this simpler function, which does not change errno.
10432 All callers changed to deal with errno themselves.
10433 (ranged_convert, __mktime_internal): Return failure immediately if
10434 the underlying function reports any failure other than EOVERFLOW.
10435 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10438 mktime: fix bug with Y2038 DST transition
10440 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10441 mishandle a DST transition that jumps over the Y2038 boundary.
10442 No such DST transitions are known so this is only a theoretical
10443 bug, but we might as well do things right.
10445 mktime: make more room for overflow
10447 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10448 This is so that we can add tm_diff results to a previous guess,
10449 which will be useful in a later patch.
10451 mktime: simplify offset guess
10453 * time/mktime.c (__mktime_internal): Omit excess precision.
10455 mktime: new test for mktime failure
10457 Based on a test suggested by Albert Aribaud in:
10458 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10459 * time/Makefile (tests): Add bug-mktime4.
10460 * time/bug-mktime4.c: New file.
10462 mktime: fix EOVERFLOW bug
10464 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10465 Include libc-config.h, not config.h, for __set_errno.
10466 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10468 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10470 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10471 __attribute_copy__ to copy attributes from name. Drop static qualifier
10472 to avoid warnings about leaf attribute not having effect on static
10475 2018-11-13 Florian Weimer <fweimer@redhat.com>
10477 * malloc/malloc.c (fastbin_push_entry): New function.
10478 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10479 (REMOVE_FB): Remove macro.
10480 (_int_malloc): Use fastbin_pop_entry and reindent.
10481 (_int_free): Use fastbin_push_entry.
10482 (malloc_consolidate): Use atomic_exchange_acquire.
10484 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10486 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10487 alias attribute, not with strong_alias.
10489 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10490 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10491 with additional parameter thread.
10492 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10493 in terms of __hidden_ver2.
10494 (hidden_tls_def): New macro.
10495 (libc_hidden_tls_def): Likewise.
10496 (rtld_hidden_tls_def): Likewise.
10497 (libm_hidden_tls_def): Likewise.
10498 (libmvec_hidden_tls_def): Likewise.
10499 (libresolv_hidden_tls_def): Likewise.
10500 (librt_hidden_tls_def): Likewise.
10501 (libdl_hidden_tls_def): Likewise.
10502 (libnss_files_hidden_tls_def): Likewise.
10503 (libnsl_hidden_tls_def): Likewise.
10504 (libnss_nisplus_hidden_tls_def): Likewise.
10505 (libutil_hidden_tls_def): Likewise.
10506 (libutil_hidden_tls_def): Likweise.
10507 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10508 libc_hidden_tls_def.
10509 (__sim_disabled_exceptions_thread): Likewise.
10510 (__sim_round_mode_thread): Likewise.
10512 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10513 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10514 copy attributes from name.
10516 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10518 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10519 Use __attribute_copy__ to copy attributes from name.
10521 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10522 with __hidden_ver1 call.
10523 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10524 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10525 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10526 (__cosf): Do not declare here.
10527 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10528 (__sincosf): Do not declare here.
10529 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10530 (__sinf): Do not declare here.
10532 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10533 (__BIG_ENDIAN): Likewise.
10534 (__BYTE_ORDER): Likewise.
10535 (strong_alias): Likewise.
10536 (_strong_alias): Likewise.
10538 2018-11-12 Florian Weimer <fweimer@redhat.com>
10540 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10541 function. Move after the definition of in_smallbin_range. Do not
10542 use __builtin_expect for paths that lead to a noreturn function.
10543 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10544 because it is unclear whether this is in fact an unlikely
10546 (_int_malloc, _int_free): Adjust.
10547 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10549 * malloc/arena.c (heap_trim): Likewise.
10551 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10553 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10554 it, free it if needed.
10555 (reauthenticate): Test and use ccwdir.
10556 (child_init_port): In non-resetids case, test and use ccwdir.
10557 (child_chdir): New nested function to set ccwdir.
10558 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10559 * hurd/hurd/port.h (_hurd_port_move): New function.
10560 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10561 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10562 * hurd/Versions (_hurd_port_move): Export function.
10563 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10565 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10566 of dtablesize for allocating dtable_cloexec.
10568 2018-11-09 Martin Sebor <msebor@redhat.com>
10570 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10571 it's already defined.
10572 (_strong_alias): Use __attribute_copy__.
10573 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10574 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10575 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10576 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10577 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10578 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10579 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10580 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10581 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10582 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10583 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10584 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10585 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10586 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10587 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10588 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10589 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10590 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10591 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10593 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10595 * misc/tst-efgcvt.c: Include support/check.h and
10596 support/test-driver.c. Do not include test-skeleton.c.
10597 (error_count): Remove.
10598 (output_error): Replace increments to error_count with calls to
10599 support_record_failure.
10600 (output_r_error): Likewise.
10601 (special): Likewise.
10602 (do_test): Unconditionally return zero.
10603 (TEST_FUNCTION): Remove.
10605 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10607 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10609 ($(linknamespace-header-tests)): Likewise.
10611 * conform/conformtest.py: New file.
10612 * conform/conformtest.pl: Remove.
10613 * conform/GlibcConform.pm: Likewise.
10614 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10615 (KEYWORDS_C99): Likewise.
10616 (KEYWORDS): Likewise.
10617 * conform/Makefile ($(conformtest-header-tests)): Use
10618 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10619 option. Use --header instead of --headers.
10620 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10622 * conform/data/spawn.h-data: Likewise.
10623 * conform/data/fcntl.h-data (openat): Add space after function
10625 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10626 (wcscasecmp_l): Likewise.
10627 * conform/data/termios.h-data (c_cc): Add space after element
10630 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10632 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10633 instead of manually comparing and reporting mismatching strings.
10634 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10635 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10637 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10639 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10640 __ASSUME_SOCKETCALL.
10641 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10642 (__ASSUME_SOCKETCALL): Remove.
10643 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10644 (__ASSUME_SOCKETCALL): Likewise.
10645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10646 (__ASSUME_SOCKETCALL): Likewise.
10647 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10648 (__ASSUME_SOCKETCALL): Likewise.
10649 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10650 (__ASSUME_SOCKETCALL): Likewise.
10651 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10652 (__ASSUME_SOCKETCALL): Likewise.
10653 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10654 (__ASSUME_SOCKETCALL): Likewise.
10656 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10659 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10660 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10661 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10662 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10663 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10666 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10669 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10671 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10674 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10675 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10677 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10679 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10681 * support/support_test_compare_string.c
10682 (support_test_compare_string): Fix printf format.
10684 2018-11-07 Florian Weimer <fweimer@redhat.com>
10686 Implement TEST_COMPARE_STRING.
10687 * support/check.h (TEST_COMPARE_STRING): Define.
10688 (support_test_compare_string): Declare.
10689 * support/Makefile (libsupport-routines): Add
10690 support_test_compare_string.
10691 (tests): Add tst-test_compare_string.
10692 * support/support_test_compare_string.c: New file.
10693 * support/tst-test_compare_string.c: Likewise.
10695 2018-11-07 Andreas Schwab <schwab@suse.de>
10698 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10699 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10702 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10705 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10706 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10707 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10708 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10711 2018-11-06 Florian Weimer <fweimer@redhat.com>
10714 * posix/Makefile (routines): Add spawn_faction_addchdir.
10715 (tests): Add tst-spawn-chdir.
10716 * posix/Versions (GLIBC_2.29): Add
10717 posix_spawn_file_actions_addchdir_np.
10718 * posix/spawn_faction_addchdir.c: New file.
10719 * posix/spawn_faction_destroy.c
10720 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10721 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10722 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10724 * posix/tst-spawn-chdir.c: New file.
10725 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10726 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10727 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10728 posix_spawn_file_actions_addchdir_np.
10729 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10731 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10733 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10734 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10736 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10738 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10740 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10742 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10744 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10746 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10747 (GLIBC_2.29): Likewise.
10748 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10749 (GLIBC_2.29): Likewise.
10750 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10751 (GLIBC_2.29): Likewise.
10752 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10753 (GLIBC_2.29): Likewise.
10754 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10757 (GLIBC_2.29): Likewise.
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10759 (GLIBC_2.29): Likewise.
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10761 (GLIBC_2.29): Likewise.
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10763 (GLIBC_2.29): Likewise.
10764 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10766 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10768 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10770 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10773 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10775 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10777 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10780 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10782 * misc/Makefile (tests): Add tst-ldbl-error.
10783 * misc/tst-ldbl-error.c: New file.
10785 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10787 * misc/Makefile (tests): Add tst-ldbl-warn.
10788 * misc/tst-ldbl-warn.c: New file.
10790 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10792 * argp/Makefile (tests): Add tst-ldbl-argp.
10793 * argp/tst-ldbl-argp.c: New file.
10795 2018-11-05 Arjun Shankar <arjun@redhat.com>
10797 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10798 __gconv_path_elem and call __gconv_get_path unconditionally.
10800 2018-11-05 Andreas Schwab <schwab@suse.de>
10803 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10804 creating the first helper thread failed.
10806 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10808 * sysdeps/mach/hurd/msync.c: New file.
10810 2018-11-02 Florian Weimer <fweimer@redhat.com>
10812 * support/shell-container.c (copy_func): Call
10813 support_copy_file_range instead of copy_file_range to support
10814 cross-device copies.
10816 2018-11-02 Florian Weimer <fweimer@redhat.com>
10818 * support/test-container.c: Include <libc-pointer-arith.h> for
10821 2018-11-01 Zong Li <zong@andestech.com>
10823 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10824 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10825 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10826 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10828 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10829 variable to avoid overlap arguments.
10831 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10833 * posix/bug-regex22.c (main): Use puts with distinct error
10834 messages for unexpected success of re_compile_pattern, not printf
10835 with NULL argument to %s.
10837 * stdio-common/bug22.c: Include <libc-diag.h>.
10838 (do_test): Disable -Wformat-overflow= warnings around fprintf
10839 calls outputting more than INT_MAX characters.
10840 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10841 around printf call with NULL %s argument.
10844 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10845 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10847 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10848 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10849 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10850 (__ASSUME_SENDTO_SYSCALL): Likewise.
10851 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10852 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10854 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10855 (__ASSUME_CONNECT_SYSCALL): Likewise.
10856 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10857 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10858 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10860 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10862 [__LINUX_KERNEL_VERSION >= 0x040400]
10863 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10864 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10866 (listen): Likewise.
10867 (setsockopt): Likewise.
10869 2018-11-01 Fredrik Noring <noring@nocrew.org>
10871 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10872 with the ISA override.
10874 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
10876 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10879 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10881 * manual/errno.texi (EIEIO): Document how translators should
10882 translate the error message.
10883 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
10884 printing trailing whitespaces refused by git.
10885 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
10886 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10887 * hurd/Makefile (user-interfaces): Add pci.
10889 2018-10-30 Joseph Myers <joseph@codesourcery.com>
10891 * conform/linknamespace.py: New file.
10892 * conform/linknamespace.pl: Remove file.
10893 * conform/Makefile ($(linknamespace-header-tests)): Use
10894 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
10897 2018-10-30 Florian Weimer <fweimer@redhat.com>
10899 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
10902 2018-10-30 Florian Weimer <fweimer@redhat.com>
10904 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
10906 2018-10-30 Florian Weimer <fweimer@redhat.com>
10908 * stdlib/tst-strtod-overflow.c (do_test): Switch to
10909 support_blob_repeat.
10911 2018-10-30 Florian Weimer <fweimer@redhat.com>
10913 Avoid spurious test failures in stdlib/test-bz22786.
10914 * support/Makefile (libsupport-routines): Add blob_repeat.
10915 (tests): Add tst-support_blob_repeat.
10916 * support/blob_repeat.h: New file.
10917 * support/blob_repeat.c: Likewise.
10918 * support/tst-support_blob_repeat.c: Likewise.
10919 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
10920 support_blob_repeat_allocate.
10922 2018-10-30 Andreas Schwab <schwab@suse.de>
10925 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
10926 Don't use tail call.
10927 * elf/tst-unwind-main.c: New file.
10928 * elf/Makefile (tests): Add tst-unwind-main.
10929 (CFLAGS-tst-unwind-main.c): Define.
10931 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
10934 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
10935 n_cs_precedes to 0.
10936 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
10938 2018-10-29 Joseph Myers <joseph@codesourcery.com>
10940 * conform/glibcconform.py: Do not import shutil.
10941 (list_exported_functions): Use tempfile.TemporaryDirectory instead
10944 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
10945 critic_missing for versions before 3.4.
10946 * configure: Regenerated.
10947 * manual/install.texi (Tools for Compilation): Document
10948 requirement for Python to build glibc.
10949 * INSTALL: Regenerated.
10950 * Rules [PYTHON]: Make code unconditional.
10951 * benchtests/Makefile [PYTHON]: Likewise.
10952 * conform/Makefile [PYTHON]: Likewise.
10953 * manual/Makefile [PYTHON]: Likewise.
10954 * math/Makefile [PYTHON]: Likewise.
10956 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10958 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
10959 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
10960 answer to interrupt_operation, return EIEIO instead of EINTR.
10961 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
10962 _hurd_intr_rpc_msg_about_to global point to start of controlled
10963 assembly snippet. Make it check canceled flag.
10964 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
10965 the _hurd_intr_rpc_msg_about_to point.
10966 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
10967 issue, remove cancel flag check.
10969 2018-10-26 Joseph Myers <joseph@codesourcery.com>
10971 * scripts/build-many-glibcs.py: Remove compatibility for missing
10972 os.cpu_count and re.fullmatch.
10974 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
10977 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
10978 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
10979 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
10981 2018-10-25 Joseph Myers <joseph@codesourcery.com>
10983 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
10986 2018-10-25 Florian Weimer <fweimer@redhat.com>
10990 XFAIL siginfo_t si_band conform test on sparc64.
10991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
10992 (__SI_BAND_TYPE): Only override long int default type on sparc64.
10993 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10994 (conformtest-xfail-conds): Add sparc64-linux.
10995 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
10997 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
10999 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11001 * elf/elf.h (NT_MIPS_DSP): New macro.
11002 (NT_MIPS_FP_MODE): Likewise.
11004 2018-10-25 Zong Li <zong@andestech.com>
11006 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11007 name by adding the file extension (.so).
11009 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11011 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11012 (test-xfail-ISO11/threads.h/linknamespace,
11013 test-xfail-ISO11/threads.h/conform): Add.
11015 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11017 * math/gen-libm-test.py: Import os.
11018 (ALL_FLOATS_MANUAL): New constant.
11019 (ALL_FLOATS_SUFFIX): Likewise.
11020 (Ulps.all_functions): New function.
11021 (real_all_ulps): Likewise.
11022 (generate_err_table_sub): Likewise.
11023 (generate_err_table): Likewise.
11024 (main): Handle -s and -m options.
11025 * manual/libm-err-tab.pl: Remove.
11026 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11027 instead of libm-err-tab.pl.
11028 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11030 * manual/install.texi (Tools for Compilation): Document
11031 requirement for Python to build manual.
11032 * INSTALL: Regenerated.
11034 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11036 * bits/time64.h: New file.
11037 * include/time.h: Replace internal_time_t with __time64_t.
11038 * posix/bits/types (__time64_t): Add.
11039 * stdlib/Makefile: Add bits/time64.h to includes.
11040 * time/tzfile.c: Replace internal_time_t with __time64_t.
11042 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11044 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11045 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11046 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11047 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11048 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11050 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11051 * posix/spawn_faction_addclose.c
11052 (__posix_spawn_file_actions_addclose): Add hidden definition.
11053 * posix/spawn_faction_adddup2.c
11054 (__posix_spawn_file_actions_adddup2): Likewise.
11055 * posix/spawn_faction_destroy.c
11056 (__posix_spawn_file_actions_destroy): Likewise.
11057 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11059 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11060 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11061 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11063 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11064 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11067 2018-10-24 Andreas Schwab <schwab@suse.de>
11070 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11072 * elf/cache.c (print_cache): Likewise.
11074 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11076 * bits/timesize.h: New file.
11077 * stdlib/Makefile (headers): Add bits/timesize.h.
11078 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11079 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11080 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11081 (__SEM_PAD_AFTER_TIME): Likewise.
11082 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11083 (__SHM_PAD_AFTER_TIME): Likewise.
11084 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11085 (__MSQ_PAD_BEFORE_TIME): Likewise.
11086 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11087 (__SEM_PAD_BEFORE_TIME): Likewise.
11088 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11089 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11090 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11091 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11092 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11093 (__MSQ_PAD_BEFORE_TIME): Likewise.
11094 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11095 (__SEM_PAD_BEFORE_TIME): Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11097 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11098 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11099 (__MSQ_PAD_BEFORE_TIME): Likewise.
11100 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11101 (__SEM_PAD_BEFORE_TIME): Likewise.
11102 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11103 (__SHM_PAD_BEFORE_TIME): Likewise.
11104 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11105 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11106 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11108 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11110 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11111 USE_RDTSCP is defined.
11112 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11113 USE_RDTSCP is defined.
11115 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11117 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11121 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11122 independently of other flags.
11124 2018-10-23 Florian Weimer <fweimer@redhat.com>
11126 * time/tst-mktime2.c (N_STRINGS): Remove.
11127 (set_timezone): New function.
11128 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11129 (mktime_test1): Report localtime failure and check errno value.
11131 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11132 (do_test): Remove alarm call. Use set_timezone and array_length.
11134 2018-10-23 Andreas Schwab <schwab@suse.de>
11136 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11137 (__start_context): Use END instead of PSEUDO_END.
11139 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11141 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11144 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11148 * wcsmbs/c32rtomb.c: New file.
11149 * wcsmbs/mbrtoc32.c: Likewise.
11150 * wcsmbs/tst-c32-state.c: Likewise.
11151 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11152 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11153 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11154 (tests): Add tst-c32-state.
11155 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11158 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11160 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11161 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11163 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11166 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11167 pair and return 0 in that case, and use saved character to
11168 interpret following character.
11169 * wcsmbs/tst-c16-surrogate.c: New file.
11170 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11171 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11172 Depend on $(gen-locales)
11174 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11177 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11178 (struct siginfo_t): Use correct type for si_band.
11180 2018-10-19 Florian Weimer <fweimer@redhat.com>
11183 * resource/bits/types/struct_rusage.h (struct rusage): Update
11184 comment on struct. Remove extraneous field comment.
11186 2018-10-18 David S. Miller <davem@davemloft.net>
11188 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11189 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11190 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11191 sysdep_routines in subdir elf.
11192 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11193 version for __vdso_clock_gettime.
11194 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11196 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11197 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11199 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11201 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11203 * sysdeps/i386/init-arch.h: Removed.
11204 * sysdeps/i386/i586/init-arch.h: Likewise.
11205 * sysdeps/i386/i686/init-arch.h: Likewise.
11206 * sysdeps/i386/i686/hp-timing.h: Likewise.
11207 * sysdeps/x86_64/hp-timing.h: Likewise.
11208 * sysdeps/i386/isa.h: New file.
11209 * sysdeps/i386/i586/isa.h: Likewise.
11210 * sysdeps/i386/i686/isa.h: Likewise.
11211 * sysdeps/x86_64/isa.h: Likewise.
11212 * sysdeps/x86/hp-timing.h: New file.
11213 * sysdeps/x86/init-arch.h: Include <isa.h>.
11215 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11217 * math/libm-test-pow.inc (pow_test_data): Do not allow
11218 divide-by-zero exception for pow(+/- 0, -Inf).
11220 2018-10-17 Zack Weinberg <zackw@panix.com>
11222 * manual/job.texi (Job Control is Optional): Remove node, as
11223 job control has not been optional in quite some time.
11224 (Job Control): Mention briefly that systems older than
11225 POSIX.1-2001 might not support job control.
11226 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11227 defined on systems conforming to POSIX.1-2001.
11229 2018-10-17 Arjun Shankar <arjun@redhat.com>
11232 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11234 * (__gconv_read_conf): Mark function static.
11235 * (once): New static variable.
11236 * (__gconv_load_conf): New function.
11237 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11238 * iconv/gconv_db.c (once): Remove static variable.
11239 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11241 * (__gconv_find_transform): Likewise.
11242 * iconv/tst-iconv-mt.c: New test.
11243 * iconv/Makefile: Add tst-iconv_mt.
11245 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11249 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11250 (shmatt_t): Define as __syscall_ulong_t.
11251 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11252 and [__SHM_PAD_AFTER_TIME].
11253 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11254 Define shm_segsz and associated padding based on
11255 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11256 Use __syscall_ulong_t instead of unsigned long int.
11257 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11259 [__USE_MISC] (struct shm_info): Likewise.
11260 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11261 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11262 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11263 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11264 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11265 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11266 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11267 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11269 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11270 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11274 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11275 (SHMLBA): Remove macro.
11276 (__getpagesize): Remove function declaration.
11277 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11279 (SHMLBA): Remove macro.
11280 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11282 (SHMLBA): Remove macro.
11283 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11285 (SHMLBA): Remove macro.
11286 (__getpagesize): Remove function declaration.
11287 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11289 (SHMLBA): Remove macro.
11290 (__getshmlba): Remove function declaration.
11291 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11292 (SHMLBA): Remove macro.
11293 (__getpagesize): Remove function declaration.
11294 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11295 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11296 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11297 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11298 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11299 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11300 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11301 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11302 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11303 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11305 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11308 * nptl/tst-mutex10.c: New File.
11309 * nptl/Makefile (tests): Add tst-mutex10.
11310 (tst-mutex10-ENV): New variable.
11311 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11312 Ensure that elision path is used if elision is available.
11313 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11315 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11317 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11318 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11319 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11320 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11322 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11323 (__pthread_mutex_cond_lock_adjust): Likewise.
11324 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11326 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11327 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11328 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11329 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11331 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11332 Use atomic_load_relaxed and atomic_store_relaxed.
11333 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11334 Use atomic_store_relaxed.
11336 2018-10-17 Andreas Schwab <schwab@suse.de>
11338 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11339 * crypt/badsalttest.c (TIMEOUT): Likewise.
11340 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11341 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11342 * io/test-lfs.c (TIMEOUT): Likewise.
11343 * libio/tst-atime.c (TIMEOUT): Likewise.
11344 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11345 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11346 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11347 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11348 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11349 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11350 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11351 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11352 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11353 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11354 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11355 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11356 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11357 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11358 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11359 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11360 * nptl/tst-once2.c (TIMEOUT): Likewise.
11361 * nptl/tst-once3.c (TIMEOUT): Likewise.
11362 * nptl/tst-once4.c (TIMEOUT): Likewise.
11363 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11364 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11365 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11366 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11367 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11368 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11369 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11370 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11371 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11372 * posix/tst-chmod.c (TIMEOUT): Likewise.
11373 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11374 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11375 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11376 * posix/tst-regex2.c (TIMEOUT): Likewise.
11377 * posix/tst-waitid.c (TIMEOUT): Likewise.
11378 * rt/tst-aio.c (TIMEOUT): Likewise.
11379 * rt/tst-aio10.c (TIMEOUT): Likewise.
11380 * rt/tst-aio4.c (TIMEOUT): Likewise.
11381 * rt/tst-aio5.c (TIMEOUT): Likewise.
11382 * rt/tst-aio6.c (TIMEOUT): Likewise.
11383 * rt/tst-aio64.c (TIMEOUT): Likewise.
11384 * rt/tst-aio7.c (TIMEOUT): Likewise.
11385 * rt/tst-aio9.c (TIMEOUT): Likewise.
11386 * rt/tst-clock.c (TIMEOUT): Likewise.
11387 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11388 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11389 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11390 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11391 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11392 * rt/tst-timer4.c (TIMEOUT): Likewise.
11393 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11394 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11395 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11396 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11397 * time/tst-ftime.c (TIMEOUT): Likewise.
11398 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11400 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11402 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11403 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11406 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11410 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11411 instead of <bits/wordsize.h>.
11412 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11413 and [__SEM_PAD_AFTER_TIME].
11414 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11415 __syscall_ulong_t instead of unsigned long int.
11416 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11417 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11418 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11419 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11420 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11421 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11422 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11423 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11424 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11425 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11426 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11428 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11430 regex: simplify by using intprops.h
11432 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11433 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11434 intprops.h defines them.
11436 regex: __builtin_expect → __glibc_unlikely
11438 This refactoring was prompted by a problem when the regex code is
11439 used as part of Gnulib and when the builder’s compiler does not grok
11440 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11441 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11442 Although this refactoring does not fix the problem directly,
11443 we might as well have Gawk use the now-preferred glibc style for when
11444 __builtin_expect is unavailable.
11445 * posix/regex_internal.h (BE): Remove.
11446 All uses replaced by __glibc_unlikely or __glibc_likely.
11448 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11452 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11453 instead of <bits/wordsize.h>.
11454 (msgqnum_t): Define as __syscall_ulong_t.
11455 (msglen_t): Likewise.
11456 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11457 and [__MSQ_PAD_AFTER_TIME].
11458 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11459 __syscall_ulong_t instead of unsigned long int.
11460 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11461 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11462 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11463 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11464 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11465 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11466 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11467 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11468 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11469 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11470 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11472 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11475 (struct shmid_ds): Condition padding after time fields on
11476 [__WORDSIZE == 32].
11477 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11478 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11479 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11481 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11482 (struct semid_ds): Condition padding after time fields on
11483 [__WORDSIZE == 32].
11484 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11485 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11486 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11487 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11489 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11490 (struct msqid_ds): Condition padding after time fields on
11491 [__WORDSIZE == 32].
11492 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11493 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11494 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11495 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11497 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11499 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11501 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11503 * libio/tst-readline.c (TIMEOUT): Define.
11505 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11507 mktime fix for Gnulib + coreutils
11509 This fix affects only Gnulib. Problem discovered when
11510 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11512 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11513 Do not define since it is not used. Defining an unused static
11514 function prompts a warning from GCC when Coreutils is configured
11515 with --enable-gcc-warnings.
11517 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11519 * benchtests/scripts/compare_bench.py (main): set float type on
11520 threshold argument.
11522 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11525 * localedata/locales/kl_GL (mon): Update, the relative case.
11526 (alt_mon): Add, fill with month names in the nominative case.
11527 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11528 (d_fmt): Set to "%b %d %Y".
11530 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11532 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11533 <bits/mman-linux.h>.
11534 (PROT_READ): Don't define here.
11535 (PROT_WRITE): Likewise.
11536 (PROT_EXEC): Likewise.
11537 (PROT_NONE): Likewise.
11538 (PROT_GROWSDOWN): Likewise.
11539 (PROT_GROWSUP): Likewise.
11540 (MAP_SHARED): Likewise.
11541 (MAP_PRIVATE): Likewise.
11542 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11543 [__USE_MISC] (MAP_FILE): Likewise.
11544 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11545 [__USE_MISC] (MAP_ANON): Likewise.
11546 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11547 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11548 (MCL_CURRENT): Likewise.
11549 (MCL_FUTURE): Likewise.
11550 (MCL_ONFAULT): Likewise.
11551 [__USE_MISC] (MADV_NORMAL): Likewise.
11552 [__USE_MISC] (MADV_RANDOM): Likewise.
11553 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11554 [__USE_MISC] (MADV_WILLNEED): Likewise.
11555 [__USE_MISC] (MADV_DONTNEED): Likewise.
11556 [__USE_MISC] (MADV_FREE): Likewise.
11557 [__USE_MISC] (MADV_REMOVE): Likewise.
11558 [__USE_MISC] (MADV_DONTFORK): Likewise.
11559 [__USE_MISC] (MADV_DOFORK): Likewise.
11560 [__USE_MISC] (MADV_HWPOISON): Likewise.
11561 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11562 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11563 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11564 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11565 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11566 (__MAP_ANONYMOUS): New macro.
11567 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11568 <bits/mman-linux.h> inclusion.
11569 (MAP_FIXED): Likewise.
11570 (MS_SYNC): Likewise.
11571 (MS_ASYNC): Likewise.
11572 (MS_INVALIDATE): Likewise.
11573 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11574 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11575 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11576 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11577 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11578 [__USE_MISC] (MADV_DODUMP): Likewise.
11579 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11580 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11583 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11585 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11586 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11587 Add test-nldbl-redirect.
11588 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11589 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11590 $(objpfx)libnldbl_nonshared.a.
11592 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11594 * support/support.h (support_objdir_elf_ldso): New variable.
11595 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11596 * support/Makefile (CFLAGS-support_paths.c): Add definition
11597 for OBJDIR_ELF_LDSO_PATH.
11598 * support/test-container.c (main): Search for the ld.so
11599 which is also used by the testsuite.
11601 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
11604 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11605 should be "sap" rather than "sab".
11606 (day): Fix spelling of Sunday, should be "sapaat" rather than
11609 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11611 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11613 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11616 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11617 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11618 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11620 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11622 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11624 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11626 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11628 (CFLAGS-elision-unlock.c): Likewise.
11629 (CFLAGS-elision-timed.c): Likewise.
11630 (CFLAGS-elision-trylock.c): Likewise.
11631 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11633 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11636 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11637 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11638 new fd_to_filename interface.
11639 * libio/freopen64.c (freopen64): Likewise.
11640 * libio/tst-memstream.h: New file.
11641 * libio/tst-memstream4.c: Likewise.
11642 * libio/tst-wmemstream4.c: Likewise.
11643 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11644 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11645 and remove internal dynamic allocation.
11647 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11649 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11650 (MREMAP_MAYMOVE): Do not define here.
11651 [__USE_GNU] (MREMAP_FIXED): Likewise.
11652 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11653 (MREMAP_MAYMOVE): Define here instead.
11654 [__USE_GNU] (MREMAP_FIXED): Likewise.
11655 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11656 (MREMAP_MAYMOVE): Remove.
11657 [__USE_GNU] (MREMAP_FIXED): Likewise.
11659 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11661 * math/fromfp.h: Do not include <math_private.h>.
11662 * math/s_cacosh_template.c: Likewise.
11663 * math/s_casin_template.c: Likewise.
11664 * math/s_casinh_template.c: Likewise.
11665 * math/s_ccos_template.c: Likewise.
11666 * math/s_cproj_template.c: Likewise.
11667 * math/s_fdim_template.c: Likewise.
11668 * math/s_fmaxmag_template.c: Likewise.
11669 * math/s_fminmag_template.c: Likewise.
11670 * math/s_iseqsig_template.c: Likewise.
11671 * math/s_ldexp_template.c: Likewise.
11672 * math/s_nextdown_template.c: Likewise.
11673 * math/w_log1p_template.c: Likewise.
11674 * math/w_scalbln_template.c: Likewise.
11675 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11676 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11677 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11678 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11679 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11680 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11681 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11682 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11683 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11684 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11685 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11686 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11687 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11688 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11689 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11690 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11691 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11692 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11693 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11694 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11695 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11696 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11697 * sysdeps/ieee754/k_standardf.c: Likewise.
11698 * sysdeps/ieee754/k_standardl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11701 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11707 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11708 * sysdeps/ieee754/s_signgam.c: Likewise.
11709 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11710 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11711 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11712 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11713 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11714 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11715 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11716 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11717 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11718 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11719 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11720 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11721 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11722 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11723 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11724 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11725 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11726 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11727 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11728 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11729 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11730 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11731 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11732 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11733 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11734 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11735 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11736 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11737 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11738 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11739 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11740 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11741 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11742 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11743 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11744 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11745 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11747 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11749 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11752 * sysdeps/i386/dl-cet.c: Removed.
11753 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11755 (_dl_runtime_profile_shstk): Likewise.
11756 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11757 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11759 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11762 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11763 do_test_with_invalid_iov): New tests.
11764 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11765 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11766 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11768 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11769 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11770 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11772 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11774 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11775 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11776 (MATH_REDIRECT_BINARY_ARGS): New macro.
11777 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11778 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11779 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11781 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11782 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11783 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11784 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11785 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11794 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11795 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11800 * sysdeps/generic/math_private_calls.h
11801 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11802 Do not declare and define as an inline function.
11803 * math/divtc3.c (__divtc3): Use copysign functions instead of
11804 __copysign variants.
11805 * math/multc3.c (__multc3): Likewise.
11806 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11807 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11808 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11809 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11811 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11812 (__ieee754_yn): Likewise.
11813 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11814 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11815 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11816 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11817 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11819 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11820 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11822 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11824 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11826 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11827 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11829 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11830 (__ieee754_ynf): Likewise.
11831 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11832 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11833 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11834 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11836 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11837 (__ieee754_ynl): Likewise.
11838 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11839 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11840 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11842 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11843 (__ieee754_ynl): Likewise.
11844 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11847 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11849 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11851 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11852 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11853 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11854 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11855 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11857 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11858 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11859 using MATH_REDIRECT.
11860 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11862 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11865 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11866 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11867 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11868 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11873 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11874 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11875 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11876 (round): Redirect to __round.
11877 (__roundl): Call round instead of __round.
11878 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11880 [_ARCH_PWR5X] (__roundf): Likewise.
11881 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
11882 functions instead of __round variants.
11883 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11884 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
11886 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
11888 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
11890 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
11891 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
11893 (__ieee754_expl): Call roundl instead of __roundl.
11895 2018-09-27 Andreas Schwab <schwab@suse.de>
11898 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
11899 (do_test): Make st1 static.
11901 2018-09-26 Andreas Schwab <schwab@suse.de>
11904 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
11905 * elf/Makefile (tests): Add tst-unwind-ctor.
11906 (modules-names): Add tst-unwind-ctor-lib.
11907 ($(objpfx)tst-unwind-ctor): Depend on
11908 $(objpfx)tst-unwind-ctor-lib.so.
11910 2018-09-26 Joseph Myers <joseph@codesourcery.com>
11912 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
11913 file. Most contents moved from ....
11914 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
11915 and include <bits/mman-map-flags-generic.h>.
11916 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11917 (sysdep_headers): Add bits/mman-map-flags-generic.h.
11918 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
11919 <bits/mman-map-flags-generic.h>.
11920 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
11921 macros defined in <bits/mman-map-flags-generic.h>.
11922 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
11923 <bits/mman-map-flags-generic.h>.
11924 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
11925 defined in <bits/mman-map-flags-generic.h>.
11927 2018-09-26 Andreas Schwab <schwab@suse.de>
11929 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
11932 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
11933 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11934 Fangrui Song <maskray@google.com>
11937 * config.make.in (have-textrel_ifunc): New define.
11938 * configure.ac: Add check if linker supports textrel relocation with
11940 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
11942 (CFLAGS-tst-ifunc-textrel.c): New rule.
11943 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
11944 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
11945 * elf/tst-ifunc-textrel.c: New file.
11947 2018-09-25 Joseph Myers <joseph@codesourcery.com>
11949 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11950 <bits/procfs-prregset.h>.
11951 (prgregset_t): Define using __prgregset_t.
11952 (prfpregset_t): Define using __prfpregset_t.
11953 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11954 (sysdep_headers): Add bits/procfs-prregset.h.
11955 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
11956 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
11957 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
11958 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
11960 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
11961 <bits/procfs-id.h> and <bits/procfs-extra.h>.
11962 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
11964 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11965 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
11966 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
11967 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
11968 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
11969 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
11970 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
11971 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
11973 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
11974 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
11975 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
11976 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
11977 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
11978 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
11979 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
11980 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
11981 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
11982 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
11983 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
11984 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
11985 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
11986 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11987 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
11989 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
11990 AArch64 version. Include <bits/procfs.h>.
11991 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
11992 (sysdep_headers): Add bits/procfs.h.
11993 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
11994 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
11995 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
11996 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
11997 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
11998 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
11999 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12000 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12001 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12002 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12003 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12004 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12005 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12006 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12007 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12008 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12009 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12011 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12013 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12016 2018-09-25 Arjun Shankar <arjun@redhat.com>
12018 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12019 (__gconv_max_path_elem_len): Likewise.
12020 (__gconv_nmodules): Likewise.
12021 (__gconv_get_path): Likewise.
12022 (path_elem): Move to ...
12023 * iconv/gconv_conf.c: ... here.
12024 (__gconv_get_path): Mark function static.
12025 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12026 * iconv/gconv_open.c: ... here.
12028 2018-09-24 Andreas Schwab <schwab@suse.de>
12030 * scripts/haveversions.awk: New file.
12031 * Makerules ($(common-objpfx)Versions.def)
12032 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12033 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12035 * Makeconfig ($(common-objpfx)Versions.def)
12036 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12037 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12039 ($(common-objpfx)Versions.mk): New rule. Include it.
12040 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12041 Emit error if build-obsolete-nsl = yes.
12042 * manual/install.texi (Configuring and compiling): Describe
12043 --enable-obsolete-nsl as unavaiable after version 2.28.
12044 * INSTALL: Regenerate.
12046 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12048 * NEWS: Add note about new TLE support on powerpc64le.
12049 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12050 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12052 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12053 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12054 * sysdeps/powerpc/powerpc32/sysdep.h,
12055 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12056 ABORT_TRANSACTION): Remove macros.
12057 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12058 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12059 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12061 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12062 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12064 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12066 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12069 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12070 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12071 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12072 which is the same as in it_IT.
12073 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12074 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12076 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12078 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12079 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12080 using MATH_REDIRECT.
12081 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12083 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12085 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12087 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12088 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12093 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12094 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12095 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12096 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12097 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12098 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12099 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12100 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12101 (ceil): Redirect to __ceil.
12102 (floor): Redirect to __floor.
12103 (trunc): Redirect to __trunc.
12104 (__truncl): Call trunc instead of __trunc.
12105 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12107 [_ARCH_PWR5X] (__truncf): Likewise.
12108 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12109 trunc functions instead of __trunc variants.
12110 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12112 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12116 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12119 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12120 [__i586__ || __pentium__].
12121 [__i486__]: Handle explicitly.
12122 (HAS_CPUID): Define to 1 if above macros are undefined.
12123 (HAS_I586): Likewise.
12124 (HAS_I686): Likewise.
12126 2018-09-20 Florian Weimer <fweimer@redhat.com>
12128 * misc/tst-gethostid.c: New file.
12129 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12130 (tst-gethostid): Link with -ldl.
12132 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12134 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12135 value from gethostbyname_r.
12137 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12139 * stdlib/tst-setcontext9.c (f1): Rename to...
12141 (f1b): New function implementing lower half of f1 in alternate stack.
12143 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12145 Fix mktime localtime offset confusion
12147 * include/time.h (__mktime_internal): The localtime offset is now
12148 of type long int instead of time_t. This is the longstanding type
12149 in glibc, and it is more than enough to represent difference
12150 between localtime and gmtime even if it is 32 bits and time_t is
12151 64. Changing it now will let us avoid an unnecessary change when
12152 time_t is widened to 64 bits on 32-bit platforms.
12153 * time/mktime-internal.h (mktime_offset_t): Now long int.
12155 Merge mktime, timegm from upstream Gnulib
12156 [BZ #23603][BZ #16346]
12157 This fixes some obscure problems with integer overflow.
12158 Although it looks scary, it is almost all a byte-for-byte copy
12159 from Gnulib, and the Gnulib code has been tested reasonably well.
12160 * include/intprops.h: New file, copied from Gnulib.
12161 * include/verify.h, time/mktime-internal.h:
12162 New tiny files, simplified from Gnulib.
12163 * time/mktime.c: Copy from Gnulib. This has the following changes:
12164 Do not include config.h if DEBUG_MKTIME is nonzero.
12165 Include stdbool.h, intprops.h, verify.h.
12166 Include string.h only if needed.
12167 Include stdlib.h on MS-Windows.
12168 Include mktime-internal.h.
12169 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12170 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12171 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12172 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12173 simplify later conditionals; default the others to zero. Use
12174 these conditionals to express only the code needed on the current
12175 platform. In uses of these conditionals, explicitly spell out how
12176 _LIBC affects things, so it’s easier to review from a glibc
12178 (WRAPV): Remove; no longer needed now that we have
12179 systematic overflow checking.
12180 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12181 compartmentalize tzset issues. Move system-dependent tzsettish
12182 code here from mktime.
12183 (verify): Remove; now done by verify.h. All uses changed.
12184 (long_int): Use a more-conservative definition, to avoid
12186 (SHR): Remove, replacing with ...
12187 (shr): New function, which means we needn’t worry about side
12188 effects in args, and conversion analysis is simpler.
12189 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12190 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12191 (time_t_avg, time_t_add_ok): Remove.
12192 (mktime_min, mktime_max): New constants.
12193 (leapyear, isdst_differ): Use bool for booleans.
12194 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12195 Use long_int, not time_t, for mktime differences.
12196 (long_int_avg): New function, replacing time_t_avg.
12197 INT_ADD_WRAPV replaces time_t_add_ok.
12198 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12200 (convert_time): New function.
12201 (ranged_convert): Use it.
12202 (__mktime_internal): Last arg now points to mktime_offset_t, not
12203 time_t. All uses changed. This is a no-op on glibc, where
12204 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12205 offset guess. Directly check for integer overflow instead of
12206 using a heuristic that works only 99.9...% of the time.
12207 Access *OFFSET only once, to avoid an unlikely race if the
12208 compiler delays a load and if this cascades into a signed integer
12210 (mktime): Move tzsettish code to my_tzset, and move
12211 localtime_offset to within mktime so that it doesn’t
12212 need a separate ifdef.
12213 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12214 instead of localtime.
12215 * time/timegm.c: Copy from Gnulib. This has the following changes:
12216 Include mktime-internal.h.
12217 [!_LIBC]: Include config.h and time.h. Do not include
12218 timegm.h or time_r.h. Make __mktime_internal a macro,
12219 and include mktime-internal.h to get its declaration.
12220 (timegm): Temporary is now mktime_offset_t, not time_t.
12221 This affects only Gnulib.
12223 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12226 * string/test-strstr.c (pr23637): New function.
12227 (test_main): Add tests with longer needles.
12228 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12229 * string/strstr.c (AVAILABLE): Likewise.
12231 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12233 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12235 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12237 * NEWS: Mention pow improvements.
12238 * math/Makefile (type-double-routines): Add e_pow_log_data.
12239 * sysdeps/generic/math_private.h (__exp1): Remove.
12240 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12241 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12242 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12244 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12245 (exp_inline): Remove.
12246 (__ieee754_exp): Only single double input is handled.
12247 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12248 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12249 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12250 (__pow_log_data): Define.
12251 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12252 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12253 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12254 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12256 (CFLAGS-e_pow-fma4.c): Likewise.
12258 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12260 Simplify tzfile fstat failure code
12262 * time/tzfile.c (__tzfile_read): Simplify slightly.
12264 Fix tzfile low-memory assertion failure
12266 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12267 when registering time zone abbreviations.
12269 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12271 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12272 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12273 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12274 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12275 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12276 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12277 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12278 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12279 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12281 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12283 (__ceill): Call ceil instead of __ceil.
12284 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12286 (__floorl): Call floor instead of __floor.
12288 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12290 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12291 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12292 using MATH_REDIRECT.
12293 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12295 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12298 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12302 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12307 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12308 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12311 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12312 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12313 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12315 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12316 functions instead of __ceil variants.
12317 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12318 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12320 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12322 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12323 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12325 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12326 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12329 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12331 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12332 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12333 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12334 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12335 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12336 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12337 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12338 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12339 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12340 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12341 (ILL_BADIADDR): Remove constant.
12342 (TRAP_BRANCH): Likewise.
12343 (TRAP_HWBKPT): Likewise.
12345 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12348 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12349 Remove [_MIPS_SIM = _ABIN32] conditional case.
12350 (struct elf_prpsinfo): Likewise.
12353 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12354 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12355 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12357 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12358 elf_prpsinfo): Likewise.
12359 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12360 elf_prpsinfo): Likewise.
12361 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12364 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12365 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12366 using MATH_REDIRECT.
12367 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12369 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12370 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12371 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12372 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12373 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12374 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12375 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12376 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12379 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12380 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12381 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12382 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12383 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12384 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12385 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12386 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12387 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12392 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12393 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12394 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12395 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12397 * math/e_scalbf.c (invalid_fn): Likewise.
12398 * math/e_scalbl.c (invalid_fn): Likewise.
12399 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12401 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12403 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12404 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12405 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12407 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12411 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12412 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12414 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12415 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12417 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12418 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12419 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12420 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12421 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12422 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12423 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12424 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12425 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12426 && !NO_MATH_REDIRECT] (floor): Likewise.
12427 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12429 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12430 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12432 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12433 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12436 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12441 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12442 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12445 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12446 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12447 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12449 [_ARCH_PWR5X] (__floorf): Likewise.
12450 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12452 [__SSE4_1__] (__floorf): Likewise.
12453 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12454 instead of __floor variants.
12455 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12456 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12457 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12458 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12459 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12460 * math/w_tgamma_compat.c (__tgamma): Likewise.
12461 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12462 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12463 * math/w_tgammal_compat.c (__tgammal): Likewise.
12464 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12467 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12468 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12469 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12470 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12472 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12473 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12475 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12479 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12481 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12482 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12483 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12484 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12485 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12486 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12488 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12490 * elf/Makefile (modules-names-tests): New variable.
12492 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12494 * NEWS: Mention log2 improvements.
12495 * math/Makefile (type-double-routines): Add e_log2_data.
12496 * sysdeps/i386/fpu/e_log2_data.c: New file.
12497 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12498 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12499 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12500 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12502 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12504 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12506 * NEWS: Mention log improvement.
12507 * math/Makefile (type-double-routines): Add e_log_data.
12508 * sysdeps/i386/fpu/e_log_data.c: New file.
12509 * sysdeps/ia64/fpu/e_log_data.c: New file.
12510 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12511 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12512 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12513 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12514 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12515 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12517 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12518 Xuepeng Guo <xuepeng.guo@intel.com>
12521 * sysdeps/i386/start.S: Include <sysdep.h>
12522 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12523 enabled. Add cfi_undefined (eip).
12525 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12527 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12529 (EXTRACT_WORDS64): Likewise.
12530 (INSERT_WORDS64): Likewise.
12531 (GET_FLOAT_WORD): Likewise.
12532 (SET_FLOAT_WORD): Likewise.
12534 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12536 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12537 build, but not for second build if --full-gcc. Use
12538 --enable-languages=all for second build if --full-gcc.
12539 (get_parser): Add --full-gcc option.
12540 (main): Update call to Context.
12542 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12545 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12546 Single Quotation Mark).
12547 (thousands_sep): Likewise.
12548 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12549 * localedata/locales/it_IT (thousands_sep): Use ".".
12550 (grouping): Use "3;3".
12552 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12554 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12555 x86_64 and i686 configs using --enable-obsolete-rpc
12556 --enable-obsolete-nsl.
12558 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12560 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12562 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12564 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12565 Increment size of new_argv by one.
12567 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12570 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12571 * localedata/locales/ar_IN (d_fmt): Likewise.
12572 * localedata/locales/bhb_IN (d_fmt): Likewise.
12573 * localedata/locales/bho_IN (d_fmt): Likewise.
12574 * localedata/locales/bn_BD (d_fmt): Likewise.
12575 * localedata/locales/bn_IN (d_fmt): Likewise.
12576 * localedata/locales/doi_IN (d_fmt): Likewise.
12577 * localedata/locales/gu_IN (d_fmt): Likewise.
12578 * localedata/locales/hi_IN (d_fmt): Likewise.
12579 * localedata/locales/hne_IN (d_fmt): Likewise.
12580 * localedata/locales/kn_IN (d_fmt): Likewise.
12581 * localedata/locales/mag_IN (d_fmt): Likewise.
12582 * localedata/locales/mai_IN (d_fmt): Likewise.
12583 * localedata/locales/mjw_IN (d_fmt): Likewise.
12584 * localedata/locales/ml_IN (d_fmt): Likewise.
12585 * localedata/locales/mni_IN (d_fmt): Likewise.
12586 * localedata/locales/mr_IN (d_fmt): Likewise.
12587 * localedata/locales/pa_IN (d_fmt): Likewise.
12588 * localedata/locales/raj_IN (d_fmt): Likewise.
12589 * localedata/locales/sat_IN (d_fmt): Likewise.
12590 * localedata/locales/sd_IN (d_fmt): Likewise.
12591 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12592 * localedata/locales/ta_IN (d_fmt): Likewise.
12593 * localedata/locales/ta_LK (d_fmt): Likewise.
12594 * localedata/locales/tcy_IN (d_fmt): Likewise.
12595 * localedata/locales/ur_IN (d_fmt): Likewise.
12597 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12598 * localedata/locales/ks_IN (d_fmt): Likewise.
12599 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12601 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12602 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12603 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12604 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12606 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12608 * NEWS: Mention exp and exp2 improvements.
12609 * math/Makefile (libm-support): Remove t_exp.
12610 (type-double-routines): Add math_err and e_exp_data.
12611 * sysdeps/aarch64/libm-test-ulps: Update.
12612 * sysdeps/arm/libm-test-ulps: Update.
12613 * sysdeps/i386/fpu/e_exp_data.c: New file.
12614 * sysdeps/i386/fpu/math_err.c: New file.
12615 * sysdeps/i386/fpu/t_exp.c: Remove.
12616 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12617 * sysdeps/ia64/fpu/math_err.c: New file.
12618 * sysdeps/ia64/fpu/t_exp.c: Remove.
12619 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12620 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12621 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12623 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12624 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12625 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12626 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12627 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12628 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12629 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12630 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12631 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12632 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12636 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12638 * sysdeps/alpha/fpu/math_private.h: Remove.
12640 * sysdeps/generic/math_private.h
12641 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12642 Move this inline function ....
12643 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12644 * include/math.h [!_ISOMAC]: To here....
12646 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12648 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12650 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12651 * include/fenv.h [!_ISOMAC]: ... to here.
12652 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12653 (feraiseexcept): Likewise.
12654 * math/fromfp.h: Do not include <fenv_private.h>.
12655 * math/s_cexp_template.c: Likewise.
12656 * math/s_csin_template.c: Likewise.
12657 * math/s_csinh_template.c: Likewise.
12658 * math/s_ctan_template.c: Likewise.
12659 * math/s_ctanh_template.c: Likewise.
12660 * math/s_iseqsig_template.c: Likewise.
12661 * math/w_acos_compat.c: Likewise.
12662 * math/w_acosf_compat.c: Likewise.
12663 * math/w_acosl_compat.c: Likewise.
12664 * math/w_asin_compat.c: Likewise.
12665 * math/w_asinf_compat.c: Likewise.
12666 * math/w_asinl_compat.c: Likewise.
12667 * math/w_j0_compat.c: Likewise.
12668 * math/w_j0f_compat.c: Likewise.
12669 * math/w_j0l_compat.c: Likewise.
12670 * math/w_j1_compat.c: Likewise.
12671 * math/w_j1f_compat.c: Likewise.
12672 * math/w_j1l_compat.c: Likewise.
12673 * math/w_jn_compat.c: Likewise.
12674 * math/w_jnf_compat.c: Likewise.
12675 * math/w_log10_compat.c: Likewise.
12676 * math/w_log10f_compat.c: Likewise.
12677 * math/w_log10l_compat.c: Likewise.
12678 * math/w_log2_compat.c: Likewise.
12679 * math/w_log2f_compat.c: Likewise.
12680 * math/w_log2l_compat.c: Likewise.
12681 * math/w_log_compat.c: Likewise.
12682 * math/w_logf_compat.c: Likewise.
12683 * math/w_logl_compat.c: Likewise.
12684 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12685 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12689 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12690 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12691 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12692 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12693 * sysdeps/ieee754/k_standardl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12696 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12704 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12705 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12706 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12707 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12708 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12709 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12710 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12711 * math/w_ilogb_template.c: Include <fenv.h> instead of
12713 * math/w_llogb_template.c: Likewise.
12714 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12715 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12717 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12719 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12720 * math/fromfp.h: Include <fenv_private.h>.
12721 * math/math-narrow.h: Likewise.
12722 * math/s_cexp_template.c: Likewise.
12723 * math/s_csin_template.c: Likewise.
12724 * math/s_csinh_template.c: Likewise.
12725 * math/s_ctan_template.c: Likewise.
12726 * math/s_ctanh_template.c: Likewise.
12727 * math/s_iseqsig_template.c: Likewise.
12728 * math/w_acos_compat.c: Likewise.
12729 * math/w_acosf_compat.c: Likewise.
12730 * math/w_acosl_compat.c: Likewise.
12731 * math/w_asin_compat.c: Likewise.
12732 * math/w_asinf_compat.c: Likewise.
12733 * math/w_asinl_compat.c: Likewise.
12734 * math/w_ilogb_template.c: Likewise.
12735 * math/w_j0_compat.c: Likewise.
12736 * math/w_j0f_compat.c: Likewise.
12737 * math/w_j0l_compat.c: Likewise.
12738 * math/w_j1_compat.c: Likewise.
12739 * math/w_j1f_compat.c: Likewise.
12740 * math/w_j1l_compat.c: Likewise.
12741 * math/w_jn_compat.c: Likewise.
12742 * math/w_jnf_compat.c: Likewise.
12743 * math/w_llogb_template.c: Likewise.
12744 * math/w_log10_compat.c: Likewise.
12745 * math/w_log10f_compat.c: Likewise.
12746 * math/w_log10l_compat.c: Likewise.
12747 * math/w_log2_compat.c: Likewise.
12748 * math/w_log2f_compat.c: Likewise.
12749 * math/w_log2l_compat.c: Likewise.
12750 * math/w_log_compat.c: Likewise.
12751 * math/w_logf_compat.c: Likewise.
12752 * math/w_logl_compat.c: Likewise.
12753 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12754 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12755 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12756 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12781 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12782 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12783 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12784 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12785 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12786 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12787 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12788 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12789 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12790 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12791 * sysdeps/ieee754/k_standardl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12817 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12818 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12822 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12823 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12828 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12829 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12830 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12831 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12832 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12833 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12834 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12835 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12836 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12837 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12838 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12839 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12840 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12841 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12842 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12843 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12844 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12845 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12846 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12847 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12848 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12849 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12850 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12851 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12852 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12853 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12854 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12855 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12856 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12857 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12858 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12859 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12860 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12861 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12862 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12864 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12867 * include/stdio.h (__libc_fatal): Mention newline in comment.
12868 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12869 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12871 * nss/nsswitch.c (__nss_next2): Likewise.
12872 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12873 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12874 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12875 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12876 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12877 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12878 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12879 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12880 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12881 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
12882 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
12883 * sysdeps/unix/sysv/linux/netlink_assert_response.c
12884 (__netlink_assert_response): Likewise.
12886 2018-08-31 Joseph Myers <joseph@codesourcery.com>
12888 * conform/glibcconform.py: New file.
12889 * conform/list-header-symbols.py: Likewise.
12890 * conform/list-header-symbols.pl: Remove.
12891 * conform/Makefile (tests-special): Only add linknamespace tests
12893 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
12895 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
12898 * support/Makefile (libsupport-routines): Add
12899 support_copy_file_range and xcopy_file_range.
12900 * support/support.h: Include <sys/types.h>.
12901 (support_copy_file_range): New prototype.
12902 * support/support_copy_file_range.c: New file. Copied and
12903 modified from io/copy_file_range-compat.c.
12904 * support/test-container.c (copy_one_file): Call xcopy_file_rang
12905 instead of copy_file_range.
12906 * support/xcopy_file_range.c: New file.
12907 * support/xunistd.h (xcopy_file_range): New prototype.
12909 2018-08-30 Carlos O'Donell <carlos@redhat.com>
12911 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
12912 xpthread_create and xpthread_join.
12914 2018-08-30 Florian Weimer <fweimer@redhat.com>
12916 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
12918 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
12920 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
12923 2018-08-29 Joseph Myers <joseph@codesourcery.com>
12925 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
12926 and minus_oflow as non-finite.
12928 2018-08-28 Joseph Myers <joseph@codesourcery.com>
12930 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
12931 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
12932 moved to fenv_private.h except for ...
12933 (TOINT_INTRINSICS): Kept in math_private.h.
12934 (roundtoint): Likewise.
12935 (converttoint): Likewise.
12936 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
12937 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12938 * sysdeps/arm/math_private.h: Remove.
12939 * sysdeps/generic/fenv_private.h: New file. Contents moved from
12941 * sysdeps/generic/math_private.h: ... this file. Include
12942 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
12943 Include <fenv_private.h>. Remove functions and macros moved to
12945 * sysdeps/i386/fpu/math_private.h: Remove.
12946 * sysdeps/mips/math_private.h: Move to ....
12947 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
12948 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
12949 [__mips_hard_float] conditional. Include next <fenv_private.h>.
12950 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
12951 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12952 * sysdeps/powerpc/fpu/math_private.h: Do not include
12954 * sysdeps/riscv/rvf/math_private.h: Move to ....
12955 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
12956 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
12958 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
12959 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
12960 * sysdeps/sparc/fpu/math_private.h: Remove.
12961 * sysdeps/i386/fpu/fenv_private.h: Move to ....
12962 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
12963 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
12965 * sysdeps/x86_64/fpu/math_private.h: Do not include
12966 <sysdeps/i386/fpu/fenv_private.h>.
12968 2018-08-28 Florian Weimer <fweimer@redhat.com>
12971 * posix/tst-regcomp-truncated.c: New file.
12972 * posix/Makefile (tests): Add it.
12973 (tst-regcomp-truncated.out): Depend on generated locales.
12975 2018-08-28 Florian Weimer <fweimer@redhat.com>
12977 * support/test-container.c (main): Treat unshare failure with
12978 EPERM as an unsupported test.
12980 2018-08-28 Florian Weimer <fweimer@redhat.com>
12983 nscd: Fix use-after-free in addgetnetgrentX and its callers.
12984 * nscd/netgroupcache.c
12985 (addgetnetgrentX): Add tofreep parameter. Do not free
12986 heap-allocated buffer.
12987 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
12988 (addgetnetgrentX_ignore): New function.
12989 (addgetnetgrent): Call it.
12990 (readdgetnetgrent): Likewise.
12992 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12994 * string/memmem.c: Use memcmp for first match.
12996 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
12999 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13001 2018-08-27 DJ Delorie <dj@redhat.com>
13003 * support/Makefile (others): Don't list programs explicitly as a
13004 dependency of "others".
13006 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13008 * sysdeps/generic/math-tests-trap-force.h: New file.
13009 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13010 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13011 * sysdeps/powerpc/math-tests.h: Remove file.
13012 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13014 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13015 Torvald Riegel <triegel@redhat.com>
13018 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13019 Update r to include the set wake-request flag if waiters are
13020 remaining after spinning.
13022 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13024 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13026 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13029 regex: fix uninitialized memory access
13030 I introduced this bug into gnulib in commit
13031 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13032 eventually it was merged into glibc. The bug was found by
13033 project-repo <bugs@feusi.co> and reported here:
13034 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13035 Diagnosis and draft fix reported by Assaf Gordon here:
13036 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13037 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13038 * posix/regex_internal.c (build_wcs_upper_buffer):
13039 Fix bug when mbrtowc returns 0.
13041 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13043 * po/be.po: Update translation.
13045 2018-08-24 DJ Delorie <dj@delorie.com>
13047 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13050 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13053 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13054 create temporary files in source tree.
13056 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13058 * sysdeps/generic/math-tests-trap.h: New file.
13059 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13060 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13061 * sysdeps/aarch64/math-tests.h: Remove file.
13062 * sysdeps/arm/math-tests.h: Likewise.
13063 * sysdeps/riscv/math-tests.h: Likewise.
13064 * sysdeps/aarch64/math-tests-trap.h: New file.
13065 * sysdeps/arm/math-tests-trap.h: Likewise.
13066 * sysdeps/riscv/math-tests-trap.h: Likewise.
13068 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13070 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13071 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13072 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13073 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13074 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13075 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13076 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13077 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13078 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13079 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13080 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13082 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13083 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13084 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13085 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13086 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13087 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13089 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13091 * sysdeps/generic/math-tests-exceptions.h: New file.
13092 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13093 (EXCEPTION_TESTS_float): Do not define here.
13094 (EXCEPTION_TESTS_double): Likewise.
13095 (EXCEPTION_TESTS_long_double): Likewise.
13096 (EXCEPTION_TESTS_float128): Likewise.
13097 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13099 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13100 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13101 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13102 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13103 * sysdeps/mips/math-tests.h: Likewise.
13104 * sysdeps/nios2/math-tests.h: Likewise.
13105 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13106 (EXCEPTION_TESTS_float): Do not define here.
13107 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13108 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13109 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13111 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13113 * NEWS: Move optimized sinf entry to 2.29.
13115 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13117 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13119 2018-08-22 DJ Delorie <dj@redhat.com>
13121 * Makefile (testroot.pristine): New rules to initialize the
13122 test-in-container "testroot".
13123 * Makerules (all-testsuite): Add tests-container.
13124 * Rules (tests-expected): Add tests-container.
13125 (binaries-all-tests): Likewise.
13126 (tests-container): New, run these tests in the testroot container.
13127 * support/Makefile (others): Add *-container, support_paths.c,
13128 xmkdirp, and links-dso-program.
13129 * support/links-dso-program-c.c: New.
13130 * support/links-dso-program.cc: New.
13131 * support/test-container.c: New.
13132 * support/shell-container.c: New.
13133 * support/echo-container.c: New.
13134 * support/true-container.c: New.
13135 * support/xmkdirp.c: New.
13136 * support/xsymlink.c: New.
13137 * support/support_paths.c: New.
13138 * support/support.h: Add support paths prototypes.
13139 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13141 * nss/tst-nss-test3.c: Convert to test-in-container.
13142 * nss/tst-nss-test3.root/: New.
13144 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13146 regex: port Gnulib code to z/OS POSIX environment
13147 Problem reported by Arnold Robbins in:
13148 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13149 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13152 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13154 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13155 (ROUNDING_TESTS_double): Remove.
13156 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13157 (ROUNDING_TESTS_double): Remove.
13158 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13159 (ROUNDING_TESTS_double): Remove.
13160 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13161 (ROUNDING_TESTS_float): Remove.
13162 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13163 (ROUNDING_TESTS_float): Remove.
13164 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13165 (ROUNDING_TESTS_float): Remove.
13166 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13167 !TEST_MATHVEC here.
13168 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13169 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13171 * sysdeps/generic/math-tests-rounding.h: New file.
13172 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13173 (ROUNDING_TESTS_float): Do not define here.
13174 (ROUNDING_TESTS_double): Likewise.
13175 (ROUNDING_TESTS_long_double): Likewise.
13176 (ROUNDING_TESTS_float128): Likewise.
13177 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13178 (ROUNDING_TESTS_double): Undefine before defining.
13179 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13180 (ROUNDING_TESTS_double): Undefine before defining.
13181 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13182 (ROUNDING_TESTS_double): Undefine before defining.
13183 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13184 (ROUNDING_TESTS_float): Undefine before defining.
13185 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13186 (ROUNDING_TESTS_float): Undefine before defining.
13187 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13188 (ROUNDING_TESTS_float): Undefine before defining.
13189 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13190 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13192 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13193 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13194 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13195 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13196 (ROUNDING_TESTS_float): Do not define here.
13197 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13198 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13199 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13200 (ROUNDING_TESTS_float): Likewise.
13201 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13202 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13203 * sysdeps/mips/math-tests.h [__mips_soft_float]
13204 (ROUNDING_TESTS_float): Likewise.
13205 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13206 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13207 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13208 (ROUNDING_TESTS_double): Likewise.
13209 (ROUNDING_TESTS_long_double): Likewise.
13211 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13213 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13214 (PF_XDP): New macro.
13215 (AF_XDP): New macro.
13216 (SOL_XDP): New macro.
13218 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13220 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13221 (TCP_INQ): Likewise.
13222 (TCP_CM_INQ): Likewise.
13223 (TCP_REPAIR_ON): Likewise.
13224 (TCP_REPAIR_OFF): Likewise.
13225 (TCP_REPAIR_OFF_NO_WP): Likewise.
13226 (struct tcp_zerocopy_receive): New type.
13228 2018-08-21 Florian Weimer <fweimer@redhat.com>
13230 * support/support.h (support_descriptor_supports_holes): Declare.
13231 * support/Makefile (libsupport-routines): Add
13232 support_descriptor_supports_holes.
13233 * support/support_descriptor_supports_holes.c: New file.
13234 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13235 and stop testing if holes are not supported.
13236 * io/test-lfs.c (do_prepare): Likewise.
13237 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13239 * timezone/tst-tzset.c (create_tz_file): Likewise.
13240 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13242 (do_prepare): Set it.
13243 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13245 2018-08-21 Florian Weimer <fweimer@redhat.com>
13248 * Makeconfig (+cflags): Do not sort (and deduplicate).
13250 2018-08-21 Florian Weimer <fweimer@redhat.com>
13252 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13253 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13255 2018-08-20 Florian Weimer <fweimer@redhat.com>
13257 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13258 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13260 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13262 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13263 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13264 and ssi_arch members.
13266 * elf/elf.c (NT_VMCOREDD): New macro.
13267 (AT_MINSIGSTKSZ): Likewise.
13269 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13272 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13273 s_cosf-ppc64 and s_cosf-power8.
13274 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13275 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13276 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13277 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13284 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13285 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13287 2018-08-17 Florian Weimer <fweimer@redhat.com>
13289 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13291 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13293 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13295 2018-08-16 Florian Weimer <fweimer@redhat.com>
13297 * configure.ac: Add --with-nonshared-cflags option.
13298 * config.make.in (extra-nonshared-cflags): Set variable.
13299 * Makeconfig (CFLAGS-.oS): Use it.
13300 * manual/install.texi (Configuring and compiling): Document
13301 --with-nonshared-cflags.
13302 * configure: Regenerate.
13303 * INSTALL: Likewise.
13305 2018-08-16 Florian Weimer <fweimer@redhat.com>
13307 * Makeconfig (ASFLAGS): Always append required assembler flags.
13309 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13311 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13312 (malloc_consolidate): Likewise.
13314 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13316 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13318 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13320 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13323 * benchtests/bench-strlen.c: Print performance numbers in json.
13325 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13327 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13328 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13329 only for little endian.
13330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13331 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13332 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13333 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13334 Add check for little endian.
13335 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13336 (__strcmp_power9): Add check for little endian.
13337 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13338 Add check for little endian.
13339 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13340 (__strncmp_power9): Add check for little endian.
13341 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13342 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13343 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13344 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13345 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13347 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13349 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13350 [!STRLEN](STRLEN): Set to __strlen.
13351 * sysdeps/aarch64/multiarch/strlen.c: New file.
13352 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13353 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13354 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13355 (__libc_ifunc_impl_list): Add strlen.
13356 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13357 strlen_generic and strlen_asimd.
13359 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13361 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13362 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13363 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13365 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13367 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13369 2018-08-14 Florian Weimer <fweimer@redhat.com>
13372 * include/stdio.h (__vfxprintf): Declare.
13373 * stdio-common/fxprintf.c (__vfxprintf): New function.
13374 (__fxprintf): Call it.
13375 * misc/err.c (convert_and_print): Remove function.
13376 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13377 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13378 * misc/Makefile (tests): Add tst-warn-wide.
13379 * misc/tst-warn-wide.c: New file.
13381 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13382 Szabolcs Nagy <szabolcs.nagy@arm.com>
13384 * NEWS: Mention sinf, cosf, sincosf.
13385 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13386 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13387 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13388 constants rather than including generic sincosf.h.
13389 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13390 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13391 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13392 (reduced_cos): Remove.
13393 (sinf_poly): New function.
13394 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13396 2018-08-14 Florian Weimer <fweimer@redhat.com>
13400 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13401 processing, bail out if no room, and close the stream before
13403 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13404 (tst-nss-files-alias-leak): Link with libdl.
13405 (tst-nss-files-alias-leak.out): Depend on nss_files.
13407 * nss/tst-nss-files-alias-leak.c: New file.
13409 2018-08-14 Florian Weimer <fweimer@redhat.com>
13411 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13412 server_user, stat_user.
13414 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13416 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13418 (io_pgetevents): New syscall.
13421 * manual/install.texi (Configuring and compiling): Do not list
13422 tools used for testing pretty printers here.
13423 (Tools for Compilation): List Python, PExpect and GDB here.
13424 Update descriptions of uses of Perl and Python.
13425 * INSTALL: Regenerate.
13427 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13430 2018-08-13 Florian Weimer <fweimer@redhat.com>
13432 * misc/error.c (error): Add missing va_end call.
13433 (error_at_line): Likewise.
13435 2018-08-13 Florian Weimer <fweimer@redhat.com>
13437 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13439 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13441 * benchtests/scripts/benchout.schema.json (properties): Add
13444 * benchtests/bench-skeleton.c (main): Add duration and
13445 iterations attributes.
13447 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13449 regex: Gnulib unibyte RRI uses bytes not chars
13450 Adjust the non-glibc code to agree with what Gawk needs for
13451 rational range interpretation (RRI) for regular expression ranges.
13452 In unibyte locales, Gawk wants ranges to use the underlying byte
13453 rather than the character code point. This change does not affect
13455 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13456 In unibyte locales, use the byte value rather than
13457 running it through btowc.
13459 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13461 * sysdeps/generic/math-tests-snan.h: New file.
13462 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13463 (SNAN_TESTS_float): Do not define here.
13464 (SNAN_TESTS_double): Likewise.
13465 (SNAN_TESTS_long_double): Likewise.
13466 (SNAN_TESTS_float128): Likewise.
13467 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13468 * sysdeps/i386/fpu/math-tests.h: Remove file.
13469 * sysdeps/ia64/math-tests-snan.h: New file.
13470 * sysdeps/ia64/math-tests.h: Remove file.
13471 * sysdeps/x86/math-tests.h: Likewise.
13472 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13474 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13475 Szabolcs Nagy <szabolcs.nagy@arm.com>
13477 * math/Makefile: Add s_sincosf_data.c.
13478 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13479 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13480 (sincosf_poly): Likewise.
13481 (reduce_small): Likewise.
13482 (reduce_large): Likewise.
13483 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13484 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13485 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13486 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13488 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13489 Szabolcs Nagy <szabolcs.nagy@arm.com>
13491 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13492 (converttoint): Use lround.
13493 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13494 document the semantics when TOINT_INTRINSICS is set.
13495 (converttoint): Likewise.
13496 (TOINT_RINT): Remove.
13497 (TOINT_SHIFT): Remove.
13498 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13501 2018-08-10 Florian Weimer <fweimer@redhat.com>
13504 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13506 (__old_getdents64): Use getdents64. Convert entries without
13508 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13509 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13510 tst-readdir64-compat.
13512 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13514 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13517 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13519 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13520 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13521 code to s390x-mcount.h and #include it.
13522 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13523 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13526 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13528 * stdlib/Versions: Remove __fentry__.
13529 * sysdeps/i386/Versions: Add __fentry__.
13530 * sysdeps/x86_64/Versions: Add __fentry__.
13532 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13534 * sysdeps/s390/Makefile: Register the new tests.
13535 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13536 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13537 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13538 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13539 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13540 * sysdeps/s390/tst-dl-runtime.c: New file.
13542 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13544 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13547 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13549 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13552 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13554 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13557 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13559 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13562 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13564 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13565 Use symbolic offsets for stack variables.
13567 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13569 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13570 Use symbolic offsets for stack variables.
13572 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13574 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13575 Use symbolic offsets for stack variables.
13577 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13579 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13580 Use symbolic offsets for stack variables.
13582 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13584 * math/gen-libm-test.py: New file.
13585 * math/gen-libm-test.pl: Remove.
13586 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13587 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13589 ($(libm-test-c-noauto-obj)): Likewise.
13590 ($(libm-test-c-auto-obj)): Likewise.
13591 ($(libm-test-c-narrow-obj)): Likewise.
13592 (regen-ulps): Likewise.
13593 * math/README.libm-test: Update references to gen-libm-test.pl.
13594 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13595 referencing gen-libm-test.pl.
13596 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13597 * math/libm-test-support.c: Likewise.
13598 * math/libm-test-support.h: Likewise.
13599 * sysdeps/generic/libm-test-ulps: Likewise.
13601 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13603 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13606 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13608 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13609 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13611 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13613 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13615 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13616 __pthread_setspecific): Add hidden proto.
13617 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13618 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13620 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13622 * benchtests/bench-string.h (buf1_size, buf2_size): New
13624 (init_sizes): New function.
13625 (test_init): Use it.
13626 (alloc_buf, exit_error): New functions.
13627 (alloc_bufs): Use ALLOC_BUF.
13628 (realloc_bufs): Remove.
13629 * benchtests/bench-memcmp.c (do_test): Adjust.
13630 * benchtests/bench-memset-large.c (do_test): Likewise.
13631 * benchtests/bench-memset-walk.c (do_test): Likewise.
13632 * benchtests/bench-memset.c (do_test): Likewise.
13633 * benchtests/bench-strncmp.c (do_test): Likewise.
13635 2018-08-06 Andreas Schwab <schwab@suse.de>
13637 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13638 of CONST_THREAD_AREA.
13640 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13642 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13643 (STATE_SAVE_MASK): Likewise.
13644 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13645 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13646 (STATE_SAVE_MASK): Likewise.
13647 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13648 instead of <cpu-features.h>.
13650 2018-08-03 DJ Delorie <dj@redhat.com>
13652 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13653 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13655 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13657 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13659 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13660 after TEST_* calls.
13661 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13662 * math/libm-test-logb.inc (logb_test_data): Likewise.
13664 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13666 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13667 * string/strstr.c (AVAILABLE): Likewise.
13669 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13671 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13673 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13674 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13675 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13677 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13679 * po/be.po: Update translation.
13681 * po/be.po: Update translation.
13683 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13685 * sysdeps/x86/cpu-features-offsets.sym
13686 (rtld_global_ro_offsetof): Removed.
13687 (CPU_FEATURES_SIZE): Likewise.
13688 (CPUID_OFFSET): Likewise.
13689 (CPUID_SIZE): Likewise.
13690 (CPUID_EAX_OFFSET): Likewise.
13691 (CPUID_EBX_OFFSET): Likewise.
13692 (CPUID_ECX_OFFSET): Likewise.
13693 (CPUID_EDX_OFFSET): Likewise.
13694 (FAMILY_OFFSET): Likewise.
13695 (MODEL_OFFSET): Likewise.
13696 (FEATURE_OFFSET): Likewise.
13697 (FEATURE_SIZ): Likewise.
13698 (COMMON_CPUID_INDEX_1): Likewise.
13699 (COMMON_CPUID_INDEX_7): Likewise.
13700 (FEATURE_INDEX_1): Likewise.
13701 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13703 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13705 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13706 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13707 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13708 (install-locales): Depend on install-locale-archive.
13709 (install-locale-archive): Define.
13710 (install-locale-files): Define.
13711 (build-one-locale): Define macro.
13712 * manual/install.texi (Running make install): Document.
13713 * manual/INSTALL: Regenerate.
13715 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13717 * benchtests/scripts/compare_strings.py: Import traceback.
13718 (parse_file): Pretty-print error.
13720 * NEWS: Mention the change.
13721 * elf/dl-tunables.list: Rename tune namespace to cpu.
13722 * sysdeps/powerpc/dl-tunables.list: Likewise.
13723 * sysdeps/x86/dl-tunables.list: Likewise.
13724 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13726 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13727 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13728 * manual/README.tunables: Likewise.
13729 * manual/tunables.texi: Likewise.
13730 * sysdeps/powerpc/cpu-features.c: Likewise.
13731 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13732 (init_cpu_features): Likewise.
13733 * sysdeps/x86/cpu-features.c: Likewise.
13734 * sysdeps/x86/cpu-features.h: Likewise.
13735 * sysdeps/x86/cpu-tunables.c: Likewise.
13736 * sysdeps/x86_64/Makefile: Likewise.
13737 * sysdeps/x86/dl-cet.c: Likewise.
13739 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13742 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13743 [__mips_hard_float].
13744 (FE_UNDERFLOW): Likewise.
13745 (FE_OVERFLOW): Likewise.
13746 (FE_DIVBYZERO): Likewise.
13747 (FE_INVALID): Likewise.
13748 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13749 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13750 (FE_UPWARD): Likewise.
13751 (FE_DOWNWARD): Likewise.
13752 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13753 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13754 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13755 [__mips_hard_float].
13756 (FP_ROUNDMODE): Likewise.
13757 (FP_RND_NEAREST): Likewise.
13758 (FP_RND_ZERO): Likewise.
13759 (FP_RND_PINF): Likewise.
13760 (FP_RND_MINF): Likewise.
13761 (FP_EX_INVALID): Likewise.
13762 (FP_EX_OVERFLOW): Likewise.
13763 (FP_EX_UNDERFLOW): Likewise.
13764 (FP_EX_DIVZERO): Likewise.
13765 (FP_EX_INEXACT): Likewise.
13766 (FP_INIT_ROUNDMODE): Likewise.
13767 * sysdeps/mips/nofpu/fesetenv.c: New file.
13768 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13770 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13772 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13773 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13774 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13775 conditional on [FE_UPWARD].
13777 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13779 regex: fix memory leak in Gnulib
13780 Problem and fix reported by Assaf Gordon in:
13781 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13782 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13783 range_ends members too, as they are defined in 'struct
13784 re_charset_t' even if not _LIBC. This affects only Gnulib.
13786 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13788 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13790 (get_common_indices): This.
13791 (init_cpu_features): Updated.
13793 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13795 * sysdeps/generic/math-tests-snan-payload.h: New file.
13796 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13797 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13798 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13799 * sysdeps/generic/math-tests.h: Include
13800 <math-tests-snan-payload.h>.
13801 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13802 * sysdeps/hppa/math-tests.h: Remove file.
13803 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13804 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13805 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13808 * sysdeps/generic/math-tests-snan-cast.h: New file.
13809 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13810 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13811 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13812 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13814 2018-08-01 Carlos O'Donell <carlos@redhat.com>
13816 * version.h (RELEASE): Set to "development".
13817 (VERSION): Set to "2.28.9000".
13818 * NEWS (2.29): New section.
13820 * version.h (RELEASE): Set to "stable".
13821 (VERSION): Set to "2.28".
13822 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13823 * NEWS: Add the list of bugs fixed in 2.28.
13825 * po/ca.po: Update to latest version.
13826 * po/cs.po: Likewise
13827 * po/da.po: Likewise
13828 * po/el.po: Likewise
13829 * po/eo.po: Likewise
13830 * po/es.po: Likewise
13831 * po/fi.po: Likewise
13832 * po/fr.po: Likewise
13833 * po/gl.po: Likewise
13834 * po/hu.po: Likewise
13835 * po/ia.po: Likewise
13836 * po/id.po: Likewise
13837 * po/it.po: Likewise
13838 * po/ja.po: Likewise
13839 * po/ko.po: Likewise
13840 * po/lt.po: Likewise
13841 * po/nb.po: Likewise
13842 * po/nl.po: Likewise
13843 * po/pt_BR.po: Likewise
13844 * po/ru.po: Likewise
13845 * po/rw.po: Likewise
13846 * po/sk.po: Likewise
13847 * po/sl.po: Likewise
13848 * po/tr.po: Likewise
13849 * po/zh_CN.po: Likewise
13850 * po/zh_TW.po: Likewise
13852 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13854 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13856 (init): ... before initializing libpthread.
13858 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13859 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13860 (__mach_setup_tls): ... new function.
13861 (mach_setup_tls): New alias.
13862 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13863 __mach_setup_thread.
13864 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13865 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13866 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13867 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13869 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13871 * manual/install.texi: Update versions.
13872 * INSTALL: Regenerate.
13874 * manual/contrib.texi (Contributors): Update contributions.
13876 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13878 * po/be.po: Update translations.
13880 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13882 * sysdeps/sh/libm-test-ulps: Update.
13884 2018-07-30 Carlos O'Donell <carlos@redhat.com>
13886 * po/bg.po: Update translations.
13887 * po/de.po: Likewise.
13888 * po/hr.po: Likewise.
13889 * po/pt_BR.po: Likewise.
13890 * po/sv.po: Likewise.
13891 * po/vi.po: Likewise.
13893 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13896 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
13897 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
13898 (CFLAGS-tst-cet-property-1.o): New.
13899 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
13900 ($(objpfx)tst-cet-property-2): Likewise.
13901 ($(objpfx)tst-cet-property-2.out): Likewise.
13902 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
13903 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
13904 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
13905 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
13906 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
13908 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
13911 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
13913 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
13915 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
13916 __sbrk): Do not set attribute_hidden.
13917 * sysdeps/mach/hurd/not-errno.h: New file.
13918 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13919 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
13921 2018-07-27 Carlos O'Donell <carlos@redhat.com>
13923 * po/uk.po: Update translations.
13924 * po/cs.po: Likewise.
13925 * po/pl.po: Likewise.
13927 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
13929 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
13930 parse beyond the note end.
13932 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13934 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
13935 kernel does not support OFD locks.
13936 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
13938 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13940 * sysdeps/mach/hurd/Versions (libc): Make __access and
13941 __access_noerrno external so they can override the ld symbols.
13942 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
13943 __writev, __open64, __access_noerrno extern so they can be overrided.
13944 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
13945 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
13947 2018-07-26 Carlos O'Donell <carlos@redhat.com>
13949 * po/libc.pot: Regenerate.
13951 2018-07-26 Joseph Myers <joseph@codesourcery.com>
13953 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
13955 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13958 * sysdeps/x86/cpu-features.c (get_extended_indices): New
13960 (init_cpu_features): Call get_extended_indices for both Intel
13962 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
13963 Remove "for AMD" comment.
13965 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
13968 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
13969 COMMON_CPUID_INDEX_80000001.
13971 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
13973 * string/tst-xbzero-opt.c (use_test_buffer): New function.
13974 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
13976 2018-07-26 Florian Weimer <fweimer@redhat.com>
13978 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
13979 aliases for symbols not in the implementation namespace.
13981 2018-07-25 Carlos O'Donell <carlos@redhat.com>
13984 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
13985 lowercase in LATIN script.
13986 * localedata/Makefile (test-input): Add en_US.UTF-8.
13987 * localedata/en_US.UTF-8.in: New file.
13988 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
13989 and restore old tests.
13990 * posix/tst-regexloc.c (do_test): Add back range expression test.
13992 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
13994 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
13996 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13998 * nptl/threads.h: Move to ...
13999 * sysdeps/nptl/threads.h: ... here.
14000 * sysdeps/hurd/stdc-predef.h: New file.
14002 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14004 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14005 tst-cet-setcontext-1 if CET is enabled.
14006 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14007 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14009 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14011 * include/threads.h: Move to ...
14012 * sysdeps/nptl/threads.h: ... here.
14013 * sysdeps/htl/threads.h: New file.
14014 * conform/Makefile (linknamespace-libs-ISO11): Use
14015 static-thread-library instead of linking libpthread.
14016 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14018 2018-07-25 Florian Weimer <fweimer@redhat.com>
14020 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14021 nanoseconds into seconds.
14022 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14023 (do_test): Likewise.
14024 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14025 (do_test): Likewise. Avoid nanosecond overflow and spurious
14026 timeouts due to system load.
14027 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14028 (child_wait): Increment it.
14029 (do_test): Wait as long as necessary until all expected threads
14032 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14033 H.J. Lu <hongjiu.lu@intel.com>
14035 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14037 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14038 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14039 (__push___start_context): New.
14040 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14042 (__getcontext): Record the current shadow stack base. Save the
14043 caller's shadow stack pointer and base.
14044 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14045 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14046 (__push___start_context): New prototype.
14047 (__makecontext): Call __push___start_context to allocate a new
14048 shadow stack, push __start_context onto the new stack as well
14049 as the new shadow stack.
14050 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14052 (__setcontext): Restore the target shadow stack.
14053 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14055 (__swapcontext): Record the current shadow stack base. Save
14056 the caller's shadow stack pointer and base. Restore the target
14058 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14059 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14060 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14062 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14064 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14065 tst-setcontext8 and tst-setcontext9.
14066 * stdlib/tst-setcontext6.c: New file.
14067 * stdlib/tst-setcontext7.c: Likewise.
14068 * stdlib/tst-setcontext8.c: Likewise.
14069 * stdlib/tst-setcontext9.c: Likewise.
14071 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14073 * stdlib/Makefile ((tests): Add tst-setcontext5.
14074 * stdlib/tst-setcontext5.c: New file.
14076 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14078 * stdlib/Makefile (tests): Add tst-setcontext4.
14079 * stdlib/tst-setcontext4.c: New file.
14081 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14083 * stdlib/Makefile (tests): Add tst-swapcontext1.
14084 * stdlib/tst-swapcontext1.c: New test.
14086 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14088 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14089 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14090 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14091 and tst-cet-legacy-4c.
14092 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14093 and tst-cet-legacy-mod-4.
14094 (CFLAGS-tst-cet-legacy-2.c): New.
14095 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14096 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14097 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14098 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14099 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14100 ($(objpfx)tst-cet-legacy-1): Likewise.
14101 ($(objpfx)tst-cet-legacy-2): Likewise.
14102 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14103 ($(objpfx)tst-cet-legacy-2a): Likewise.
14104 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14105 ($(objpfx)tst-cet-legacy-4): Likewise.
14106 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14107 ($(objpfx)tst-cet-legacy-4a): Likewise.
14108 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14109 (tst-cet-legacy-4a-ENV): Likewise.
14110 ($(objpfx)tst-cet-legacy-4b): Likewise.
14111 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14112 (tst-cet-legacy-4b-ENV): Likewise.
14113 ($(objpfx)tst-cet-legacy-4c): Likewise.
14114 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14115 (tst-cet-legacy-4c-ENV): Likewise.
14116 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14117 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14118 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14119 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14120 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14121 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14122 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14123 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14124 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14125 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14126 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14128 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14130 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14131 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14133 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14134 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14137 2018-07-25 Andreas Schwab <schwab@suse.de>
14140 * locale/weightwc.h (findidx): Handle the case where usrc is a
14141 prefix of cp but one character too short.
14143 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14145 * NEWS: Add ISO C threads addition.
14147 2018-07-24 Florian Weimer <fweimer@redhat.com>
14149 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14150 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14151 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14154 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14156 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14157 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14158 <sys/prctl.h> and <asm/prctl.h>.
14159 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14160 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14162 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14163 ARCH_CET_LEGACY_BITMAP.
14164 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14165 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14166 * sysdeps/x86/libc-start.c: Include <startup.h>.
14168 2018-07-24 Florian Weimer <fweimer@redhat.com>
14170 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14171 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14173 2018-07-24 Rical Jasan <rj@2c3t.io>
14174 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14175 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14178 * manual/debug.texi: Update adjacent chapter name.
14179 * manual/probes.texi: Likewise.
14180 * manual/threads.texi (ISO C Threads): New section.
14181 (POSIX Threads): Convert to a section.
14183 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14184 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14187 * nptl/Makefile (tests): Add new test files.
14188 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14189 * nptl/tst-cnd-basic.c: Likewise.
14190 * nptl/tst-cnd-broadcast.c: Likewise.
14191 * nptl/tst-cnd-timedwait.c: Likewise.
14192 * nptl/tst-mtx-basic.c: Likewise.
14193 * nptl/tst-mtx-recursive.c: Likewise.
14194 * nptl/tst-mtx-timedlock.c: Likewise.
14195 * nptl/tst-mtx-trylock.c: Likewise.
14196 * nptl/tst-thrd-basic.c: Likewise.
14197 * nptl/tst-thrd-detach.c: Likewise.
14198 * nptl/tst-thrd-sleep.c: Likewise.
14199 * nptl/tst-tss-basic.c: Likewise.
14201 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14204 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14205 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14207 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14208 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14209 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14210 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14211 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14212 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14213 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14235 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14236 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14237 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14238 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14240 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14241 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14242 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14243 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14244 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14245 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14246 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14247 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14248 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14249 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14250 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14251 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14258 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14259 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14260 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14261 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14262 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14263 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14264 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14265 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14268 * conform/data/threads.h-data (thread_local): New macro.
14269 (TSS_DTOR_ITERATIONS): Likewise.
14271 (tss_dtor_t): Likewise.
14272 (tss_create): New function.
14273 (tss_get): Likewise.
14274 (tss_set): Likewise.
14275 (tss_delete): Likewise.
14276 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14277 tss_get, and tss_set objects.
14278 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14279 * nptl/tss_create.c: New file.
14280 * nptl/tss_delete.c: Likewise.
14281 * nptl/tss_get.c: Likewise.
14282 * nptl/tss_set.c: Likewise.
14283 * sysdeps/nptl/threads.h (thread_local): New define.
14284 (TSS_DTOR_ITERATIONS): Likewise.
14285 (tss_t): New typedef.
14286 (tss_dtor_t): Likewise.
14287 (tss_create): New prototype.
14288 (tss_get): Likewise.
14289 (tss_set): Likewise.
14290 (tss_delete): Likewise.
14293 * conform/data/threads.h-data (cnd_t): New type.
14294 (cnd_init): New function.
14295 (cnd_signal): Likewise.
14296 (cnd_broadcast): Likewise.
14297 (cnd_wait): Likewise.
14298 (cnd_timedwait): Likewise.
14299 (cnd_destroy): Likewise.
14300 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14301 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14303 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14304 * nptl/cnd_broadcast.c: New file.
14305 * nptl/cnd_destroy.c: Likewise.
14306 * nptl/cnd_init.c: Likewise.
14307 * nptl/cnd_signal.c: Likewise.
14308 * nptl/cnd_timedwait.c: Likewise.
14309 * nptl/cnd_wait.c: Likewise.
14310 * sysdeps/nptl/threads.h (cnd_t): New type.
14311 (cnd_init): New prototype.
14312 (cnd_signa): Likewise.
14313 (cnd_broadcast): Likewise.
14314 (cnd_wait): Likewise.
14315 (cnd_timedwait): Likewise.
14316 (cnd_destroy): Likewise.
14319 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14320 (once_flag): New type.
14321 (call_once): New function.
14322 * nptl/Makefile (libpthread-routines): Add call_once object.
14323 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14324 * nptl/call_once.c: New file.
14325 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14326 (once_flag): New type.
14327 (call_once): New prototype.
14330 * conform/data/threads.h-data (mtx_plain): New constant.
14331 (mtx_recursive): Likewise.
14332 (mtx_timed): Likewise.
14334 (mtx_init): New function.
14335 (mtx_lock): Likewise.
14336 (mtx_timedlock): Likewise.
14337 (mtx_trylock): Likewise.
14338 (mtx_unlock): Likewise.
14339 (mtx_destroy): Likewise.
14340 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14341 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14342 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14343 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14344 * nptl/mtx_destroy.c: New file.
14345 * nptl/mtx_init.c: Likewise.
14346 * nptl/mtx_lock.c: Likewise.
14347 * nptl/mtx_timedlock.c: Likewise.
14348 * nptl/mtx_trylock.c: Likewise.
14349 * nptl/mtx_unlock.c: Likewise.
14350 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14351 (mtx_recursive): Likewise.
14352 (mtx_timed): Likewise.
14354 (mtx_init): New prototype.
14355 (mtx_lock): Likewise.
14356 (mtx_timedlock): Likewise.
14357 (mtx_trylock): Likewise.
14358 (mtx_unlock): Likewise.
14359 (mtx_destroy): Likewise.
14362 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14363 (linknamespace-libs-ISO11): Add libpthread.a.
14364 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14366 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14367 * nptl/Makefile (headers): Add threads.h.
14368 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14369 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14371 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14372 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14373 thrd_join, thrd_sleep, and thrd_yield symbols.
14374 * nptl/descr.h (struct pthread): Add c11 field.
14375 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14376 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14377 routine with expected function prototype.
14378 (__pthread_create_2_1): Add C11 threads check based on attribute
14380 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14381 * nptl/thrd_create.c: New file.
14382 * nptl/thrd_current.c: Likewise.
14383 * nptl/thrd_detach.c: Likewise.
14384 * nptl/thrd_equal.c: Likewise.
14385 * nptl/thrd_exit.c: Likewise.
14386 * nptl/thrd_join.c: Likewise.
14387 * nptl/thrd_priv.h: Likewise.
14388 * nptl/thrd_sleep.c: Likewise.
14389 * nptl/thrd_yield.c: Likewise.
14390 * include/threads.h: Likewise.
14392 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14394 * bits/indirect-return.h: New file.
14395 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14396 * sysdeps/x86/bits/indirect-return.h: Likewise.
14397 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14398 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14399 (swapcontext): Add __INDIRECT_RETURN.
14400 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14401 (prepare_test_buffer): Use it.
14403 2018-07-24 Andreas Schwab <schwab@suse.de>
14406 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14407 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14409 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14411 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14412 Redefine if shadow stack is enabled.
14413 (SYSCALL_ERROR_LABEL): Likewise.
14414 (__vfork): Pop shadow stack and jump back to to caller directly
14415 when shadow stack is in use.
14416 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14417 Redefine if shadow stack is enabled.
14418 (SYSCALL_ERROR_LABEL): Likewise.
14419 (__vfork): Pop shadow stack and jump back to to caller directly
14420 when shadow stack is in use.
14422 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14424 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14427 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14430 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14432 * scripts/build-many-glibcs.py (Context.checkout): Default
14433 binutils version to 2.31 branch.
14435 2018-07-20 Zong Li <zong@andestech.com>
14437 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14438 URL of gcc's tarball.
14440 2018-07-20 Florian Weimer <fweimer@redhat.com>
14443 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14444 not compare an extra byte after the end of the weights.
14446 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14448 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14450 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14452 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14453 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14454 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14455 list of libraries whose stack executability is expected.
14456 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14457 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14459 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14460 libc.so libpthread.so.
14462 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14464 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14466 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14468 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14470 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14472 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14474 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14475 library to improve command line parsing.
14476 (__main__): make schema file as optional parameter (--schema),
14477 defaulting to benchtests/scripts/benchout.schema.json.
14478 (main): move out of the parsing stuff to __main_ and leave it
14479 only as caller of main comparison functions.
14481 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14483 * NEWS: Add a note for Intel CET status.
14484 * manual/install.texi: Likewise.
14485 * INSTALL: Regenerated.
14487 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14490 * localedata/locales/oc_FR (mon): Rename to...
14491 (alt_mon): This, then update October (typo fix).
14492 (mon): New content (genitive case, month names preceded by
14496 * localedata/locales/oc_FR (abday): Update all items.
14497 (day): Update Wednesday and Saturday (typo fixes).
14498 (abmon): Update all items, except May.
14499 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14500 (LC_IDENTIFICATION): Bump the revision number and date.
14501 Keep the "category" entries in alphabetic order.
14502 (LC_ADDRESS): Remove no longer needed comment.
14503 (LC_COLLATE): Use “copy "ca_ES"”.
14504 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14507 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14509 * grp/tst_fgetgrent.c: Include <unistd.h>.
14510 (main): Use mkstemp instead of tmpnam.
14511 * io/test-utime.c (main): Likewise.
14512 * posix/annexc.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.
14517 * posix/bug-getopt1.c: Include <stdlib.h>.
14518 (do_test): Use mkstemp instead of tmpnam.
14519 * posix/bug-getopt2.c: Include <stdlib.h>.
14520 (do_test): Use mkstemp instead of tmpnam.
14521 * posix/bug-getopt3.c: Include <stdlib.h>.
14522 (do_test): Use mkstemp instead of tmpnam.
14523 * posix/bug-getopt4.c: Include <stdlib.h>.
14524 (do_test): Use mkstemp instead of tmpnam.
14525 * posix/bug-getopt5.c: Include <stdlib.h>.
14526 (do_test): Use mkstemp instead of tmpnam.
14527 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14528 (main): Use mkstemp instead of tmpnam.
14529 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14530 (main): Use mkstemp instead of tmpnam.
14531 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14532 (main): use mkstemp instead of tmpnam.
14533 * stdlib/isomac.c (macrofile): Change to modifiable array.
14534 (main): Remove macrofile here.
14535 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14537 (check_header): Do not remove macrofile here.
14539 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14541 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14542 glibc.tune.x86_shstk.
14544 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14546 * NEWS: Mention --enable-cet.
14547 * manual/install.texi: Document --enable-cet.
14548 * INSTALL: Regenerated.
14550 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14552 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14553 Add _CET_NOTRACK before indirect jump to jump table.
14555 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14557 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14558 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14561 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14563 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14564 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14567 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14569 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14570 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14573 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14576 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14579 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14581 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14582 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14584 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14586 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14588 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14589 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14592 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14594 * sysdeps/i386/i686/multiarch/memset-sse2.S
14595 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14598 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14600 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14601 indirect jump to jump table.
14603 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14605 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14606 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14608 (MEMCPY): Likewise.
14610 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14612 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14613 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14615 (MEMCPY): Likewise.
14617 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14619 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14620 _CET_NOTRACK before indirect jump to jump table.
14622 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14624 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14625 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14628 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14630 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14631 indirect jump to jump table.
14633 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14636 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14637 (LOCALES): Likewise.
14638 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14639 * localedata/locales/sah_RU: New file.
14640 * localedata/sah_RU.UTF-8.in: New file.
14642 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14644 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14646 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14647 _CET_ENDBR to indirect jump targets and adjust jump destination
14649 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14651 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14652 _CET_ENDBR to indirect jump targets and adjust jump destination
14654 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14656 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14657 _CET_ENDBR to indirect jump targets and adjust jump destination
14660 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14662 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14665 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14667 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14669 (_dl_tlsdesc_undefweak): Likewise.
14670 (_dl_tlsdesc_dynamic): Likewise.
14671 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14672 (_dl_tlsdesc_resolve_rel): Likewise.
14673 (_dl_tlsdesc_resolve_rela): Likewise.
14674 (_dl_tlsdesc_resolve_hold): Likewise.
14675 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14676 (_dl_tlsdesc_undefweak): Likewise.
14677 (_dl_tlsdesc_dynamic): Likewise.
14678 (_dl_tlsdesc_resolve_rela): Likewise.
14679 (_dl_tlsdesc_resolve_hold): Likewise.
14681 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14683 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14685 * sysdeps/x86_64/crti.S (_init): Likewise.
14688 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
14691 * localedata/locales/os_RU (mon): Rename to...
14693 (mon): Import from CLDR (genitive case).
14695 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14697 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14698 cet-tunables.h> when CET is enabled.
14700 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14703 * configure.ac: Add --enable-cet.
14704 * configure: Regenerated.
14705 * elf/Makefille (all-built-dso): Add a comment.
14706 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14707 Include <dl-prop.h>.
14708 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14710 * elf/dl-open.c: Include <dl-prop.h>.
14711 (dl_open_worker): Call _dl_open_check.
14712 * elf/rtld.c: Include <dl-prop.h>.
14713 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14715 * sysdeps/generic/dl-prop.h: New file.
14716 * sysdeps/i386/dl-cet.c: Likewise.
14717 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14718 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14719 * sysdeps/x86/cet-tunables.h: Likewise.
14720 * sysdeps/x86/check-cet.awk: Likewise.
14721 * sysdeps/x86/configure: Likewise.
14722 * sysdeps/x86/configure.ac: Likewise.
14723 * sysdeps/x86/dl-cet.c: Likewise.
14724 * sysdeps/x86/dl-procruntime.c: Likewise.
14725 * sysdeps/x86/dl-prop.h: Likewise.
14726 * sysdeps/x86/libc-start.h: Likewise.
14727 * sysdeps/x86/link_map.h: Likewise.
14728 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14730 (_dl_runtime_profile): Likewise.
14731 (_dl_runtime_resolve_shstk): New.
14732 (_dl_runtime_profile_shstk): Likewise.
14733 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14735 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14736 (CFLAGS-.os): Likewise.
14737 (CFLAGS-.op): Likewise.
14738 (CFLAGS-.oS): Likewise.
14739 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14741 (tests-special): Add $(objpfx)check-cet.out.
14742 (cet-built-dso): New.
14743 (+$(cet-built-dso:=.note)): Likewise.
14744 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14745 ($(objpfx)check-cet.out): New.
14746 (generated): Add check-cet.out.
14747 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14749 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14750 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14751 (init_cpu_features): Call get_cet_status to check CET status
14752 and update dl_x86_feature_1 with CET status. Call
14753 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14754 (set_x86_shstk). Disable and lock CET in libc.a.
14755 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14756 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14757 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14758 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14759 (_CET_ENDBR): Define if not defined.
14760 (ENTRY): Add _CET_ENDBR.
14761 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14763 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14765 (_dl_runtime_profile): Likewise.
14767 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14770 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14771 restore r2 on longjmp.
14772 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14774 Added rules to build test tst-setjmp-bug21895-static.
14775 Added module setjmp-bug21895 and rules to build a shared object from it.
14776 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14777 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14779 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14781 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14782 * benchtests/bench-strstr.c: Likewise.
14783 * string/memmem.c (FASTSEARCH): Define.
14784 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14785 Add support for FASTSEARCH.
14786 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14787 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14788 (FASTSEARCH): Define.
14789 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14790 * string/test-strstr.c: Likewise.
14792 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14794 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14795 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14797 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14798 H.J. Lu <hongjiu.lu@intel.com>
14800 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14801 (__longjmp): Restore shadow stack pointer if shadow stack is
14802 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14803 isn't defined for __longjmp_cancel.
14804 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14805 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14806 and SHADOW_STACK_POINTER_OFFSET is defined.
14807 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14808 (setjmp): Save shadow stack pointer if shadow stack is enabled
14809 and SHADOW_STACK_POINTER_OFFSET is defined.
14810 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14811 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14812 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14813 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14815 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14816 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14817 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14818 Remove jmp_buf-ssp.sym.
14819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14821 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14822 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14823 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14825 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14826 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14827 (__longjmp): Restore shadow stack pointer if shadow stack is
14828 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14829 isn't defined for __longjmp_cancel.
14830 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14831 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14832 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14834 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14837 * nptl/pthread_create.c: Include <tls-setup.h>.
14838 (__pthread_create_2_1): Call tls_setup_tcbhead.
14839 * sysdeps/generic/tls-setup.h: New file.
14840 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14841 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14842 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14844 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14846 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14847 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14848 (X86_FEATURE_1_SHSTK): Likewise.
14849 (CET_ENABLED): Likewise.
14850 (IBT_ENABLED): Likewise.
14851 (SHSTK_ENABLED): Likewise.
14853 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
14856 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14857 (LOCALES): Likewise.
14858 * localedata/dsb_DE.UTF-8.in: New file.
14859 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14861 2018-07-12 Florian Weimer <fweimer@redhat.com>
14863 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14864 __mprotect, not mprotect.
14866 2018-07-11 Florian Weimer <fweimer@redhat.com>
14868 * io/Makefile (headers): Add bits/statx.h.
14870 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14872 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14873 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14875 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14876 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14879 2018-07-10 Florian Weimer <fweimer@redhat.com>
14881 * io/Makefile (routines): Add statx.
14882 (tests-internal): Add tst-statx.
14883 * io/Versions (GLIBC_2.28): Export statx.
14884 * io/bits/statx.h: New file.
14885 * io/sys/stat.h [__USE_GNU]: Include it.
14886 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
14887 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
14889 * io/statx.c: New file.
14890 * io/statx_generic.: Likewise.
14891 * io/tst-statx.: Likewise.
14892 * include/bits/statx.h: Likewise.
14893 * sysdeps/unix/sysv/linux/kernel-features.h
14894 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
14895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14896 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
14897 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
14899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14900 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
14901 * sysdeps/unix/sysv/linux/statx.c: New file.
14902 * manual/filesys.texi: Note that statx is undocumented.
14903 * sysdeps/**/libc*.abilist: Update.
14905 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14907 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
14908 a kernel issue which lead to test failure in some cases.
14910 2018-07-10 Florian Weimer <fweimer@redhat.com>
14913 * posix/regexec.c (check_node_accept_bytes): When comparing
14914 weights, do not compare an extra byte after the end of the
14917 2018-07-10 Florian Weimer <fweimer@redhat.com>
14919 * libio/readline.c: Fix copyright year.
14920 * libio/tst-readline.c Likewise.
14921 * nss/tst-nss-files-hosts-getent.c: Likewise.
14923 2018-07-06 Florian Weimer <fweimer@redhat.com>
14926 * nss/nss_files/files-XXX.c (internal_getent): Use
14927 __libc_readline_unlocked. Seek back to the start of the line if
14928 parsing failes with ERANGE.
14929 (get_contents_ret, get_contents): Remove.
14930 * nss/tst-nss-files-hosts-getent.c: New file.
14931 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
14932 (tst-nss-files-hosts-getent): Link with -ldl.
14934 2018-07-06 Florian Weimer <fweimer@redhat.com>
14936 * include/stdio.h (__libc_readline_unlocked): Declare.
14937 (__ftello64, __fseeko64): Declare aliases.
14938 * libio/readline.c: New file.
14939 * libio/tst-readline.c: Likewise.
14940 (routines): Add readline.
14941 (tests-internal): Add tst-readlime.
14942 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
14943 __libc_readline_unlocked.
14944 * libio/fseeko.c (__fseeko): Rename from fseeko.
14945 (fseeko): Add alias.
14946 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
14947 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
14948 (fseeko64): Add alias.
14949 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
14950 * libio/ftello64.c (__ftello64): Rename from ftello64.
14951 (ftello64): Add alias.
14953 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14955 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
14958 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
14960 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
14961 Use dl_hwcap without masking.
14962 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
14963 Remove HWCAP_CPUID.
14965 2018-07-06 Florian Weimer <fweimer@redhat.com>
14967 * conform/conformtest.pl (checknamespace): Escape literal braces
14968 in regular expressions.
14970 2018-07-06 Amit Pawar <amit.pawar@amd.com>
14972 * sysdeps/x86/cpu-features.c (get_common_indeces):
14973 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
14974 * sysdeps/x86/cpu-features.c (init_cpu_features):
14975 AVX_Fast_Unaligned_Load is disabled for Excavator core.
14977 2018-07-05 Florian Weimer <fweimer@redhat.com>
14979 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
14981 (CFLAGS-elf-init.oS): Likewise.
14983 2018-07-05 Florian Weimer <fweimer@redhat.com>
14984 Carlos O'Donell <carlos@redhat.com>
14986 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
14987 $(no-stack-protector). stack_chk_fail_local.c can be compiled
14988 with stack protector enabled because there is no risk of infinite
14991 2018-07-05 Maciej W. Rozycki <macro@mips.com>
14995 * libc-abis (ABSOLUTE): New ABI.
14996 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
14997 * NEWS: Mention the new ABI.
14999 2018-07-05 Florian Weimer <fweimer@redhat.com>
15002 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15003 (RENAME_WHITEOUT): Define.
15004 [__USE_GNU] (renameat2): Declare.
15005 * stdio-common/Makefile (routines): Add renameat2.
15006 (tests): Add tst-renameat2.
15007 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15008 * stdio-common/renameat2.c: New file.
15009 * stdio-common/tst-renameat2.c: Likewise.
15010 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15011 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15013 * sysdeps/unix/sysv/linux/kernel-features.h
15014 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15015 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15016 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15018 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15019 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15020 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15021 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15022 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15023 * include/stdio.h (__renameat): Add alias for renameat.
15024 * stdio-common/renameat.c (__renameat): Rename from renameat.
15025 Add hidden definition and alias.
15026 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15027 * sysdeps/mach/hurd/renameat.c: Likewise.
15028 * sysdeps/**/libc*.abilist: Add renameat2.
15030 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15032 * posix/bug-regex33.c: Fix build after regex sync.
15034 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15037 * localedata/tst-langinfo-setlocale.c: New file.
15038 * localedata/tst-langinfo-setlocale-static.c: New file.
15039 * localedata/tst-langinfo-newlocale.c: New file.
15040 * localedata/tst-langinfo-newlocale-static.c: New file.
15041 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15042 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15043 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15044 (tests-static): Remove tst-langinfo-static. Add
15045 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15046 (tests-special): Remove $(objpfx)tst-langinfo.out,
15047 $(objpfx)tst-langinfo-static.out. Add
15048 $(objpfx)tst-langinfo-setlocale.out,
15049 $(objpfx)tst-langinfo-newlocale.out,
15050 $(objpfx)tst-langinfo-setlocale-static.out,
15051 $(objpfx)tst-langinfo-newlocale-static.out.
15052 ($(objpfx)tst-langinfo.out): Remove.
15053 ($(objpfx)tst-langinfo-static.out): Remove.
15054 ($(objpfx)tst-langinfo-newlocale.out): New target.
15055 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15056 (test-xfail-tst-langinfo-newlocale-static): Add.
15057 ($(objpfx)tst-langinfo-setlocale.out): New target.
15058 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15059 * localedata/tst-langinfo.c: Call test_locale.
15060 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15063 2018-07-04 Florian Weimer <fweimer@redhat.com>
15065 testrun.sh: Implement --tool=strace, --tool=valgrind
15066 * Makefile (testrun-script): Define variable.
15067 (testrun.sh): Use variable.
15068 * manual/install.texi (Tools for Compilation): make 4.0 or later
15070 * configure.ac: Check for make 4.0 or later.
15071 * INSTALL: Regenerate.
15072 * configure: Likewise.
15074 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15080 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15081 * posix/PCRE.tests: Remove invalid test.
15082 * posix/bug-regex28.c: Fix expected values for used syntax.
15083 * posix/bug-regex37.c: New file.
15084 * posix/bug-regex38.c: Likewise.
15085 * posix/regcomp.c: Sync with gnulib.
15086 * posix/regex.c: Likewise.
15087 * posix/regex.h: Likewise.
15088 * posix/regex_internal.c: Likewise.
15089 * posix/regex_internal.h: Likewise.
15090 * posix/regexec.c: Likewise.
15092 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15095 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15096 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15097 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15098 * localedata/unicode-gen/PropList.txt: likewise.
15099 * localedata/unicode-gen/UnicodeData.txt: likewise.
15100 * localedata/charmaps/UTF-8: Regenerate.
15101 * localedata/locales/i18n_ctype: likewise.
15102 * localedata/locales/tr_TR: likewise.
15103 * localedata/locales/translit_circle: likewise.
15104 * localedata/locales/translit_cjk_compat: likewise.
15105 * localedata/locales/translit_combining: likewise.
15106 * localedata/locales/translit_compat: likewise.
15107 * localedata/locales/translit_font: likewise.
15108 * localedata/locales/translit_fraction: likewise.
15110 2018-07-03 Florian Weimer <fweimer@redhat.com>
15113 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15114 * stdio-common/tst-printf.sh: Adjust expected output.
15115 * LICENSES: Update.
15117 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15119 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15122 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15124 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15125 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15126 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15127 * stdio-common/tst-printfsz-islongdouble.c: New file.
15128 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15129 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15130 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15131 [subdir == stdio-common] (tests-internal): Add
15132 test-printf-size-ieee128, and test-printf-size-ibm128.
15133 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15134 (CFLAGS-test-printf-size-ibm128.c): New variables.
15135 [subdir == stdio-common] (tests-special): Add
15136 $(objpfx)test-printf-size-ieee128.out and
15137 $(objpfx)test-printf-size-ibm128.out.
15138 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15139 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15140 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15141 __printf_sizeieee128.
15142 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15144 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15146 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15149 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15151 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15152 (exp2f_inline): Likewise.
15153 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15154 (__math_uflowf): Likewise.
15155 (__math_may_uflowf): Likewise.
15156 (__math_divzerof): Likewise.
15157 (__math_invalidf): Likewise.
15158 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15159 (__math_oflowf): Likewise.
15160 (__math_uflowf): Likewise.
15161 (__math_may_uflowf): Likewise.
15162 (__math_divzerof): Likewise.
15163 (__math_invalidf): Likewise.
15165 2018-06-29 DJ Delorie <dj@redhat.com>
15166 Carlos O'Donell <carlos@redhat.com>
15169 * include/libc-symbols.h: Comment the freeres framework.
15170 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15171 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15172 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15173 * dlfcn/dlerror.c: Include libc-symbols.h
15174 (__dlerror_main_freeres): New function.
15175 * dlfcn/dlfreeres.c: New file.
15176 * dlfcn/sdlfreeres.c: New file.
15177 * include/dlfcn.h: Declare __dlerror_main_freeres.
15178 * malloc/set-freeres.c: Declare __libdl_freeres, and
15179 __libpthread_freeres.
15180 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15181 the releavant libraries are loaded.
15182 * malloc/thread-freeres.c: Add comments.
15183 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15184 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15185 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15186 (__free_stacks): Rename to...
15187 (free_stacks): ...this. Mark static.
15188 (queue_stack): Call free_stacks.
15189 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15190 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15191 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15192 ptr_freeres element from struct.
15193 (pthread_functions): Remove .ptr_freeres from struct initializer.
15194 [SHARED] (nptl_freeres): Remove.
15195 * nptl/nptlfreeres.c: New file.
15197 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15198 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15200 (__free_stacks): Rename to...
15201 (__nptl_stacks_freeres): ...this.
15202 (__shm_directory_freeres): Declare.
15203 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15204 (__nptl_unwind_freeres): ...this.
15205 * resolv/res-close.c: Add comment.
15206 * resolv/resolv_conf.c: Include libc-symbols.h.
15207 * string/strerror_l.c: Include libc-symbols.h.
15208 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15209 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15210 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15211 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15213 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15215 * stdlib/tst-strfmon_l.c: Add tests for long double.
15217 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15220 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15221 * localedata/locales/dsb_DE: New file.
15223 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15226 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15228 (alt_mon): New entry, import from CLDR (nominative case).
15230 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15233 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15235 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15237 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15238 Use vector registers.
15240 * sysdeps/aarch64/multiarch/memmove_falkor.S
15241 (__memcpy_falkor): Use vector registers.
15243 2018-06-29 Martin Sebor <msebor@redhat.com>
15245 * manual/stdio.texi (Customizing Printf): Mention interaction
15246 with GCC built-ins.
15248 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15251 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15252 `st_value' is 0 if `st_shndx' is SHN_ABS.
15253 * elf/tst-absolute-zero.c: New file.
15254 * elf/tst-absolute-zero-lib.c: New file.
15255 * elf/tst-absolute-zero-lib.lds: New file.
15256 * elf/Makefile (tests): Add `tst-absolute-zero'.
15257 (modules-names): Add `tst-absolute-zero-lib'.
15258 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15259 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15260 ($(objpfx)tst-absolute-zero: New dependency.
15262 2018-06-29 Zack Weinberg <zackw@panix.com>
15264 * configure.ac: New command-line option --disable-crypt.
15265 Force --disable-nss-crypt when --disable-crypt is given, with a
15266 warning if it was explicitly enabled.
15267 * configure: Regenerate.
15268 * config.make.in: New boolean substitution variable $(build-crypt).
15269 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15270 when $(build-crypt).
15271 * manual/install.texi: Document --disable-crypt.
15272 * INSTALL: Regenerate.
15274 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15275 which is never set.
15276 * conform/Makefile: Only include libcrypt.a in
15277 linknamespace-libs-xsi and linknamespace-libs-XPG4
15278 when $(build-crypt).
15279 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15280 USE_CRYPT to 1 when $(build-crypt).
15281 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15282 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15283 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15285 2018-06-29 Zack Weinberg <zackw@panix.com>
15287 * crypt/crypt.h, posix/unistd.h: Update comments and
15288 prototypes for crypt and crypt_r.
15290 * manual/crypt.texi (Cryptographic Functions): New initial
15292 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15293 (Unpredictable Bytes): Improve initial exposition. Clarify error
15294 behavior of getentropy and getrandom.
15295 * manual/examples/genpass.c: Generate a salt using getentropy
15296 instead of the current time. Use hash $5$ (SHA-2-256).
15297 * manual/examples/testpass.c: Demonstrate validation against
15298 hashes generated with three different one-way functions.
15300 * manual/intro.texi: crypt.texi does not need an overview
15303 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15304 * manual/terminal.texi: Consistently refer to "passphrases"
15305 * instead of "passwords", and to the "user database" instead
15306 * of the "password database".
15307 * manual/users.texi: Similarly. Add notes about how actual
15308 passphrase hashes are now stored in the shadow database.
15309 Remove 20-year-old junk todo note.
15311 2018-06-29 Zack Weinberg <zackw@panix.com>
15313 * manual/crypt.texi: Use a normal top-level @node declaration.
15314 Move most of the introductory text to the 'crypt' section.
15315 Move the example programs below the @deftypefun for 'crypt_r'.
15316 Move the 'getpass' section...
15317 * manual/terminal.texi: ...here.
15319 2018-06-29 Zack Weinberg <zackw@panix.com>
15320 Florian Weimer <fweimer@redhat.com>
15322 * posix/unistd.h: Do not declare encrypt.
15323 (_XOPEN_CRYPT): Remove macro definition.
15324 (crypt): Declare only for _USE_MISC.
15325 * stdlib/stdlib.h: Do not declare setkey.
15326 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15327 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15329 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15330 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15331 into compat symbols. Don't define initial_perm if it's not
15333 * crypt/cert.c: Link explicitly with the expected versions for
15334 setkey and encrypt. If they are not available at all, mark
15335 the test as unsupported.
15337 * sunrpc/des_crypt.c: Unconditionally block linkage with
15338 cbc_crypt and ecb_crypt for new binaries.
15339 * sunrpc/des_soft.c: Unconditionally block linkage with
15340 des_setparity for new binaries.
15342 * manual/crypt.texi: Remove the entire "DES Encryption"
15343 section. Also remove the paragraph talking about FIPS 140-2
15344 from the introduction.
15345 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15346 of libgcrypt for "real" encryption, not DES.
15347 * manual/conf.texi (Constants for Sysconf): Mention that
15348 _XOPEN_CRYPT is no longer impelemented.
15350 * conform/data/unistd.h-data: Remove crypt function declaration.
15352 2018-06-29 Florian Weimer <fweimer@redhat.com>
15355 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15356 (disallow_malloc_check): Remove variable.
15357 (__malloc_check_init): Adjust.
15358 (malloc_set_state): Update comment.
15359 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15362 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15365 * localedata/locales/ast_ES (mon): Rename to...
15367 (mon): Import from CLDR (genitive case).
15369 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15370 Jakub Sitnicki <jkbs@redhat.com>
15373 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15374 on NLM_F_DUMP_INTR.
15376 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15378 * manual/llio.texi: Remove spurious space.
15380 2018-06-28 Florian Weimer <fweimer@redhat.com>
15383 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15386 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15388 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15389 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15390 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15391 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15392 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15393 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15394 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15396 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15399 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15400 Copy and null-terminate entries that are not terminated, in
15401 addition to empty ones.
15403 2018-06-27 Florian Weimer <fweimer@redhat.com>
15406 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15407 (extend_alloca_account): Remove.
15408 * manual/stdio.texi (Variable Arguments Output): Update comment.
15410 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15412 * nptl/sockperf.c: Remove file.
15414 2018-06-27 Florian Weimer <fweimer@redhat.com>
15417 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15418 scratch_buffer instead of extend_alloca.
15420 2018-06-27 Florian Weimer <fweimer@redhat.com>
15423 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15424 scratch_buffer instead of extend_alloca. Update comments.
15426 2018-06-27 Florian Weimer <fweimer@redhat.com>
15429 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15430 instead of extend_alloca.
15432 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15435 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15436 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15438 * scripts/test-installation.pl: Put temporary files in build
15439 directory, not /tmp.
15440 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15441 (CFLAGS-bug4.c): Likewise.
15442 (CFLAGS-bug5.c): Likewise.
15443 (CFLAGS-test-fseek.c): Likewise.
15444 (CFLAGS-test-popen.c): Likewise.
15445 (CFLAGS-test_rdwr.c): Likewise.
15446 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15448 * stdio-common/bug4.c (main): Likewise.
15449 * stdio-common/bug5.c (main): Likewise.
15450 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15451 * stdio-common/test-popen.c (do_test): Likewise.
15452 * stdio-common/test_rdwr.c (main): Likewise.
15454 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15456 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15457 (sem_open): Set sem.newsem.pad to zero for valgrind.
15459 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15462 * NEWS: Mention fcntl64 addition.
15463 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15464 * login/utmp_file.c: Likewise.
15465 * sysdeps/posix/fdopendir.c: Likewise.
15466 * sysdeps/posix/opendir.c: Likewise.
15467 * sysdeps/unix/pt-fcntl.c: Likewise.
15468 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15469 __fcntl64_nocancel_adjusted): New prototype.
15470 (__fcntl_nocancel_adjusted): Remove prototype.
15471 * io/Makefile (routines): Add fcntl64.
15472 (CFLAGS-fcntl64.c): New rule.
15473 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15474 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15475 * io/fcntl.h (fcntl64): Add prototype and redirect if
15476 __USE_FILE_OFFSET64 is defined.
15477 * io/fcntl64.c: New file.
15478 * manual/llio.text: Add a note for which commands fcntl acts a
15479 cancellation point.
15480 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15481 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15482 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15484 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15485 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15487 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15488 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15489 to __fcntl64_nocancel.
15490 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15491 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15492 to __fcntl64_nocancel.
15493 * sysdeps/generic/not-cancel.h: Likewise.
15494 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15495 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15497 (fcntl64): New symbol.
15498 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15500 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15503 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15507 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15508 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15509 fcntl64): Likewise.
15510 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15511 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15512 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15513 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15514 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15515 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15516 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15517 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15518 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15523 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15524 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15527 2018-06-26 Florian Weimer <fweimer@redhat.com>
15529 Run thread shutdown functions in an explicit order.
15530 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15532 (__libc_thread_freeres): Call thread shutdown functions
15534 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15535 * include/string.h (__strerror_thread_freeres): Declare.
15536 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15537 arena_thread_freeres. No longer static. Remove thread shutdown
15539 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15541 * resolv/res-close.c (__res_thread_freeres): Renamed from
15542 res_thread_freeres. No longer static. Remove thread shutdown
15544 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15545 * resolv/resolv_conf.c (freeres): Remove incorrect section
15546 attribute and use libc_freeres_fn.
15547 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15548 strerror_thread_freeres. No longer static. Remove thread
15549 shutdown hook registration.
15550 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15551 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15552 shutdown hook registration.
15553 * Makerules (shlib.lds): Do not provide section boundary symbols
15554 for __libc_thread_subfreeres.
15555 * manual/memory.texi (Basic Allocation): Update comment.
15557 2018-06-26 Florian Weimer <fweimer@redhat.com>
15559 Remove always-defined _RPC_THREAD_SAFE_ macro.
15560 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15561 Do not define _RPC_THREAD_SAFE_.
15562 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15564 * sunrpc/clnt_perr.c: Likewise.
15565 * sunrpc/clnt_raw.c: Likewise.
15566 * sunrpc/clnt_simp.c: Likewise.
15567 * sunrpc/key_call.c: Likewise.
15568 * sunrpc/rpc_common.c: Likewise.
15569 * sunrpc/rpc_main.c: Likewise.
15570 * sunrpc/rpc_thread.c: Likewise.
15571 * sunrpc/svc.c: Likewise.
15572 * sunrpc/svc_raw.c: Likewise.
15573 * sunrpc/svc_simple.c: Likewise.
15574 * sumrpc/svcauth_des.c: Likewise.
15576 2018-06-26 Florian Weimer <fweimer@redhat.com>
15578 * libio/Makefile (tests-internal): Add tst-vtables,
15579 tst-vtables-interposed.
15580 * libio/tst-vtables.c: New file.
15581 * libio/tst-vtables-common.c: Likewise.
15582 * libio/tst-vtables-interposed.c: Likewise.
15584 2018-06-26 Florian Weimer <fweimer@redhat.com>
15586 * support/support_test_main.c (support_test_main): Only call
15587 setvbuf if not disables.
15588 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15589 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15591 2018-06-26 Florian Weimer <fweimer@redhat.com>
15594 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15596 2018-06-25 Florian Weimer <fweimer@redhat.com>
15599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15600 Use struct scratch_buffer instead of extend_alloca.
15602 2018-06-25 Florian Weimer <fweimer@redhat.com>
15605 * nss/getent.c (initgroups_keys): Use dynarray instead of
15608 2018-06-25 Florian Weimer <fweimer@redhat.com>
15611 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15612 Use struct scratch_buffer instead of extend_alloca.
15614 2018-06-25 Florian Weimer <fweimer@redhat.com>
15617 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15618 back to malloc directly, without stack allocations.
15620 2018-06-25 Florian Weimer <fweimer@redhat.com>
15623 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15626 2018-06-25 Florian Weimer <fweimer@redhat.com>
15629 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15631 * nscd/hstcache.c (addhstbyX): Likewise.
15632 * nscd/pwdcache.c (addpwbyX): Likewise.
15633 * nscd/servicescache.c (addservbyX): Likewise.
15635 2018-06-25 Florian Weimer <fweimer@redhat.com>
15638 * nscd/connections.c (read_cmdline): New function.
15639 (restart): Use it. Update comment.
15641 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15644 * localedata/locales/csb_PL (mon): Rename to...
15646 (abmon): Rename to...
15647 (ab_alt_mon): This.
15648 (mon): Add with proper genitive forms, copy from Wikipedia.
15651 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15654 * localedata/locales/csb_PL (mon): Fix typos:
15655 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15656 (yesstr): Add, value is "jo".
15657 (nostr): Add, value is "nié".
15659 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15661 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15662 all log1p and significand functions on m680x0.
15663 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15664 of s_significand.c..
15665 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15666 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15667 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15668 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15669 s_log1p.c and include it..
15671 2018-06-21 Vincent Chen <vincentc@andestech.com>
15673 * elf/elf.h (R_NDS32_NONE): New define.
15674 (R_NDS32_32_RELA): Likewise.
15675 (R_NDS32_COPY): Likewise.
15676 (R_NDS32_GLOB_DAT): Likewise.
15677 (R_NDS32_JUMP_SLOT): Likewise.
15678 (R_NDS32_RELATIVE): Likewise.
15679 (R_NDS32_TLS_TPOFF): Likewise.
15680 (R_NDS32_TLS_DESC): Likewise.
15682 2018-06-21 Mark Wielaard <mark@klomp.org>
15684 * elf/elf.h (R_BPF_MAP_FD): Removed.
15685 (R_BPF_64_64, R_BPF_64_32): New.
15687 2018-06-21 Florian Weimer <fweimer@redhat.com>
15690 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15691 Renamed from libc_feholdsetround_ctx.
15692 (default_libc_feresetround_ctx): Renamed from
15693 libc_feresetround_ctx.
15694 (default_libc_feholdsetround_noex_ctx): Renamed from
15695 libc_feholdsetround_noex_ctx.
15696 (default_libc_feresetround_noex_ctx): Renamed from
15697 libc_feresetround_noex_ctx.
15698 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15699 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15700 forwardning to the old implementations under the new names.
15701 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15702 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15703 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15704 (libc_feresetround_ctx): Forward to default implements for i386
15705 and MATH_SET_BOTH_ROUNDING_MODES.
15706 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15707 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15709 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15711 * string/tst-cmp.c: Include <libc-diag.h>.
15712 (strncmp_max): Disable -Wstringop-overflow= around call to
15714 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15717 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15718 (main): Disable -Wunused-value around call to strpbrk.
15719 * string/bug-strspn1.c: Include <libc-diag.h>.
15720 (main): Disable -Wunused-value around call to strspn.
15722 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15723 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15725 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15726 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15728 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15730 * math/Makefile (libm-calls): Move s_significandF to...
15731 (gen-libm-calls): ... here.
15732 * math/s_significand_template.c: New file.
15733 * math/s_significand.c: Removed.
15734 * math/s_significandf.c: Removed.
15735 * math/s_significandl.c: Removed.
15736 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15737 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15739 * math/e_exp2_template.c (declare_mgen_finite_alias,
15740 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15741 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15742 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15744 2018-06-20 Florian Weimer <fweimer@redhat.com>
15746 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15748 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15751 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15752 floating-point number to strtod functions rather than possibly
15753 negating result of those functions.
15754 * stdio-common/tst-scanf-round.c: New file.
15755 * stdio-common/Makefile (tests): Add tst-scanf-round.
15756 ($(objpfx)tst-scanf-round): Depend on $(libm).
15758 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15760 * sysdeps/mach/hurd/localplt.data: Move to...
15761 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15762 R_386_GLOB_DAT like on Linux i386.
15764 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15766 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15767 (SHM_STAT_ANY): New macro.
15768 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15769 (SHM_STAT_ANY): Likewise.
15770 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15771 (SHM_STAT_ANY): Likewise.
15772 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15773 (SHM_STAT_ANY): Likewise.
15774 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15775 (SHM_STAT_ANY): Likewise.
15776 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15777 (SHM_STAT_ANY): Likewise.
15778 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15779 (SHM_STAT_ANY): Likewise.
15780 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15781 (SHM_STAT_ANY): Likewise.
15782 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15783 (SHM_STAT_ANY): Likewise.
15784 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15785 (SHM_STAT_ANY): Likewise.
15786 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15787 (SHM_STAT_ANY): Likewise.
15788 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15789 (SHM_STAT_ANY): Likewise.
15791 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15792 (SEM_STAT_ANY): New macro.
15793 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15794 (SEM_STAT_ANY): Likewise.
15795 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15796 (SEM_STAT_ANY): Likewise.
15797 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15798 (SEM_STAT_ANY): Likewise.
15799 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15800 (SEM_STAT_ANY): Likewise.
15801 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15802 (SEM_STAT_ANY): Likewise.
15803 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15804 (SEM_STAT_ANY): Likewise.
15805 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15806 (SEM_STAT_ANY): Likewise.
15807 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15808 (SEM_STAT_ANY): Likewise.
15809 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15810 (SEM_STAT_ANY): Likewise.
15812 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15813 (MSG_STAT_ANY): New macro.
15814 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15815 (MSG_STAT_ANY): Likewise.
15816 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15817 (MSG_STAT_ANY): Likewise.
15818 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15819 (MSG_STAT_ANY): Likewise.
15820 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15821 (MSG_STAT_ANY): Likewise.
15822 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15823 (MSG_STAT_ANY): Likewise.
15824 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15825 (MSG_STAT_ANY): Likewise.
15826 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15827 (MSG_STAT_ANY): Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15829 (MSG_STAT_ANY): Likewise.
15830 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15831 (MSG_STAT_ANY): Likewise.
15833 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15834 (MAP_TYPE): Change value to 0x2b.
15836 2018-06-18 Florian Weimer <fweimer@redhat.com>
15839 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15840 socket with SOCK_CLOEXEC.
15842 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15845 * sysdeps/powerpc/powerpc64/le/Makefile
15846 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15847 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15848 (gnulib-tests): Also add $(f128-loader-link) for
15849 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15851 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15853 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15854 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15856 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15857 (sendfile64): New strong alias.
15858 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15859 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15860 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15861 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15863 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15864 ___pthread_get_cleanup_stack.
15865 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15866 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15867 * mach/shortcut.awk: Make syscall stubs include
15868 <mach-shortcuts-hidden.h> and add hidden definition.
15869 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15870 (__mach_msg): Add hidden prototype.
15871 * mach/msg.c: Include <mach.h>.
15872 (__mach_msg): Add hidden definition.
15873 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15874 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15875 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15876 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15877 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15878 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15879 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15880 prototype and definition.
15881 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
15882 hidden target for _hurd_self_sigstate.
15884 2018-06-15 Joseph Myers <joseph@codesourcery.com>
15887 * stdlib/tst-strtod-nan-sign-main.c: New file.
15888 * stdlib/tst-strtod-nan-sign.c: Likewise.
15889 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
15890 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
15891 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
15892 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
15893 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
15895 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
15898 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
15901 2018-06-14 Florian Weimer <fweimer@redhat.com>
15904 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
15905 that the result stays within the ISO-8859-1 range.
15906 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
15907 characters are defined in IBM273.
15909 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
15911 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
15912 __mach_task_self): Remove attribute_hidden.
15914 2018-06-14 Joseph Myers <joseph@codesourcery.com>
15916 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
15917 ignore -Wrestrict for one test.
15919 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
15920 Szabolcs Nagy <szabolcs.nagy@arm.com>
15922 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
15924 2018-06-14 Florian Weimer <fweimer@redhat.com>
15926 * scripts/update-abilist.sh: Accept empty list of files to patch.
15928 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15930 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
15931 test-xfail-check-abi-libmachuser): Add.
15932 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
15933 __libc_read and __libc_write to __read and __write.
15934 * sysdeps/hurd/include/hurd/port.h: New file.
15935 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
15936 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
15937 __thread_switch, __evc_wait): Move declarations to...
15938 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
15940 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
15941 use PLT to call _hurd_self_sigstate.
15943 2018-06-13 Joseph Myers <joseph@codesourcery.com>
15946 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
15947 MAX_EXP as overflowing.
15948 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
15950 (round_str): Output also whether result overflows in each rounding
15952 * stdlib/tst-strtod-round-data: Add more tests.
15953 * stdlib/tst-strtod-round-data.h: Regenerated.
15954 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
15955 (TEST): Handle extra arguments for overflow flags.
15956 (struct test_overflow): New type.
15957 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
15958 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
15959 (test_in_one_mode): Take argument with overflow information.
15960 (do_test): Update calls to test_in_one_mode.
15962 2018-06-12 Carlos O'Donell <carlos@redhat.com>
15964 * elf/dl-load (_dl_dst_substitute): Correct comment.
15965 (_dl_dst_count): Likewise.
15967 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
15968 lll_futex_timed_wait.
15970 2018-06-12 Joseph Myers <joseph@codesourcery.com>
15973 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
15975 * math/test-nan-const.c: New file.
15976 * math/Makefile (tests): Add test-nan-const.
15977 (CFLAGS-test-nan-const.c): New variable.
15979 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
15981 * benchtests/scripts/compare_strings.py (process_results): Add
15982 funcs argument. Compare only functions which are selected.
15983 (main): Check if base function is among selected functions.
15984 Pass selected functions to process_results.
15985 (__main__): Add -f/--functions argument.
15987 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
15988 Hongbo Zhang <hongbo.zhang@linaro.org>
15990 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
15991 __memcpy_falkor for phecda core.
15992 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
15993 __memmove_falkor for phecda core.
15994 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
15995 __memset_falkor for phecda core.
15996 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
15998 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
15999 macro to identify phecda core.
16001 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16002 Andreas Schwab <schwab@suse.de>
16003 Dmitry V. Levin <ldv@altlinux.org>
16004 Florian Weimer <fweimer@redhat.com>
16011 * elf/dl-dst.h: Remove DL_DST_COUNT.
16012 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16013 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16014 (is_dst): Comment. Support ELF gABI.
16015 (_dl_dst_count): Comment. Simplify and count DSTs.
16016 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16017 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16020 2018-06-12 Zack Weinberg <zackw@panix.com>
16022 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16023 * sysdeps/unix/sysv/linux/dl-sysdep.c
16024 Include not-cancel.h. Use __close_nocancel instead of __close,
16025 __open64_nocancel instead of __open, __read_nocancel instead of
16026 __libc_read, and __write_nocancel instead of __libc_write.
16028 * csu/check_fds.c (check_one_fd)
16029 * sysdeps/posix/fdopendir.c (__fdopendir)
16030 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16031 instead of __fcntl and/or __libc_fcntl.
16033 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16034 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16035 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16036 Use __open64_nocancel instead of __open_nocancel.
16038 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16039 hidden_proto declarations to the end and issue them if either
16040 IS_IN(libc) or IS_IN(rtld).
16041 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16042 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16043 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16044 read_nocancel, waitpid_nocancel, write_nocancel.
16046 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16047 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16048 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16050 * nptl/pt-fcntl.c: New file.
16051 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16052 (libpthread-routines): Add pt-fcntl.
16053 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16054 (__libc_fcntl): Remove attribute_hidden.
16055 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16056 __fcntl_nocancel_adjusted, not fcntl_common.
16057 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16058 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16059 to fcntl_nocancel.c.
16060 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16063 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16065 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16066 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16067 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16068 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16069 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16070 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16071 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16072 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16073 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16074 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16075 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16076 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16077 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16078 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16079 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16080 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16081 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16082 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16083 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16084 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16086 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16087 libpthread-routines.
16088 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16091 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16092 __libc_read, and __write instead of __libc_write. Define
16093 __open64 in addition to __open.
16095 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16099 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16100 to _private_tm[3] and add __glibc_reserved2.
16101 Add _Static_assert of offset of __private_ss == 0x30.
16102 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16103 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16105 2018-06-12 Florian Weimer <fweimer@redhat.com>
16107 x86: Make strncmp usable from rtld.
16108 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16109 __strncmp_ia32 if in libc (and not in rtld).
16110 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16111 strncmp if not in libc (and not to __strncmp_sse2).
16113 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16116 * localedata/locales/gd_GB (mon): Rename to...
16118 (mon): Import from CLDR (genitive case).
16119 * localedata/locales/hsb_DE (mon): Rename to...
16121 (mon): Import from CLDR (genitive case).
16122 * localedata/locales/wa_BE (mon): Rename to...
16124 (mon): Add, fill with the proper genitive forms, but CLDR data
16125 is incomplete; completed according to the comments in this file.
16126 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16128 * localedata/locales/wa_BE (country_name): Reword
16129 "Beljike" -> "Beldjike".
16131 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16134 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16135 cases of non-finite arguments.
16136 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16138 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16141 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16143 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16146 * include/unistd.h (__execvpex): New prototype.
16147 * posix/Makefile (tests): Add tst-spawn4.
16148 (tests-internal): Add tst-spawn4-compat.
16149 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16150 * posix/tst-spawn4-compat.c: New file.
16151 * posix/tst-spawn4.c: Likewise.
16152 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16153 binaries as shell scripts.
16154 * sysdeps/posix/spawni.c (__spawni): Likewise.
16156 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16159 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16160 ($(all-built-dso:=.dynsym): New target.
16161 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16162 ($(objpfx)check-initfini.out): New target.
16163 (generated): Add check-initfini.out.
16164 * scripts/check-initfini.awk: New file.
16165 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16167 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16169 * sysdeps/arm/crti.S (_init): Mark as hidden.
16171 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16173 * sysdeps/i386/crti.S (_init): Mark as hidden.
16175 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16177 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16179 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16181 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16183 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16185 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16187 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16189 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16191 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16193 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16195 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16197 * sysdeps/sh/crti.S (_init): Mark as hidden.
16199 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16201 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16204 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16206 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16207 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16208 and TF redirection to KFtype and KF only when the default
16209 long double type is not the IEEE 128-bit floating point type.
16211 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16213 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16215 (HWCAP_USCAT): Likewise.
16216 (HWCAP_ILRCPC): Likewise.
16217 (HWCAP_FLAGM): Likewise.
16218 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16220 (_dl_aarch64_cap_flags): Add new flag names.
16222 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16223 (MAP_FIXED_NOREPLACE): New macro.
16224 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16225 (MAP_FIXED_NOREPLACE): Likewise.
16226 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16227 (MAP_FIXED_NOREPLACE): Likewise.
16228 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16229 (MAP_FIXED_NOREPLACE): Likewise.
16230 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16231 (MAP_FIXED_NOREPLACE): Likewise.
16232 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16233 (MAP_FIXED_NOREPLACE): Likewise.
16234 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16235 (MAP_FIXED_NOREPLACE): Likewise.
16236 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16237 (MAP_FIXED_NOREPLACE): Likewise.
16238 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16239 (MAP_FIXED_NOREPLACE): Likewise.
16240 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16241 (MAP_FIXED_NOREPLACE): Likewise.
16242 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16243 (MAP_FIXED_NOREPLACE): Likewise.
16244 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16245 (MAP_FIXED_NOREPLACE): Likewise.
16246 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16247 (MAP_FIXED_NOREPLACE): Likewise.
16248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16249 (MAP_FIXED_NOREPLACE): Likewise.
16250 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16251 (MAP_FIXED_NOREPLACE): Likewise.
16253 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16256 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16258 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16261 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16263 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16265 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16267 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16269 * benchtests/scripts/compare_string.py: (process_results) Catch
16270 exception in non-existent base_func and catch exception in
16271 non-existent attribute.
16272 (parse_file) Catch exception if input file does not exist.
16274 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16276 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16277 options to avoid diff calculation and omit header, respectively.
16278 (main): process --no-diff and --no-header
16280 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16281 H.J. Lu <hongjiu.lu@intel.com>
16283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16284 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16287 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16288 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16289 and __wcsncmp_sse2.
16290 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16291 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16292 AVX unaligned load is fast and vzeroupper is preferred.
16293 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16294 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16295 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16296 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16297 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16298 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16299 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16300 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16301 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16302 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16305 2018-06-01 Florian Weimer <fweimer@redhat.com>
16307 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16308 configuring with --disable-multi-arch, building with
16309 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16312 2018-06-01 Florian Weimer <fweimer@redhat.com>
16314 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16315 results from building with “-march=x86-64 -mtune=generic
16316 -mfpmath=sse” and running on a Haswell-era CPU.
16318 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16321 * soft-fp/sqrttf2.c: Remove file.
16322 * soft-fp/sqrtdf2.c: Move to ....
16323 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16325 (__sqrtdf2): Make conditional on
16326 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16328 * soft-fp/sqrtsf2.c: Move to ....
16329 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16331 (__sqrtsf2): Make conditional on
16332 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16334 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16335 (gcc-double-routines): Remove sqrtdf2.
16336 (gcc-quad-routines): Remove sqrttf2.
16337 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16338 Do not filter out sqrtsf2 and sqrtdf2.
16339 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16340 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16342 2018-06-01 Florian Weimer <fweimer@redhat.com>
16344 * sysdeps/generic/libcidn.abilist: Remove file.
16346 2018-06-01 Florian Weimer <fweimer@redhat.com>
16349 * libio/strfile.h (struct _IO_str_fields): Rename members to
16350 discourage their use and add comment.
16351 (_IO_STR_DYNAMIC): Remove unused macro.
16352 * libio/strops.c (_IO_str_init_static_internal): Do not use
16353 callback pointers. Call malloc and free.
16354 (_IO_str_overflow): Do not use callback pointers. Call malloc
16356 (enlarge_userbuf): Likewise.
16357 (_IO_str_finish): Call free.
16358 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16359 _allocate_buffer_unused.
16360 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16362 (enlarge_userbuf): Likewise.
16363 (_IO_wstr_finish): Call free.
16364 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16365 _allocate_buffer_unused, _free_buffer_unused.
16366 * libio/memstream.c (__open_memstream): Likewise.
16367 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16368 * libio/wmemstream.c (open_wmemstream): Likewise.
16370 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16372 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16375 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16377 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16378 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16379 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16381 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16383 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16385 2018-05-29 Florian Weimer <fweimer@redhat.com>
16387 * support/Makefile (libsupport-routines): Add
16388 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16389 xpthread_barrierattr_setpshared.
16390 * support/xpthread_barrierattr_destroy.c: New file.
16391 * support/xpthread_barrierattr_init.c: Likewise.
16392 * support/xpthread_barrierattr_setpshared.c: Likewise.
16394 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16397 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16398 _r_debug and update DT_DEBUG for debugger.
16400 2018-05-29 Florian Weimer <fweimer@redhat.com>
16402 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16403 (tst-strtod5i.out): Likewise.
16405 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16407 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16408 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16409 (sparc64-quad-routines): New variable. Moved from ....
16410 [$(subdir) = soft-fp] (sysdep_routines): Add
16411 $(sparc64-quad-routines). Moved from ....
16412 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16413 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16414 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16416 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16417 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16418 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16419 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16420 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16421 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16422 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16423 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16424 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16425 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16426 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16427 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16428 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16429 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16430 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16431 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16432 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16433 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16434 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16435 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16436 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16437 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16438 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16439 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16440 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16441 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16442 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16443 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16444 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16445 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16446 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16447 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16448 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16449 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16450 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16451 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16452 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16453 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16454 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16455 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16456 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16457 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16458 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16459 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16460 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16461 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16462 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16463 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16464 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16465 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16466 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16467 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16468 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16469 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16470 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16471 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16473 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16475 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16476 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16477 (sparc32-quad-routines): New variable. Moved from ....
16478 [$(subdir) = soft-fp] (sysdep_routines): Add
16479 $(sparc32-quad-routines). Moved from ....
16480 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16481 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16483 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16484 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16485 * sysdeps/sparc/sparc32/q_add.c: ... here.
16486 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16487 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16488 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16489 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16490 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16491 * sysdeps/sparc/sparc32/q_div.c: ... here.
16492 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16493 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16494 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16495 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16496 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16497 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16498 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16499 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16500 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16501 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16502 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16503 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16504 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16505 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16506 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16507 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16508 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16509 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16510 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16511 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16512 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16513 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16514 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16515 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16516 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16517 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16518 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16519 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16520 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16521 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16522 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16523 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16524 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16525 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16526 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16527 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16528 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16529 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16530 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16531 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16532 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16533 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16534 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16535 * sysdeps/sparc/sparc32/q_util.c: ... here.
16536 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16537 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16538 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16539 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16541 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16542 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16544 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16545 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16546 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16547 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16549 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16555 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16556 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16558 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16561 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16564 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16566 * sysdeps/sh/Implies: Remove sh/soft-fp.
16567 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16568 * sysdeps/sh/sfp-machine.h: ... here.
16570 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16572 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16573 (__mempcpy_erms): Skip zero length.
16574 (__memmove_erms): Likewise.
16575 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16576 (__memset_erms): Likewise.
16578 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16580 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16581 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16582 Add functions moved from ....
16583 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16584 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16585 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16587 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16588 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16589 * sysdeps/alpha/e_sqrtl.c: ... here.
16590 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16591 * sysdeps/alpha/local-soft-fp.h: ... here.
16592 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16593 * sysdeps/alpha/ots_add.c: ... here.
16594 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16595 * sysdeps/alpha/ots_cmp.c: ... here.
16596 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16597 * sysdeps/alpha/ots_cmpe.c: ... here.
16598 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16599 * sysdeps/alpha/ots_cvtqux.c: ... here.
16600 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16601 * sysdeps/alpha/ots_cvtqx.c: ... here.
16602 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16603 * sysdeps/alpha/ots_cvttx.c: ... here.
16604 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16605 * sysdeps/alpha/ots_cvtxq.c: ... here.
16606 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16607 * sysdeps/alpha/ots_cvtxt.c: ... here.
16608 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16609 * sysdeps/alpha/ots_div.c: ... here.
16610 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16611 * sysdeps/alpha/ots_mul.c: ... here.
16612 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16613 * sysdeps/alpha/ots_nintxq.c: ... here.
16614 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16615 * sysdeps/alpha/ots_sub.c: ... here.
16616 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16617 * sysdeps/alpha/sfp-machine.h: ... here.
16619 2018-05-23 Florian Weimer <fweimer@redhat.com>
16627 Switch to extern IDNA implementation (libidn2).
16628 * libidn: Remove subdirectory.
16629 * LICENSES: Do not mention licensing conditions for the removed
16631 * config.h.in (HAVE_LIBIDN): Remove.
16632 * include/dlfcn.h (__libc_dlopen): Update comment.
16633 * include/idna.h: Remove file.
16634 * inet/Makefile (routines): Add idna.
16635 (tests-static, tests-internal): Add tst-idna_name_classify.
16636 (LOCALES): Generate locales for tests.
16637 (tst-idna_name_classify.out): Depend on generated locales.
16638 * inet/idna_name_classify.c: New file.
16639 * inet/tst-idna_name_classify.c: Likewise.
16640 * inet/net-internal.h (__idna_to_dns_encoding)
16641 (__idna_from_dns_encoding): Declare.
16642 * inet/net-internal.h (enum idna_name_classification): Define.
16643 (__idna_name_classify): Declare.
16644 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16645 __idna_from_dns_encoding.
16646 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16647 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16648 name as a fallback in case of encoding errors.
16649 (getnameinfo): Use DEPRECATED_NI_IDN.
16650 * inet/idna.c: New file.
16651 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16652 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16653 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16654 (modules-names): Add tst-no-libidn2.
16655 (extra-test-objs): Add tst-no-libidn2.os.
16656 (LDFLAGS-tst-no-libidn2.so): Set soname.
16657 (LOCALES): Set, and generate locales.
16658 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16659 (tst-resolv-ai_idn-latin1): Likewise.
16660 (tst-resolv-ai_idn-nolibidn2): Likewise.
16661 (tst-resolv-ai_idn.out): Depend on locales.
16662 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16663 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16665 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16666 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16667 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16668 * resolv/tst-resolv-ai_idn.c: New file.
16669 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16670 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16671 * resolv/tst-no-libidn2.c: Likewise.
16672 * support/support_format_addrinfo.c (format_ai_flags): Do not
16673 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16674 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16675 (gaih_inet): Call __idna_to_dns_encoding and
16676 __idna_from_dns_encoding, and use the original (punycode) name if
16677 __idna_from_dns_encoding fails due to an encoding error.
16678 (getaddrinfo): Use DEPRECATED_AI_IDN.
16679 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16680 * sysdeps/unix/inet/configure: Remove file.
16681 * sysdeps/unix/inet/configure.ac: Likewise.
16683 2018-05-23 Florian Weimer <fweimer@redhat.com>
16685 Implement allocate_once.
16686 * include/allocate_once.h: New file.
16687 * misc/allocate_once.c: Likewise.
16688 * misc/tst-allocate_once.c: Likewise.
16689 * misc/Makefile (routines): Add allocate_once.
16690 (tests-internal): Add tst-allocate_once.
16691 (generated): Add tst-allocate_once.mtrace,
16692 tst-allocate_once-mem.out.
16693 (tests-special): Add tst-allocate_once-mem.out.
16694 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16695 (tst-allocate_once-mem.out): Call mtrace.
16696 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16698 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16701 * string/test-memcpy.c (do_test1): New function.
16702 (test_main): Call it.
16704 2018-05-23 Andreas Schwab <schwab@suse.de>
16708 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16709 (L(preloop_large)): Save initial destination pointer in %r11 and
16710 use it instead of %rax after the loop.
16711 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16713 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16715 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16716 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16717 -I../soft-fp. Moved from ....
16718 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16719 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16720 * sysdeps/aarch64/e_sqrtl.c: ... here.
16721 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16722 * sysdeps/aarch64/sfp-machine.h: ... here.
16724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16725 -Wmaybe-uninitialized around access to fq[0].
16726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16730 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16731 aliases for non-libc case of versioned symbols.
16732 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16733 (llseek): Define as compat symbol if
16734 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16736 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16737 Make into a compat symbol, disabled for minimum symbol version
16738 GLIBC_2.28 and later.
16739 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16741 2018-05-22 Florian Weimer <fweimer@redhat.com>
16743 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16744 not add -mpreferred-stack-boundary=4.
16745 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16746 (stack-align-test-flags): Likewise.
16747 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16749 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16750 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16751 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16752 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16753 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16754 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16755 (CFLAGS-tst-align2.c): Likewise.
16757 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16759 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16760 (index_arch_Prefer_FSRM): Likewise.
16761 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16762 Also check Prefer_FSRM.
16763 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16764 Also return OPTIMIZE (erms) for Prefer_FSRM.
16766 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16768 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16769 (index_cpu_FSRM): Likewise.
16770 (reg_FSRM): Likewise.
16772 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16774 * math/gen-tgmath-tests.py: Import sys.
16775 (Tests.__init__): Initialize macros_seen.
16776 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16777 if requested to do so for this macro.
16778 (Tests.add_all_tests): Take argument for macro for which to
16780 (Tests.check_macro_list): New function.
16781 (main): Handle check-list argument and argument specifying macro
16782 for which to generate tests.
16783 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16784 [PYTHON] (tgmath3-macro-tests): Likewise.
16785 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16786 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16787 not test-tgmath3.c.
16788 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16789 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16791 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16792 [PYTHON] ($(foreach
16793 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16795 [PYTHON] (tests-special): Add
16796 $(objpfx)test-tgmath3-macro-list.out.
16797 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16799 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16800 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16804 * time/tzset.c (SECSPERDAY): Cast to time_t.
16805 * time/tst-y2039.c: New file.
16806 * time/Makefile (tests): Add tst-y2039.
16808 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16810 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16811 (PREFETCH_ONE_SET): Remove duplicate line.
16813 2018-05-17 Florian Weimer <fweimer@redhat.com>
16815 * sysdeps/generic/math-type-macros-double.h: Include
16816 <math-nan-payload-double.h> after <libm-alias-double.h>.
16817 * sysdeps/generic/math-type-macros-float.h: Include
16818 <math-nan-payload-float.h> after <libm-alias-float.h>.
16819 * sysdeps/generic/math-type-macros-float128.h: Include
16820 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16821 * sysdeps/generic/math-type-macros-ldouble.h: Include
16822 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16824 2018-05-17 Andreas Schwab <schwab@suse.de>
16826 * resolv/res_send.c (__res_context_send): Don't set errno when
16827 returing error after malloc failure.
16829 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16831 * nptl/allocatestack.c (allocate_stack): Remove the
16832 !__ASSUME_PRIVATE_FUTEX paths.
16833 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16834 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16836 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16837 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16838 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16839 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16840 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16841 !__ASSUME_PRIVATE_FUTEX path.
16842 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16843 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16844 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16845 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16846 !__ASSUME_PRIVATE_FUTEX macros.
16847 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16848 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16849 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16850 * sysdeps/unix/sysv/linux/kernel-features.h
16851 (__ASSUME_PRIVATE_FUTEX): Removed.
16853 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16855 * math/Makefile (libm-narrow-fns): Add div.
16856 (libm-test-funcs-narrow): Likewise.
16857 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16858 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16859 * math/gen-auto-libm-tests.c (test_functions): Add div.
16860 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16861 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16862 (NARROW_DIV_TRIVIAL): Likewise.
16863 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16865 (__ddivl): Likewise.
16866 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16868 (CFLAGS-nldbl-ddiv.c): New variable.
16869 (CFLAGS-nldbl-fdiv.c): Likewise.
16870 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16872 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16874 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16875 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16876 * math/auto-libm-test-in: Add tests of div.
16877 * math/auto-libm-test-out-narrow-div: New generated file.
16878 * math/libm-test-narrow-div.inc: New file.
16879 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16880 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16881 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
16882 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
16883 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
16884 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
16885 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
16886 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
16887 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
16888 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
16889 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
16890 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
16891 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
16892 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
16893 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
16894 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
16895 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
16896 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
16897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16898 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16899 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16900 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16901 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16902 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16903 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16904 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16905 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16906 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16907 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16908 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16909 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16910 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16915 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16916 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16917 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16918 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16919 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16920 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16921 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16922 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16924 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16927 * nscd/nscd-client.h (sendfileall): Remove prototype.
16928 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
16929 (handle_request): Use writeall instead of sendfileall.
16930 * nscd/aicache.c (addhstaiX): Likewise.
16931 * nscd/grpcache.c (cache_addgr): Likewise.
16932 * nscd/hstcache.c (cache_addhst): Likewise.
16933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16934 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
16935 * nscd/pwdcache.c (cache_addpw): Likewise.
16936 * nscd/servicescache.c (cache_addserv): Likewise.
16937 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
16938 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
16939 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
16942 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
16944 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
16945 Include <string/strncat.c>.
16946 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
16948 (__GI___strncat): New hidden alias.
16950 2018-05-16 Joseph Myers <joseph@codesourcery.com>
16952 * sysdeps/mips/mips32/libm-test-ulps: Update.
16953 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16955 2018-05-16 Florian Weimer <fweimer@redhat.com>
16957 * support/Makefile (libsupport-routines): Add support_quote_blob,
16958 support_test_compare_blob.
16959 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
16960 * support/check.h (TEST_COMPARE_BLOB): Define.
16961 (support_test_compare_blob): Declare.
16962 * support/support.h (support_quote_blob): Declare.
16963 * support/support_quote_blob.c: New file.
16964 * support/support_test_compare_blob.c: Likewise.
16965 * support/tst-support_quote_blob.c: Likewise.
16966 * support/tst-test_compare_blob.c: Likewise.
16968 2018-05-16 Florian Weimer <fweimer@redhat.com>
16970 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
16971 of <strtod_nan_double.h>.
16972 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
16973 instead of SET_MANTISSA.
16974 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
16975 of include <strtod_nan_float.h>.
16976 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
16977 instead of <strtod_nan_ldouble.h>.
16978 * stdlib/strtod_nan_double.h: Move to ...
16979 * sysdeps/generic/math-nan-payload-double.h: ... here.
16980 (FLOAT): Remove definition.
16981 (SET_MANTISSA): Rename to ...
16982 (SET_NAN_PAYLOAD): ... this.
16983 * stdlib/strtod_nan_float.h: Move to ...
16984 * sysdeps/generic/math-nan-payload-float.h: ... here.
16985 (FLOAT): Remove definition.
16986 (SET_MANTISSA): Rename to ...
16987 (SET_NAN_PAYLOAD): ... this.
16988 * sysdeps/generic/math-type-macros-double.h: Include
16989 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
16990 instead of <math-svid-compat.h>.
16991 * sysdeps/generic/math-type-macros-float.h: Include
16992 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
16993 instead of <math-svid-compat.h>.
16994 * sysdeps/generic/math-type-macros-float128.h: Include
16995 <math-nan-payload-float128.h>.
16996 * sysdeps/generic/math-type-macros-ldouble.h: Include
16997 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
16998 instead of <math-svid-compat.h>.
16999 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17000 check for definition.
17001 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17002 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17003 Include <ieee754_float128.h>.
17004 (FLOAT): Remove definition.
17005 (SET_MANTISSA): Rename to ...
17006 (SET_NAN_PAYLOAD): ... this.
17007 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17008 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17009 Do not include <float128_private.h>.
17010 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17012 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17013 (FLOAT): Remove definition.
17014 (SET_MANTISSA): Rename to ...
17015 (SET_NAN_PAYLOAD): ... this.
17016 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17017 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17018 (FLOAT): Remove definition.
17019 (SET_MANTISSA): Rename to ...
17020 (SET_NAN_PAYLOAD): ... this.
17021 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17022 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17023 (FLOAT): Remove definition.
17024 (SET_MANTISSA): Rename to ...
17025 (SET_NAN_PAYLOAD): ... this.
17026 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17027 of "../stdlib/strtod_nan_double.h".
17028 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17029 of "../stdlib/strtod_nan_float.h".
17030 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17031 instead of "../stdlib/strtod_nan_ldouble.h".
17032 * manual/arith.texi (Parsing of Floats): Adjust comment.
17034 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17036 * math/Makefile (libm-narrow-fns): Add mul.
17037 (libm-test-funcs-narrow): Likewise.
17038 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17039 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17040 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17041 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17042 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17043 (NARROW_MUL_TRIVIAL): Likewise.
17044 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17045 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17047 (__dmull): Likewise.
17048 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17050 (CFLAGS-nldbl-dmul.c): New variable.
17051 (CFLAGS-nldbl-fmul.c): Likewise.
17052 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17054 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17056 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17057 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17058 * math/auto-libm-test-in: Add tests of mul.
17059 * math/auto-libm-test-out-narrow-mul: New generated file.
17060 * math/libm-test-narrow-mul.inc: New file.
17061 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17064 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17065 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17066 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17069 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17070 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17072 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17073 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17074 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17075 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17076 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17077 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17078 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17080 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17081 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17082 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17083 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17084 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17085 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17086 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17087 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17088 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17089 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17090 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17091 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17092 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17097 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17098 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17099 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17100 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17101 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17102 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17103 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17104 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17106 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17108 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17109 with *%eax in call.
17111 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17113 * sysdeps/i386/ldsodefs.h: Removed.
17114 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17115 * sysdeps/x86/ldsodefs.h: This.
17116 (La_i86_regs): New.
17117 (La_i86_retval): Likewise.
17118 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17119 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17121 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17123 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17126 2018-05-13 Alan Modra <amodra@gmail.com>
17128 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17129 R_PARISC_TLS_DTPOFF32 reloc addend.
17131 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17133 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17134 * math/math.h: Restrict the prototype definition for the functions
17135 issignaling(_Float128) and iszero(_Float128); and template
17136 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17137 __HAVE_FLOAT128_UNLIKE_LDBL.
17138 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17139 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17140 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17141 __f128() constants; define the type _Float128 as long double;
17142 and reuse long double in __CFLOAT128.
17144 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17146 * sysdeps/generic/math_private.h: Do not include
17148 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17150 * math/fromfp.h: Include <math-barriers.h>.
17151 * math/math-narrow.h: Likewise.
17152 * math/s_nextafter.c: Likewise.
17153 * math/s_nexttowardf.c: Likewise.
17154 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17155 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17156 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17157 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17172 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17173 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17174 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17175 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17176 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17177 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17178 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17179 * sysdeps/ieee754/k_standardl.c: Likewise.
17180 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17181 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17182 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17183 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17184 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17185 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17186 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17187 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17195 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17196 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17197 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17198 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17199 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17200 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17201 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17203 2018-05-11 Florian Weimer <fweimer@redhat.com>
17205 Use 64-bit epoch values in the time zone file parser.
17206 * include/time.h (internal_time_t): Define.
17207 (__tzfile_compute): Use it.
17208 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17210 (transitions): Switch to internal_time_t.
17211 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17213 (__tzfile_compute): Use internal_time_t for timer argument. Check
17214 for truncation before calling __offtime.
17216 2018-05-11 Florian Weimer <fweimer@redhat.com>
17219 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17220 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17222 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17223 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17224 export without --enable-obsolete-rpc.
17225 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17226 symbol. This should not have been exported, ever.
17228 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17231 * localedata/locales/gd_GB (abmon): Fix typo in May:
17232 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17234 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17236 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17237 Use multiple registers to copy data in loop tail.
17239 * sysdeps/aarch64/multiarch/memmove_falkor.S
17240 (__memmove_falkor): Use multiple registers to move data in
17243 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17245 * math/math-underflow.h: New file.
17246 * sysdeps/generic/math_private.h: Do not include <float.h>.
17247 (fabs_tg): Remove macro. Moved to math-underflow.h.
17248 (min_of_type_f): Likewise.
17249 (min_of_type_): Likewise.
17250 (min_of_type_l): Likewise.
17251 (min_of_type_f128): Likewise.
17252 (min_of_type): Likewise.
17253 (math_check_force_underflow): Likewise.
17254 (math_check_force_underflow_nonneg): Likewise.
17255 (math_check_force_underflow_complex): Likewise.
17256 * math/e_exp2_template.c: Include <math-underflow.h>.
17257 * math/k_casinh_template.c: Likewise.
17258 * math/s_catan_template.c: Likewise.
17259 * math/s_catanh_template.c: Likewise.
17260 * math/s_ccosh_template.c: Likewise.
17261 * math/s_cexp_template.c: Likewise.
17262 * math/s_clog10_template.c: Likewise.
17263 * math/s_clog_template.c: Likewise.
17264 * math/s_csin_template.c: Likewise.
17265 * math/s_csinh_template.c: Likewise.
17266 * math/s_csqrt_template.c: Likewise.
17267 * math/s_ctan_template.c: Likewise.
17268 * math/s_ctanh_template.c: Likewise.
17269 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17270 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17276 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17277 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17278 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17281 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17284 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17285 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17287 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17288 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17289 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17290 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17291 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17292 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17293 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17294 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17295 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17296 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17297 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17298 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17299 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17300 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17339 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17346 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17347 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17349 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17354 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17356 * sysdeps/generic/math-barriers.h: New file.
17357 * sysdeps/generic/math_private.h [!math_opt_barrier]
17358 (math_opt_barrier): Move to math-barriers.h.
17359 [!math_opt_barrier] (math_force_eval): Likewise.
17360 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17361 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17363 (math_force_eval): Likewise.
17364 * sysdeps/alpha/fpu/math-barriers.h: New file.
17365 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17367 (math_force_eval): Likewise.
17368 * sysdeps/x86/fpu/math-barriers.h: New file.
17369 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17371 (math_force_eval): Likewise.
17372 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17373 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17374 multiple-include guard for rename.
17375 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17376 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17378 (math_force_eval): Likewise.
17380 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17384 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17386 * stdlib/Makefile (test-bz22786): New test.
17387 * stdlib/test-bz22786.c: New test.
17389 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17391 * include/math-narrow-eval.h: New file. Contents moved from ....
17392 * sysdeps/generic/math_private.h: ... here.
17393 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17394 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17395 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17396 * stdlib/strtod_l.c: Likewise.
17397 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17398 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17399 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17412 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17413 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17414 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17415 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17416 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17418 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17420 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17421 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17422 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17423 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17424 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17425 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17427 2018-05-08 Andreas Schwab <schwab@suse.de>
17429 * sysdeps/nptl/internaltypes.h: Fix comment.
17431 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17433 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17434 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17437 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17439 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17440 of I into loop header.
17441 * benchtests/bench-memmove-walk.c
17442 (test_main): Likewise.
17444 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17447 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17448 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17450 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17453 * elf/dl-load.c (open_verify): Fix stack overflow.
17454 * elf/Makefile (tst-big-note): New test.
17455 * elf/tst-big-note-lib.S: New.
17456 * elf/tst-big-note.c: New.
17458 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17460 * scripts/abilist.awk: Ignore absolute symbols.
17461 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17462 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17463 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17464 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17465 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17466 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17467 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17468 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17469 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17470 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17471 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17472 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17473 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17474 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17475 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17476 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17477 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17478 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17479 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17480 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17481 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17482 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17483 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17484 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17485 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17486 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17487 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17488 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17489 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17490 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17491 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17492 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17493 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17494 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17495 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17496 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17497 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17498 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17499 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17500 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17501 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17502 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17503 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17504 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17505 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17506 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17507 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17508 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17509 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17510 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17511 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17512 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17513 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17514 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17515 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17516 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17517 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17518 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17519 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17520 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17521 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17522 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17523 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17524 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17525 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17526 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17527 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17528 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17529 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17530 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17531 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17532 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17533 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17534 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17535 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17536 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17537 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17538 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17539 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17540 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17541 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17542 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17543 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17544 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17545 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17546 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17547 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17548 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17549 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17550 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17551 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17552 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17554 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17555 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17556 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17557 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17558 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17559 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17560 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17561 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17562 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17563 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17564 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17565 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17566 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17568 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17569 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17570 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17571 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17572 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17573 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17574 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17575 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17576 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17577 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17578 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17579 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17580 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17581 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17582 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17583 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17590 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17596 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17610 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17611 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17612 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17613 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17617 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17618 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17622 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17629 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17631 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17632 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17634 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17635 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17636 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17637 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17642 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17643 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17644 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17704 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17705 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17707 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17708 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17709 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17710 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17711 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17712 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17713 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17714 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17715 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17716 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17717 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17718 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17719 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17720 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17722 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17723 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17724 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17725 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17726 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17727 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17728 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17729 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17730 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17731 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17732 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17735 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17737 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17738 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17739 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17740 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17741 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17742 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17743 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17744 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17749 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17751 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17752 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17754 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17757 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17758 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17761 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17762 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17763 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17764 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17765 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17766 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17767 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17768 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17773 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17775 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17796 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17803 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17804 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17806 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17807 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17809 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17810 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17811 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17812 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17814 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17817 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17818 Use atomic_load_acquire to load __tid.
17820 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17822 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17823 Restore the pointer into %rdx, after syscall and use %rdx,
17824 instead of %rsi, to restore context.
17826 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17828 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17829 Pop the pointer into %rdx after syscall and use %rdx, instead
17830 of %rsi, to restore context.
17832 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17834 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17835 handlers after setjmp.
17836 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17838 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17839 <libc-pointer-arith.h>.
17840 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17841 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17842 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17843 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17844 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17845 * sysdeps/x86/__longjmp_cancel.S: New file.
17846 * sysdeps/x86/longjmp.c: Likewise.
17847 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17849 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17851 * NEWS: Add ustat.h deprecation entry.
17852 * bits/ustat.h: Remove file.
17853 * misc/sys/ustat.h: Likewise.
17854 * misc/ustat.h: Likewise.
17855 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17856 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17857 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17858 compatibility mode.
17859 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17860 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17861 generic Linux implementation.
17863 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17865 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17866 * math/w_expl_compat.c: Likewise.
17867 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17869 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17871 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17873 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17875 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17876 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17877 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17879 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17881 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17882 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
17883 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
17886 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17888 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
17890 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
17891 * math/w_asin_template.c: Likewise.
17892 * math/w_atanh_template.c: Likewise.
17894 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
17896 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
17897 to powerpc/powerpc64/be for big-endian.
17898 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
17901 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
17902 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
17903 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
17904 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
17905 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17906 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
17907 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
17908 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
17909 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
17910 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17911 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
17912 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
17913 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
17914 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
17915 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
17916 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
17917 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
17918 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
17919 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
17920 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
17921 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
17922 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17923 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
17924 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
17925 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
17926 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17927 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
17928 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
17929 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
17930 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17931 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17932 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17934 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
17935 adjusted to imply powerpc64 and older processors on powerpc64/be.
17936 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
17937 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
17938 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
17939 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
17940 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
17941 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
17942 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
17943 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
17944 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
17945 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
17946 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
17947 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
17948 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
17949 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
17950 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
17951 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
17952 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
17953 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
17954 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
17955 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
17956 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
17957 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
17958 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
17959 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
17960 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
17961 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
17962 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
17963 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
17964 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
17965 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
17966 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
17968 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
17969 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
17970 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
17971 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
17973 * sysdeps/powerpc/powerpc64/be/Implies: New file.
17974 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
17975 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
17976 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
17978 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
17979 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
17980 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
17981 * sysdeps/powerpc/powerpc64le/configure: Likewise.
17982 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
17983 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
17984 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
17985 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
17986 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
17987 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
17988 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
17990 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
17991 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
17992 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
17993 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
17994 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
17995 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
17996 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
17997 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
17998 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
17999 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18000 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18002 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18003 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18004 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18005 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18006 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18007 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18008 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18009 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18010 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18011 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18012 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18013 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18015 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18016 and adjusted to imply olders processors.
18017 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18018 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18019 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18020 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18021 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18022 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18023 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18024 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18025 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18026 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18027 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18046 powerpc64 and adjusted.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18052 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18054 * sysdeps/tile: Remove.
18055 * sysdeps/unix/sysv/linux/tile: Likewise.
18056 * README (tilegx-*-linux-gnu): Remove from list of supported
18058 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18059 contribution of support for generic Linux kernel syscall
18061 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18062 tilegx configurations.
18063 (Config.install_linux_headers): Do not handle tile.
18064 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18066 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18067 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18068 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18069 conditional undefine and redefine.
18070 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18072 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18073 conditional undefine and redefine.
18075 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18077 * signal/tst-sigaction.c: New file to test BZ #23069.
18078 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18080 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18083 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18084 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18085 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18086 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18088 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18090 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18091 _DIRENT_MATCHES_DIRENT64 is not defined.
18092 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18093 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18095 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18096 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18098 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18100 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18101 version to GCC 8 branch.
18103 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18105 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18106 (check_no_hidden): Use type of original function when declaring
18109 * sysdeps/unix/sysv/linux/sys/ptrace.h
18110 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18111 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18112 (struct __ptrace_seccomp_metadata): New type.
18113 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18114 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18115 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18116 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18117 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18118 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18119 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18120 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18121 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18122 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18123 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18124 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18125 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18126 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18127 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18128 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18130 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18132 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18134 * dirent/versionsort.c (versionsort): Likewise.
18135 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18136 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18137 * dirent/versionsort64.c (versionsort64): Likewise.
18138 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18139 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18140 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18141 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18142 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18143 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18144 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18145 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18146 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18147 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18150 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18151 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18153 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18155 * elf/elf.h (NT_PPC_PKEY): New macro.
18157 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18160 * localedata/locales/hr_HR: fix thousands_sep and
18163 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18165 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18166 (XTABS): Define to TAB3.
18168 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18170 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18172 * dirent/scandir-tail-common.c: New file.
18173 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18174 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18175 * dirent/scandir.c: Use scandir-tail-common.c.
18176 * dirent/scandirat.c: Likewise.
18177 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18178 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18179 if _DIRENT_MATCHES_DIRENT64 is defined.
18180 * dirent/scandirat64.c (scandirat64): Likewise.
18181 * include/dirent.h (__scandir_tail): Only define iff
18182 _DIRENT_MATCHES_DIRENT64 is not defined.
18183 (__scandir64_tail): Define regardless.
18184 (__scandirat, scandirat64): Remove libc_hidden_proto.
18185 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18186 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18188 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18189 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18190 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18191 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18193 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18195 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18197 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18199 (_dl_aarch64_cap_flags): Add asimdfhm.
18201 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18203 * sysdeps/nios2/libm-test-ulps: Update.
18205 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18207 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18208 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18210 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18212 (_DIRENT_MATCHES_DIRENT64): Undef
18213 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18214 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18215 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18216 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18217 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18218 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18219 use getdents64 syscalls as base.
18220 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18221 symbol if required.
18222 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18223 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18224 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18225 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18226 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18227 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18228 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18229 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18231 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18232 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18234 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18236 * scripts/test_printers_common.py (init_test): Disable lock elision.
18238 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18240 * math/test-tgmath.c (count_double, count_float,
18241 count_ldouble, count_cdouble, count_cfloat,
18242 count_cldouble): Use volatile int.
18244 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18246 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18247 (conformtest-xfail-conds): Add i386-gnu.
18248 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18250 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18251 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18252 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18253 msqid_ds.msg_lrpid): Likewise.
18254 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18256 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18257 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18258 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18259 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18261 (struct statvfs64): Likewise.
18262 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18264 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18265 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18266 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18267 instead of wait_queue.
18268 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18269 instead of vm_area_struct.
18270 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18271 struct sched_param definition to it.
18272 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18273 * bits/types/struct_sched_param.h: New file.
18274 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18275 <bits/types/struct_sched_param.h> instead of <sched.h>.
18276 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18277 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18278 generic version but include <bits/pthreadtypes.h> to make struct
18279 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18280 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18282 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18283 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18284 [__USE_XOPEN] (OFDEL): New macro.
18285 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18286 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18287 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18289 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18290 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18291 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18293 * sysdeps/i386/sys/ucontext.h: Likewise.
18294 * sysdeps/m68k/sys/ucontext.h: Likewise.
18295 * sysdeps/mips/sys/ucontext.h: Likewise.
18296 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18297 * sysdeps/mach/hurd/i386/Makefile
18298 (test-xfail-POSIX/fcntl.h/conform): Add.
18299 (test-xfail-POSIX/signal.h/conform): Add.
18300 (test-xfail-POSIX/semaphore.h/conform): Add.
18301 (test-xfail-POSIX/regex.h/conform): Add.
18302 (test-xfail-POSIX/aio.h/conform): Add.
18303 (test-xfail-POSIX/mqueue.h/conform): Add.
18304 (test-xfail-POSIX/sys/types.h/conform): Add.
18305 (test-xfail-UNIX98/fcntl.h/conform): Add.
18306 (test-xfail-UNIX98/netdb.h/conform): Add.
18307 (test-xfail-UNIX98/signal.h/conform): Add.
18308 (test-xfail-UNIX98/semaphore.h/conform): Add.
18309 (test-xfail-UNIX98/regex.h/conform): Add.
18310 (test-xfail-UNIX98/aio.h/conform): Add.
18311 (test-xfail-UNIX98/ftw.h/conform): Add.
18312 (test-xfail-UNIX98/mqueue.h/conform): Add.
18313 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18314 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18315 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18316 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18317 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18318 (test-xfail-UNIX98/sys/types.h/conform): Add.
18319 (test-xfail-UNIX98/stdlib.h/conform): Add.
18320 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18321 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18322 (test-xfail-POSIX2008/netdb.h/conform): Add.
18323 (test-xfail-POSIX2008/signal.h/conform): Add.
18324 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18325 (test-xfail-POSIX2008/regex.h/conform): Add.
18326 (test-xfail-POSIX2008/aio.h/conform): Add.
18327 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18328 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18329 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18330 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18331 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18332 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18333 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18334 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18335 (test-xfail-XOPEN2K/signal.h/conform): Add.
18336 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18337 (test-xfail-XOPEN2K/regex.h/conform): Add.
18338 (test-xfail-XOPEN2K/aio.h/conform): Add.
18339 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18340 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18341 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18342 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18343 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18344 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18345 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18346 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18347 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18348 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18349 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18350 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18351 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18352 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18353 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18354 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18355 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18356 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18357 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18358 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18359 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18360 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18361 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18362 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18363 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18364 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18365 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18367 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18368 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18370 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18372 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18373 --enable-obsolete for powerpc-linux-gnuspe.
18375 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18377 * conform/data/sys/un.h-data: Allow sun_ prefix.
18378 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18380 * sysdeps/mach/include/mach.h: Likewise.
18381 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18382 * sysdeps/mach/include/mach_error.h: Likewise.
18384 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18386 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18387 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18388 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18389 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18391 2018-04-16 Andreas Schwab <schwab@suse.de>
18394 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18396 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18398 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18399 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18401 2018-04-12 DJ Delorie <dj@redhat.com>
18403 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18406 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18408 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18409 (struct kernel_sigaction): Use the same definition on 31bit as is used
18412 2018-04-09 Florian Weimer <fweimer@redhat.com>
18415 * resolv/res_send.c (send_dg): Use designated initializers instead
18416 of assignment to zero-initialize other fields of struct mmsghdr.
18418 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18420 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18421 __READDIR_ALIAS): Undefine after usage.
18422 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18423 __READDIR_R_ALIAS): Likewise.
18424 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18425 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18426 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18427 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18428 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18429 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18430 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18431 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18432 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18433 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18434 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18435 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18436 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18437 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18438 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18439 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18440 * sysdeps/unix/sysv/linux/readdir.c: New file.
18441 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18442 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18443 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18445 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18447 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18449 * manual/charset.texi (Converting a Character): Fix typo.
18451 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18455 * sysdeps/arm/libm-test-ulps: Update.
18457 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18458 as base implementation.
18459 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18460 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18461 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18462 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18463 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18464 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18465 remove unrequired definitions and update comments.
18466 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18467 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18468 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18469 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18470 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18471 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18472 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18473 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18474 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18475 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18476 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18477 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18478 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18479 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18480 and RESET_SA_RESTORER hooks.
18482 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18484 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18486 2018-04-05 Florian Weimer <fweimer@redhat.com>
18488 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18489 integer overflow, memory leak on error, and indeterminate errno
18490 value. Add a null wide character to terminate the result string.
18491 * manual/charset.texi (Converting a Character): Mention embedded
18492 null bytes in the mbrtowc input string. Explain what happens in
18493 the -2 result case. Do not claim that mbrtowc is simple or
18494 obvious to use. Adjust the description of the code example. Use
18495 @code, not @var, for concrete variables.
18497 2018-04-05 Florian Weimer <fweimer@redhat.com>
18499 * manual/examples/mbstouwcs.c: New file.
18500 * manual/charset.texi (Converting a Character): Include it.
18502 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18504 * include/dirent.h (dirfd): Add hidden proto.
18505 * dirent/dirfd.c (dirfd): Add hidden def.
18506 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18507 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18509 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18511 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18512 sin, cos and sincos to 1 ULP.
18514 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18517 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18519 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18520 * elf/tst-absolute-sym.c: New file.
18521 * elf/tst-absolute-sym-lib.c: New file.
18522 * elf/tst-absolute-sym-lib.lds: New file.
18523 * elf/Makefile (tests): Add `tst-absolute-sym'.
18524 (modules-names): Add `tst-absolute-sym-lib'.
18525 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18526 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18527 ($(objpfx)tst-absolute-sym): New dependency.
18530 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18532 (SYMBOL_ADDRESS): New macro.
18533 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18534 SYMBOL_ADDRESS for symbol address calculation.
18535 * elf/dl-runtime.c (_dl_fixup): Likewise.
18536 (_dl_profile_fixup): Likewise.
18537 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18538 * elf/rtld.c (dl_main): Likewise.
18539 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18540 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18541 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18542 (elf_machine_rela): Likewise.
18543 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18544 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18545 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18546 (elf_machine_rela): Likewise.
18547 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18548 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18549 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18550 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18552 (elf_machine_reloc): Likewise.
18553 (elf_machine_got_rel): Likewise.
18554 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18555 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18556 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18560 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18566 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18570 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18573 2018-04-04 Zack Weinberg <zackw@panix.com>
18575 * sysdeps/generic/internal-signals.h: Include signal.h,
18576 sigsetops.h, and stdbool.h.
18577 (__libc_signal_block_all): Actually block all signals.
18578 (__libc_signal_block_app): Likewise.
18579 (__libc_signal_restore_set): Actually restore the signal mask.
18581 2018-04-04 Florian Weimer <fweimer@redhat.com>
18583 inet: Actually build and run tst-deadline.
18584 * inet/Makefile (tests-internal): Add tst-deadline and do not
18585 overwrite the variable.
18586 (tests-static-internal): Remove variable.
18588 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18591 * bits/uio-ext.h (RWF_APPEND): New.
18592 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18593 * manual/llio.texi: Document RWF_APPEND.
18594 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18595 (RWF_SUPPORTED): Add RWF_APPEND.
18597 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18600 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18601 check for internal nptl signals.
18602 * nptl/sigaction.c (__sigaction): Likewise.
18603 * signal/sigaddset.c (sigaddset): Likewise.
18604 * signal/sigdelset.c (sigdelset): Likewise.
18605 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18606 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18608 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18609 to filter out internal nptl signals.
18610 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18611 also check realtime signals using standard macros.
18612 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18613 __is_internal_signal, __libc_signal_block_all,
18614 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18615 * sysdeps/nptl/sigfillset.c: Remove file.
18616 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18617 Change return to bool.
18618 (__clear_internal_signals): Remove SIGTIMER clean since it is
18619 equal to SIGCANEL on Linux.
18620 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18621 signal set was constructed using standard functions.
18623 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18625 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18626 ifname is too long.
18627 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18628 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18629 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18631 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18632 * signal/sigaddset.c: Include <sigsetopts.h>.
18633 * signal/sigdelset.c: Likewise.
18635 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18639 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18640 logic as sin and cos.
18642 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18644 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18645 inputs. Return correct sign.
18646 (do_sincos): Remove small input check before do_sin, let do_sin set
18651 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18653 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18654 (do_cos_slow): Likewise.
18655 (do_sin_slow): Likewise.
18656 (reduce_and_compute): Likewise.
18661 (sloww1): Likewise.
18662 (sloww2): Likewise.
18664 (bslow1): Likewise.
18665 (bslow2): Likewise.
18666 (cslow2): Likewise.
18668 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18670 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18671 (do_cos): Remove corp parameter and calculations.
18672 (do_sin): Likewise.
18673 (do_sincos): Remove cor variable.
18674 (__sin): Use do_sincos for huge inputs.
18676 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18677 (reduce_and_compute_sincos): Remove unused function.
18679 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18681 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18682 reduce_sincos, improve accuracy to 136 bits.
18683 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18684 (__sin): Use improved reduction and simplified do_sincos calculation.
18686 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18688 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18690 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18691 (do_sincos_2): Likewise.
18692 (__sin): Remove middle range reduction case.
18694 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18697 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18699 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18703 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18705 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18707 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18710 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18712 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18713 Remove definitions.
18714 (opendir_oflags): Use O_DIRECTORY regardless.
18715 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18716 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18718 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18720 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18721 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18723 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18724 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18725 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18726 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18727 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18728 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18730 * htl/Makefile: Bump licence to LGPL 2.1+.
18731 * htl/alloca_cutoff.c: Likewise.
18732 * htl/cthreads-compat.c: Likewise.
18733 * htl/lockfile.c: Likewise.
18734 * htl/pt-alloc.c: Likewise.
18735 * htl/pt-cancel.c: Likewise.
18736 * htl/pt-cleanup.c: Likewise.
18737 * htl/pt-create.c: Likewise.
18738 * htl/pt-dealloc.c: Likewise.
18739 * htl/pt-detach.c: Likewise.
18740 * htl/pt-exit.c: Likewise.
18741 * htl/pt-getattr.c: Likewise.
18742 * htl/pt-initialize.c: Likewise.
18743 * htl/pt-internal.h: Likewise.
18744 * htl/pt-join.c: Likewise.
18745 * htl/pt-self.c: Likewise.
18746 * htl/pt-setcancelstate.c: Likewise.
18747 * htl/pt-setcanceltype.c: Likewise.
18748 * htl/pt-sigmask.c: Likewise.
18749 * htl/pt-spin-inlines.c: Likewise.
18750 * htl/pt-testcancel.c: Likewise.
18751 * htl/pt-yield.c: Likewise.
18752 * htl/tests/test-1.c: Likewise.
18753 * htl/tests/test-10.c: Likewise.
18754 * htl/tests/test-11.c: Likewise.
18755 * htl/tests/test-12.c: Likewise.
18756 * htl/tests/test-13.c: Likewise.
18757 * htl/tests/test-14.c: Likewise.
18758 * htl/tests/test-15.c: Likewise.
18759 * htl/tests/test-16.c: Likewise.
18760 * htl/tests/test-17.c: Likewise.
18761 * htl/tests/test-2.c: Likewise.
18762 * htl/tests/test-3.c: Likewise.
18763 * htl/tests/test-4.c: Likewise.
18764 * htl/tests/test-5.c: Likewise.
18765 * htl/tests/test-6.c: Likewise.
18766 * htl/tests/test-7.c: Likewise.
18767 * htl/tests/test-8.c: Likewise.
18768 * htl/tests/test-9.c: Likewise.
18769 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18770 * sysdeps/htl/bits/cancelation.h: Likewise.
18771 * sysdeps/htl/bits/pthread-np.h: Likewise.
18772 * sysdeps/htl/bits/pthread.h: Likewise.
18773 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18774 * sysdeps/htl/bits/semaphore.h: Likewise.
18775 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18776 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18777 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18778 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18779 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18780 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18781 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18782 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18783 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18784 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18785 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18786 * sysdeps/htl/old_pt-atfork.c: Likewise.
18787 * sysdeps/htl/pt-atfork.c: Likewise.
18788 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18789 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18790 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18791 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18792 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18793 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18794 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18795 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18796 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18797 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18798 * sysdeps/htl/pt-attr-init.c: Likewise.
18799 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18800 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18801 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18802 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18803 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18804 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18805 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18806 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18807 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18808 * sysdeps/htl/pt-attr.c: Likewise.
18809 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18810 * sysdeps/htl/pt-barrier-init.c: Likewise.
18811 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18812 * sysdeps/htl/pt-barrier.c: Likewise.
18813 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18814 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18815 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18816 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18817 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18818 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18819 * sysdeps/htl/pt-cond-init.c: Likewise.
18820 * sysdeps/htl/pt-cond-signal.c: Likewise.
18821 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18822 * sysdeps/htl/pt-cond-wait.c: Likewise.
18823 * sysdeps/htl/pt-cond.c: Likewise.
18824 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18825 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18826 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18827 * sysdeps/htl/pt-condattr-init.c: Likewise.
18828 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18829 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18830 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18831 * sysdeps/htl/pt-equal.c: Likewise.
18832 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18833 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18834 * sysdeps/htl/pt-getschedparam.c: Likewise.
18835 * sysdeps/htl/pt-getspecific.c: Likewise.
18836 * sysdeps/htl/pt-init-specific.c: Likewise.
18837 * sysdeps/htl/pt-key-create.c: Likewise.
18838 * sysdeps/htl/pt-key-delete.c: Likewise.
18839 * sysdeps/htl/pt-key.h: Likewise.
18840 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18841 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18842 * sysdeps/htl/pt-mutex-init.c: Likewise.
18843 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18844 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18845 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18846 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18847 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18848 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18849 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18850 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18851 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18852 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18853 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18854 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18855 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18856 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18857 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18858 * sysdeps/htl/pt-mutexattr.c: Likewise.
18859 * sysdeps/htl/pt-once.c: Likewise.
18860 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18861 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18862 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18863 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18864 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18865 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18866 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18867 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18868 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18869 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18870 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18871 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18872 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18873 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18874 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18875 * sysdeps/htl/pt-setschedparam.c: Likewise.
18876 * sysdeps/htl/pt-setschedprio.c: Likewise.
18877 * sysdeps/htl/pt-setspecific.c: Likewise.
18878 * sysdeps/htl/pt-spin.c: Likewise.
18879 * sysdeps/htl/pt-startup.c: Likewise.
18880 * sysdeps/htl/pthread.h: Likewise.
18881 * sysdeps/htl/sem-close.c: Likewise.
18882 * sysdeps/htl/sem-destroy.c: Likewise.
18883 * sysdeps/htl/sem-getvalue.c: Likewise.
18884 * sysdeps/htl/sem-init.c: Likewise.
18885 * sysdeps/htl/sem-open.c: Likewise.
18886 * sysdeps/htl/sem-post.c: Likewise.
18887 * sysdeps/htl/sem-timedwait.c: Likewise.
18888 * sysdeps/htl/sem-trywait.c: Likewise.
18889 * sysdeps/htl/sem-unlink.c: Likewise.
18890 * sysdeps/htl/sem-wait.c: Likewise.
18891 * sysdeps/hurd/htl/pt-kill.c: Likewise.
18892 * sysdeps/i386/htl/pt-machdep.h: Likewise.
18893 * sysdeps/mach/htl/pt-block.c: Likewise.
18894 * sysdeps/mach/htl/pt-spin.c: Likewise.
18895 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
18896 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
18897 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
18898 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
18899 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
18900 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
18901 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
18902 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
18903 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
18904 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
18905 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
18906 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
18907 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
18908 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
18909 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
18910 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
18911 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
18912 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
18913 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
18914 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
18915 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
18916 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
18917 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
18918 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
18919 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
18920 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
18921 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
18922 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
18923 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
18924 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
18925 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
18926 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
18927 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
18928 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
18929 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
18930 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
18931 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
18932 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
18933 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
18934 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
18935 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
18936 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
18937 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
18939 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
18940 * README: Remove the mention of out-of-tree patches needed for
18943 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
18944 (UTIME_NOW, UTIME_OMIT): Define macros.
18946 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
18947 instead of pthread_detach.
18948 (__cthread_fork): Call __pthread_create instead of pthread_create.
18949 (__cthread_keycreate): Call __pthread_key_create instead of
18950 pthread_key_create.
18951 (__cthread_getspecific): Call __pthread_getspecific instead of
18952 pthread_getspecific.
18953 (__cthread_setspecific): Call __pthread_setspecific instead of
18954 pthread_setspecific.
18955 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
18956 __pthread_mutex_unlock instead of pthread_mutex_lock and
18957 pthread_mutex_unlock.
18958 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
18959 ___pthread_get_cleanup_stack.
18960 (__pthread_get_cleanup_stack): New strong alias.
18961 * htl/pt-create.c: Include <pthreadP.h>.
18962 (entry_point): Call __pthread_exit instead of pthread_exit.
18963 (pthread_create): Rename to __pthread_create.
18964 (pthread_create): New strong alias.
18965 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
18966 (pthread_detach): New strong alias.
18967 (__pthread_detach): Call __pthread_cond_broadcast instead of
18968 pthread_cond_broadcast.
18969 * htl/pt-exit.c: Include <pthreadP.h>.
18970 (__pthread_exit): Call __pthread_setcancelstate and
18971 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
18972 __pthread_get_cleanup_stack.
18973 * htl/pt-testcancel.c: Include <pthreadP.h>.
18974 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
18975 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
18976 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
18977 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
18978 pthread_attr_getstacksize.
18979 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
18980 Rename to __pthread_attr_getstackaddr.
18981 (pthread_attr_getstackaddr): New strong alias.
18982 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
18983 Rename to __pthread_attr_getstacksize.
18984 (pthread_attr_getstacksize): New strong alias.
18985 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
18986 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
18987 (pthread_attr_setstack): New strong alias.
18988 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
18989 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
18990 pthread_attr_getstacksize, pthread_attr_setstacksize and
18991 pthread_attr_setstackaddr.
18992 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
18993 Rename to __pthread_attr_setstackaddr.
18994 (pthread_attr_setstackaddr): New strong alias.
18995 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
18996 Rename to __pthread_attr_setstacksize.
18997 (pthread_attr_setstacksize): New strong alias.
18998 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
18999 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19001 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19002 (__pthread_key_create): New hidden def.
19003 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19004 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19005 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19006 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19007 __pthread_setspecific, __pthread_setcancelstate,
19008 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19009 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19010 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19012 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19013 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19014 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19015 (pthread_attr_setstackaddr): New strong alias.
19016 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19017 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19018 (pthread_attr_setstacksize): New strong alias.
19019 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19020 (call_exit): Call __pthread_exit instead of pthread_exit.
19021 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19022 (_pthread_mutex_init): New hidden definition.
19023 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19024 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19025 instead of pthread_attr_init and pthread_attr_setstack.
19027 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19028 __vm_deallocate instead of vm_allocate and vm_deallocate.
19029 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19031 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19033 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19035 * hurd/siginfo.c: Include <libioP.h>.
19036 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19037 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19039 * mach/devstream.c: Include <libioP.h>.
19040 (dealloc_ref): Call __mach_port_deallocate instead of
19041 mach_port_deallocate.
19042 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19043 Call __mach_port_deallocate instead of mach_port_deallocate.
19044 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19046 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19048 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19049 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19050 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19052 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19054 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19055 instead of sysconf.
19056 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19057 __clock_gettime instead of clock_gettime.
19058 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19059 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19060 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19061 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19062 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19064 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19065 __clock_gettime and __nanosleep instead of clock_gettime and
19067 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19068 __hurd_catch_signal.
19069 (hurd_catch_signal): New strong alias.
19070 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19071 __hurd_catch_signal instead of hurd_catch_signal.
19072 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19073 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19074 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19075 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19076 (_hurd_thread_sigstate): Add hidden def.
19077 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19079 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19080 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19081 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19082 __hurd_file_name_path_lookup.
19083 (hurd_file_name_path_lookup): New strong alias.
19084 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19085 hurd_file_name_path_lookup.
19086 * mach/errstring.c (mach_error_type): Add hidden def.
19087 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19088 * mach/mutex-init.c (__mutex_init): Add hidden def.
19089 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19090 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19091 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19092 * sysdeps/mach/hurd/getcwd.c
19093 (_hurd_canonicalize_directory_name_internal): Rename to
19094 __hurd_canonicalize_directory_name_internal.
19095 (_hurd_canonicalize_directory_name_internal): New strong alias.
19096 (__canonicalize_directory_name_internal, __getcwd): Call
19097 __hurd_canonicalize_directory_name_internal instead of
19098 _hurd_canonicalize_directory_name_internal.
19099 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19100 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19102 * sysdeps/hurd/include/hurd.h: New file.
19103 * sysdeps/hurd/include/hurd/fd.h: New file.
19104 * sysdeps/hurd/include/hurd/signal.h: New file.
19105 * sysdeps/mach/include/lock-intern.h: New file.
19106 * sysdeps/mach/include/mach.h: New file.
19107 * sysdeps/mach/include/mach/mig_support.h: New file.
19108 * sysdeps/mach/include/mach_error.h: New file.
19109 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19111 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19112 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19113 _HEADER_H_HIDDEN_DEF macro.
19114 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19115 _hurd_fd_error_signal): Add hidden prototype.
19116 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19118 * libio/iolibio.h (_IO_puts): New hidden prototype.
19119 * libio/ioputs.c (_IO_puts): New hidden def.
19120 * sysdeps/mach/hurd/localplt.data: New file.
19122 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19123 Amos Jeffries <squid3@treenet.co.nz>
19124 David Michael <fedora.dm0@gmail.com>
19125 Marco Gerards <marco@gnu.org>
19126 Marcus Brinkmann <marcus@gnu.org>
19127 Neal H. Walfield <neal@gnu.org>
19128 Pino Toscano <toscano.pino@tiscali.it>
19129 Richard Braun <rbraun@sceen.net>
19130 Roland McGrath <roland@gnu.org>
19131 Samuel Thibault <samuel.thibault@ens-lyon.org>
19132 Thomas DiModica <ricinwich@yahoo.com>
19133 Thomas Schwinge <tschwinge@gnu.org>
19135 * htl: New directory.
19136 * sysdeps/htl: New directory.
19137 * sysdeps/hurd/htl: New directory.
19138 * sysdeps/i386/htl: New directory.
19139 * sysdeps/mach/htl: New directory.
19140 * sysdeps/mach/hurd/htl: New directory.
19141 * sysdeps/mach/hurd/i386/htl: New directory.
19142 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19143 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19144 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19146 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19148 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19149 signals in thread created for runing timers.
19151 2018-04-01 Florian Weimer <fweimer@redhat.com>
19153 * support/support_format_addrinfo.c (support_format_addrinfo):
19154 Include unknown error number in formatted result.
19156 2018-03-29 Florian Weimer <fweimer@redhat.com>
19158 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19161 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19163 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19164 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19165 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19166 (__ASSUME_CLONE_BACKWARDS): Define.
19168 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19171 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19172 early when linux sentinel value is set.
19174 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19176 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19178 2018-03-27 Andreas Schwab <schwab@suse.de>
19181 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19182 allocation of private copy of nsaddr_list fails.
19184 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19187 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19188 * sysdeps/unix/sysv/linux/umount.c: ... here.
19189 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19190 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19191 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19192 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19194 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19195 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19197 2018-03-26 Andreas Schwab <schwab@suse.de>
19199 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19200 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19201 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19202 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19203 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19204 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19205 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19206 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19207 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19208 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19209 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19210 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19211 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19212 (R_RISCV_NUM): Define.
19214 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19216 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19217 TLS declaration of errno.
19218 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19220 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19221 (ARCH_SETUP_TLS): Likewise.
19222 * sysdeps/mach/hurd/libc-start.h: New file copied from
19223 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19224 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19225 instead of __libc_setup_tls.
19226 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19227 __libc_setup_tls before initializing libpthread and running _hurd_init
19228 which starts the signal thread.
19229 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19231 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19233 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19236 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19237 after it is defined.
19239 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19240 Max Horn <max@quendi.de>
19244 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19246 * string/test-memmove.c (do_test2): New testcase.
19248 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19250 * sysdeps/generic/frame.h: Remove file.
19251 * sysdeps/arm/frame.h: Likewise.
19252 * sysdeps/hppa/frame.h: Likewise.
19253 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19255 (GET_FRAME): Likewise.
19256 (GET_STACK): Likewise.
19257 (CALL_SIGHANDLER): Likewise.
19258 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19260 (GET_FRAME): Likewise.
19261 (GET_STACK): Likewise.
19262 (CALL_SIGHANDLER): Likewise.
19263 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19264 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19265 (GET_FRAME): Likewise.
19266 (GET_STACK): Likewise.
19267 (CALL_SIGHANDLER): Likewise.
19268 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19269 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19270 (GET_FRAME): Likewise.
19271 (GET_STACK): Likewise.
19272 (ADVANCE_STACK_FRAME): Likewise.
19273 (CALL_SIGHANDLER): Likewise.
19274 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19275 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19276 (GET_FRAME): Likewise.
19277 (GET_STACK): Likewise.
19278 (CALL_SIGHANDLER): Likewise.
19279 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19280 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19281 (GET_FRAME): Likewise.
19282 (GET_STACK): Likewise.
19283 (CALL_SIGHANDLER): Likewise.
19284 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19285 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19286 (GET_FRAME): Likewise.
19287 (GET_STACK): Likewise.
19288 (CALL_SIGHANDLER): Likewise.
19289 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19290 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19291 (GET_FRAME): Likewise.
19292 (GET_STACK): Likewise.
19293 (CALL_SIGHANDLER): Likewise.
19294 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19295 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19296 (GET_FRAME): Likewise.
19297 (GET_STACK): Likewise.
19298 (CALL_SIGHANDLER): Likewise.
19299 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19300 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19301 (GET_FRAME): Likewise.
19302 (GET_STACK): Likewise.
19303 (CALL_SIGHANDLER): Likewise.
19304 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19305 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19306 (GET_FRAME): Likewise.
19307 (GET_STACK): Likewise.
19308 (CALL_SIGHANDLER): Likewise.
19309 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19310 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19311 (GET_FRAME): Likewise.
19312 (GET_STACK): Likewise.
19313 (CALL_SIGHANDLER): Likewise.
19314 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19315 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19316 (GET_FRAME): Likewise.
19317 (GET_STACK): Likewise.
19318 (CALL_SIGHANDLER): Likewise.
19319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19320 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19321 (FIRST_FRAME_POINTER): Likewise.
19322 (ADVANCE_STACK_FRAME): Likewise.
19323 (GET_STACK): Likewise.
19324 (GET_FRAME): Likewise.
19325 (CALL_SIGHANDLER): Likewise.
19326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19327 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19328 (ADVANCE_STACK_FRAME): Likewise.
19329 (GET_STACK): Likewise.
19330 (GET_FRAME): Likewise.
19331 (CALL_SIGHANDLER): Likewise.
19332 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19333 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19334 (GET_FRAME): Likewise.
19335 (GET_STACK): Likewise.
19336 (CALL_SIGHANDLER): Likewise.
19337 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19338 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19339 (GET_FRAME): Likewise.
19340 (GET_STACK): Likewise.
19341 (CALL_SIGHANDLER): Likewise.
19343 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19345 * sysdeps/x86_64/backtrace.c: Move to ....
19346 * debug/backtrace.c: ... here.
19347 * sysdeps/aarch64/backtrace.c: Remove file.
19348 * sysdeps/alpha/backtrace.c: Likewise.
19349 * sysdeps/hppa/backtrace.c: Likewise.
19350 * sysdeps/ia64/backtrace.c: Likewise.
19351 * sysdeps/mips/backtrace.c: Likewise.
19352 * sysdeps/nios2/backtrace.c: Likewise.
19353 * sysdeps/riscv/backtrace.c: Likewise.
19354 * sysdeps/sh/backtrace.c: Likewise.
19355 * sysdeps/tile/backtrace.c: Likewise.
19357 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19360 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19363 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19366 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19367 possibly overflowing computations.
19369 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19371 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19372 values from Linux-specific section now that it is in the GNU section.
19373 * sysdeps/gnu/errlist.c: Regenerate.
19375 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19377 * math/Makefile (libm-narrow-fns): Add sub.
19378 (libm-test-funcs-narrow): Likewise.
19379 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19380 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19381 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19382 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19383 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19384 (NARROW_SUB_TRIVIAL): Likewise.
19385 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19387 (__dsubl): Likewise.
19388 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19390 (CFLAGS-nldbl-dsub.c): New variable.
19391 (CFLAGS-nldbl-fsub.c): Likewise.
19392 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19394 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19396 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19397 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19398 * math/auto-libm-test-in: Add tests of sub.
19399 * math/auto-libm-test-out-narrow-sub: New generated file.
19400 * math/libm-test-narrow-sub.inc: New file.
19401 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19404 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19405 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19406 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19407 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19408 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19409 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19410 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19411 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19412 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19413 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19414 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19415 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19416 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19417 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19418 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19420 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19421 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19422 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19423 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19424 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19425 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19426 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19427 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19428 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19429 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19430 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19431 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19432 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19437 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19438 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19439 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19440 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19441 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19442 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19443 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19444 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19445 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19446 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19448 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19451 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19453 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19455 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19457 2018-03-18 Richard Braun <rbraun@sceen.net>
19459 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19462 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19464 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19465 (__libc_cleanup_fct): Define function.
19466 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19467 __libc_cleanup_end): Rewrite implementation using
19468 __attribute__ ((__cleanup__)).
19469 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19470 * hurd/Makefile (routines): Add hurdlock.
19471 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19473 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19474 * hurd/hurdpid.c: Include <lowlevellock.h>
19475 (_S_msg_proc_newids): Use lll_wait to synchronize.
19476 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19477 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19478 * mach/Makefile (lock-headers): Remove machine-lock.h.
19479 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19481 (__spin_lock_t): New type.
19482 (__SPIN_LOCK_INITIALIZER): New macro.
19483 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19484 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19485 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19486 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19487 (__mutex_init): Initialize with lll.
19488 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19489 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19491 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19492 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19493 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19494 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19495 (__setpgid): Use lll for synchronization.
19496 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19497 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19498 instead of <cthreads.h>.
19499 (_IO_lock_inexpensive): New macro
19500 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19501 (__libc_lock_self0): New declaration.
19502 (__libc_lock_owner_self): New macro.
19503 (__libc_key_t): Remove type.
19504 (_LIBC_LOCK_INITIALIZER): New macro.
19505 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19506 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19507 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19508 __libc_lock_define_initialized_recursive,
19509 __rtld_lock_define_initialized_recursive,
19510 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19511 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19512 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19513 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19514 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19515 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19516 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19518 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19519 * hurd/hurdlock.c: New file.
19520 * hurd/hurdlock.h: New file.
19521 * mach/lowlevellock.h: New file
19523 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19525 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19526 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19527 when opening a symlink with O_NOFOLLOW.
19528 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19529 path when flags contains O_NOFOLLOW.
19530 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19531 if flags contains O_DIRECTORY and the result is a directory.
19532 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19533 oneself when the pointer given in D is nul (as set by ext2fs).
19534 * sysdeps/mach/hurd/mlockall.c: New file.
19535 * sysdeps/mach/hurd/munlockall.c: New file.
19537 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19539 * hurd/hurdsig.c: Include <pthread.h>.
19540 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19541 get the signal thread stack layout.
19542 * hurd/Makefile (headers): Remove threadvar.h.
19543 (inline-headers): Remove threadvar.h.
19544 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19545 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19546 __hurd_threadvar_max, __hurd_errno_location.
19547 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19548 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19549 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19550 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19551 unless TLS is not initialized yet, in which case we do not need a
19552 critical section yet anyway.
19553 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19555 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19557 (__hurd_threadvar_index): Remove enum.
19558 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19559 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19561 (__hurd_reply_port0): New variable declaration.
19562 (__hurd_local_reply_port): New macro.
19563 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19564 (interrupted_reply_port_location): Add thread_t parameter. Use it
19565 with THREAD_TCB to access thread-local variables.
19566 (_hurdsig_abort_rpcs): Pass ss->thread to
19567 interrupted_reply_port_location.
19568 (_hurd_internal_post_signal): Likewise.
19569 (_hurdsig_init): Use presence of cthread_fork instead of
19570 __hurd_threadvar_stack_mask to start signal thread by hand.
19571 Remove signal thread threadvar initialization.
19572 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19573 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19574 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19576 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19578 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19579 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19580 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19581 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19582 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19583 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19584 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19586 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19587 <hurd/threadvar.h>.
19588 [IS_IN(rtld)] (rtld_errno): New variable.
19589 [IS_IN(rtld)] (__errno_location): New weak function.
19590 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19591 * sysdeps/mach/hurd/errno.c: Remove file.
19592 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19593 (__fork): Remove THREADVAR_SPACE macro and its use.
19594 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19596 (init): Do not initialize threadvar.
19597 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19599 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19600 __hurd_local_reply_port instead of threadvar.
19601 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19602 _hurd_sigstate fields.
19603 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19604 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19605 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19606 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19607 instead of threadvar.
19608 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19609 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19610 (use_threadvar, global_reply_port): Remove variables.
19611 (__hurd_reply_port0): New variable.
19612 (__mig_get_reply_port): Use __hurd_local_reply_port and
19613 __hurd_reply_port0 instead of threadvar.
19614 (__mig_dealloc_reply_port): Likewise.
19615 (__mig_init): Do not initialize threadvar.
19616 * sysdeps/mach/hurd/profil.c: Fix comment.
19617 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19618 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19619 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19620 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19621 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19622 __cthread_setspecific.
19623 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19624 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19625 __cthread_t instead of cthread_fork, cthread_detach,
19626 pthread_getattr_np, pthread_attr_getstack.
19627 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19628 __cthread_keycreate.
19629 (cthread_getspecific): Rename to __cthread_getspecific.
19630 (cthread_setspecific): Rename to __cthread_setspecific.
19631 (__libc_getspecific): Use __cthread_getspecific instead of
19632 cthread_getspecific.
19633 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19634 __cthread_keycreate instead of cthread_keycreate.
19635 (__libc_setspecific): Use __cthread_setspecific instead of
19636 cthread_setspecific.
19637 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19639 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19640 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19641 testing whether it is defined.
19643 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19645 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19647 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19648 * sysdeps/mach/i386/thread_state.h
19649 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19651 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19653 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19655 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19656 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19658 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19660 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19661 descriptor instead of creating a new one.
19662 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19664 * mach/setup-thread.c: Include <ldsodefs.h>.
19665 (__mach_setup_thread): Call _dl_allocate_tls, pass
19666 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19667 MACHINE_THREAD_STATE_FLAVOR, before getting
19668 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19669 MACHINE_THREAD_STATE_FLAVOR with the result.
19670 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19671 MACHINE_THREAD_STATE_FIX_NEW.
19672 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19673 too. Add original thread parameter.
19675 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19677 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19678 Remove inline function.
19680 * sysdeps/i386/fpu/libm-test-ulps: Update.
19681 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19683 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19685 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19688 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19690 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19691 (__sincos_code): Remove define and undefine.
19692 [__FAST_MATH__] (__sincos): Remove inline function.
19693 [__FAST_MATH__] (__sincosf): Remove inline function.
19694 [__FAST_MATH__] (__sincosl): Remove inline function.
19695 (__atan2l): Remove inline functions.
19696 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19697 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19699 (floor): Remove inline function.
19701 [__FAST_MATH__] (__ldexp_code): Remove macro.
19702 [__FAST_MATH__] (ldexp): Remove inline function.
19703 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19704 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19705 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19706 [__USE_ISOC99] (__lrint_code): Remove macro.
19707 [__USE_ISOC99] (__llrint_code): Likewise.
19708 [__USE_ISOC99] (lrintf): Remove inline function.
19709 [__USE_ISOC99] (lrint): Likewise.
19710 [__USE_ISOC99] (lrintl): Likewise.
19711 [__USE_ISOC99] (llrint): Likewise.
19712 [__USE_ISOC99] (llrintf): Likewise.
19713 [__USE_ISOC99] (llrintl): Likewise.
19715 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19717 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19718 (__ieee754_sqrtf): Remove.
19719 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19720 (__ieee754_sqrtf): Remove.
19721 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19722 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19723 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19724 (__ieee754_sqrtf): Remove.
19725 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19726 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19729 (__ieee754_sqrt): Remove.
19730 (__ieee754_sqrtf): Remove.
19731 (__ieee754_sqrtl): Remove.
19732 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19733 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19734 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19735 (__ieee754_sqrtf): Remove.
19736 (__ieee754_sqrtl): Remove.
19738 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19740 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19741 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19742 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19743 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19744 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19745 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19746 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19747 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19749 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19750 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19751 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19752 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19753 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19754 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19755 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19756 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19757 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19758 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19759 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19760 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19761 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19762 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19763 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19764 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19765 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19766 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19767 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19771 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19774 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19777 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19778 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19779 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19780 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19781 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19782 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19783 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19784 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19785 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19786 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19787 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19788 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19790 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19792 * include/math.h (sqrt): Declare with asm redirect.
19795 (sqrtf128): Likewise.
19796 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19797 nonlib and libnldbl with -fmath-errno.
19798 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19799 * math/w_sqrt_template.c: Likewise.
19800 * math/w_sqrtf_compat.c: Likewise.
19801 * math/w_sqrtl_compat.c: Likewise.
19802 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19803 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19804 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19807 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19809 * benchtests/Makefile: Define _ISOMAC.
19810 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19811 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19812 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19813 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19814 * benchtests/bench-timing.h: Define attribute_hidden.
19816 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19818 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19821 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19824 * localedata/locales/cs_CZ (mon): Rename to...
19826 (mon): Import from CLDR (genitive case).
19828 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19831 * localedata/locales/el_CY (abmon): Rename to...
19832 (ab_alt_mon): This.
19833 (abmon): Import from CLDR (abbreviated genitive case).
19834 * localedata/locales/el_GR (abmon): Rename to...
19835 (ab_alt_mon): This.
19836 (abmon): Import from CLDR (abbreviated genitive case).
19838 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19841 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19843 2018-03-15 Robert Buj <robert.buj@gmail.com>
19846 * localedata/locales/ca_ES (abmon): Rename to...
19847 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19848 (mon): Rename to...
19850 (abmon): Import from CLDR (genitive case, month names preceded by
19853 (abday): Synchronize with CLDR.
19854 (d_t_fmt): Likewise.
19858 (LC_TIME): Improve indentation.
19859 (LC_TELEPHONE): Likewise.
19860 (LC_NAME): Likewise.
19861 (LC_ADDRESS): Likewise.
19863 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19865 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19866 (lrintf): Remove definitions used only with old GCC.
19867 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19868 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19869 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19870 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19871 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19872 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19873 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19874 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19875 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19876 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19877 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19878 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19879 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19880 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19881 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
19882 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
19883 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
19884 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
19885 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
19886 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
19887 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
19888 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
19889 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
19890 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
19891 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
19892 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
19893 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
19894 [__FAST_MATH__] (__M_SQRT2): Remove macro.
19896 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
19898 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
19899 instruction to unbreak builds with binutils 2.26 and older.
19901 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
19903 * sysdeps/aarch64/strncmp.S (count): New macro.
19904 (strncmp): Store misaligned length in SRC1 in COUNT.
19905 (mutual_align): Adjust.
19906 (misaligned8): Load dword at a time when it is safe.
19908 2018-03-12 Zack Weinberg <zackw@panix.com>
19912 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
19913 if the _IO_EOF_SEEN bit is already set; update commentary.
19914 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
19915 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19917 * support/support_openpty.c, support/tty.h: New files.
19918 * support/Makefile (libsupport-routines): Add support_openpty.
19920 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
19922 * libio/Makefile (tests): Add tst-fgetc-after-eof.
19923 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
19925 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
19927 * po/pt_BR.po: Update translations.
19929 2018-03-12 David Michael <fedora.dm0@gmail.com>
19931 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
19932 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
19933 get a port to the startup server.
19935 2018-03-11 Zack Weinberg <zackw@panix.com>
19937 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
19938 before nldbl-compat.h.
19940 2018-03-10 Zack Weinberg <zackw@panix.com>
19942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
19943 math.h or math_private.h.
19945 * sysdeps/alpha/fpu/s_isnan.c
19946 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
19947 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
19948 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
19949 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
19950 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
19951 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
19952 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
19953 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
19954 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
19955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
19956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
19957 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
19958 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
19959 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
19960 Include math_private.h.
19962 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
19963 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
19964 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
19965 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
19966 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
19967 * sysdeps/powerpc/power7/fpu/s_logb.c:
19968 Include math.h and math_private.h.
19970 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
19971 uses of $at in .set noat / .set at.
19973 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
19975 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
19976 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
19977 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
19978 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
19981 2018-03-09 Florian Weimer <fweimer@redhat.com>
19983 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
19986 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
19989 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
19990 Add nop before __startcontext, add explaining comments.
19992 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19995 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
19997 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
19998 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
19999 Do not build hardware transactional code for __SPE__.
20000 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20001 (__lll_trylock_elision): Likewise.
20002 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20003 (__lll_unlock_elision): Likewise.
20005 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20006 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20007 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20008 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20009 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20010 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20011 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20012 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20013 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20014 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20015 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20016 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20017 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20018 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20019 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20020 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20021 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20022 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20023 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20024 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20025 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20026 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20027 (__ASSUME_CLONE_BACKWARDS): Define.
20028 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20029 __clone2 if __NR_clone2 is defined.
20030 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20031 (__ASSUME_CLONE_BACKWARDS): Likewise.
20032 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20033 (__ASSUME_CLONE_BACKWARDS): Likewise.
20034 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20035 (__ASSUME_CLONE2): Likewise.
20036 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20037 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20038 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20039 variants and the define architecture can use.
20040 (__ASSUME_CLONE_DEFAULT): Define as default.
20041 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20042 (__ASSUME_CLONE_BACKWARDS): Likewise.
20043 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20044 (__ASSUME_CLONE_BACKWARDS): Likewise.
20045 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20046 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20048 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20050 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20052 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20055 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20056 (do_test_limit): Likewise.
20058 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20059 for every implementation.
20060 (do_test): Likewise.
20062 * benchtests/bench-strncmp.c: Convert output to json.
20064 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20066 * io/futimens.c: Add missing start-of-file descriptive comment.
20067 * io/utime.c: Likewise.
20068 * misc/futimesat.c: Likewise.
20069 * misc/utimes.c: Likewise.
20070 * sysdeps/mach/hurd/futimesat.c: Likewise.
20071 * sysdeps/mach/hurd/utimes.c: Likewise.
20072 * sysdeps/posix/utime.c: Likewise.
20073 * sysdeps/posix/utimes.c: Likewise.
20074 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20075 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20076 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20077 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20079 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20081 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20083 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20084 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20085 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20086 (__futimens): Move implementation to...
20087 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20088 utime_tvalue_from_tspec): ... new helper functions.
20089 (hurd_futimens): New function.
20090 * sysdeps/mach/hurd/futimesat.c: New file.
20091 * sysdeps/mach/hurd/utimensat.c: New file.
20093 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20095 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20096 UTIME_OMIT): New macros.
20097 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20098 before reverting to converting time spec to time value and calling
20100 * sysdeps/mach/hurd/utime-helper.c: New file.
20101 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20102 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20103 reverting to utime_tvalue_from_tval and __file_utimes.
20104 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20105 (__lutimes): Just call hurd_futimens after lookup.
20106 * sysdeps/mach/hurd/utimes.c: Likewise.
20108 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20110 * bits/sigaction.h: Add include guard.
20111 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20112 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20113 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20114 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20115 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20116 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20117 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20118 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20119 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20121 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20123 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20124 -Wmaybe-uninitialized for -Os.
20125 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20128 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20130 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20131 __INO_T_MATCHES_INO64_T is defined.
20132 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20133 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20135 * dirent/alphasort64.c: Likewise.
20136 * dirent/scandir.c: Likewise.
20137 * dirent/scandir64-tail.c: Likewise.
20138 * dirent/scandir64.c: Likewise.
20139 * dirent/scandirat.c: Likewise.
20140 * dirent/scandirat64.c: Likewise.
20141 * dirent/versionsort.c: Likewise.
20142 * dirent/versionsort64.c: Likewise.
20143 * include/dirent.h: Likewise.
20145 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20146 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20147 for socketpair endpoint.
20148 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20149 WRITE_BUFFER_SIZE as buffer size for sending socket.
20150 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20151 issue on system where send is implemented with sendto syscall.
20152 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20153 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20154 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20155 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20158 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20159 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20160 sa_restorer for vDSO case.
20161 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20163 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20165 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20166 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20167 * hurd/hurd/ioctl.h: Include <mach/port.h>
20168 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20169 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20170 <mach/mach_types.h> and <mach/message.h>.
20171 (headers): Move mach/param.h to bits/mach/param.h.
20172 * sysdeps/mach/i386/mach/param.h: Move file to ...
20173 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20174 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20176 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20177 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20178 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20179 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20180 trivial, for C++ conformity.
20181 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20182 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20183 Process mig output through $(migheadersed).
20184 * hurd/Makefile (migheadersed): Define variable.
20185 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20186 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20188 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20189 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20190 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20191 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20192 <bits/types/sigset_t.h>.
20193 [!defined __USE_GNU]: Do not #error out.
20194 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20195 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20196 Include <stddef.h> and <bits/types/sigset_t.h>
20197 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20198 instead of sighandler_t.
20199 * stdlib/errno.h (error_t): Move definition to...
20200 * bits/types/error_t.h: ... new header.
20201 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20202 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20203 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20204 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20205 * hurd/hurd.h: Include <bits/types/error_t.h>
20206 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20207 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20208 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20209 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20210 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20211 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20212 * sysdeps/mach/hurd/futimens.c: New file.
20214 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20217 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20218 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20219 * nscd/gai.c (__nss_hosts_database): Readd definition.
20220 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20221 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20222 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20224 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20226 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20227 (ifunc_one): Likewise.
20229 2018-03-01 DJ Delorie <dj@delorie.com>
20232 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20235 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20237 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20238 `match_pid' parameter.
20239 (td_ta_thr_iter): Update accordingly.
20241 2018-03-01 Florian Weimer <fweimer@redhat.com>
20243 * nptl/Makefile (install-lib-ldscripts): Remove.
20244 (install): Remove rule.
20245 ($(inst_libdir)/libpthread.so): Likewise.
20247 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20250 * localedata/locales/an_ES: update month and day names,
20251 improve d_fmt, improve postal_fmt, add country_post,
20254 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20256 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20257 Ukrainian instead of Bulgarian.
20259 2018-03-01 Florian Weimer <fweimer@redhat.com>
20261 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20264 2018-03-01 Florian Weimer <fweimer@redhat.com>
20266 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20267 * nptl/Makefile (routines): Add pthread_atfork.
20268 (static-only-routines): Set to pthread_atfork.
20269 (libpthread-routines): Remove pthread_atfork.
20270 (libpthread-static-only-routines): Remove.
20271 (install): Update comment.
20272 (libpthread.so): Do not install libpthread_nonshared.a.
20273 (tests): Do not link with libpthread_nonshared.a.
20274 (generated): Remove libpthread_nonshared.a.
20275 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20276 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20277 with libpthread_nonshared.a.
20279 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20282 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20283 (libc_feholdexcept_setroundf128): New macro.
20284 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20287 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20289 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20290 * include/inttypes.h: New file.
20292 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20294 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20295 -Os in two more places.
20297 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20299 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20300 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20301 be sorted correctly at the moment because of a bug.
20303 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20305 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20306 treat ñ as a primary different character, sync the collation
20307 for Spanish with CLDR.
20308 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20309 * localedata/Makefile: Add new test files.
20310 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20311 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20313 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20314 * localedata/am_ET.UTF-8.in: New test file.
20315 * localedata/az_AZ.UTF-8.in: Likewise.
20316 * localedata/be_BY.UTF-8.in: Likewise.
20317 * localedata/ber_DZ.UTF-8.in: Likewise.
20318 * localedata/ber_MA.UTF-8.in: Likewise.
20319 * localedata/bg_BG.UTF-8.in: Likewise.
20320 * localedata/br_FR.UTF-8.in: Likewise.
20321 * localedata/cmn_TW.UTF-8.in: Likewise.
20322 * localedata/crh_UA.UTF-8.in: Likewise.
20323 * localedata/csb_PL.UTF-8.in: Likewise.
20324 * localedata/cv_RU.UTF-8.in: Likewise.
20325 * localedata/cy_GB.UTF-8.in: Likewise.
20326 * localedata/dz_BT.UTF-8.in: Likewise.
20327 * localedata/eo.UTF-8.in: Likewise.
20328 * localedata/es_ES.UTF-8.in: Likewise.
20329 * localedata/fa_IR.UTF-8.in: Likewise.
20330 * localedata/fi_FI.UTF-8.in: Likewise.
20331 * localedata/fil_PH.UTF-8.in: Likewise.
20332 * localedata/fur_IT.UTF-8.in: Likewise.
20333 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20334 * localedata/ha_NG.UTF-8.in: Likewise.
20335 * localedata/ig_NG.UTF-8.in: Likewise.
20336 * localedata/ik_CA.UTF-8.in: Likewise.
20337 * localedata/kk_KZ.UTF-8.in: Likewise.
20338 * localedata/ku_TR.UTF-8.in: Likewise.
20339 * localedata/ky_KG.UTF-8.in: Likewise.
20340 * localedata/ln_CD.UTF-8.in: Likewise.
20341 * localedata/mi_NZ.UTF-8.in: Likewise.
20342 * localedata/ml_IN.UTF-8.in: Likewise.
20343 * localedata/mn_MN.UTF-8.in: Likewise.
20344 * localedata/mr_IN.UTF-8.in: Likewise.
20345 * localedata/mt_MT.UTF-8.in: Likewise.
20346 * localedata/nb_NO.UTF-8.in: Likewise.
20347 * localedata/om_KE.UTF-8.in: Likewise.
20348 * localedata/os_RU.UTF-8.in: Likewise.
20349 * localedata/ps_AF.UTF-8.in: Likewise.
20350 * localedata/ro_RO.UTF-8.in: Likewise.
20351 * localedata/ru_RU.UTF-8.in: Likewise.
20352 * localedata/sc_IT.UTF-8.in: Likewise.
20353 * localedata/se_NO.UTF-8.in: Likewise.
20354 * localedata/sq_AL.UTF-8.in: Likewise.
20355 * localedata/sv_SE.UTF-8.in: Likewise.
20356 * localedata/szl_PL.UTF-8.in: Likewise.
20357 * localedata/tg_TJ.UTF-8.in: Likewise.
20358 * localedata/tk_TM.UTF-8.in: Likewise.
20359 * localedata/tt_RU.UTF-8.in: Likewise.
20360 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20361 * localedata/ug_CN.UTF-8.in: Likewise.
20362 * localedata/uz_UZ.UTF-8.in: Likewise.
20363 * localedata/vi_VN.UTF-8.in: Likewise.
20364 * localedata/yi_US.UTF-8.in: Likewise.
20365 * localedata/yo_NG.UTF-8.in: Likewise.
20366 * localedata/zh_CN.UTF-8.in: Likewise.
20367 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20368 file and fix bugs in the collation.
20369 * localedata/locales/az_AZ: Likewise.
20370 * localedata/locales/be_BY: Likewise.
20371 * localedata/locales/ber_DZ: Likewise.
20372 * localedata/locales/ber_MA: Likewise.
20373 * localedata/locales/bg_BG: Likewise.
20374 * localedata/locales/br_FR: Likewise.
20375 * localedata/locales/br_FR@euro: Likewise.
20376 * localedata/locales/ca_ES: Likewise.
20377 * localedata/locales/cns11643_stroke: Likewise.
20378 * localedata/locales/crh_UA: Likewise.
20379 * localedata/locales/cs_CZ: Likewise.
20380 * localedata/locales/csb_PL: Likewise.
20381 * localedata/locales/cv_RU: Likewise.
20382 * localedata/locales/cy_GB: Likewise.
20383 * localedata/locales/da_DK: Likewise.
20384 * localedata/locales/dz_BT: Likewise.
20385 * localedata/locales/en_CA: Likewise.
20386 * localedata/locales/eo: Likewise.
20387 * localedata/locales/es_CU: Likewise.
20388 * localedata/locales/es_EC: Likewise.
20389 * localedata/locales/es_ES: Likewise.
20390 * localedata/locales/es_US: Likewise.
20391 * localedata/locales/et_EE: Likewise.
20392 * localedata/locales/fa_IR: Likewise.
20393 * localedata/locales/fi_FI: Likewise.
20394 * localedata/locales/fil_PH: Likewise.
20395 * localedata/locales/fur_IT: Likewise.
20396 * localedata/locales/gez_ER@abegede: Likewise.
20397 * localedata/locales/ha_NG: Likewise.
20398 * localedata/locales/hr_HR: Likewise.
20399 * localedata/locales/hsb_DE: Likewise.
20400 * localedata/locales/hu_HU: Likewise.
20401 * localedata/locales/ig_NG: Likewise.
20402 * localedata/locales/ik_CA: Likewise.
20403 * localedata/locales/is_IS: Likewise.
20404 * localedata/locales/iso14651_t1_pinyin: Likewise.
20405 * localedata/locales/kk_KZ: Likewise.
20406 * localedata/locales/ku_TR: Likewise.
20407 * localedata/locales/ky_KG: Likewise.
20408 * localedata/locales/ln_CD: Likewise.
20409 * localedata/locales/lt_LT: Likewise.
20410 * localedata/locales/lv_LV: Likewise.
20411 * localedata/locales/mi_NZ: Likewise.
20412 * localedata/locales/ml_IN: Likewise.
20413 * localedata/locales/mn_MN: Likewise.
20414 * localedata/locales/mr_IN: Likewise.
20415 * localedata/locales/mt_MT: Likewise.
20416 * localedata/locales/nb_NO: Likewise.
20417 * localedata/locales/om_KE: Likewise.
20418 * localedata/locales/os_RU: Likewise.
20419 * localedata/locales/pl_PL: Likewise.
20420 * localedata/locales/ps_AF: Likewise.
20421 * localedata/locales/ro_RO: Likewise.
20422 * localedata/locales/ru_RU: Likewise.
20423 * localedata/locales/ru_UA: Likewise.
20424 * localedata/locales/sc_IT: Likewise.
20425 * localedata/locales/se_NO: Likewise.
20426 * localedata/locales/si_LK: Likewise.
20427 * localedata/locales/sq_AL: Likewise.
20428 * localedata/locales/sv_FI: Likewise.
20429 * localedata/locales/sv_FI@euro: Likewise.
20430 * localedata/locales/sv_SE: Likewise.
20431 * localedata/locales/szl_PL: Likewise.
20432 * localedata/locales/tg_TJ: Likewise.
20433 * localedata/locales/ti_ER: Likewise.
20434 * localedata/locales/tk_TM: Likewise.
20435 * localedata/locales/tl_PH: Likewise.
20436 * localedata/locales/tr_TR: Likewise.
20437 * localedata/locales/tt_RU: Likewise.
20438 * localedata/locales/tt_RU@iqtelif: Likewise.
20439 * localedata/locales/ug_CN: Likewise.
20440 * localedata/locales/uk_UA: Likewise.
20441 * localedata/locales/uz_UZ: Likewise.
20442 * localedata/locales/uz_UZ@cyrillic: Likewise.
20443 * localedata/locales/vi_VN: Likewise.
20444 * localedata/locales/yi_US: Likewise.
20445 * localedata/locales/yo_NG: Likewise.
20447 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20449 * gen-locales.mk: Make test files which contain @ modifiers in their
20451 * localedata/gen-locale.sh: Likewise.
20453 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20455 * posix/tst-fnmatch.input: Fix results for range expressions
20457 * posix/tst-regexloc.c: Do not use a range expression for
20458 de_DE.ISO-8859-1 locale.
20460 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20462 * posix/bug-regex5.c: Fix test case because with the new
20463 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20464 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20467 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20469 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20470 downloaded from ISO, the collation order of @-. and space has changed.
20471 Therefore, this test file needed to be adapted.
20472 * localedata/fr_CA.UTF-8.in: Likewise.
20473 * localedata/fr_FR.UTF-8.in: Likewise.
20474 * localedata/uk_UA.UTF-8.in: Likewise.
20476 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20478 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20479 order of ȥ in the new iso14651_t1_common file.
20480 * localedata/pl_PL.UTF-8.in: Likewise.
20482 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20484 * localedata/locales/iso14651_t1_common: Add sections for various
20485 scripts to the iso14651_t1_common file.
20487 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20489 * localedata/locales/iso14651_t1_common: Use the code point of a
20490 character in the fourth collation level instead of IGNORE for all
20491 entries which have IGNORE on all 4 levels.
20493 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20495 * localedata/locales/iso14651_t1_common: Add some convenient collation
20496 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20497 rules similar to those in CLDR.
20499 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20501 * localedata/locales/iso14651_t1_common: The new version of this
20502 file downloaded from ISO contained several syntax errors which
20503 are fixed by this patch.
20505 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20507 * localedata/locales/iso14651_t1_common: replace all <U.....>
20508 with <U000.....> because glibc understands only 4 digit or 8 digit
20510 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20512 * localedata/locales/iso14651_t1_common: Necessary changes
20513 to make the file downloaded from ISO usable by glibc.
20515 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20518 * localedata/locales/iso14651_t1_common: Update file to
20519 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20521 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20523 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20524 of <nptl/pthreadP.h>
20525 (thread_attr_compare): Move function to...
20526 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20527 * sysdeps/nptl/timer_routines.h: ... new header.
20528 * sysdeps/mach/hurd/gai_misc.h: New file.
20530 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20532 * string/strcoll_l.c: Include <libc-diag.h>.
20533 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20534 declarations of seq1 and seq2.
20537 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20538 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20540 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20545 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20546 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20547 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20548 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20549 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20551 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20554 macros used in __ptrace_request.
20556 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20559 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20561 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20562 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20563 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20566 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20569 * ctype/ctype.c (tolower): Use libc_hidden_def.
20570 (toupper): Likewise.
20571 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20572 [!_ISOMAC] (toupper): Likewise.
20574 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20576 * localedata/Makefile: Remove --quiet argument when
20579 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20582 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20584 * localedata/locales/pt_PT (LC_TIME): likewise
20586 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20589 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20590 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20591 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20593 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20597 * nptl/Makefile (routines): Remove unregister-atfork.
20598 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20599 (fork_handler_alloc): Remove function.
20600 (fork_handlers, fork_handler_init): New variables.
20601 (__fork_lock): Rename to atfork_lock.
20602 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20603 to use a dynamic array to add/remove atfork handlers.
20604 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20605 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20606 Remove declaration.
20607 (fork_handler): Remove next, refcntr, and need_signal member.
20608 (__run_fork_handler_type): New enum.
20609 (__run_fork_handlers): New prototype.
20610 * nptl/register-atfork.c: Remove file.
20611 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20613 * sysdeps/nptl/nptl-signals.h: Move to ...
20614 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20616 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20617 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20618 unnecessary check for SIGTIMER.
20619 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20620 remove unnecessary removal of SIGTIMER.
20621 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20622 include-signals.h rename.
20623 * nptl/pthreadP.h: Likewise.
20624 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20625 __is_internal_signal instead of __nptl_is_internal_signal.
20627 2018-02-22 Andrew Waterman <andrew@sifive.com>
20630 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20631 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20632 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20633 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20635 2018-02-22 DJ Delorie <dj@delorie.com>
20637 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20639 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20641 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20642 do_misaligned, not misaligned8.
20644 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20646 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20647 Add memcpy_thunderx2.
20648 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20650 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20651 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20652 and IS_THUNDERX2PA checks.
20653 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20654 Use macro to set name appropriately.
20655 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20656 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20657 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20659 (IS_THUNDERX2): New macro.
20661 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20663 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20665 2018-02-21 Zack Weinberg <zackw@panix.com>
20667 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20668 Define here, unconditionally.
20669 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20670 * libio/libioP.h: Remove #if 0 blocks.
20671 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20672 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20673 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20675 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20676 Assume weak_alias is always defined.
20678 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20679 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20680 Remove #if 0 and #ifdef TODO blocks.
20681 Assume text_set_element is always defined.
20683 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20684 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20685 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20687 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20688 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20689 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20690 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20691 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20692 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20693 Reformat bit flags for _flags field to make occupancy clearer.
20695 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20696 Keep definitions consistent with those in libio/libio.h.
20698 * libio/libio.h (_IO_file_flags): Remove macro.
20699 All uses changed to _flags.
20701 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20702 (__HAVE_COLUMN, _IO_BE): Don't define.
20703 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20704 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20705 * libio/libioP.h (EOF): Don't define.
20706 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20707 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20708 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20709 testing _IO_UNIFIED_JUMPTABLES.
20711 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20712 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20713 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20714 (_IO_size_t): Delete; all uses changed to size_t.
20715 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20716 (_IO_off_t): Delete; all uses changed to off_t.
20717 (_IO_off64_t): Delete; all uses changed to off64_t.
20718 (_IO_pid_t): Delete; all uses changed to pid_t.
20719 (_IO_uid_t): Delete; all uses changed to uid_t.
20720 (_IO_wint_t): Delete; all uses changed to wint_t.
20721 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20722 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20723 (_IO_cookie_io_functions_t): Delete; all uses changed to
20724 cookie_io_functions_t.
20725 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20726 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20727 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20728 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20730 * libio/iofopncook.c: Remove unnecessary forward declarations.
20731 * libio/iolibio.h: Correct outdated commentary.
20732 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20733 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20734 Remove unnecessary casts.
20735 * stdio-common/getline.c: Use _IO_getdelim directly.
20736 Don't redefine ssize_t.
20737 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20738 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20739 Remove outdated comments.
20740 * stdio-common/vfscanf.c: Don't redefine va_list.
20742 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20743 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20744 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20745 which are always true, and __cplusplus, which is always false.
20747 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20751 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20752 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20753 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20754 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20756 [!_ISOMAC] (putc_unlocked): Likewise.
20757 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20758 define inline if [__USE_EXTERN_INLINES].
20759 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20764 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20765 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20766 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20767 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20768 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20770 * time/tzfile.c (__tzfile_read): Likewise.
20772 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20775 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20777 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20779 * io/fcntl.h: Fix a typo in a comment.
20781 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20784 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20785 define _DEFAULT_SOURCE.
20786 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20788 2018-02-21 Florian Weimer <fweimer@redhat.com>
20791 * elf/cache.c (save_cache): Call fsync on temporary file before
20793 (save_aux_cache): Call fdatasync on temporary file before renaming
20796 2018-02-21 Florian Weimer <fweimer@redhat.com>
20799 * include/caller.h: Remove file.
20800 * elf/dl-caller.c: Likewise.
20801 * elf/Makefile (dl-routines): Remove dl-caller.
20802 (shared-only-routines): Do not add dl-caller.
20803 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20805 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20807 (dl_open_worker): Do not call __check_caller.
20808 (_dl_open): Do not set caller_dl_open member.
20809 * elf/rtld.c (_rtld_global_ro): Do not initialize
20810 _dl_check_caller member.
20811 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20812 _dl_check_caller member.
20813 (_dl_check_caller): Remove declaration.
20814 * sysdeps/unix/sysv/linux/dl-execstack.c
20815 (_dl_make_stack_executable): Do not call __check_caller.
20817 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20819 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20820 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20822 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20824 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20827 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20830 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20831 of 199606L, 200112L, and 200809L.
20832 (_XOPEN_SOURCE): Document special values of 600 and 700.
20833 (_ISOC11_SOURCE): Document macro.
20834 (_ATFILE_SOURCE): Likewise.
20835 (_FORTIFY_SOURCE): Likewise.
20837 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20841 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20842 and define as weak alias of __ferror_unlocked. Use
20844 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20846 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20847 function if [__USE_EXTERN_INLINES].
20848 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20851 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20854 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20856 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20859 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20860 the GLIBC_2.1 version.
20862 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20865 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20866 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20867 intl/tst-gettext-de.po from po/de.po by removing the
20868 POT-Creation-Date line.
20869 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20871 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20874 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20876 * mach/Makefile (headers): Add mach/param.h.
20877 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20878 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20879 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20880 (__ptsname_r): Move implementation to...
20881 (__ptsname_internal): ... new function. Add filling the STP
20884 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
20886 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
20889 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
20891 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
20894 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
20896 * nptl/Makefile (tst-mutex8-ENV): Delete.
20897 * nptl/tst-mutex8.c (check_type):
20898 Add runtime check if mutex will be elided.
20900 2018-02-15 Joseph Myers <joseph@codesourcery.com>
20904 * manual/install.texi (Configuring and compiling): Describe
20905 passing CC and CFLAGS on configure command line, not as
20906 environment variables. Use @code markup on those variables.
20907 Specify what options go in CC and what go in CFLAGS. Note the
20908 requirement to compile with optimization.
20909 * INSTALL: Regenerated.
20912 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
20913 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
20914 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
20915 __sigprocmask instead of sigprocmask.
20916 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
20918 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
20919 __sigsetjmp and sigprocmask.
20922 * include/argz.h (argz_next): Use libc_hidden_proto.
20923 (__argz_next): Likewise.
20924 * string-argz-next.c (__argz_next): Use libc_hidden_def.
20925 (argz_next): Use libc_hidden_weak.
20928 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
20930 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
20934 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
20936 * libio/iofputs.c (fputs): Use libc_hidden_weak.
20940 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
20941 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
20942 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
20943 (__feof_unlocked): New declaration, and inline function if
20944 [__USE_EXTERN_INLINES].
20945 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
20946 instead of feof_unlocked.
20947 * intl/localealias.c [_LIBC] (FEOF): Likewise.
20948 * nss/nsswitch.c (nss_parse_file): Likewise.
20949 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
20951 * time/getdate.c (__getdate_r): Likewise.
20952 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
20953 Define as macro to call __feof_unlocked.
20955 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20957 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
20959 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
20961 * math/Makefile: Remove mpexp.c and mplog.c
20962 * sysdeps/i386/fpu/mpexp.c: Delete file.
20963 * sysdeps/i386/fpu/mplog.c: Likewise.
20964 * sysdeps/ia64/fpu/mpexp.c: Likewise.
20965 * sysdeps/ia64/fpu/mplog.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
20967 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
20968 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
20969 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20970 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
20971 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
20972 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
20973 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
20974 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
20975 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20976 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
20977 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
20978 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20979 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
20980 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
20981 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20983 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
20985 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20987 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20989 * sysdeps/sh/libm-test-ulps: Update.
20991 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20993 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
20996 2018-02-12 Zack Weinberg <zackw@panix.com>
20999 * posix/sys/types.h: Don't include sys/sysmacros.h.
21000 * misc/sys/sysmacros.h: Remove the conditional deprecation
21001 warnings for the macros defined by this header.
21003 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21005 * manual/probes.texi: Remove slowexp probes.
21006 * math/Makefile: Remove slowexp.
21007 * sysdeps/generic/math_private.h (__slowexp): Remove.
21008 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21009 document error bounds.
21010 * sysdeps/i386/fpu/slowexp.c: Remove.
21011 * sysdeps/ia64/fpu/slowexp.c: Remove.
21012 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21013 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21014 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21015 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21016 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21017 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21019 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21020 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21021 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21022 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21024 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21027 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21028 * benchtests/pow-inputs: Update comment for slow path cases.
21029 * manual/probes.texi (slowpow_p10): Delete removed probe.
21030 (slowpow_p10): Likewise.
21031 * math/Makefile: Remove halfulp.c and slowpow.c.
21032 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21033 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21034 (__halfulp): Remove.
21035 (__slowpow): Remove.
21036 * sysdeps/i386/fpu/halfulp.c: Delete file.
21037 * sysdeps/i386/fpu/slowpow.c: Likewise.
21038 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21039 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21040 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21041 improve comments and add error analysis.
21042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21043 (power1): Remove function:
21044 (log1): Remove error argument, add error analysis.
21045 (my_log2): Remove function.
21046 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21047 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21048 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21049 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21050 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21051 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21052 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21053 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21054 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21055 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21056 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21057 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21058 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21059 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21061 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21063 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21064 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21066 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21069 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21070 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21071 and PTRACE_SETHBPREGS.
21073 2018-02-10 Zack Weinberg <zackw@panix.com>
21076 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21078 * malloc/tst-malloc-stats-cancellation.c: New test case.
21079 * malloc/Makefile: Add new test case.
21081 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21083 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21085 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21087 * math/Makefile (libm-narrow-fns): Add add.
21088 (libm-test-funcs-narrow): Likewise.
21089 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21090 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21091 * math/gen-auto-libm-tests.c (test_functions): Add add.
21092 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21093 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21094 (NARROW_ADD_TRIVIAL): Likewise.
21095 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21097 (__daddl): Likewise.
21098 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21100 (CFLAGS-nldbl-dadd.c): New variable.
21101 (CFLAGS-nldbl-fadd.c): Likewise.
21102 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21104 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21106 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21107 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21108 * math/auto-libm-test-in: Add tests of add.
21109 * math/auto-libm-test-out-narrow-add: New generated file.
21110 * math/libm-test-narrow-add.inc: New file.
21111 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21113 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21114 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21115 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21116 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21125 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21126 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21127 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21128 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21130 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21131 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21132 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21133 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21134 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21135 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21136 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21137 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21138 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21139 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21140 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21141 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21142 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21147 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21148 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21149 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21150 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21151 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21152 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21153 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21154 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21155 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21156 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21158 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21159 (f128-pairs): New variable.
21160 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21161 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21163 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21164 Also make tests add $(f128-loader-link) to gnulib-tests.
21166 2018-02-09 DJ Delorie <dj@redhat.com>
21169 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21170 64-bit ELF type for 64-bit ELF objects.
21172 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21174 * math/libm-test-driver.c (snan_tests_arg): New variable.
21175 * math/libm-test-support.h (snan_tests_arg): New declaration.
21176 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21178 * math/Makefile (test-type-pairs): New variable.
21179 (test-type-pairs-f64xf128-yes): Likewise.
21180 (tests): Add test-narrow-macros.
21181 (libm-test-funcs-narrow): New variable.
21182 (libm-test-c-narrow): Likewise.
21183 (generated): Add $(libm-test-c-narrow).
21184 (libm-tests-base-narrow): New variable.
21185 (libm-tests-narrow): Likewise.
21186 (libm-tests): Add $(libm-tests-narrow).
21187 (libm-tests-for-type): Handle $(libm-tests-narrow).
21188 (libm-test-c-narrow-obj): New variable.
21189 ($(libm-test-c-narrow-obj)): New rule.
21190 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21191 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21192 $(o-iterator) to set dependencies and CFLAGS.
21193 * math/gen-auto-libm-tests.c: Document use for narrowing
21195 (output_for_one_input_case): Take argument NARROW.
21196 (generate_output): Likewise. Update call to
21197 output_for_one_input_case.
21198 (main): Take --narrow option. Update call to generate_output.
21199 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21200 (apply_lit): Update call to _apply_lit.
21201 (apply_arglit): New function.
21202 (parse_args): Handle "a" arguments.
21203 (parse_auto_input): Handle format names using ":".
21204 * math/README.libm-test: Document "a" parameter type.
21205 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21206 (ARG_TYPE_TRUE_MIN): Likewise.
21207 (ARG_TYPE_MAX): Likwise.
21208 (ARG_MIN_EXP): Likewise.
21209 (ARG_MAX_EXP): Likewise.
21210 (ARG_MANT_DIG): Likewise.
21211 (TEST_COND_arg_ibm128): Likewise.
21212 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21213 (TEST_COND_arg_fmt): New macro.
21214 (init_max_error): Update prototype.
21215 * math/libm-test-support.c (test_ibm128): New variable.
21216 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21217 instead of using [TEST_COND_ibm128] conditional.
21218 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21219 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21220 [TEST_NARROW] (TEST_MSG): New definition.
21221 (arg_plus_zero): New macro.
21222 (arg_minus_zero): Likewise.
21223 (arg_plus_infty): Likewise.
21224 (arg_minus_infty): Likewise.
21225 (arg_qnan_value_pl): Likewise.
21226 (arg_qnan_value): Likewise.
21227 (arg_snan_value_pl): Likewise.
21228 (arg_snan_value): Likewise.
21229 (arg_max_value): Likewise.
21230 (arg_min_value): Likewise.
21231 (arg_min_subnorm_value): Likewise.
21232 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21233 (RUN_TEST_LOOP_aa_f): New macro.
21234 (TEST_SUFF): New macro.
21235 (TEST_SUFF_STR): Likewise.
21236 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21237 (TEST_COND_any_ibm128): New macro.
21238 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21239 this_func. Update call to init_max_error.
21240 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21241 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21242 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21243 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21244 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21245 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21246 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21247 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21248 * math/test-math-vector.h (TEST_NARROW): Likewise.
21249 * math/test-arg-double.h: New file.
21250 * math/test-arg-float128.h: Likewise.
21251 * math/test-arg-float32x.h: Likewise.
21252 * math/test-arg-float64.h: Likewise.
21253 * math/test-arg-float64x.h: Likewise.
21254 * math/test-arg-ldouble.h: Likewise.
21255 * math/test-math-narrow.h: Likewise.
21256 * math/test-narrow-macros.c: Likewise.
21257 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21258 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21259 test-narrow-macros-ldbl-64.
21260 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21262 * math/bits/mathcalls-narrow.h: New file.
21263 * include/bits/mathcalls-narrow.h: Likewise.
21264 * math/math-narrow.h: Likewise.
21265 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21266 (__MATHCALL_NARROW_ARGS_2): Likewise.
21267 (__MATHCALL_NARROW_ARGS_3): Likewise.
21268 (__MATHCALL_NARROW_NORMAL): Likewise.
21269 (__MATHCALL_NARROW_REDIR): Likewise.
21270 (__MATHCALL_NARROW): Likewise.
21271 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21272 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21274 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21275 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21276 (libm-narrow-fns): New variable.
21277 (libm-narrow-types-basic): Likewise.
21278 (libm-narrow-types-ldouble-yes): Likewise.
21279 (libm-narrow-types-float128-yes): Likewise.
21280 (libm-narrow-types-float128-alias-yes): Likewise.
21281 (libm-narrow-types): Likewise.
21282 (libm-routines): Add narrowing functions.
21283 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21284 (libc_feholdexcept_setroundf128): New macro.
21285 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21286 * sysdeps/ieee754/float128/float128_private.h: Include
21287 <math/math-narrow.h>.
21288 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21289 Undefine and redefine.
21290 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21291 (libm_alias_float_ldouble): Undefine and redefine.
21292 (libm_alias_double_ldouble): Likewise.
21294 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21296 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21298 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21301 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21303 * manual/creature.texi: Convert references to gcc.info to gcc.
21304 * manual/stdio.texi: Likewise.
21305 * manual/string.texi: Likewise.
21307 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21310 * posix/bits/types.h (__int_least8_t): New typedef.
21311 (__uint_least8_t): Likewise.
21312 (__int_least16_t): Likewise.
21313 (__uint_least16_t): Likewise.
21314 (__int_least32_t): Likewise.
21315 (__uint_least32_t): Likewise.
21316 (__int_least64_t): Likewise.
21317 (__uint_least64_t): Likewise.
21318 * sysdeps/generic/stdint.h (int_least8_t): Define using
21320 (int_least16_t): Define using __int_least16_t.
21321 (int_least32_t): Define using __int_least32_t.
21322 (int_least64_t): Define using __int_least64_t.
21323 (uint_least8_t): Define using __uint_least8_t.
21324 (uint_least16_t): Define using __uint_least16_t.
21325 (uint_least32_t): Define using __uint_least32_t.
21326 (uint_least64_t): Define using __uint_least64_t.
21327 * wcsmbs/uchar.h: Include <bits/types.h>.
21328 (char16_t): Define using __uint_least16_t conditional only on
21330 (char32_t): Define using __uint_least32_t conditional only on
21332 * wcsmbs/test-char-types.c: New file.
21333 * wcsmbs/Makefile (tests): Add test-char-types.
21335 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21338 2018-02-07 Zack Weinberg <zackw@panix.com>
21340 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21341 Delete all contents except for definitions of _G_HAVE_MMAP and
21342 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21343 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21344 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21347 * libio/libio.h: Don't include bits/_G_config.h here.
21348 Include stddef.h with __need_wchar_t defined. Include
21349 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21350 Define _IO_iconv_t here, directly.
21351 Don't define _IO_HAVE_ST_BLKSIZE.
21352 * libio/libioP.h: Include _G_config.h here. Move include of
21353 shlib-compat.h up with rest of includes. Simplify conditionals
21354 controlling definition of _IO_JUMPS_OFFSET.
21356 * csu/init.c: Remove always-true #if around entire file.
21357 Don't include stdio.h. Set _IO_stdin_used to hardwired
21358 constant 0x20001, and update commentary.
21359 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21360 Replace all uses of _G_va_list with __gnuc_va_list.
21361 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21362 instead of #if _IO_HAVE_ST_BLKSIZE.
21363 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21364 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21367 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21368 multiple-include guard to match.
21369 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21371 Remove preprocessor conditionals that are always true and/or
21372 redundant to other preprocessor conditionals in the same nest.
21373 Include shlib-compat.h unconditionally.
21374 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21375 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21376 defined after including stdio.h.
21377 Use __BEGIN_DECLS/__END_DECLS.
21379 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21380 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21381 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21383 2018-02-07 Zack Weinberg <zackw@panix.com>
21385 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21386 New single-type headers split from _G_config.h.
21387 * libio/bits/types/cookie_io_functions_t.h
21388 * libio/bits/types/struct_FILE.h
21389 New single-type headers split from libio.h.
21391 * libio/Makefile: Install the above new headers. Don't install
21392 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21394 * libio/_G_config.h, libio/libio.h: Delete file.
21396 * libio/bits/libio.h: Remove improper-inclusion guard.
21397 Include stdio.h and don't repeat anything that it does.
21398 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21399 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21400 __io_read_fn as cookie_read_function_t,
21401 __io_write_fn as cookie_write_function_t,
21402 __io_seek_fn as cookie_seek_function_t,
21403 __io_close_fn as cookie_close_function_t,
21404 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21405 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21406 here, in the "compatibility defines" section. Remove an #if 0
21407 block. Use the "body" macros from bits/types/struct_FILE.h to
21408 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21409 and _IO_ferror_unlocked.
21410 Move prototypes of __uflow and __overflow...
21412 * libio/stdio.h: ...here. Don't include bits/libio.h.
21413 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21414 directly from stdarg.h. Include bits/types/__fpos_t.h,
21415 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21416 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21417 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21418 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21419 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21420 __ssize_t, not _IO_ssize_t. Unconditionally define
21421 BUFSIZ as 8192 and EOF as (-1).
21423 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21424 macros from bits/types/struct_FILE.h instead of _IO_* macros
21425 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21426 instead of _IO_ssize_t.
21427 * libio/bits/stdio2.h: Similarly.
21429 * libio/iolibio.h: Add multiple-include guard.
21430 Include bits/libio.h after stdio.h.
21431 * libio/libioP.h: Add multiple-include guard.
21432 Include stdio.h and bits/libio.h before iolibio.h.
21434 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21435 * include/bits/types/cookie_io_functions_t.h
21436 * include/bits/types/struct_FILE.h: New wrappers.
21438 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21439 Get definitions of _G_fpos_t and _G_fpos64_t from
21440 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21441 respectively. Remove improper-inclusion guards.
21443 * conform/data/stdio.h-data: Update expectations of va_list.
21444 * scripts/check-installed-headers.sh: Remove special case for
21445 libio.h and _G_config.h.
21447 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21451 * include/sys/sysmacros.h [!_ISOMAC]
21452 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21453 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21454 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21455 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21457 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21458 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21460 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21461 Undefine and redefine to add use __gnu_dev_ prefix.
21462 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21464 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21465 and define as hidden inline function.
21466 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21468 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21470 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21471 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21472 (gnu_dev_minor): Likewise.
21473 (gnu_dev_makedev): Likewise.
21474 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21476 * posix/wordexp.c (exec_comm_child): Likewise.
21477 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21478 instead of minor and __gnu_dev_major instead of major.
21479 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21480 __gnu_dev_major instead of major.
21481 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21482 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21483 instead of gnu_dev_minor.
21484 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21485 (SLAVE_P): Likewise.
21486 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21487 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21491 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21493 * locale/weightwc.h (findidx): Likewise.
21495 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21497 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21498 (slowlog_inexact): Likewise
21499 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21500 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21502 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21505 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21506 missing second underscore to parameter name.
21508 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21514 * bits/byteswap.h: Update file comment. Do not include
21515 <bits/byteswap-16.h>.
21516 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21518 (__bswap_16): Define as inline function.
21519 (__bswap_constant_32): Reformat definition.
21520 (__bswap_32): Always define as inline function, not macro, using
21521 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21522 otherwise __bswap_constant_32.
21523 (__bswap_constant_64): Reformat definition. Do not use
21524 __extension__ here.
21525 (__bswap_64): Always define as inline function, not macro. Use
21526 __extension__ on function definition. Use __builtin_bswap64 if
21527 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21528 * string/test-endian-file-scope.c: New file.
21529 * string/test-endian-sign-conversion.c: Likewise.
21530 * string/Makefile (headers): Remove bits/byteswap-16.h.
21531 (tests): Add test-endian-file-scope and
21532 test-endian-sign-conversion.
21533 (CFLAGS-test-endian-sign-conversion.c): New variable.
21534 * bits/byteswap-16.h: Remove file.
21535 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21536 * sysdeps/ia64/bits/byteswap.h: Likewise.
21537 * sysdeps/m68k/bits/byteswap.h: Likewise.
21538 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21539 * sysdeps/s390/bits/byteswap.h: Likewise.
21540 * sysdeps/tile/bits/byteswap.h: Likewise.
21541 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21542 * sysdeps/x86/bits/byteswap.h: Likewise.
21545 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21546 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21547 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21548 199901L] (__restrict): Define to restrict.
21551 * string/testcopy.c: Include <support/support.h>. Do not include
21552 <malloc.h>. Use <support/test-driver.c>.
21553 (main): Rename to do_test. Make static. Use xmalloc instead of
21557 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21558 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21559 (SSIZE_MAX): Define to INT_MAX.
21560 * posix/test-ssize-max.c: New file.
21561 * posix/Makefile (tests): Add test-ssize-max.
21564 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21565 <support/support.h>. Do not include <malloc.h>.
21566 (query_auxv): Use xmalloc instead of malloc.
21569 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21570 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21573 2018-02-06 Florian Weimer <fweimer@redhat.com>
21576 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21577 Use scratch_buffer instead of extend_alloca.
21579 2018-02-06 Zack Weinberg <zackw@panix.com>
21581 * libio/stdio.h: Don't define getc or putc as macros.
21582 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21583 not _IO_getc and _IO_putc.
21585 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21586 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21588 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21590 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21591 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21593 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21596 * elf/elf.h (NT_PRFPREG): New macro.
21597 (NT_S390_VXRS_LOW): Likewise.
21598 (NT_S390_VXRS_HIGH): Likewise.
21599 (NT_S390_GS_CB): Likewise.
21600 (NT_S390_GS_BC): Likewise.
21601 (NT_S390_RI_CB): Likewise.
21603 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21604 (MAP_SYNC): New macro.
21605 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21607 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21608 (MAP_SYNC): Likewise.
21609 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21610 (MAP_SYNC): Likewise.
21611 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21612 (MAP_SYNC): Likewise.
21613 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21614 (MAP_SYNC): Likewise.
21615 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21616 (MAP_SYNC): Likewise.
21617 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21618 (MAP_SYNC): Likewise.
21619 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21621 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21624 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21625 (MAP_SHARED_VALIDATE): New macro.
21626 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21627 (MAP_SHARED_VALIDATE): Likewise.
21629 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21631 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21632 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21633 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21635 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21637 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21638 (DT_NUM): Updated to 35.
21640 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21642 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21643 __builtin_expect with __glibc_likely and __glibc_unlikely.
21644 (elf_machine_rela): Likewise.
21645 (elf_machine_lazy_rel): Likewise.
21647 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21650 __builtin_expect with __glibc_likely and __glibc_unlikely.
21651 (elf_machine_lazy_rel): Likewise.
21653 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21656 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21658 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21660 2018-02-05 Andreas Schwab <schwab@suse.de>
21663 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21666 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21668 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21669 not check against PTHREAD_STACK_MIN.
21671 2018-02-02 Sean McKean <smckean83@gmail.com>
21674 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21676 2018-02-02 Florian Weimer <fweimer@redhat.com>
21679 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21680 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21681 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21682 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21683 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21684 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21685 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21686 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21687 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21688 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21689 * misc/tst-preadvwritev2.c (do_test): Call it.
21690 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21692 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21694 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21696 * benchtests/bench-memcmp.c: Print json instead of plain text.
21698 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21701 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21703 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21705 (s390_sthyi): New syscall.
21707 * sysdeps/generic/ldbl-classify-compat.h: New file.
21708 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21709 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21710 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21711 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21712 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21713 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21714 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21715 <ldbl-classify-compat.h>.
21716 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21717 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21718 <ldbl-classify-compat.h>.
21719 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21720 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21721 <ldbl-classify-compat.h>.
21722 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21723 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21724 <ldbl-classify-compat.h>.
21725 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21726 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21727 <ldbl-classify-compat.h>.
21728 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21729 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21730 <ldbl-classify-compat.h>.
21731 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21732 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21733 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21734 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21735 * sysdeps/microblaze/math_private.h: Likewise.
21736 * sysdeps/nios2/math_private.h: Likewise.
21737 * sysdeps/sh/math_private.h: Likewise.
21739 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21740 * sysdeps/m68k/coldfire/math_private.h: ... here.
21741 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21742 * sysdeps/tile/math_private.h: Likewise.
21743 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21745 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21748 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21750 (libc_fetestexcept): Likewise.
21751 (libc_feupdateenv_test): Likewise.
21752 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21753 (libc_fetestexcept): Likewise.
21754 (libc_feupdateenv_test): Likewise.
21755 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21756 (libc_fetestexcept): Likewise.
21757 (libc_feupdateenv_test): Likewise.
21758 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21759 (libc_fetestexcept): Likewise.
21760 (libc_feupdateenv_test): Likewise.
21762 * sysdeps/generic/math_private.h
21763 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21764 New inline function.
21765 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21768 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21769 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21770 * sysdeps/generic/math_private.h
21771 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21773 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21775 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21777 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21779 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21781 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21783 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21784 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21785 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21786 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21787 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21788 (__fegetenv): Likewise.
21789 (fesetenv): Likewise.
21790 (__fesetenv): Likewise.
21791 (feupdateenv): Likewise.
21792 (__feupdateenv): Likewise.
21793 (fegetround): Likewise.
21794 (__fegetround): Likewise.
21795 (fesetround): Likewise.
21796 (__fesetround): Likewise.
21798 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21799 (feraiseexcept): New macro.
21800 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21801 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21803 (__feraiseexcept): Likewise.
21804 (feclearexcept): Likewise.
21805 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21806 (__feraiseexcept): Likewise.
21807 (feclearexcept): Likewise.
21808 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21809 (__feraiseexcept): Likewise.
21810 (feclearexcept): Likewise.
21811 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21812 (__feraiseexcept): Likewise.
21813 (feclearexcept): Likewise.
21814 (fetestexcept): Likewise.
21816 * sysdeps/m68k/coldfire/math-tests.h: New file.
21818 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21819 * sysdeps/m68k/bits/fenv.h: ... here.
21820 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21822 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21824 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21826 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21828 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21830 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21832 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21833 (__FE_UNDEFINED): New enum constant.
21834 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21836 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21838 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21840 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21841 to match generic bits/fenv.h.
21842 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21845 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21847 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21848 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21849 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21850 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21852 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21853 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21854 Joseph Myers <joseph@codesourcery.com>
21857 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21858 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21859 computation using c.
21860 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21861 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21862 computation using c.
21864 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21866 * version.h (RELEASE): Set to "development".
21867 (VERSION): Set to "2.27.9000".
21868 * NEWS (2.28): New section.
21870 * version.h (RELEASE): Set to "stable".
21871 (VERSION): Set to "2.27".
21872 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21874 * NEWS: Add the list of bugs fixed in 2.27.
21876 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21878 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21879 against PTHREAD_STACK_MIN.
21881 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21883 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
21885 (Rafał Lużyński, Andreas Schwab): Update.
21887 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
21890 * NEWS: List the languages which actually use the alternative
21891 months feature in this release. Also explain that "alt_mon" and
21892 "ab_alt_mon" are optional.
21894 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
21897 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
21899 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
21901 * manual/install.texi (Tools for Compilation): Update the newest
21902 versions of gcc, binutils, texinfo, gawk, bison, and sed.
21903 * INSTALL: Regenerated.
21905 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21907 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
21908 instead of __builtin_expect.
21910 2018-01-30 Florian Weimer <fweimer@redhat.com>
21912 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21914 * nss/tst-nss-getpwent.c (do_test): Likewise.
21916 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
21919 * localedata/locales/hr_HR (mon): Rename to...
21921 (mon): Import from CLDR (genitive case).
21922 (d_t_fmt): Update the comment.
21924 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
21926 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
21927 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
21928 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
21930 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
21932 * mach/Versions: Fix version when __mach_host_self_ was added.
21933 * hurd/Versions: Fix version when _hurd_exec_paths was added.
21934 * sysdeps/mach/hurd/i386/ld.abilist: New file.
21935 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
21936 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
21937 * sysdeps/mach/hurd/i386/libc.abilist: New file.
21938 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
21939 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
21940 * sysdeps/mach/hurd/i386/libm.abilist: New file.
21941 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
21942 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
21943 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21944 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
21945 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
21946 || to respect codestyle.
21947 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
21948 (do_test_bz20181): Rename accordingly.
21949 * malloc/malloc.c: Include <assert.h>.
21950 (assert): Do not define.
21951 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
21952 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
21953 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
21954 * sysdeps/mach/hurd/hp-timing.h: New file.
21955 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
21957 2018-01-29 Darius Rad <darius@bluespec.com>
21959 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
21961 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
21963 * sysdeps/init_array/crti.S (.section .init_array): Add
21964 PREINIT_FUNCTION when defined.
21965 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
21966 * config.h.in: Regenerate.
21967 * manual/platform.texi: Add RISC-V documenation for
21968 __riscv_flush_icache.
21969 * sysdeps/riscv/__longjmp.S: New file.
21970 * sysdeps/riscv/backtrace.c: Likewise.
21971 * sysdeps/riscv/bits/endian.h: Likewise.
21972 * sysdeps/riscv/bits/setjmp.h: Likewise.
21973 * sysdeps/riscv/bits/wordsize.h: Likewise.
21974 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
21975 * sysdeps/riscv/bsd-setjmp.c: Likewise.
21976 * sysdeps/riscv/dl-trampoline.S: Likewise.
21977 * sysdeps/riscv/gccframe.h: Likewise.
21978 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
21979 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
21980 * sysdeps/riscv/machine-gmon.h: Likewise.
21981 * sysdeps/riscv/memusage.h: Likewise.
21982 * sysdeps/riscv/setjmp.S: Likewise.
21983 * sysdeps/riscv/sys/asm.h: Likewise.
21984 * sysdeps/riscv/tls-macros.h: Likewise.
21985 * sysdeps/riscv/dl-tls.h: New file.
21986 * sysdeps/riscv/libc-tls.c: Likewise.
21987 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
21988 * sysdeps/riscv/nptl/tls.h: Likewise.
21989 * sysdeps/riscv/stackinfo.h: Likewise.
21990 * sysdeps/riscv/bits/fenv.h: New file.
21991 * sysdeps/riscv/e_sqrtl.c: Likewise.
21992 * sysdeps/riscv/fpu_control.h: Likewise.
21993 * sysdeps/riscv/math-tests.h: Likewise.
21994 * sysdeps/riscv/nofpu/Implies: Likewise.
21995 * sysdeps/riscv/sfp-machine.h: Likewise.
21996 * sysdeps/riscv/tininess.h: Likewise.
21997 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
21998 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
21999 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22000 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22001 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22002 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22003 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22004 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22005 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22006 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22007 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22008 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22009 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22010 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22011 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22012 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22013 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22014 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22015 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22016 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22017 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22018 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22019 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22020 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22021 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22022 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22023 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22024 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22025 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22026 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22027 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22028 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22029 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22030 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22031 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22032 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22033 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22034 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22035 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22036 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22037 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22038 * sysdeps/riscv/rvf/math_private.h: Likewise.
22039 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22040 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22041 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22042 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22043 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22044 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22045 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22046 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22047 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22048 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22049 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22050 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22051 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22052 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22053 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22054 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22055 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22056 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22057 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22058 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22059 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22060 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22061 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22062 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22063 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22064 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22065 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22066 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22067 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22068 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22069 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22070 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22071 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22072 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22073 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22074 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22075 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22076 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22077 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22078 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22079 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22080 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22081 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22082 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22083 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22084 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22085 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22086 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22087 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22088 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22089 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22090 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22091 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22092 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22093 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22094 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22095 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22096 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22097 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22098 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22099 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22100 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22101 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22102 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22103 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22104 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22105 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22106 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22107 * sysdeps/riscv/Implies: New file.
22108 * sysdeps/riscv/Makefile: Likewise.
22109 * sysdeps/riscv/configure: Likewise.
22110 * sysdeps/riscv/configure.ac: Likewise.
22111 * sysdeps/riscv/nptl/Makefile: Likewise.
22112 * sysdeps/riscv/preconfigure: Likewise.
22113 * sysdeps/riscv/rv64/Implies-after: Likewise.
22114 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22115 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22116 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22117 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22118 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22119 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22120 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22121 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22122 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22123 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22124 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22125 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22126 (Config): Likewise.
22128 2018-01-29 Florian Weimer <fweimer@redhat.com>
22131 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22132 libnsl_hidden_proto.
22133 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22134 libnsl_hidden_proto.
22135 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22136 * nis/Makefile (libnsl-routines): Add nss-default only for
22137 build-obsolete-nsl.
22138 * nis/nis_defaults.c (__nis_default_ttl): Add
22139 libnsl_hidden_nolink_def.
22140 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22142 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22143 * nis/ypclnt.c (yp_maplist): Likewise.
22145 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22148 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22150 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22152 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22153 clean -dxfq for git updates when replacing sources.
22155 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22156 --disable-libcilkrts unconditionally, not just for the final GCC
22159 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22162 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22165 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22168 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22171 * localedata/locales/be_BY (mon): Rename to...
22172 (alt_mon): This, then synchronize with CLDR (nominative case).
22173 (abmon): Rename to...
22174 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22175 (mon): Import from CLDR (genitive case).
22177 * localedata/locales/be_BY@latin (mon): Rename to...
22179 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22181 * localedata/locales/be_BY@latin (lang_name): Reworded to
22182 "biełaruskaja mova".
22184 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22187 * localedata/locales/el_CY (mon): Renamed to...
22189 (mon): Import from CLDR (genitive case).
22190 * localedata/locales/el_GR: Likewise.
22192 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22195 * localedata/locales/ru_RU (mon): Rename to...
22197 (abmon): Rename to...
22198 (ab_alt_mon): This.
22199 (mon): Import from CLDR (genitive case).
22200 (abmon): Copy from the old content except the 5th month which is
22201 now in the genitive case, even when abbreviated.
22202 * localedata/locales/ru_UA: Likewise.
22203 * time/tst-strptime.c (day_tests): Add an actual example of
22204 a difference between %b and %Ob in Russian.
22206 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22208 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22209 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22211 * resolv/res-close.c: Include <stdlib.h>.
22212 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22213 <sys/wait.h>, <time.h>, <sys/uio.h>.
22214 (NOT_CANCEL_H): Add inclusion guard.
22215 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22216 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22217 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22219 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22220 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22221 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22223 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22224 timer_ptr2id to cast struct timer_node * to void *.
22225 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22226 --disable-libcilkrts to gcc configure.
22227 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22228 and make them the default for now.
22229 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22230 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22231 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22232 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22233 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22235 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22236 __task_terminate would ever return successfully.
22237 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22239 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22240 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22241 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22242 critical section to make code simpler and avoid warning.
22243 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22244 critical section to make code simpler and avoid warning.
22245 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22246 const char * instead of char *.
22247 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22248 __hurd_file_name_split, hurd_file_name_split,
22249 __hurd_directory_name_split, hurd_directory_name_split,
22250 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22251 hurd_file_name_path_lookup): Make lookup function parameter take a
22252 const char *name instead of char *name.
22253 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22254 __hurd_directory_name_split): Likewise.
22255 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22256 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22257 * sysdeps/mach/hurd/check_native.c: New file.
22258 * sysdeps/mach/hurd/check_pf.c: New file.
22259 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22260 (__freeifaddrs): Define macro to freeifaddrs.
22261 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22262 * sysdeps/mach/libmachuser.abilist: New file.
22263 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22264 (do_test_bz20181): Rename accordingly.
22265 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22266 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22268 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22269 version only if __USE_EXTERN_INLINES is defined.
22270 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22271 __hurd_sockfail): Likewise.
22272 (_hurd_fd_get): Always declare functions, and provide inline versions
22273 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22274 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22275 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22276 _hurd_port_set): Always declare functions, and provide inline versions
22277 only if __USE_EXTERN_INLINES and _LIBC are defined and
22279 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22280 _hurd_critical_section_unlock): Likewise.
22281 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22282 * __hurd_threadvar_location): Likewise.
22283 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22284 _hurd_userlink_clear): Likewise.
22285 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22286 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22287 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22288 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22289 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22290 __spin_lock_locked): Likewise.
22291 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22292 __spin_lock_locked): Likewise.
22293 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22294 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22295 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22296 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22297 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22298 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22299 _POSIX_NO_TRUNC): Define to 0.
22300 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22301 check size against PTHREAD_STACK_MIN.
22302 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22303 IS_IN(libpthread)]: Include <sigsetops.h>.
22304 * mach/Makefile (user-interfaces): Add mach/gnumach.
22305 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22306 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22307 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22308 instead of invalid -1.
22309 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22310 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22311 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22314 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22316 * hurd/fcntl-internal.h: New file.
22318 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22320 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22322 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22324 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22327 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22328 Build only shared objects.
22330 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22332 * README: Update for hppa.
22334 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22336 * sysdeps/sparc/fpu/libm-test-ulps: Update
22337 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22339 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22343 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22346 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22347 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22348 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22349 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22352 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22355 * bits/types/__cancel_jmp_buf_tag.h: New file.
22356 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22357 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22358 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22359 * nptl/Makefile (headers): Add
22360 bits/types/__cancel_jmp_buf_tag.h.
22361 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22362 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22363 * sysdeps/nptl/pthread.h: Include
22364 <bits/types/__cancel_jmp_buf_tag.h>.
22365 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22367 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22369 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22372 * localedata/locales/uk_UA (mon): Renamed to...
22374 (alt_digits): "0" removed and then renamed to...
22376 (date_fmt): Definition changed not to use the alternative
22379 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22381 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22382 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22383 * elf/elf.h (EF_RISCV_RVC): New define.
22384 (EF_RISCV_FLOAT_ABI): Likewise.
22385 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22386 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22387 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22388 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22389 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22391 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22393 2018-01-25 Andreas Schwab <schwab@suse.de>
22395 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22397 * sysdeps/gnu/configure: Regenerate.
22398 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22399 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22401 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22402 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22403 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22404 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22405 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22407 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22409 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22410 URL, and run autoconf, make it the default for now.
22412 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22414 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22415 soft-float ColdFire configuration.
22417 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22418 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22419 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22421 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22424 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22426 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22428 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22431 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22432 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22433 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22436 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22439 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22440 Rename to __reserved and add comment.
22441 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22442 Rename to __reserved.
22444 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22446 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22447 i686-gnu configurations.
22448 (Context.run_builds): Include mig, gnumach and hurd in components
22450 (Context.checkout): Add mig, gnumach and hurd to components.
22451 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22453 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22454 (Config.build): Install gnumach headers, build mig and install
22455 hurd headers for 'gnu' OS.
22456 (Config.install_gnumach_headers): New function.
22457 (Config.install_hurd_headers): Likewise.
22458 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22459 when building for 'gnu' OS.
22461 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22463 * manual/tunables.texi (Hardware Capability Tunables): Fix
22466 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22468 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22469 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22470 (ALTMON_11, ALTMON_12): Improve documentation.
22471 * manual/time.texi (strftime): Likewise.
22473 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22476 * localedata/locales/pl_PL: Alternative month names added,
22477 primary month names are genitive now.
22478 * time/tst-strptime.c (day_tests): Actually use a genitive case
22479 of a month name in Polish language.
22481 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22484 * manual/locale.texi: Document ALTMON_1..12 constants for
22485 nl_langinfo. Specify when to use ALTMON instead of MON.
22486 * manual/time.texi (strftime, strptime): Document GNU extension
22487 permitting O modifier with %B and %b. Specify when to use
22490 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22493 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22494 names, define them as the same as abbreviated month names explicitly.
22495 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22496 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22497 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22498 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22499 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22500 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22501 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22502 _NL_WABALTMON_12): New enum constants.
22503 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22504 wab_alt_mon, and ab_alt_mon_defined members.
22505 (time_output): Output ab_alt_mon and wab_alt_mon members.
22506 (time_read): Read them, initialize them as copies of abmon and wabmon
22507 respectively if they are missing, initialize ab_alt_mon_defined.
22508 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22509 * locale/programs/locfile-kw.h: Regenerate.
22510 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22511 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22513 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22514 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22515 (__strftime_internal): Handle %Ob and %Oh formats.
22516 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22517 (__strptime_internal): Handle %Ob and %Oh formats.
22518 * time/tst-strptime.c (day_tests): Add more tests to parse different
22519 forms of month names including the new %Ob format specifier.
22521 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22524 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22525 define them as the same as primary full month names explicitly.
22526 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22527 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22528 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22529 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22530 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22531 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22532 _NL_WALTMON_12): New enum constants.
22533 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22534 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22536 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22537 walt_mon, and alt_mon_defined members.
22538 (time_output): Output alt_mon and walt_mon members.
22539 (time_read): Read them, initialize them as copies of mon and wmon
22540 respectively if they are missing, initialize alt_mon_defined.
22541 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22542 * locale/programs/locfile-kw.h: Regenerate.
22543 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22544 * localedata/tst-langinfo.c (map): Add tests for the new constants
22545 ALTMON_1 .. ALTMON_12.
22546 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22548 * time/strftime_l.c (f_altmonth): New macro.
22549 (__strftime_internal): Handle %OB format.
22550 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22551 (__strptime_internal): Handle %OB format.
22552 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22553 of month names including the new %OB format specifier.
22555 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22558 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22559 from ABORT_TRANSACTION.
22560 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22561 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22562 ABORT_TRANSACTION_IMPL): Likewise.
22563 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22564 Linux code, but remove the code that aborts transactions.
22566 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22568 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22570 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22572 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22573 in date: "2004-14-09" should be "2004-09-14".
22574 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22575 "2003-15-09" should be "2003-09-15".
22577 2018-01-18 Arjun Shankar <arjun@redhat.com>
22583 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22585 (_int_memalign): check for integer overflow before calling
22587 * malloc/tst-malloc-too-large.c: New test.
22588 * malloc/Makefile: Add tst-malloc-too-large.
22590 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22592 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22593 in date: "2017-24-07" should be "2017-07-24".
22594 * localedata/locales/mai_IN: Likewise.
22595 * localedata/locales/mai_NP: Likewise.
22597 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22599 * po/ru.po: Update translations.
22601 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22604 * sysdeps/hppa/backtrace.c: New file.
22606 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22609 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22610 align La_x86_64_retval to VEC_SIZE.
22612 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22614 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22615 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22617 2018-01-16 Florian Weimer <fweimer@redhat.com>
22619 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22620 Move tst-thread-exit-clobber ...
22621 [$(CXX)] (tests-unsupported): ... to here.
22623 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22625 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22626 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22627 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22628 (_dl_aarch64_cap_flags): Update.
22629 (_DL_HWCAP_COUNT): Update.
22631 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22633 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22634 (_DL_HWCAP_LAST): Remove.
22635 (_DL_HWCAP_COUNT): Move to ...
22636 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22637 (_DL_HWCAP_COUNT): ... here.
22639 2018-01-16 Florian Weimer <fweimer@redhat.com>
22641 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22642 mode with GNU extensions.
22644 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22646 * elf/elf.h (NT_ARM_SVE): Define.
22648 2018-01-15 Florian Weimer <fweimer@redhat.com>
22651 * nptl/tst-minstack-throw.cc: New file.
22652 * nptl/Makefile (tests): Add tst-minstack-throw.
22653 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22654 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22656 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22658 * scripts/build-many-glibcs.py (Context.checkout): Default
22659 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22662 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22665 * elf/elf.h (DF_1_STUB): Define.
22666 (DF_1_PIE): Define.
22668 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22672 Do not add 0.5 to integer or out-of-range arguments.
22674 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22676 * po/bg.po: Update translations.
22677 * po/cs.po: Likewise.
22678 * po/de.po: Likewise.
22679 * po/ko.po: Likewise.
22680 * po/pl.po: Likewise.
22681 * po/sv.po: Likewise.
22682 * po/uk.po: Likewise.
22683 * po/vi.po: Likewise.
22685 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22687 * aarch64/start.S (_start): Use __wrap_main.
22688 (__wrap_main): New local symbol.
22690 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22694 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22695 generic_getcwd if the path returned by getcwd syscall is not absolute.
22696 * io/tst-getcwd-abspath.c: New test.
22697 * io/Makefile (tests): Add tst-getcwd-abspath.
22699 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22701 * malloc/malloc.c (malloc_consolidate): Add size check.
22703 2018-01-12 Florian Weimer <fweimer@redhat.com>
22705 * support/write_message.c (write_message): Preserve errno.
22706 * support/check.c (print_failure): Likewise.
22707 * support/support_test_verify_impl.c (support_test_verify_impl):
22709 * support/support_test_compare_failure.c
22710 (support_test_compare_failure): Likewise.
22712 2018-01-12 Florian Weimer <fweimer@redhat.com>
22715 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22716 Prevent installation of libnsl.so.
22717 (libnsl-inhibit-o): Do not build (or install) static libraries.
22719 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22722 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22723 before the day number which may produce a double space.
22724 (date_fmt): Likewise.
22726 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22728 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22729 instead of fegetenv.
22731 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22734 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22735 comment to say exceptions are discarded.
22736 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22738 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22741 2018-01-11 Florian Weimer <fweimer@redhat.com>
22743 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22746 2018-01-11 Florian Weimer <fweimer@redhat.com>
22749 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22750 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22752 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22755 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22756 negative arguments in test for NaN or infinity argument.
22758 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22760 * po/libc.pot: Regenerate.
22762 2018-01-10 Florian Weimer <fweimer@redhat.com>
22765 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22766 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22768 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22770 * hurd/hurd/fd.h: Include <fcntl.h>
22771 (__hurd_at_flags): New function.
22772 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22773 with call to __hurd_at_flags.
22774 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22775 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22777 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22778 (__access_noerrno): Use __faccessat_common instead of access_common.
22779 (__access): Likewise.
22780 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22781 with a call to __faccessat.
22782 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22783 (__faccessat_common): ... this. Move implementation of __access into it when
22784 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22785 reauthenticate_cwdir_at helper to implement AT mechanism.
22786 (__faccessat_noerrno): New function, just calls __faccessat_common.
22787 (__faccessat): New function, just calls __faccessat_common.
22788 (faccessat): Define weak alias.
22790 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22793 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22794 (CFLAGS-s_fmaxmagl.c): New variable.
22795 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22799 long int for arguments of possibly overflowing addition or
22801 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22803 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22806 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22807 (CFLAGS-e_remainderl.c): New variable.
22810 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22812 (CFLAGS-s_cacoshl.c): Likewise.
22813 (CFLAGS-s_casinhl.c): Likewise.
22814 (CFLAGS-s_catanl.c): Likewise.
22815 (CFLAGS-s_catanhl.c): Likewise.
22816 (CFLAGS-s_cexpl.c): Likewise.
22817 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22818 (CFLAGS-s_csinhl.c): Likewise.
22819 (CFLAGS-s_clogl.c): Likewise.
22820 (CFLAGS-s_clog10l.c): Likewise.
22821 (CFLAGS-s_csinl.c): Likewise.
22822 (CFLAGS-s_csqrtl.c): Likewise.
22824 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22825 2017-01-09 Svante Signell <svante.signell@gmail.com>
22827 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22828 (_hurd_exec_paths): New function.
22829 * hurd/hurd.h (_hurd_exec): Deprecate function.
22830 (_hurd_exec_paths): Declare function.
22831 * hurd/Versions: Export _hurd_exec_paths.
22832 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22833 (__execve): Use __getcwd to build absolute path, and use
22834 _hurd_exec_paths instead of _hurd_exec.
22835 * sysdeps/mach/hurd/spawni.c: Likewise.
22836 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22839 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22841 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22842 test instead of failing in case of ENOENT returned by posix_openpt.
22844 2018-01-08 Florian Weimer <fweimer@redhat.com>
22846 resolv: Support binary labels in test framework.
22847 * support/resolv_test.c (struct to_be_freed): Remove.
22848 (struct compressed_name): New.
22849 (allocate_compressed_name, ascii_tolower)
22850 (compare_compressed_name): New functions.
22851 (struct resolv_response_builder): Update type of
22852 compression_offsets for use with tsearch. Rempve to_be_freed.
22853 (response_push_pointer_to_free): Remove function.
22854 (resolv_response_add_name): Rewrite using struct compressed_name
22855 and tsearch instead of hsearch_r.
22856 (response_builder_allocate): Remove initialization of
22857 compression_offsets.
22858 (response_builder_free): Update for removal of to_be_freed. Use
22859 tdestroy instead of hdestroy_r.
22860 * resolv/Makefile (tests): Add tst-resolv-binary.
22861 (tst-resolv-binary): Link with -lresolv -lpthread.
22863 2018-01-08 Florian Weimer <fweimer@redhat.com>
22865 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22866 time. Pass positive flag instead of negative flag to
22867 support_test_compare_failure.
22868 (support_test_compare_failure): Change negative parameter to
22870 * support/support_test_compare_failure.c (report)
22871 (support_test_compare_failure): Likewise.
22872 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22873 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22875 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22878 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22879 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22880 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
22882 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22884 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
22886 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22887 Add s_sincosf-sse2 and s_sincosf-fma.
22888 (CFLAGS-s_sincosf-fma.c): New.
22889 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
22890 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
22891 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
22892 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
22893 __sincosf is defined.
22895 2018-01-08 Florian Weimer <fweimer@redhat.com>
22897 * nptl/tst-thread-exit-clobber.cc: New file.
22898 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
22900 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
22901 (tests): Add tst-thread-exit-clobber.
22902 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
22904 2018-01-08 Florian Weimer <fweimer@redhat.com>
22906 * support/check.h (support_static_assert): Define.
22907 (TEST_COMPARE): Use it.
22909 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
22911 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
22912 [!__RLIM_T_MATCHES_RLIM64_T]
22913 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
22914 __getrlimit64. Add libc_hidden_weak.
22916 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
22918 * elf/elf.h (R_RISCV_NONE): New define.
22919 (R_RISCV_32): Likewise.
22920 (R_RISCV_64): Likewise.
22921 (R_RISCV_RELATIVE): Likewise.
22922 (R_RISCV_COPY): Likewise.
22923 (R_RISCV_JUMP_SLOT): Likewise.
22924 (R_RISCV_TLS_DTPMOD32): Likewise.
22925 (R_RISCV_TLS_DTPMOD64): Likewise.
22926 (R_RISCV_TLS_DTPREL32): Likewise.
22927 (R_RISCV_TLS_DTPREL64): Likewise.
22928 (R_RISCV_TLS_TPREL32): Likewise.
22929 (R_RISCV_TLS_TPREL64): Likewise.
22930 * Makerules (make-link-multidir): Make directories before linking into
22932 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
22934 (VDSO_HASH_LINUX_4_15): Likewise.
22935 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
22936 in subdirectories of lib.
22937 * nptl/Makefile (/librt.so): Always depend on
22938 "$(shared-thread-library)".
22940 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22942 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
22943 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
22944 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
22946 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
22947 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
22949 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
22950 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
22951 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
22952 * sysdeps/gnu/glob-lstat-compat.c: New file.
22953 * sysdeps/gnu/glob64-lstat-compat.c: New file.
22954 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
22956 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22958 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
22959 Reserve 16 chars to reloc_addr before calling _itoa_word.
22961 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22964 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
22965 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
22967 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
22968 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
22970 * resource/tst-getrlimit.c: Add copyright header.
22972 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22973 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22975 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22976 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
22977 Define __GI_getrlimit64 as weak alias of __getrlimit64.
22978 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
22980 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
22981 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
22982 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
22983 RLIM64_INFINITY): Fix values to match the kernel ones.
22984 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
22985 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
22986 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
22987 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
22988 getrlimit64@@GLIBC_2_27.
22989 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
22991 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
22992 getrlimit, setrlimit, getrlimit64 and setrlimit64.
22993 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
22994 setrlimit, getrlimit64 and setrlimit64.
22996 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
22999 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23000 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23002 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23004 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23005 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23006 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23008 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23012 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23013 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23017 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23018 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23019 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23020 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23022 2018-01-04 Florian Weimer <fweimer@redhat.com>
23025 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23026 Align the stack before calling exit.
23027 * stdlib/tst-makecontext-align.c: New file.
23028 * stdlib/Makefile (tests): Add tst-makecontext-align.
23030 2018-01-04 Florian Weimer <fweimer@redhat.com>
23032 Add support for calling dlvsym from libc.so.
23033 * include/dlfcn.h (__libc_dlvsym): Declare.
23034 * elf/Makefile (tests-static-internal): Add
23035 tst-libc_dlvsym-static.
23036 (tests-internal): Add tst-libc_dlvsym.
23037 (modules-names): Add tst-libc_dlvsym-dso.
23038 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23039 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23040 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23041 object tst-libc_dlvsym-dso.so needs to be built before running
23043 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23044 * elf/Versions: Export __libc_dlvsym.
23045 * elf/dl-libc.c (struct do_dlvsym_args): New.
23046 (do_dlvsym, __libc_dlvsym): New functions.
23047 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23048 (_dl_open_hook2): New variable.
23049 (__libc_register_dl_open_hook): Set it.
23050 * elf/tst-libc_dlvsym-dso.c: New file.
23051 * elf/tst-libc_dlvsym-static.c: Likewise.
23052 * elf/tst-libc_dlvsym.c: Likewise.
23053 * elf/tst-libc_dlvsym.h: Likewise.
23055 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23057 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23058 include <sys/mount.h>.
23060 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23062 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23063 Add __NO_MATH_ERRNO__ check.
23065 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23067 * sysdeps/mips/mips32/libm-test-ulps: Update.
23068 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23070 2018-01-02 Florian Weimer <fweimer@redhat.com>
23072 * misc/tst-pselect.c: Add copyright header.
23074 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23076 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23078 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23080 (settrlimit): Rename into setrlimit.
23081 (__sttrlimit): Rename into __setrlimit.
23083 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23084 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23085 never defined in that case.
23087 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23089 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23091 * sysdeps/arm/libm-test-ulps: Update.
23093 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23094 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23096 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23098 * NEWS: Add cosf and sincosf to list of optimized functions.
23100 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23103 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23104 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23105 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23106 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23108 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23111 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23113 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23114 making a copy of it.
23116 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23118 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23119 trailing whitespace removed.
23120 * scripts/config.guess: Update to version 2018-01-01.
23121 * scripts/config.sub: Update to version 2018-01-01.
23122 * scripts/move-if-change: Update from gnulib.
23124 * NEWS: Update copyright dates.
23125 * catgets/gencat.c (print_version): Likewise.
23126 * csu/version.c (banner): Likewise.
23127 * debug/catchsegv.sh: Likewise.
23128 * debug/pcprofiledump.c (print_version): Likewise.
23129 * debug/xtrace.sh (do_version): Likewise.
23130 * elf/ldconfig.c (print_version): Likewise.
23131 * elf/ldd.bash.in: Likewise.
23132 * elf/pldd.c (print_version): Likewise.
23133 * elf/sotruss.sh: Likewise.
23134 * elf/sprof.c (print_version): Likewise.
23135 * iconv/iconv_prog.c (print_version): Likewise.
23136 * iconv/iconvconfig.c (print_version): Likewise.
23137 * locale/programs/locale.c (print_version): Likewise.
23138 * locale/programs/localedef.c (print_version): Likewise.
23139 * login/programs/pt_chown.c (print_version): Likewise.
23140 * malloc/memusage.sh (do_version): Likewise.
23141 * malloc/memusagestat.c (print_version): Likewise.
23142 * malloc/mtrace.pl: Likewise.
23143 * manual/libc.texinfo: Likewise.
23144 * nptl/version.c (banner): Likewise.
23145 * nscd/nscd.c (print_version): Likewise.
23146 * nss/getent.c (print_version): Likewise.
23147 * nss/makedb.c (print_version): Likewise.
23148 * posix/getconf.c (main): Likewise.
23149 * scripts/test-installation.pl: Likewise.
23150 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23152 * All files with FSF copyright notices: Update copyright dates
23153 using scripts/update-copyrights.
23154 * locale/programs/charmap-kw.h: Regenerated.
23155 * locale/programs/locfile-kw.h: Likewise.
23157 2017-12-31 Zack Weinberg <zackw@panix.com>
23159 * libio/bits/libio-ldbl.h: Correct check for improper
23160 inclusion. Add own multiple include guard.
23162 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23163 Dmitry V. Levin <ldv@altlinux.org>
23167 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23168 string token expansion. Check for NULL pointer or empty string possibly
23169 returned by expand_dynamic_string_token.
23170 (decompose_rpath): Check for empty path after dynamic string
23173 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23176 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23178 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23179 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23180 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23181 and PTRACE_SYSCALL.
23182 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23183 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23187 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23189 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23190 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23191 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23192 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23193 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23194 bits/ptrace-shared.h.
23195 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23196 <bits/ptrace-shared.h>.
23197 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23198 __ptrace_peeksiginfo_flags, ptrace): Remove.
23199 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23203 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23205 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23208 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23209 end of the loop. Improve comments.
23211 2017-12-29 Zack Weinberg <zackw@panix.com>
23214 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23215 might be set on success.
23217 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23220 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23221 is unchanged on success.
23223 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23225 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23227 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23228 expand_dynamic_string_token): Likewise.
23229 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23232 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23235 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23236 is set and name contains ':', and all code depending on these checks.
23238 2017-12-24 Zack Weinberg <zackw@panix.com>
23240 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23241 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23243 * libio/libio.h: Rename the original version of this file to
23244 libio/bits/libio.h. Error out if not included by stdio.h or the
23246 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23247 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23248 if not included by bits/libio.h or the stub _G_config.h.
23249 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23250 sysdeps/unix/sysv/linux/bits. Error out if not included by
23251 bits/libio.h or the stub _G_config.h.
23252 * libio/stdio.h: Include bits/libio.h, not libio.h.
23253 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23254 well as libio.h and _G_config.h.
23256 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23257 * libio/strfile.h, stdio-common/vfscanf.c
23258 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23259 Include stdio.h, not _G_config.h nor libio.h.
23260 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23261 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23263 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23265 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23268 * stdlib/getrandom.c (getrandom): Fix comment.
23269 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23271 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23274 * manual/arith.texi (strtoul): Fix a typo.
23277 * manual/arith.texi (finite): Fix the description of the return
23280 2017-12-22 Eric Blake <ebb9@byu.net>
23282 Avoid gcc warnings on cygwin
23283 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23284 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23285 Avoid unused variable.
23287 2017-12-22 Florian Weimer <fweimer@redhat.com>
23289 * io/Makefile (routines): Add copy_file_range.
23290 (tests): Add tst-copy_file_range.
23291 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23292 * io/Versions (GLIBC_2.27): Export copy_file_range.
23293 * io/copy_file_range-compat.c: New file.
23294 * io/copy_file_range.c: Likewise.
23295 * io/tst-copy_file_range-compat.c: Likewise.
23296 * io/tst-copy_file_range.c: Likewise.
23297 * manual/llio.texi (Copying File Data): New section.
23298 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23299 * support/Makefile (libsupport-routines): Add support-xfstat,
23300 xftruncate, xlseek.
23301 * support/support-xfstat.c: New file.
23302 * support/xftruncate.c: Likewise.
23303 * support/xlseek.c: Likewise.
23304 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23305 * sysdeps/unix/sysv/linux/**.abilist: Update.
23306 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23308 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23310 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23311 disable-multi-arch variant to aarch64-linux-gnu.
23313 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23315 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23316 trailing whitespace removed.
23317 * scripts/config.guess: Update to version 2017-12-17.
23318 * scripts/config.sub: Update to version 2017-11-23.
23319 * scripts/install-sh: Update to version 2017-09-23.17.
23320 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23322 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23324 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23325 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23326 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23327 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23328 * sysdeps/tile/crtn.S: Likewise.
23329 * sysdeps/tile/dl-start.S (_start): Likewise.
23330 * sysdeps/tile/dl-trampoline.S: Likewise.
23331 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23332 * sysdeps/tile/start.S (_start): Likewise.
23333 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23334 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23335 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23336 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23337 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23338 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23339 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23341 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23343 * sysdeps/tile/preconfigure: Remove tilegx folder.
23344 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23345 * sysdeps/tile/Implies: ... here.
23346 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23347 * sysdeps/tile/Makefile: ... here.
23348 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23349 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23350 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23351 * sysdeps/tile/bits/wordsize.h: ... here.
23352 * sysdeps/tile/tilegx/*: Move to ...
23353 * sysdeps/tile/*: ... here.
23354 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23355 * sysdeps/tile/tilegx32/Implies: ... here.
23356 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23357 * sysdeps/tile/tilegx64/Implies: ... here.
23358 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23360 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23361 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23362 * sysdeps/unix/sysv/linux/tile/*: ... here.
23363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23364 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23366 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23368 * README: Remove tilepro-*-linux-gnu from supported architecture.
23369 * scripts/build-many-glibcs.py: Likewise.
23370 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23371 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23372 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23373 elf_machine_matches_host, elf_machine_dynamic,
23374 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23375 howto, elf_machine_rela): Likewise.
23376 * sysdeps/tile/dl-start.S (_start): Likewise.
23377 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23378 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23379 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23380 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23381 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23382 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23384 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23385 * sysdeps/tile/preconfigure: Likewise.
23386 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23387 POINTER_CHK_GUARD): Likewise.
23388 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23389 * sysdeps/tile/start.S (_start): Likewise.
23390 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23392 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23393 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23395 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23396 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23397 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23399 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23400 * sysdeps/tile/tilepro/Implies: Remove file.
23401 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23402 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23403 * sysdeps/tile/tilepro/memchr.c: Likewise.
23404 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23405 * sysdeps/tile/tilepro/memset.c: Likewise.
23406 * sysdeps/tile/tilepro/memusage.h: Likewise.
23407 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23408 * sysdeps/tile/tilepro/strchr.c: Likewise.
23409 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23410 * sysdeps/tile/tilepro/strlen.c: Likewise.
23411 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23412 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23413 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23414 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23415 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23416 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23417 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23419 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23420 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23421 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23422 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23423 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23424 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23425 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23426 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23427 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23428 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23429 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23430 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23431 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23432 tilepro mention in comment.
23434 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23435 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23436 * nptl/pthread_join_common.c: New file: common function used on
23437 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23438 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23439 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23440 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23441 (cleanup): Move definition to pthread_join_common.c.
23442 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23443 Remove superflous checks.
23444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23447 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23449 * sysdeps/aarch64/libm-test-ulps: Update.
23451 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23453 * sysdeps/aarch64/memset.S (MEMSET): Define.
23455 2017-12-20 Florian Weimer <fweimer@redhat.com>
23458 nptl: Provide full implementation of pthread_self in libc.so.
23459 * nptl/Makefile (routines): Add pthread_self.
23460 (libpthread-routines): Replace pthread_self with
23461 compat-pthread_self.
23462 * nptl/forward.c (pthread_self): Remove.
23463 * nptl/nptl-init.c (pthread_functions): Do not initialize
23465 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23466 * nptl/compat-pthread_self.c: New file.
23467 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23468 Remove ptr_pthread_self.
23470 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23472 * posix/regcomp.c: Fix spelling in comments.
23473 * posix/regex.h: Likewise.
23474 * posix/regex_internal.c: Likewise.
23475 * posix/regexec.c: Likewise.
23477 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23480 * math/Makefile [C++] (tests): Add test for iseqsig.
23481 * math/math.h [C++] (iseqsig): New implementation, which does
23482 not rely on __MATH_TG/__builtin_types_compatible_p.
23483 * math/test-math-iseqsig.cc: New file.
23484 * sysdeps/powerpc/powerpc64le/Makefile
23485 (CFLAGS-test-math-iseqsig.cc): New variable.
23487 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23489 * elf/dl-load.c (is_trusted_path): Remove.
23490 (fillin_rpath): Remove check_trusted argument and its use,
23491 all callers changed.
23493 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23496 * Makeconfig (link-pie-before-libc): Replace -pie with
23497 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23498 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23499 (tst-dlopen-aout-no-pie): New.
23500 (LDFLAGS-tst-prelink): Removed.
23501 (tst-prelink-no-pie): New.
23502 (LDFLAGS-tst-main1): Removed.
23503 (tst-main1-no-pie): New.
23504 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23505 (tst-gmon-no-pie): New.
23507 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23509 * manual/install.texi: Document that --enable-static-pie
23511 * INSTALL: Regenerated.
23513 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23516 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23519 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23523 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23527 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23529 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23530 <errno.h>. Include "eexp.tbl".
23531 (half): New constant.
23533 (__ieee754_exp): Rewrite.
23534 (__slowexp): Remove prototype.
23535 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23536 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23537 * sysdeps/i386/fpu/slowexp.c: Likewise.
23538 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23539 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23540 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23541 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23542 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23543 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23544 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23546 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23547 (CPPFLAGS-slowexp.c): Remove variable.
23548 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23549 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23550 (CFLAGS-slowexp-fma.c): Remove variable.
23551 (CFLAGS-slowexp-fma4.c): Likewise.
23552 (CFLAGS-slowexp-avx.c): Likewise.
23553 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23555 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23556 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23557 * math/Makefile (type-double-routines): Remove slowexp.
23558 * manual/probes.texi (slowexp_p6): Remove.
23559 (slowexp_p32): Likewise.
23561 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23563 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23566 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23568 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23572 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23574 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23575 <errno.h>. Include "eexp.tbl".
23576 (half): New constant.
23578 (__ieee754_exp): Rewrite.
23579 (__slowexp): Remove prototype.
23580 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23581 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23582 * sysdeps/i386/fpu/slowexp.c: Likewise.
23583 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23584 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23585 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23586 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23587 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23588 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23589 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23591 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23592 (CPPFLAGS-slowexp.c): Remove variable.
23593 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23594 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23595 (CFLAGS-slowexp-fma.c): Remove variable.
23596 (CFLAGS-slowexp-fma4.c): Likewise.
23597 (CFLAGS-slowexp-avx.c): Likewise.
23598 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23600 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23602 * math/Makefile (type-double-routines): Remove slowexp.
23603 * manual/probes.texi (slowexp_p6): Remove.
23604 (slowexp_p32): Likewise.
23606 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23607 James Clarke <jrtc27@jrtc27.com>
23610 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23613 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23616 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23619 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23622 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23623 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23624 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23625 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23628 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23631 * bits/types/__cancel_jmp_buf_tag.h: New file.
23632 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23633 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23634 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23635 * nptl/Makefile (headers): Add
23636 bits/types/__cancel_jmp_buf_tag.h.
23637 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23638 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23639 * sysdeps/nptl/pthread.h: Include
23640 <bits/types/__cancel_jmp_buf_tag.h>.
23641 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23643 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23645 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23647 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23648 --enable-static-pie variants to x86_64, x32 and i686.
23650 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23653 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23654 argument for attrubutes. All callers changed.
23655 (__inline_mathop1): Likewise. All callers changed.
23656 (__inline_mathop): Likewise. All callers changed.
23657 [__USE_MISC] (scalbn): Use __inline_forward instead of
23658 __inline_forward_c.
23659 [__USE_ISOC99] (scalbln): Likewise.
23660 [__USE_ISOC99] (nearbyint): Likewise.
23661 [__USE_ISOC99] (lrint): Likewise.
23662 [__USE_MISC] (scalbnf): Likewise.
23663 [__USE_ISOC99] (scalblnf): Likewise.
23664 [__USE_ISOC99] (nearbyintf): Likewise.
23665 [__USE_ISOC99] (lrintf): Likewise.
23666 [__USE_MISC] (scalbnl): Likewise.
23667 [__USE_ISOC99] (scalblnl): Likewise.
23668 [__USE_ISOC99] (nearbyintl): Likewise.
23669 [__USE_ISOC99] (lrintl): Likewise.
23670 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23671 __inline_mathop and __m81_defun changed.
23673 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23674 CPU or FPU for ARM hard-float configurations.
23676 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23678 * nptl/tst-attr3.c: Include <libc-diag.h>.
23679 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23681 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23683 * string/tester.c (test_strncat): Also disable -Warray-bounds
23684 warnings for two tests.
23686 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23689 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23690 $(cc-pie-default) == yes.
23691 * config.make.in (cc-pie-default): New.
23692 * configure.ac (libc_cv_pie_default): Renamed to ...
23693 (libc_cv_cc_pie_default): This.
23694 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23695 * configure: Regenerated.
23697 2017-12-18 Florian Weimer <fweimer@redhat.com>
23700 ld.so: Harden dl-libc/libdl hooks.
23701 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23702 (rtld_active): New function.
23703 * dlfcn/dladdr.c (__dladdr): Call it.
23704 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23705 * dlfcn/dlclose.c (__dlcose): Likewise.
23706 * dlfcn/dlerror.c (__dlerror): Likewise.
23707 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23708 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23709 * dlfcn/dlopen.c (__dlopen): Likewise.
23710 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23711 * dlfcn/dlsym.c (__dlsym): Likewise.
23712 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23713 * libio/vtables.c (_IO_vtable_check): Likewise.
23714 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23715 (__libc_dlclose): Likewise.
23716 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23719 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23722 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23723 buffers for readlink input and output.
23725 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23728 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23729 inhibit_stack_protector.
23732 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23733 inhibit_stack_protector.
23735 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23738 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23739 code and invocation.
23741 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23743 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23745 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23748 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23750 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23752 * sysdeps/s390/fpu/libm-test-ulps: Update.
23754 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23758 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23760 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23761 constants to s_sincosf.h file.
23762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23763 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23765 * sysdeps/ieee754/flt-32/s_sincosf.h:
23768 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23771 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23774 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23777 * INSTALL: Regenerated.
23778 * Makeconfig (real-static-start-installed-name): New.
23779 (pic-default): Updated for --enable-static-pie.
23780 (pie-default): New for --enable-static-pie.
23781 (default-pie-ldflag): Likewise.
23782 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23783 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23784 Replace $(static-start-installed-name) with
23785 $(real-static-start-installed-name).
23786 (+prectorT): Updated for --enable-static-pie.
23787 (+postctorT): Likewise.
23788 (CFLAGS-.o): Add $(pie-default).
23789 (CFLAGS-.op): Likewise.
23790 * NEWS: Mention --enable-static-pie.
23791 * config.h.in (ENABLE_STATIC_PIE): New.
23792 * configure.ac (--enable-static-pie): New configure option.
23793 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23794 (have-static-pie): Likewise.
23795 Enable static PIE if linker supports --no-dynamic-linker.
23796 (ENABLE_STATIC_PIE): New AC_DEFINE.
23797 (enable-static-pie): New LIBC_CONFIG_VAR.
23798 * configure: Regenerated.
23799 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23800 gr$(start-installed-name) for --enable-static-pie.
23801 (extra-objs): Likewise.
23802 (install-lib): Likewise.
23803 (extra-objs): Add static-reloc.o and static-reloc.os
23804 ($(objpfx)$(start-installed-name)): Also depend on
23805 $(objpfx)static-reloc.o.
23806 ($(objpfx)r$(start-installed-name)): New.
23807 ($(objpfx)g$(start-installed-name)): Also depend on
23808 $(objpfx)static-reloc.os.
23809 ($(objpfx)gr$(start-installed-name)): New.
23810 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23812 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23814 * csu/static-reloc.c: New file.
23815 * elf/Makefile (routines): Add dl-reloc-static-pie.
23816 (elide-routines.os): Likewise.
23817 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23818 (tst-tls1-static-non-pie-no-pie): New.
23819 * elf/dl-reloc-static-pie.c: New file.
23820 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23821 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23822 STATIC_PIE_BOOTSTRAP.
23823 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23824 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23825 (tests-static): Likewise.
23826 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23827 (tst-gmon-static-no-pie): New.
23828 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23829 (CRT-tst-gmon-static-pie): Likewise.
23830 (tst-gmon-static-pie-ENV): Likewise.
23831 (tests-special): Likewise.
23832 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23833 (clean-tst-gmon-static-pie-data): Likewise.
23834 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23835 * gmon/tst-gmon-static-pie.c: New file.
23836 * manual/install.texi: Document --enable-static-pie.
23837 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23838 (_dl_get_dl_main_map): Likewise.
23839 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23840 * sysdeps/x86_64/configure.ac: Likewise.
23841 * sysdeps/i386/configure: Regenerated.
23842 * sysdeps/x86_64/configure: Likewise.
23843 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23844 (ASFLAGS-.op): Likewise.
23846 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23848 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23849 * posix/tst-mmap-offset.c (fname): Use /tmp.
23850 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23852 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23854 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23856 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23858 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23861 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23863 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23864 --with-float=hard for arm-linux-gnueabihf configurations.
23867 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23868 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23869 ($(mo-installed)): Use $(objpfx)%.mo.
23870 (realclean): Remove rule.
23872 * po/Makefile (linguas): Remove rule and dependencies.
23873 (linguas.mo): Likewise.
23874 (.PHONY): Do not depend on linguas and linguas.mo.
23875 (podir): Remove variable.
23876 (pofiles): Likewise.
23877 [$(pofiles)] (%.po): Remove rule.
23879 * sysdeps/sparc/sparc32/Makefile
23880 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23881 start-of-line whitespace in argument of echo.
23882 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
23883 with whitespace. Generate __wrap_.udiv alias.
23884 * sysdeps/sparc/sparc32/rem.S: Regenerated.
23885 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23886 * sysdeps/sparc/sparc32/udiv.S: Likewise.
23887 * sysdeps/sparc/sparc32/urem.S: Likewise.
23889 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23891 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
23892 for aligned inputs.
23894 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
23896 * benchtests/bench-strcmp.c: Print output in JSON format.
23898 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
23900 2017-12-14 Florian Weimer <fweimer@redhat.com>
23904 * elf/dl-load.c (_dl_init_paths): Compute number of components in
23905 the expanded path string.
23907 2017-12-14 Florian Weimer <fweimer@redhat.com>
23911 * elf/dl-load.c (system_dirs): Update comment.
23912 (nsystem_dirs_len): Use array_length.
23913 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
23915 2017-12-14 Florian Weimer <fweimer@redhat.com>
23917 Simplify compiling most of support/ outside of glibc.
23918 * support/check_addrinfo.c: Include <string.h>.
23919 * support/check_dns_packet.c: Likewise.
23920 * support/check_hostent.c: Likewise.
23921 * support/support_can_chroot.c: Include <support/xunistd.h>.
23922 * support/support_format_addrinfo.c: Include <stdlib.h>
23923 * support/support_format_dns_packet.c: Include <stdbool.h>.
23924 * support/support_format_hostent.c: Include <stdlib.h>.
23925 * support/support_format_netent.c: Likewise.
23926 * support/support_write_string.c: Include <support/xunistd.h>.
23927 * support/xdlfcn.c: Include <stddef.h>.
23929 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
23931 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
23933 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23934 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23936 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23937 (sysdeps_routines): Add memset-niagara7.
23938 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
23940 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
23942 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
23943 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23944 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
23945 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
23946 Add niagara7 option.
23947 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
23950 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23951 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
23952 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
23954 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
23956 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
23957 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
23958 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
23959 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
23960 and __memmove_niagara7.
23961 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
23962 Add niagara7 option.
23963 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
23964 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
23965 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
23966 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
23967 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
23969 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
23971 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
23972 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
23973 * sysdeps/sparc/sparc64/memmove.S: Likewise.
23974 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
23976 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
23977 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
23978 _dl_sparc_cap_flags array.
23979 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
23981 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
23983 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
23984 time whenever possible.
23986 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23988 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
23989 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
23991 2017-12-12 Joseph Myers <joseph@codesourcery.com>
23993 * soft-fp/fmadf4.c: Move to ....
23994 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
23995 * soft-fp/fmasf4.c: Move to ....
23996 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
23997 * soft-fp/fmatf4.c: Move to ....
23998 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
23999 * sysdeps/ieee754/soft-fp/Makefile: New file.
24000 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24001 * sysdeps/arm/preconfigure: Regenerated.
24002 * sysdeps/arm/nofpu/Implies: New file.
24003 * sysdeps/arm/s_fma.c: Remove file.
24004 * sysdeps/arm/s_fmaf.c: Likewise.
24005 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24006 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24007 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24008 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24009 * sysdeps/microblaze/s_fma.c: Remove file.
24010 * sysdeps/microblaze/s_fmaf.c: Likewise.
24011 * sysdeps/mips/mips32/nofpu/Implies: New file.
24012 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24013 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24014 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24015 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24016 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24017 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24018 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24020 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24021 * sysdeps/nios2/s_fma.c: Remove file.
24022 * sysdeps/nios2/s_fmaf.c: Likewise.
24023 * sysdeps/sh/nofpu/Implies: New file.
24024 * sysdeps/sh/s_fma.c: Remove file.
24025 * sysdeps/sh/s_fmaf.c: Likewise.
24026 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24027 * sysdeps/tile/s_fma.c: Remove file.
24028 * sysdeps/tile/s_fmaf.c: Likewise.
24030 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24032 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24033 Add s_cosf-sse2 and s_cosf-fma.
24034 (CFLAGS-s_cosf-fma.c): New.
24035 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24036 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24037 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24039 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24041 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24043 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24045 * libio/Makefile (tests): Add tst-bz22415.
24046 (tst-bz22415-ENV): New rule.
24047 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24048 (tests-special): Add tst-bz22415-mem.out.
24049 ($(objpfx)tst-bz22415-mem.out): New rule.
24050 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24051 in case of a successful seek operation.
24052 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24053 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24054 buffer is required.
24055 * libio/tst-bz22415.c: New test.
24057 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24059 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24061 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24062 __IPC_64 to 0 to avoid IPC_64 being set.
24064 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24067 * math/bits/mathcalls.h (nextafter): Remove const.
24068 (nexttoward): Likewise.
24070 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24072 * configure.ac (--with-fp): Remove configure option.
24073 (with_fp_cond): New variable.
24074 (libc_cv_with_fp): New configure test. Use this variable instead
24076 * configure: Regenerated.
24077 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24078 * manual/install.texi (Configuring and compiling): Remove
24080 * INSTALL: Regenerated.
24081 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24082 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24083 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24084 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24085 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24086 use --without-fp to configure glibc.
24088 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24090 * manual/locale.texi (nl_langinfo): Fix a typo.
24092 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24095 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24097 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24099 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24100 (CFLAGS-argp-parse.c): Likewise.
24101 (CFLAGS-argp-fmtstream.c): Likewise.
24102 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24103 (CPPFLAGS-sha512-crypt.c): Likewise.
24104 (CPPFLAGS-md5-crypt.c): Likewise.
24105 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24106 (CFLAGS-stack_chk_fail_local.c): Likewise.
24107 (CFLAGS-backtrace.c): Likewise.
24108 (CFLAGS-sprintf_chk.c): Likewise.
24109 (CFLAGS-snprintf_chk.c): Likewise.
24110 (CFLAGS-vsprintf_chk.c): Likewise.
24111 (CFLAGS-vsnprintf_chk.c): Likewise.
24112 (CFLAGS-asprintf_chk.c): Likewise.
24113 (CFLAGS-vasprintf_chk.c): Likewise.
24114 (CFLAGS-obprintf_chk.c): Likewise.
24115 (CFLAGS-dprintf_chk.c): Likewise.
24116 (CFLAGS-vdprintf_chk.c): Likewise.
24117 (CFLAGS-printf_chk.c): Likewise.
24118 (CFLAGS-fprintf_chk.c): Likewise.
24119 (CFLAGS-vprintf_chk.c): Likewise.
24120 (CFLAGS-vfprintf_chk.c): Likewise.
24121 (CFLAGS-gets_chk.c): Likewise.
24122 (CFLAGS-fgets_chk.c): Likewise.
24123 (CFLAGS-fgets_u_chk.c): Likewise.
24124 (CFLAGS-fread_chk.c): Likewise.
24125 (CFLAGS-fread_u_chk.c): Likewise.
24126 (CFLAGS-swprintf_chk.c): Likewise.
24127 (CFLAGS-vswprintf_chk.c): Likewise.
24128 (CFLAGS-wprintf_chk.c): Likewise.
24129 (CFLAGS-fwprintf_chk.c): Likewise.
24130 (CFLAGS-vwprintf_chk.c): Likewise.
24131 (CFLAGS-vfwprintf_chk.c): Likewise.
24132 (CFLAGS-fgetws_chk.c): Likewise.
24133 (CFLAGS-fgetws_u_chk.c): Likewise.
24134 (CFLAGS-read_chk.c): Likewise.
24135 (CFLAGS-pread_chk.c): Likewise.
24136 (CFLAGS-pread64_chk.c): Likewise.
24137 (CFLAGS-recv_chk.c): Likewise.
24138 (CFLAGS-recvfrom_chk.c): Likewise.
24139 (CFLAGS-tst-longjmp_chk.c): Likewise.
24140 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24141 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24142 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24143 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24144 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24145 (CFLAGS-tst-chk1.c): Likewise.
24146 (CFLAGS-tst-chk2.c): Likewise.
24147 (CFLAGS-tst-chk3.c): Likewise.
24148 (CFLAGS-tst-chk4.cc): Likewise.
24149 (CFLAGS-tst-chk5.cc): Likewise.
24150 (CFLAGS-tst-chk6.cc): Likewise.
24151 (CFLAGS-tst-lfschk1.c): Likewise.
24152 (CFLAGS-tst-lfschk2.c): Likewise.
24153 (CFLAGS-tst-lfschk3.c): Likewise.
24154 (CFLAGS-tst-lfschk4.cc): Likewise.
24155 (CFLAGS-tst-lfschk5.cc): Likewise.
24156 (CFLAGS-tst-lfschk6.cc): Likewise.
24157 (CFLAGS-tst-ssp-1.c): Likewise.
24158 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24159 (CFLAGS-scandir64.c): Likewise.
24160 (CFLAGS-scandir-tail.c): Likewise.
24161 (CFLAGS-scandir64-tail.c): Likewise.
24162 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24163 (CFLAGS-dl-tunables.c): Likewise.
24164 (CFLAGS-dl-runtime.c): Likewise.
24165 (CFLAGS-dl-lookup.c): Likewise.
24166 (CFLAGS-dl-iterate-phdr.c): Likewise.
24167 (CFLAGS-vismain.c): Likewise.
24168 (CFLAGS-tst-linkall-static.c): Likewise.
24169 (CFLAGS-tst-linkall-static.c): Likewise.
24170 (CPPFLAGS-dl-load.c): Likewise.
24171 (CFLAGS-ldconfig.c): Likewise.
24172 (CFLAGS-dl-cache.c): Likewise.
24173 (CFLAGS-cache.c): Likewise.
24174 (CFLAGS-rtld.c): Likewise.
24175 (CFLAGS-multiload.c): Likewise.
24176 (CFLAGS-filtmod1.c): Likewise.
24177 (CFLAGS-tst-align.c): Likewise.
24178 (CFLAGS-tst-align2.c): Likewise.
24179 (CFLAGS-tst-alignmod.c): Likewise.
24180 (CFLAGS-tst-alignmod2.c): Likewise.
24181 (CPPFLAGS-tst-execstack.c): Likewise.
24182 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24183 (CFLAGS-tst-latepthreadmod.c): Likewise.
24184 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24185 (CFLAGS-getgrnam_r.c): Likewise.
24186 (CFLAGS-getgrent_r.c): Likewise.
24187 (CFLAGS-getgrent.c): Likewise.
24188 (CFLAGS-fgetgrent.c): Likewise.
24189 (CFLAGS-fgetgrent_r.c): Likewise.
24190 (CFLAGS-putgrent.c): Likewise.
24191 (CFLAGS-initgroups.c): Likewise.
24192 (CFLAGS-getgrgid.c): Likewise.
24193 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24194 (CFLAGS-getsgent.c): Likewise.
24195 (CFLAGS-fgetsgent.c): Likewise.
24196 (CFLAGS-fgetsgent_r.c): Likewise.
24197 (CFLAGS-putsgent.c): Likewise.
24198 (CFLAGS-getsgnam.c): Likewise.
24199 (CFLAGS-getsgnam_r.c): Likewise.
24200 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24201 (CFLAGS-iconv_charmap.c): Likewise.
24202 (CFLAGS-dummy-repertoire.c): Likewise.
24203 (CFLAGS-charmap.c): Likewise.
24204 (CFLAGS-linereader.c): Likewise.
24205 (CFLAGS-simple-hash.c): Likewise.
24206 (CFLAGS-gconv_conf.c): Likewise.
24207 (CFLAGS-iconvconfig.c): Likewise.
24208 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24209 (CFLAGS-gethstbyad.c): Likewise.
24210 (CFLAGS-gethstbynm_r.c): Likewise.
24211 (CFLAGS-gethstbynm.c): Likewise.
24212 (CFLAGS-gethstbynm2_r.c): Likewise.
24213 (CFLAGS-gethstbynm2.c): Likewise.
24214 (CFLAGS-gethstent_r.c): Likewise.
24215 (CFLAGS-gethstent.c): Likewise.
24216 (CFLAGS-rcmd.c): Likewise.
24217 (CFLAGS-getnetbynm_r.c): Likewise.
24218 (CFLAGS-getnetbynm.c): Likewise.
24219 (CFLAGS-getnetbyad_r.c): Likewise.
24220 (CFLAGS-getnetbyad.c): Likewise.
24221 (CFLAGS-getnetent_r.c): Likewise.
24222 (CFLAGS-getnetent.c): Likewise.
24223 (CFLAGS-getaliasent_r.c): Likewise.
24224 (CFLAGS-getaliasent.c): Likewise.
24225 (CFLAGS-getrpcent_r.c): Likewise.
24226 (CFLAGS-getrpcent.c): Likewise.
24227 (CFLAGS-getservent_r.c): Likewise.
24228 (CFLAGS-getservent.c): Likewise.
24229 (CFLAGS-getprtent_r.c): Likewise.
24230 (CFLAGS-getprtent.c): Likewise.
24231 (CFLAGS-either_ntoh.c): Likewise.
24232 (CFLAGS-either_hton.c): Likewise.
24233 (CFLAGS-getnetgrent.c): Likewise.
24234 (CFLAGS-getnetgrent_r.c): Likewise.
24235 (CFLAGS-tst-checks-posix.c): Likewise.
24236 (CFLAGS-tst-sockaddr.c): Likewise.
24237 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24238 (CFLAGS-tst-translit.c): Likewise.
24239 (CFLAGS-tst-gettext2.c): Likewise.
24240 (CFLAGS-tst-codeset.c): Likewise.
24241 (CFLAGS-tst-gettext3.c): Likewise.
24242 (CFLAGS-tst-gettext4.c): Likewise.
24243 (CFLAGS-tst-gettext5.c): Likewise.
24244 (CFLAGS-tst-gettext6.c): Likewise.
24245 * io/Makefile (CFLAGS-open.c): Likewise.
24246 (CFLAGS-open64.c): Likewise.
24247 (CFLAGS-creat.c): Likewise.
24248 (CFLAGS-creat64.c): Likewise.
24249 (CFLAGS-fcntl.c): Likewise.
24250 (CFLAGS-poll.c): Likewise.
24251 (CFLAGS-ppoll.c): Likewise.
24252 (CFLAGS-lockf.c): Likewise.
24253 (CFLAGS-statfs.c): Likewise.
24254 (CFLAGS-fstatfs.c): Likewise.
24255 (CFLAGS-statvfs.c): Likewise.
24256 (CFLAGS-fstatvfs.c): Likewise.
24257 (CFLAGS-fts.c): Likewise.
24258 (CFLAGS-fts64.c): Likewise.
24259 (CFLAGS-ftw.c): Likewise.
24260 (CFLAGS-ftw64.c): Likewise.
24261 (CFLAGS-lockf.c): Likewise.
24262 (CFLAGS-posix_fallocate.c): Likewise.
24263 (CFLAGS-posix_fallocate64.c): Likewise.
24264 (CFLAGS-fallocate.c): Likewise.
24265 (CFLAGS-fallocate64.c): Likewise.
24266 (CFLAGS-read.c): Likewise.
24267 (CFLAGS-write.c): Likewise.
24268 (CFLAGS-test-stat.c): Likewise.
24269 (CFLAGS-test-lfs.c): Likewise.
24270 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24271 (CFLAGS-fputc.c): Likewise.
24272 (CFLAGS-fputwc.c): Likewise.
24273 (CFLAGS-freopen64.c): Likewise.
24274 (CFLAGS-freopen.c): Likewise.
24275 (CFLAGS-fseek.c): Likewise.
24276 (CFLAGS-fseeko64.c): Likewise.
24277 (CFLAGS-fseeko.c): Likewise.
24278 (CFLAGS-ftello64.c): Likewise.
24279 (CFLAGS-ftello.c): Likewise.
24280 (CFLAGS-fwide.c): Likewise.
24281 (CFLAGS-genops.c): Likewise.
24282 (CFLAGS-getc.c): Likewise.
24283 (CFLAGS-getchar.c): Likewise.
24284 (CFLAGS-getwc.c): Likewise.
24285 (CFLAGS-getwchar.c): Likewise.
24286 (CFLAGS-iofclose.c): Likewise.
24287 (CFLAGS-iofflush.c): Likewise.
24288 (CFLAGS-iofgetpos64.c): Likewise.
24289 (CFLAGS-iofgetpos.c): Likewise.
24290 (CFLAGS-iofgets.c): Likewise.
24291 (CFLAGS-iofgetws.c): Likewise.
24292 (CFLAGS-iofputs.c): Likewise.
24293 (CFLAGS-iofputws.c): Likewise.
24294 (CFLAGS-iofread.c): Likewise.
24295 (CFLAGS-iofsetpos64.c): Likewise.
24296 (CFLAGS-iofsetpos.c): Likewise.
24297 (CFLAGS-ioftell.c): Likewise.
24298 (CFLAGS-iofwrite.c): Likewise.
24299 (CFLAGS-iogetdelim.c): Likewise.
24300 (CFLAGS-iogetline.c): Likewise.
24301 (CFLAGS-iogets.c): Likewise.
24302 (CFLAGS-iogetwline.c): Likewise.
24303 (CFLAGS-ioputs.c): Likewise.
24304 (CFLAGS-ioseekoff.c): Likewise.
24305 (CFLAGS-ioseekpos.c): Likewise.
24306 (CFLAGS-iosetbuffer.c): Likewise.
24307 (CFLAGS-iosetvbuf.c): Likewise.
24308 (CFLAGS-ioungetc.c): Likewise.
24309 (CFLAGS-ioungetwc.c): Likewise.
24310 (CFLAGS-oldfileops.c): Likewise.
24311 (CFLAGS-oldiofclose.c): Likewise.
24312 (CFLAGS-oldiofgetpos64.c): Likewise.
24313 (CFLAGS-oldiofgetpos.c): Likewise.
24314 (CFLAGS-oldiofsetpos64.c): Likewise.
24315 (CFLAGS-oldiofsetpos.c): Likewise.
24316 (CFLAGS-peekc.c): Likewise.
24317 (CFLAGS-putc.c): Likewise.
24318 (CFLAGS-putchar.c): Likewise.
24319 (CFLAGS-putwc.c): Likewise.
24320 (CFLAGS-putwchar.c): Likewise.
24321 (CFLAGS-rewind.c): Likewise.
24322 (CFLAGS-wfileops.c): Likewise.
24323 (CFLAGS-wgenops.c): Likewise.
24324 (CFLAGS-oldiofopen.c): Likewise.
24325 (CFLAGS-iofopen.c): Likewise.
24326 (CFLAGS-iofopen64.c): Likewise.
24327 (CFLAGS-oldtmpfile.c): Likewise.
24328 (CFLAGS-tst_putwc.c): Likewise.
24329 * locale/Makefile (CFLAGS-md5.c): Likewise.
24330 (CFLAGS-charmap.c): Likewise.
24331 (CFLAGS-locfile.c): Likewise.
24332 (CFLAGS-charmap-dir.c): Likewise.
24333 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24334 (CFLAGS-getpt.c): Likewise.
24335 (CFLAGS-pt_chown.c): Likewise.
24336 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24337 (CFLAGS-obstack.c): Likewise.
24338 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24339 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24340 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24341 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24342 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24343 (CFLAGS-test-tgmath.c): Likewise.
24344 (CFLAGS-test-tgmath2.c): Likewise.
24345 (CFLAGS-test-tgmath-ret.c): Likewise.
24346 (CFLAGS-test-powl.c): Likewise.
24347 (CFLAGS-test-snan.c): Likewise.
24348 (CFLAGS-test-signgam-finite.c): Likewise.
24349 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24350 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24351 (CFLAGS-test-signgam-uchar.c): Likewise.
24352 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24353 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24354 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24355 (CFLAGS-test-signgam-uint.c): Likewise.
24356 (CFLAGS-test-signgam-uint-init.c): Likewise.
24357 (CFLAGS-test-signgam-uint-static.c): Likewise.
24358 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24359 (CFLAGS-test-signgam-ullong.c): Likewise.
24360 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24361 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24362 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24363 (CFLAGS-test-math-cxx11.cc): Likewise.
24364 (CFLAGS-test-math-isinff.cc): Likewise.
24365 (CFLAGS-test-math-iszero.cc): Likewise.
24366 (CFLAGS-test-math-issignaling.cc): Likewise.
24367 (CFLAGS-test-math-iscanonical.cc): Likewise.
24368 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24369 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24370 (CFLAGS-test-flt-eval-method.c): Likewise.
24371 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24372 (CFLAGS-test-finite-macros.c): Likewise.
24373 * misc/Makefile (CFLAGS-select.c): Likewise.
24374 (CFLAGS-tsearch.c): Likewise.
24375 (CFLAGS-lsearch.c): Likewise.
24376 (CFLAGS-pselect.c): Likewise.
24377 (CFLAGS-readv.c): Likewise.
24378 (CFLAGS-writev.c): Likewise.
24379 (CFLAGS-preadv.c): Likewise.
24380 (CFLAGS-preadv64.c): Likewise.
24381 (CFLAGS-pwritev.c): Likewise.
24382 (CFLAGS-pwritev64.c): Likewise.
24383 (CFLAGS-preadv2.c): Likewise.
24384 (CFLAGS-preadv64v2.c): Likewise.
24385 (CFLAGS-pwritev2.c): Likewise.
24386 (CFLAGS-pwritev64v2.c): Likewise.
24387 (CFLAGS-usleep.c): Likewise.
24388 (CFLAGS-syslog.c): Likewise.
24389 (CFLAGS-error.c): Likewise.
24390 (CFLAGS-getpass.c): Likewise.
24391 (CFLAGS-mkstemp.c): Likewise.
24392 (CFLAGS-mkstemp64.c): Likewise.
24393 (CFLAGS-getsysstats.c): Likewise.
24394 (CFLAGS-getusershell.c): Likewise.
24395 (CFLAGS-err.c): Likewise.
24396 (CFLAGS-tst-tsearch.c): Likewise.
24397 (CFLAGS-msync.c): Likewise.
24398 (CFLAGS-fdatasync.c): Likewise.
24399 (CFLAGS-fsync.c): Likewise.
24400 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24401 (CFLAGS-unwind.c): Likewise.
24402 (CFLAGS-unwind-forcedunwind.c): Likewise.
24403 (CFLAGS-pthread_cancel.c): Likewise.
24404 (CFLAGS-pthread_setcancelstate.c): Likewise.
24405 (CFLAGS-pthread_setcanceltype.c): Likewise.
24406 (CFLAGS-cancellation.c): Likewise.
24407 (CFLAGS-libc-cancellation.c): Likewise.
24408 (CFLAGS-pthread_exit.c): Likewise.
24409 (CFLAGS-forward.c): Likewise.
24410 (CFLAGS-pthread_testcancel.c): Likewise.
24411 (CFLAGS-pthread_join.c): Likewise.
24412 (CFLAGS-pthread_timedjoin.c): Likewise.
24413 (CFLAGS-pthread_once.c): Likewise.
24414 (CFLAGS-pthread_cond_wait.c): Likewise.
24415 (CFLAGS-sem_wait.c): Likewise.
24416 (CFLAGS-sem_timedwait.c): Likewise.
24417 (CFLAGS-fcntl.c): Likewise.
24418 (CFLAGS-lockf.c): Likewise.
24419 (CFLAGS-pread.c): Likewise.
24420 (CFLAGS-pread64.c): Likewise.
24421 (CFLAGS-pwrite.c): Likewise.
24422 (CFLAGS-pwrite64.c): Likewise.
24423 (CFLAGS-wait.c): Likewise.
24424 (CFLAGS-waitpid.c): Likewise.
24425 (CFLAGS-sigwait.c): Likewise.
24426 (CFLAGS-msgrcv.c): Likewise.
24427 (CFLAGS-msgsnd.c): Likewise.
24428 (CFLAGS-tcdrain.c): Likewise.
24429 (CFLAGS-open.c): Likewise.
24430 (CFLAGS-open64.c): Likewise.
24431 (CFLAGS-pause.c): Likewise.
24432 (CFLAGS-recv.c): Likewise.
24433 (CFLAGS-send.c): Likewise.
24434 (CFLAGS-accept.c): Likewise.
24435 (CFLAGS-sendto.c): Likewise.
24436 (CFLAGS-connect.c): Likewise.
24437 (CFLAGS-recvfrom.c): Likewise.
24438 (CFLAGS-recvmsg.c): Likewise.
24439 (CFLAGS-sendmsg.c): Likewise.
24440 (CFLAGS-close.c): Likewise.
24441 (CFLAGS-read.c): Likewise.
24442 (CFLAGS-write.c): Likewise.
24443 (CFLAGS-nanosleep.c): Likewise.
24444 (CFLAGS-sigsuspend.c): Likewise.
24445 (CFLAGS-msync.c): Likewise.
24446 (CFLAGS-fdatasync.c): Likewise.
24447 (CFLAGS-fsync.c): Likewise.
24448 (CFLAGS-pt-system.c): Likewise.
24449 (CFLAGS-tst-cleanup2.c): Likewise.
24450 (CFLAGS-tst-cleanupx2.c): Likewise.
24451 (CFLAGS-flockfile.c): Likewise.
24452 (CFLAGS-ftrylockfile.c): Likewise.
24453 (CFLAGS-funlockfile.c): Likewise.
24454 (CFLAGS-tst-initializers1.c): Likewise.
24455 (CFLAGS-tst-initializers1-c89.c): Likewise.
24456 (CFLAGS-tst-initializers1-c99.c): Likewise.
24457 (CFLAGS-tst-initializers1-c11.c): Likewise.
24458 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24459 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24460 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24461 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24462 (CFLAGS-nscd_getgr_r.c): Likewise.
24463 (CFLAGS-nscd_gethst_r.c): Likewise.
24464 (CFLAGS-nscd_getai.c): Likewise.
24465 (CFLAGS-nscd_initgroups.c): Likewise.
24466 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24467 (CFLAGS-pause.c): Likewise.
24468 (CFLAGS-pread.c): Likewise.
24469 (CFLAGS-pread64.c): Likewise.
24470 (CFLAGS-pwrite.c): Likewise.
24471 (CFLAGS-pwrite64.c): Likewise.
24472 (CFLAGS-sleep.c): Likewise.
24473 (CFLAGS-wait.c): Likewise.
24474 (CFLAGS-waitid.c): Likewise.
24475 (CFLAGS-waitpid.c): Likewise.
24476 (CFLAGS-getopt.c): Likewise.
24477 (CFLAGS-wordexp.c): Likewise.
24478 (CFLAGS-sysconf.c): Likewise.
24479 (CFLAGS-pathconf.c): Likewise.
24480 (CFLAGS-fpathconf.c): Likewise.
24481 (CFLAGS-spawn.c): Likewise.
24482 (CFLAGS-spawnp.c): Likewise.
24483 (CFLAGS-spawni.c): Likewise.
24484 (CFLAGS-glob.c): Likewise.
24485 (CFLAGS-glob64.c): Likewise.
24486 (CFLAGS-getconf.c): Likewise.
24487 (CFLAGS-nanosleep.c): Likewise.
24488 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24489 (CFLAGS-getpwent.c): Likewise.
24490 (CFLAGS-getpw.c): Likewise.
24491 (CFLAGS-fgetpwent_r.c): Likewise.
24492 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24493 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24494 (CFLAGS-mq_timedreceive.c): Likewise.
24495 (CFLAGS-mq_timedsend.c): Likewise.
24496 (CFLAGS-clock_nanosleep.c): Likewise.
24497 (CFLAGS-librt-cancellation.c): Likewise.
24498 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24499 (CFLAGS-getspent.c): Likewise.
24500 (CFLAGS-fgetspent.c): Likewise.
24501 (CFLAGS-fgetspent_r.c): Likewise.
24502 (CFLAGS-putspent.c): Likewise.
24503 (CFLAGS-getspnam.c): Likewise.
24504 (CFLAGS-getspnam_r.c): Likewise.
24505 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24506 (CFLAGS-sigsuspend.c): Likewise.
24507 (CFLAGS-sigtimedwait.c): Likewise.
24508 (CFLAGS-sigwait.c): Likewise.
24509 (CFLAGS-sigwaitinfo.c): Likewise.
24510 (CFLAGS-sigreturn.c): Likewise.
24511 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24512 (CFLAGS-vfwprintf.c): Likewise.
24513 (CFLAGS-tmpfile.c): Likewise.
24514 (CFLAGS-tmpfile64.c): Likewise.
24515 (CFLAGS-tempname.c): Likewise.
24516 (CFLAGS-psignal.c): Likewise.
24517 (CFLAGS-vprintf.c): Likewise.
24518 (CFLAGS-cuserid.c): Likewise.
24519 (CFLAGS-errlist.c): Likewise.
24520 (CFLAGS-siglist.c): Likewise.
24521 (CFLAGS-scanf15.c): Likewise.
24522 (CFLAGS-scanf17.c): Likewise.
24523 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24524 (CFLAGS-msort.c): Likewise.
24525 (CFLAGS-qsort.c): Likewise.
24526 (CFLAGS-system.c): Likewise.
24527 (CFLAGS-fmtmsg.c): Likewise.
24528 (CFLAGS-strfmon.c): Likewise.
24529 (CFLAGS-strfmon_l.c): Likewise.
24530 (CFLAGS-strfromd.c): Likewise.
24531 (CFLAGS-strfromf.c): Likewise.
24532 (CFLAGS-strfroml.c): Likewise.
24533 (CFLAGS-tst-bsearch.c): Likewise.
24534 (CFLAGS-tst-qsort.c): Likewise.
24535 (CFLAGS-tst-makecontext2.c): Likewise.
24536 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24537 (CFLAGS-xnlm_prot.c): Likewise.
24538 (CFLAGS-xrstat.c): Likewise.
24539 (CFLAGS-xyppasswd.c): Likewise.
24540 (CFLAGS-xklm_prot.c): Likewise.
24541 (CFLAGS-xrex.c): Likewise.
24542 (CFLAGS-xsm_inter.c): Likewise.
24543 (CFLAGS-xmount.c): Likewise.
24544 (CFLAGS-xrusers.c): Likewise.
24545 (CFLAGS-xspray.c): Likewise.
24546 (CFLAGS-xnfs_prot.c): Likewise.
24547 (CFLAGS-xrquota.c): Likewise.
24548 (CFLAGS-xkey_prot.c): Likewise.
24549 (CFLAGS-auth_unix.c): Likewise.
24550 (CFLAGS-key_call.c): Likewise.
24551 (CFLAGS-pmap_rmt.c): Likewise.
24552 (CFLAGS-clnt_perr.c): Likewise.
24553 (CFLAGS-openchild.c): Likewise.
24554 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24555 (CFLAGS-msgsnd.c): Likewise.
24556 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24557 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24558 (CFLAGS-tzset.c): Likewise.
24559 (CFLAGS-getdate.c): Likewise.
24560 (CFLAGS-test_time.c): Likewise.
24561 (CPPFLAGS-tst-tzname.c): Likewise.
24562 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24563 (CFLAGS-zic.c): Likewise.
24564 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24565 (CFLAGS-wcswidth.c): Likewise.
24566 (CFLAGS-wcstol.c): Likewise.
24567 (CFLAGS-wcstoul.c): Likewise.
24568 (CFLAGS-wcstoll.c): Likewise.
24569 (CFLAGS-wcstoull.c): Likewise.
24570 (CFLAGS-wcstod.c): Likewise.
24571 (CFLAGS-wcstold.c): Likewise.
24572 (CFLAGS-wcstof128.c): Likewise.
24573 (CFLAGS-wcstof.c): Likewise.
24574 (CFLAGS-wcstol_l.c): Likewise.
24575 (CFLAGS-wcstoul_l.c): Likewise.
24576 (CFLAGS-wcstoll_l.c): Likewise.
24577 (CFLAGS-wcstoull_l.c): Likewise.
24578 (CFLAGS-wcstod_l.c): Likewise.
24579 (CFLAGS-wcstold_l.c): Likewise.
24580 (CFLAGS-wcstof128_l.c): Likewise.
24581 (CFLAGS-wcstof_l.c): Likewise.
24582 (CPPFLAGS-tst-wchar-h.c): Likewise.
24583 (CPPFLAGS-wcstold_l.c): Likewise.
24585 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24587 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24589 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24590 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24592 * manual/tunables.texi (Hardware Capability Tunables): Document
24593 glibc.tune.cached_memopt.
24594 * sysdeps/powerpc/cpu-features.c: New file.
24595 * sysdeps/powerpc/cpu-features.h: New file.
24596 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24597 _dl_powerpc_cpu_features.
24598 * sysdeps/powerpc/dl-tunables.list: New file.
24599 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24600 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24601 (INIT_ARCH): Initialize use_aligned_memopt.
24602 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24603 IS_IN(rtld))]: Restrict dl_platform_init availability and
24604 initialize CPU features used by tunables.
24605 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24606 Add memcpy-power8-cached.
24607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24608 __memcpy_power8_cached.
24609 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24610 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24613 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24615 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24616 (CFLAGS-noinl-tester.c): Likewise.
24617 (CFLAGS-tst-strlen.c): Likewise.
24618 (CFLAGS-stratcliff.c): Likewise.
24619 (CFLAGS-test-ffs.c): Likewise.
24620 (CFLAGS-tst-inlcall.c): Likewise.
24621 (CFLAGS-tst-xbzero-opt.c): Likewise.
24622 (CFLAGS-memcpy.c): Likewise.
24623 (CFLAGS-wordcopy.c): Likewise.
24625 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24627 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24628 Store r15 on stack and add cfi rule.
24629 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24632 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24635 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24638 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24640 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24641 Add s_sinf-sse2 and s_sinf-fma.
24642 (CFLAGS-s_sinf-fma.c): New.
24643 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24644 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24645 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24647 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24649 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24651 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24654 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24655 part of result to imaginary part of argument if it is zero and the
24656 real part of the argument is not finite.
24657 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24658 of result to real part of argument if it is zero and the imaginary
24659 part of the argument is not finite.
24661 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24664 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24665 and to the list of locales to be built for testing.
24666 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24667 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24668 and build the collation rules upon that.
24670 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24672 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24673 * manual/math.texi (Mathematics): Document support for _Float32.
24674 * math/Makefile (test-types): Add float32.
24675 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24676 * stdlib/Versions (GLIBC_2.27): Likewise.
24677 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24678 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24679 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24680 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24681 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24682 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24683 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24684 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24685 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24686 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24687 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24688 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24690 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24691 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24692 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24693 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24694 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24695 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24696 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24697 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24698 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24700 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24701 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24702 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24703 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24704 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24722 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24723 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24724 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24725 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24726 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24727 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24728 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24729 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24730 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24731 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24740 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24741 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24742 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24743 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24744 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24745 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24746 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24747 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24749 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24751 * stdlib/strtof.c: Include <bits/floatn.h>
24752 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24753 and later undefine as macro. Define as weak alias if
24755 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24756 and later undefine as macro. Define as weak alias if
24758 * stdlib/strtof_l.c: Include <bits/floatn.h>
24759 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24760 and later undefine as macro. Define as weak alias if
24762 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24763 and later undefine as macro. Define as weak alias if
24766 * stdlib/strfromf.c: Include <bits/floatn.h>.
24767 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24768 and later undefine as macro and define as weak alias.
24770 * math/test-float32.h: New file.
24772 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24773 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24774 (libm_alias_float_other_r): Create f32 alias.
24775 (libm_alias_float_r): Use semicolon before call to
24776 libm_alias_float_other_r.
24778 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24779 second argument to libm_alias_float_other.
24780 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24781 second argument to libm_alias_float_other.
24782 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24783 argument to libm_alias_float_other.
24786 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24787 real part of result for argument 0 + i * NaN.
24788 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24789 results for tests of 0 + i * NaN.
24791 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24793 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24795 2017-12-06 David S. Miller <davem@davemloft.net>
24797 * sysdeps/sparc/fpu/libm-test-ulps: Update
24798 exp_{downward,towardzero,upward} ulps.
24800 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24802 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24805 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24807 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24809 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24811 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24814 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24817 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24818 and to the list of locales to be built for testing.
24819 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24820 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24821 and build the collation rules upon that.
24823 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24825 * NEWS: Add sinf to list of optimized functions.
24827 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24829 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24830 (__HAVE_FLOAT32X): Likewise.
24831 * manual/math.texi (Mathematics): Document support for _Float64
24833 * math/Makefile (test-types): Add float64 and float32x.
24834 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24836 * stdlib/Versions (GLIBC_2.27): Likewise.
24837 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24838 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24839 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24840 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24841 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24842 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24843 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24844 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24845 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24846 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24847 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24848 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24849 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24850 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24851 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24852 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24853 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24854 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24855 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24856 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24857 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24858 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24860 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24861 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24862 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24863 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24864 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24881 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24882 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24883 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24884 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24885 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24886 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24887 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24888 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24889 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24890 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24899 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24900 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24901 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24902 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24903 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24904 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24905 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24906 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24908 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24910 * bits/floatn-common.h: Include <bits/long-double.h>.
24911 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24912 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
24913 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24914 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
24915 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
24916 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
24917 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24918 (__builtin_huge_valf64): Use __builtin_huge_vall.
24919 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24920 (__builtin_inff64): Use __builtin_infl.
24921 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24922 (__builtin_nanf64): Use __builtin_nanl.
24923 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
24924 (__builtin_nansf64): Use __builtin_nansl.
24926 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
24927 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24928 Carlos O'Donell <carlos@redhat.com>
24930 * elf/dl-tunables.list: Add elision parameters.
24931 * manual/tunables.texi: Add entries about elision tunable.
24932 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
24933 Add callback functions to dynamically enable/disable elision.
24934 Add multiple callbacks functions to set elision parameters.
24935 Deleted __libc_enable_secure check.
24936 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
24937 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
24938 * configure: Regenerated.
24939 * configure.ac: Option enable_lock_elision was deleted.
24940 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
24941 * config.make.in: Remove references to enable_lock_elision.
24942 * manual/install.texi: Elision configure option was removed.
24943 * INSTALL: Regenerated to remove enable_lock_elision.
24945 Disable elision so it can verify error case for destroying a mutex.
24946 * sysdeps/powerpc/nptl/elide.h:
24947 Cleanup ENABLE_LOCK_ELISION check.
24948 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
24949 * sysdeps/s390/configure: Regenerated.
24950 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
24951 * nptl/tst-mutex8.c:
24952 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
24953 * sysdeps/powerpc/powerpc32/sysdep.h:
24954 Deleted all ENABLE_LOCK_ELISION checks.
24955 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24956 * sysdeps/powerpc/sysdep.h: Likewise.
24957 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
24958 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
24959 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
24960 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
24961 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24962 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
24963 enable-lock-elision.
24965 2017-12-05 Joseph Myers <joseph@codesourcery.com>
24967 * stdlib/strtod.c: Include <bits/floatn.h>.
24968 (BUILD_DOUBLE): New macro.
24969 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24970 (strtof64): Define and later undefine as macro. Define as weak
24971 alias if [!USE_WIDE_CHAR].
24972 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24973 (wcstof64): Define and later undefine as macro. Define as weak
24974 alias if [USE_WIDE_CHAR].
24975 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24976 (strtof32x): Define and later undefine as macro. Define as weak
24977 alias if [!USE_WIDE_CHAR].
24978 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24979 (wcstof32x): Define and later undefine as macro. Define as weak
24980 alias if [USE_WIDE_CHAR].
24981 * stdlib/strtod_l.c: Include <bits/floatn.h>.
24982 (BUILD_DOUBLE): New macro.
24983 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24984 (strtof64_l): Define and later undefine as macro. Define as weak
24985 alias if [!USE_WIDE_CHAR].
24986 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
24987 (wcstof64_l): Define and later undefine as macro. Define as weak
24988 alias if [USE_WIDE_CHAR].
24989 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24990 (strtof32x_l): Define and later undefine as macro. Define as weak
24991 alias if [!USE_WIDE_CHAR].
24992 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
24993 (wcstof32x_l): Define and later undefine as macro. Define as weak
24994 alias if [USE_WIDE_CHAR].
24996 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24998 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
24999 (reduced): Use ones as double instead of integer.
25001 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25003 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25005 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25007 * stdlib/strfromd.c: Include <bits/floatn.h>.
25008 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25009 and later undefine as macro and define as weak alias.
25010 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25013 * math/test-float32x.h: New file.
25014 * math/test-float64.h: Likewise.
25016 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25017 (libm_alias_double_other_r_f64): New macro.
25018 (libm_alias_double_other_r_f32x): Likewise.
25019 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25020 libm_alias_double_other_r_f32x.
25021 (libm_alias_double_r): Use semicolon before call to
25022 libm_alias_double_other_r.
25023 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25025 (libm_alias_double_other_r_f64): New macro.
25026 (libm_alias_double_other_r_f32x): Likewise.
25027 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25028 libm_alias_double_other_r_f32x.
25030 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25032 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25034 (SINF_FUNC): Likewise. Replace floor with simple casts.
25036 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25039 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25040 and to the list of locales to be built for testing.
25041 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25042 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25043 and build the collation rules upon that.
25045 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25047 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25048 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25049 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25050 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25051 instead of __insn__xxx.
25052 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25053 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25054 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25055 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25056 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25057 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25059 2017-12-05 Florian Weimer <fweimer@redhat.com>
25061 Linux: Implement interfaces for memory protection keys
25062 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25064 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25065 * support/xunistd.h (xsysconf): Declare.
25066 * support/xraise.c: New file.
25067 * support/xsigaction.c: Likewise.
25068 * support/xsignal.c: Likewise.
25069 * support/xsysconf.c: Likewise.
25070 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25071 pkey_set, pkey_get, pkey_mprotect.
25072 [misc] (tests): Add tst-pkey.
25073 (tst-pkey): Link with -lpthread.
25074 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25075 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25076 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25077 (PKEY_DISABLE_WRITE): Define.
25078 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25080 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25081 (SEGV_PKUERR): Add.
25082 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25083 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25084 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25085 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25087 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25088 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25089 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25090 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25091 * sysdeps/unix/sysv/linux/**.abilist: Update.
25093 2017-12-05 Florian Weimer <fweimer@redhat.com>
25095 * support/tst-test_compare.c (subprocess): Use long long instead
25096 of long argument for consistent type width across 32-bit and
25097 64-bit architectures.
25098 (do_test): Adjust expected output.
25100 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25102 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25103 (cosf): Define using libm_alias_float.
25104 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25105 (fabsf): Define using libm_alias_float.
25106 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25107 (fmaf): Define using libm_alias_float.
25108 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25109 (rintf): Define using libm_alias_float.
25110 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25111 (sinf): Define using libm_alias_float.
25112 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25113 <libm-alias-float.h>.
25114 (modff): Define using libm_alias_float.
25115 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25116 <libm-alias-float.h>.
25117 (logbf): Define using libm_alias_float.
25118 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25119 <libm-alias-float.h>.
25120 (ceilf): Define using libm_alias_float.
25121 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25122 <libm-alias-float.h>.
25123 (copysignf): Define using libm_alias_float.
25124 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25125 <libm-alias-float.h>.
25126 (floorf): Define using libm_alias_float.
25127 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25128 <libm-alias-float.h>.
25129 (llrintf): Define using libm_alias_float.
25130 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25131 <libm-alias-float.h>.
25132 (llroundf): Define using libm_alias_float.
25133 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25134 <libm-alias-float.h>.
25135 (lrintf): Define using libm_alias_float.
25136 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25137 <libm-alias-float.h>.
25138 (lroundf): Define using libm_alias_float.
25139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25140 <libm-alias-float.h>.
25141 (nearbyintf): Define using libm_alias_float.
25142 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25143 <libm-alias-float.h>.
25144 (rintf): Define using libm_alias_float.
25145 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25146 <libm-alias-float.h>.
25147 (roundf): Define using libm_alias_float.
25148 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25149 <libm-alias-float.h>.
25150 (truncf): Define using libm_alias_float.
25151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25152 Include <libm-alias-float.h>.
25153 (ceilf): Define using libm_alias_float.
25154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25155 Include <libm-alias-float.h>.
25156 (copysignf): Define using libm_alias_float.
25157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25158 Include <libm-alias-float.h>.
25159 (floorf): Define using libm_alias_float.
25160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25161 Include <libm-alias-float.h>.
25162 (llrintf): Define using libm_alias_float.
25163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25164 Include <libm-alias-float.h>.
25165 (llroundf): Define using libm_alias_float.
25166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25167 Include <libm-alias-float.h>.
25168 (logbf): Define using libm_alias_float.
25169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25170 Include <libm-alias-float.h>.
25171 (lrintf): Define using libm_alias_float.
25172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25173 Include <libm-alias-float.h>.
25174 (lroundf): Define using libm_alias_float.
25175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25176 Include <libm-alias-float.h>.
25177 (modff): Define using libm_alias_float.
25178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25179 Include <libm-alias-float.h>.
25180 (roundf): Define using libm_alias_float.
25181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25182 Include <libm-alias-float.h>.
25183 (truncf): Define using libm_alias_float.
25184 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25185 <libm-alias-float.h>.
25186 (llrintf): Define using libm_alias_float.
25187 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25188 <libm-alias-float.h>.
25189 (llroundf): Define using libm_alias_float.
25190 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25191 <libm-alias-float.h>.
25192 (ceilf): Define using libm_alias_float.
25193 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25194 <libm-alias-float.h>.
25195 (floorf): Define using libm_alias_float.
25196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25197 <libm-alias-float.h>.
25198 (llroundf): Define using libm_alias_float.
25199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25200 <libm-alias-float.h>.
25201 (lroundf): Define using libm_alias_float.
25202 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25203 <libm-alias-float.h>.
25204 (roundf): Define using libm_alias_float.
25205 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25206 <libm-alias-float.h>.
25207 (truncf): Define using libm_alias_float.
25208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25209 <libm-alias-float.h>.
25210 (copysignf): Define using libm_alias_float.
25211 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25212 <libm-alias-float.h>.
25213 (llrintf): Define using libm_alias_float.
25214 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25215 <libm-alias-float.h>.
25216 (llroundf): Define using libm_alias_float.
25217 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25218 <libm-alias-float.h>.
25219 (lrintf): Define using libm_alias_float.
25220 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25221 <libm-alias-float.h>.
25222 (lroundf): Define using libm_alias_float.
25223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25224 <libm-alias-float.h>.
25225 (ceilf): Define using libm_alias_float.
25226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25227 <libm-alias-float.h>.
25228 (copysignf): Define using libm_alias_float.
25229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25230 <libm-alias-float.h>.
25231 (cosf): Define using libm_alias_float.
25232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25233 <libm-alias-float.h>.
25234 (floorf): Define using libm_alias_float.
25235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25236 <libm-alias-float.h>.
25237 (llrintf): Define using libm_alias_float.
25238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25239 <libm-alias-float.h>.
25240 (llroundf): Define using libm_alias_float.
25241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25242 <libm-alias-float.h>.
25243 (logbf): Define using libm_alias_float.
25244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25245 <libm-alias-float.h>.
25246 (modff): Define using libm_alias_float.
25247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25248 <libm-alias-float.h>.
25249 (roundf): Define using libm_alias_float.
25250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25251 <libm-alias-float.h>.
25252 (sinf): Define using libm_alias_float.
25253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25254 <libm-alias-float.h>.
25255 (truncf): Define using libm_alias_float.
25256 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25257 <libm-alias-float.h>.
25258 (ceilf): Define using libm_alias_float.
25259 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25260 <libm-alias-float.h>.
25261 (copysignf): Define using libm_alias_float.
25262 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25263 <libm-alias-float.h>.
25264 (floorf): Define using libm_alias_float.
25265 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25266 <libm-alias-float.h>.
25267 (llrintf): Define using libm_alias_float.
25268 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25269 <libm-alias-float.h>.
25270 (llroundf): Define using libm_alias_float.
25271 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25272 <libm-alias-float.h>.
25273 (nearbyintf): Define using libm_alias_float.
25274 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25275 <libm-alias-float.h>.
25276 (rintf): Define using libm_alias_float.
25277 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25278 <libm-alias-float.h>.
25279 (roundf): Define using libm_alias_float.
25280 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25281 <libm-alias-float.h>.
25282 (truncf): Define using libm_alias_float.
25283 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25284 <libm-alias-float.h>.
25285 (ceilf): Define using libm_alias_float.
25286 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25287 <libm-alias-float.h>.
25288 (floorf): Define using libm_alias_float.
25289 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25290 <libm-alias-float.h>.
25291 (llroundf): Define using libm_alias_float.
25292 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25293 <libm-alias-float.h>.
25294 (roundf): Define using libm_alias_float.
25295 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25296 <libm-alias-float.h>.
25297 (truncf): Define using libm_alias_float.
25298 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25299 <libm-alias-float.h>.
25300 (copysignf): Define using libm_alias_float.
25301 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25302 <libm-alias-float.h>.
25303 (llrintf): Define using libm_alias_float.
25304 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25305 <libm-alias-float.h>.
25306 (llroundf): Define using libm_alias_float.
25307 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25308 <libm-alias-float.h>.
25309 (cosf): Define using libm_alias_float.
25310 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25311 <libm-alias-float.h>.
25312 (llrintf): Define using libm_alias_float.
25313 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25314 <libm-alias-float.h>.
25315 (llroundf): Define using libm_alias_float.
25316 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25317 <libm-alias-float.h>.
25318 (sinf): Define using libm_alias_float.
25320 2017-12-04 Florian Weimer <fweimer@redhat.com>
25322 * support/check.h (TEST_COMPARE): Define.
25323 (support_test_compare_failure): Declare.
25324 * support/Makefile (libsupport-routines): Add
25325 support_test_compare_failure.
25326 (tests): Add tst-test_compare.
25327 * support /support_test_compare_failure.c: New file.
25328 * support/tst-test_compare.c: Likewise.
25330 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25333 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25334 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25335 available, this rewrite of the collation rules does reproduce
25336 the test file in the same order.
25338 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25341 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25342 digraphs in the month and day names. Using single code points for
25343 digraphs is deprecated. While there are dedicated Unicode
25344 codepoints, for the digraphs, these are included for backwards
25345 compatibility and modern texts use a sequence of Basic Latin
25346 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25347 This makes the month and day names agree exactly with CLDR now,
25348 CLDR does not use the single code points for the digraphs either.
25350 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25352 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25354 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25356 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25359 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25361 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25362 Define only for libc.so.
25364 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25366 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25367 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25368 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25369 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25372 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25375 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25377 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25380 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25381 PREINIT_FUNCTION_WEAK is nonzero.
25382 (gmon_initializer): New function. Put procedure label for it in
25383 .init_array section.
25384 (_init): Don't call PREINIT_FUNCTION.
25385 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25386 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25387 value when map argument is null.
25389 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25390 depi instruction from PIC pc-relative sequence.
25391 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25392 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25393 (elf_machine_load_address): Likewise.
25394 (elf_machine_runtime_setup): Likewise.
25396 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25398 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25399 <libm-alias-double.h>.
25400 (logb): Define using libm_alias_double.
25401 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25402 <libm-alias-double.h>.
25403 (copysign): Define using libm_alias_double.
25404 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25405 <libm-alias-double.h>.
25406 (llrint): Define using libm_alias_double.
25407 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25408 <libm-alias-double.h>.
25409 (llround): Define using libm_alias_double.
25410 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25411 <libm-alias-double.h>.
25412 (lrint): Define using libm_alias_double.
25413 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25414 <libm-alias-double.h>.
25415 (lround): Define using libm_alias_double.
25416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25417 Include <libm-alias-double.h>.
25418 (copysign): Define using libm_alias_double.
25419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25420 Include <libm-alias-double.h>.
25421 (llrint): Define using libm_alias_double.
25422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25423 Include <libm-alias-double.h>.
25424 (llround): Define using libm_alias_double.
25425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25426 <libm-alias-double.h>.
25427 (logb): Define using libm_alias_double.
25428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25429 Include <libm-alias-double.h>.
25430 (lrint): Define using libm_alias_double.
25431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25432 Include <libm-alias-double.h>.
25433 (lround): Define using libm_alias_double.
25434 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25435 <libm-alias-double.h>.
25436 (llrint): Define using libm_alias_double.
25437 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25438 <libm-alias-double.h>.
25439 (llround): Define using libm_alias_double.
25440 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25441 <libm-alias-double.h>.
25442 (llround): Define using libm_alias_double.
25443 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25444 <libm-alias-double.h>.
25445 (lround): Define using libm_alias_double.
25446 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25447 <libm-alias-double.h>.
25448 (copysign): Define using libm_alias_double.
25449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25450 <libm-alias-double.h>.
25451 (llrint): Define using libm_alias_double.
25452 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25453 <libm-alias-double.h>.
25454 (llround): Define using libm_alias_double.
25455 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25456 <libm-alias-double.h>.
25457 (lrint): Define using libm_alias_double.
25458 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25459 <libm-alias-double.h>.
25460 (lround): Define using libm_alias_double.
25461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25462 <libm-alias-double.h>.
25463 (copysign): Define using libm_alias_double.
25464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25465 <libm-alias-double.h>.
25466 (llrint): Define using libm_alias_double.
25468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25469 <libm-alias-double.h>.
25470 (llround): Define using libm_alias_double.
25471 (lround): Likewise.
25472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25473 <libm-alias-double.h>.
25474 (logb): Define using libm_alias_double.
25475 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25476 <libm-alias-double.h>.
25477 (copysign): Define using libm_alias_double.
25478 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25479 <libm-alias-double.h>.
25480 (llrint): Define using libm_alias_double.
25482 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25483 <libm-alias-double.h>.
25484 (llround): Define using libm_alias_double.
25485 (lround): Likewise.
25486 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25487 <libm-alias-double.h>.
25488 (llround): Define using libm_alias_double.
25489 (lround): Likewise.
25490 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25491 <libm-alias-double.h>.
25492 (copysign): Define using libm_alias_double.
25493 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25494 <libm-alias-double.h>.
25495 (llrint): Define using libm_alias_double.
25497 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25498 <libm-alias-double.h>.
25499 (llround): Define using libm_alias_double.
25500 (lround): Likewise.
25501 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25502 <libm-alias-double.h>.
25503 (llrint): Define using libm_alias_double.
25505 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25506 <libm-alias-double.h>.
25507 (llround): Define using libm_alias_double.
25508 (lround): Likewise.
25510 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25513 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25514 compat symbol based on llround.
25516 * sysdeps/powerpc/power7/fpu/s_logb.c
25517 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25518 symbol based on __logb, not on logb.
25519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25520 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25522 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25524 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25525 (rint): Define using libm_alias_double.
25526 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25527 <libm-alias-double.h>.
25528 (modf): Define using libm_alias_double.
25529 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25530 <libm-alias-double.h>.
25531 (ceil): Define using libm_alias_double.
25532 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25533 <libm-alias-double.h>.
25534 (floor): Define using libm_alias_double.
25535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25536 <libm-alias-double.h>.
25537 (nearbyint): Define using libm_alias_double.
25538 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25539 <libm-alias-double.h>.
25540 (rint): Define using libm_alias_double.
25541 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25542 <libm-alias-double.h>.
25543 (round): Define using libm_alias_double.
25544 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25545 <libm-alias-double.h>.
25546 (trunc): Define using libm_alias_double.
25547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25548 <libm-alias-double.h>.
25549 (ceil): Define using libm_alias_double.
25550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25551 Include <libm-alias-double.h>.
25552 (floor): Define using libm_alias_double.
25553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25554 <libm-alias-double.h>.
25555 (modf): Define using libm_alias_double.
25556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25557 Include <libm-alias-double.h>.
25558 (round): Define using libm_alias_double.
25559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25560 Include <libm-alias-double.h>.
25561 (trunc): Define using libm_alias_double.
25562 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25563 <libm-alias-double.h>.
25564 (ceil): Define using libm_alias_double.
25565 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25566 <libm-alias-double.h>.
25567 (floor): Define using libm_alias_double.
25568 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25569 <libm-alias-double.h>.
25570 (round): Define using libm_alias_double.
25571 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25572 <libm-alias-double.h>.
25573 (trunc): Define using libm_alias_double.
25574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25575 <libm-alias-double.h>.
25576 (ceil): Define using libm_alias_double.
25577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25578 <libm-alias-double.h>.
25579 (floor): Define using libm_alias_double.
25580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25581 <libm-alias-double.h>.
25582 (modf): Define using libm_alias_double.
25583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25584 <libm-alias-double.h>.
25585 (round): Define using libm_alias_double.
25586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25587 <libm-alias-double.h>.
25588 (trunc): Define using libm_alias_double.
25589 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25590 <libm-alias-double.h>.
25591 (ceil): Define using libm_alias_double.
25592 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25593 <libm-alias-double.h>.
25594 (floor): Define using libm_alias_double.
25595 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25596 <libm-alias-double.h>.
25597 (nearbyint): Define using libm_alias_double.
25598 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25599 <libm-alias-double.h>.
25600 (rint): Define using libm_alias_double.
25601 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25602 <libm-alias-double.h>.
25603 (round): Define using libm_alias_double.
25604 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25605 <libm-alias-double.h>.
25606 (trunc): Define using libm_alias_double.
25607 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25608 <libm-alias-double.h>.
25609 (ceil): Define using libm_alias_double.
25610 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25611 <libm-alias-double.h>.
25612 (floor): Define using libm_alias_double.
25613 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25614 <libm-alias-double.h>.
25615 (round): Define using libm_alias_double.
25616 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25617 <libm-alias-double.h>.
25618 (trunc): Define using libm_alias_double.
25620 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25621 (fabs): Define using libm_alias_double.
25622 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25623 (fma): Define using libm_alias_double.
25624 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25625 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25626 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25627 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25629 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25631 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25633 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25634 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25635 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25638 due redirect macro.
25640 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25642 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25644 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25646 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25647 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25648 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25649 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25652 (libm-sysdep_routines): Add s_nearbyintf-generic and
25653 s_nearbyint-generic.
25654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25667 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25678 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25689 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25700 (sysdep_calls): New rule.
25701 (sysdep_routines): Use sysdep_calls as base.
25702 (libm-sysdep_routines): Add generic rule for symbols shared with
25703 libc. Add s_copysign-generic and s_copysign-generic objects.
25704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25713 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25716 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25717 the list of locales to be built for testing.
25718 * localedata/is_IS.UTF-8.in: New file.
25719 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25722 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25724 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25725 <libm-alias-float.h>.
25726 (fabsf): Define using libm_alias_float.
25728 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25730 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25732 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25734 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25735 <libm-alias-float.h>.
25736 (fabsf): Define using libm_alias_float.
25737 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25738 <libm-alias-float.h>.
25739 (lrintf): Define using libm_alias_float.
25740 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25741 <libm-alias-float.h>.
25742 (rintf): Define using libm_alias_float.
25744 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25745 <libm-alias-double.h>.
25746 (fabs): Define using libm_alias_double.
25747 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25748 <libm-alias-double.h>.
25749 (lrint): Define using libm_alias_double.
25750 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25751 <libm-alias-double.h>.
25752 (rint): Define using libm_alias_double.
25754 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25755 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25756 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25757 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25758 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25759 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25760 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25761 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25762 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25763 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25764 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25765 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25766 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25767 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25768 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25769 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25770 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25771 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25773 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25774 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25775 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25777 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25778 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25779 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25781 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25782 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25783 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25784 s_expm1_template.c.
25785 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25786 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25787 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25789 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25790 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25791 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25792 s_floor_template.c.
25793 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25794 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25795 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25796 s_frexp_template.c.
25797 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25798 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25799 s_lrint_template.c.
25800 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25801 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25802 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25804 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25805 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25806 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25807 s_nearbyint_template.c.
25808 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25809 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25810 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25811 s_remquo_template.c.
25812 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25813 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25814 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25816 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25817 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25818 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25820 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25821 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25822 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25823 s_sincos_template.c.
25824 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25825 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25826 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25828 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25829 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25830 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25832 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25833 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25834 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25835 s_trunc_template.c.
25836 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25837 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25838 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25839 s_atan.c instead of including s_atan.c.
25840 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25841 s_atanf.c instead of including s_atanf.c.
25842 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25843 s_atanl.c instead of including s_atanl.c.
25844 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25845 instead of s_atan.c.
25846 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25847 instead of s_atanf.c.
25848 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25849 instead of s_atanl.c.
25851 * scripts/update-copyrights: Do not handle intl/plural.c
25854 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25857 * configure.ac (BISON): Require to be present.
25858 * configure: Regenerated.
25859 * intl/Makefile (generated): Add plural.c.
25860 [$(BISON) != no]: Make code unconditional.
25861 (plural.c): Change rule to $(objpfx)plural.c.
25862 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25863 * intl/plural.c: Remove.
25864 * manual/install.texi (Tools for Compilation): Document bison as
25866 * INSTALL: Regenerated.
25868 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25870 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25871 <libm-alias-double.h>.
25872 (llrint): Define using libm_alias_double.
25873 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25874 <libm-alias-float.h>.
25875 (llrintf): Define using libm_alias_float.
25876 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25877 <libm-alias-ldouble.h>.
25878 (llrintl): Define using libm_alias_ldouble.
25880 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25881 declare_mgen_alias instead of weak_alias.
25882 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
25883 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
25884 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
25886 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25888 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25890 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
25891 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
25892 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
25894 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25895 Add submul_1-generic.
25896 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
25897 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
25898 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
25900 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25901 Add addmul_1-generic.
25902 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
25903 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
25904 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
25906 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25908 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
25909 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
25910 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
25912 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
25914 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
25915 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
25916 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
25918 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25920 According to CLDR, collation rules for Serbian and Bosnian
25921 should be the same as for Croatian.
25924 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
25925 and to the list of locales to be built for testing.
25926 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25927 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
25928 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
25929 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
25931 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25933 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
25934 to make test case pass.
25935 * localedata/hr_HR.UTF-8.in: Add more test strings.
25937 2017-11-30 Mike FABIAN <mfabian@redhat.com>
25939 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
25941 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25943 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
25944 the list of locales to built for testing.
25945 * localedata/hr_HR.UTF-8.in: New file.
25947 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
25950 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
25952 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
25953 CLDR (except use ligatures for the digraphs, CLDR does not use
25954 the ligatures), add first_workday, some fixes in the date and time
25956 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
25958 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
25959 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
25960 Add int_p_cs_precedes and int_n_cs_precedes.
25961 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
25962 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
25964 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
25965 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
25967 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
25968 and lang_lib. Change postal_fmt.
25970 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25972 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
25974 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25975 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
25976 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
25977 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
25978 * sysdeps/generic/setjmpP.h: New file.
25979 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
25980 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
25981 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
25982 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
25983 Add jmp_buf-ssp.sym.
25984 (tests): Add tst-saved_mask-1.
25986 2017-11-30 Arjun Shankar <arjun@redhat.com>
25990 * malloc/malloc.c (__libc_malloc): Use checked_request2size
25991 instead of request2size.
25993 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
25996 (__lllrint): Remove alias.
25997 (lllrint): Likewise.
25998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
25999 (__lllrintf): Likewise.
26000 (lllrintf): Likewise.
26002 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26003 <libm-alias-float.h>.
26004 (copysignf): Define using libm_alias_float.
26005 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26006 <libm-alias-float.h>.
26007 (fabsf): Define using libm_alias_float.
26008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26009 Include <libm-alias-float.h>.
26010 (copysignf): Define using libm_alias_float.
26011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26012 <libm-alias-float.h>.
26013 (fabsf): Define using libm_alias_float.
26014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26015 <libm-alias-float.h>.
26016 (fdimf): Define using libm_alias_float.
26017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26018 <libm-alias-float.h>.
26019 (fmaf): Define using libm_alias_float.
26020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26021 <libm-alias-float.h>.
26022 (llrintf): Define using libm_alias_float.
26023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26024 Include <libm-alias-float.h>.
26025 (nearbyintf): Define using libm_alias_float.
26026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26027 <libm-alias-float.h>.
26028 (rintf): Define using libm_alias_float.
26029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26030 <libm-alias-float.h>.
26031 (llrintf): Define using libm_alias_float.
26032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26033 <libm-alias-float.h>.
26034 (lrintf): Define using libm_alias_float.
26035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26036 <libm-alias-float.h>.
26037 (nearbyintf): Define using libm_alias_float.
26038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26039 <libm-alias-float.h>.
26040 (rintf): Define using libm_alias_float.
26041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26042 <libm-alias-float.h>.
26043 (ceilf): Define using libm_alias_float.
26044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26045 <libm-alias-float.h>.
26046 (floorf): Define using libm_alias_float.
26047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26048 <libm-alias-float.h>.
26049 (fmaf): Define using libm_alias_float.
26050 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26051 <libm-alias-float.h>.
26052 (lrintf): Define using libm_alias_float.
26053 (llrintf): Likewise.
26054 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26055 <libm-alias-float.h>.
26056 (nearbyintf): Define using libm_alias_float.
26057 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26058 <libm-alias-float.h>.
26059 (rintf): Define using libm_alias_float.
26060 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26061 <libm-alias-float.h>.
26062 (truncf): Define using libm_alias_float.
26063 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26064 <libm-alias-float.h>.
26065 (copysignf): Define using libm_alias_float.
26066 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26067 <libm-alias-float.h>.
26068 (fabsf): Define using libm_alias_float.
26069 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26070 <libm-alias-float.h>.
26071 (lrintf): Define using libm_alias_float.
26072 (llrintf): Likewise.
26073 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26074 <libm-alias-float.h>.
26075 (nearbyintf): Define using libm_alias_float.
26076 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26077 <libm-alias-float.h>.
26078 (rintf): Define using libm_alias_float.
26080 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26082 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26083 <libm-alias-double.h>.
26084 (copysign): Define using libm_alias_double.
26085 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26086 <libm-alias-double.h>.
26087 (fabs): Define using libm_alias_double.
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26089 Include <libm-alias-double.h>.
26090 (copysign): Define using libm_alias_double.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26092 <libm-alias-double.h>.
26093 (fabs): Define using libm_alias_double.
26094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26095 <libm-alias-double.h>.
26096 (fdim): Define using libm_alias_double.
26097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26098 <libm-alias-double.h>.
26099 (fma): Define using libm_alias_double.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26101 <libm-alias-double.h>.
26102 (llrint): Define using libm_alias_double.
26103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26104 Include <libm-alias-double.h>.
26105 (nearbyint): Define using libm_alias_double.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26107 <libm-alias-double.h>.
26108 (rint): Define using libm_alias_double.
26109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26110 <libm-alias-double.h>.
26111 (fabs): Define using libm_alias_double.
26112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26113 <libm-alias-double.h>.
26114 (llrint): Define using libm_alias_double.
26115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26116 <libm-alias-double.h>.
26117 (nearbyint): Define using libm_alias_double.
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26119 <libm-alias-double.h>.
26120 (rint): Define using libm_alias_double.
26121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26122 <libm-alias-double.h>.
26123 (ceil): Define using libm_alias_double.
26124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26125 <libm-alias-double.h>.
26126 (floor): Define using libm_alias_double.
26127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26128 <libm-alias-double.h>.
26129 (fma): Define using libm_alias_double.
26130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26131 <libm-alias-double.h>.
26132 (lrint): Define using libm_alias_double.
26133 (llrint): Likewise.
26134 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26135 <libm-alias-double.h>.
26136 (nearbyint): Define using libm_alias_double.
26137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26138 <libm-alias-double.h>.
26139 (rint): Define using libm_alias_double.
26140 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26141 <libm-alias-double.h>.
26142 (trunc): Define using libm_alias_double.
26143 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26144 <libm-alias-double.h>.
26145 (copysign): Define using libm_alias_double.
26146 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26147 <libm-alias-double.h>.
26148 (fabs): Define using libm_alias_double.
26149 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26150 <libm-alias-double.h>.
26151 (lrint): Define using libm_alias_double.
26152 (llrint): Likewise.
26153 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26154 <libm-alias-double.h>.
26155 (nearbyint): Define using libm_alias_double.
26156 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26157 <libm-alias-double.h>.
26158 (rint): Define using libm_alias_double.
26161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26163 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26165 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26166 SPARC --disable-multi-arch glibc variants.
26168 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26169 <libm-alias-float.h>.
26170 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26172 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26173 <libm-alias-float.h>.
26174 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26176 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26177 <libm-alias-float.h>.
26178 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26180 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26181 <libm-alias-float.h>.
26182 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26184 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26185 <libm-alias-float.h>.
26186 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26188 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26189 <libm-alias-float.h>.
26190 (ceilf): Define using libm_alias_float.
26191 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26192 <libm-alias-float.h>.
26193 (floorf): Define using libm_alias_float.
26194 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26195 <libm-alias-float.h>.
26196 (fmaf): Define using libm_alias_float.
26197 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26198 <libm-alias-float.h>.
26199 (nearbyintf): Define using libm_alias_float.
26200 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26201 <libm-alias-float.h>.
26202 (rintf): Define using libm_alias_float.
26203 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26204 <libm-alias-float.h>.
26205 (truncf): Define using libm_alias_float.
26206 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26207 (copysignf): Define using libm_alias_float.
26208 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26209 (cosf): Define using libm_alias_float.
26210 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26211 (fabsf): Define using libm_alias_float.
26212 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26213 (fmaxf): Define using libm_alias_float.
26214 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26215 (fminf): Define using libm_alias_float.
26216 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26217 (llrintf): Define using libm_alias_float.
26218 [!__ILP32__] (lrintf): Likewise.
26219 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26220 (sincosf): Define using libm_alias_float.
26221 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26222 (sinf): Define using libm_alias_float.
26223 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26224 (lrintf): Define using libm_alias_float.
26226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26227 <libm-alias-double.h>.
26228 (atan): Define using libm_alias_double.
26229 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26230 <libm-alias-double.h>.
26231 (ceil): Define using libm_alias_double.
26232 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26233 <libm-alias-double.h>.
26234 (floor): Define using libm_alias_double.
26235 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26236 <libm-alias-double.h>.
26237 (fma): Define using libm_alias_double.
26238 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26239 <libm-alias-double.h>.
26240 (nearbyint): Define using libm_alias_double.
26241 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26242 <libm-alias-double.h>.
26243 (rint): Define using libm_alias_double.
26244 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26245 <libm-alias-double.h>.
26246 (sin): Define using libm_alias_double.
26248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26249 <libm-alias-double.h>.
26250 (tan): Define using libm_alias_double.
26251 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26252 <libm-alias-double.h>.
26253 (trunc): Define using libm_alias_double.
26254 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26255 (copysign): Define using libm_alias_double.
26256 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26257 (fabs): Define using libm_alias_double.
26258 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26259 (fmax): Define using libm_alias_double.
26260 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26261 (fmin): Define using libm_alias_double.
26262 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26263 (llrint): Define using libm_alias_double.
26264 [!__ILP32__] (lrint): Likewise.
26265 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26266 (lrint): Define using libm_alias_double.
26268 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26271 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26273 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26280 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26281 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26284 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26287 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26288 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26291 (libm-sysdep_routines): Add s_nearbyint-generic and
26292 s_nearbyintf-generic objects.
26293 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26294 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26295 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26296 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26297 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26298 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26301 Add s_finitef-generic and s_finite-generic objects.
26302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26303 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26304 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26310 Add s_isinff-generic and s_isinf-generic objects.
26311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26319 Add s_isnanf-generic and s_isnan-generic objects.
26320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26327 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26329 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26331 (sysdep_routines): Use sysdep_calls as base.
26332 (libm-sysdep_routines): Add generic rule for symbols shared with
26333 libc. Add s_signbit-generic and s_signbitf-generic objects.
26334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26335 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26341 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26343 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26344 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26345 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26346 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26347 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26348 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26349 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26350 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26351 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26352 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26353 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26354 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26355 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26356 libm_alias_float_r.
26357 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26358 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26360 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26361 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26362 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26363 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26364 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26365 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26366 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26367 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26368 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26369 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26371 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26373 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26374 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26375 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26376 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26377 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26378 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26379 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26380 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26381 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26382 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26383 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26384 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26385 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26386 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26387 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26388 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26389 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26390 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26391 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26393 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26394 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26395 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26396 * sysdeps/ia64/fpu/w_lgammaf_main.c
26397 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26398 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26400 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26401 Alexandre Oliva <aoliva@redhat.com>
26404 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26405 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26407 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26409 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26410 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26411 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26412 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26413 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26414 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26415 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26416 instead of “ifdef DIACRIT_BACKWARD”.
26418 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26420 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26421 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26422 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26423 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26424 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26425 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26432 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26433 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26434 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26435 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26436 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26437 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26439 ($(have-as-vis3) == yes): Remove conditional.
26440 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26456 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26457 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26459 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26461 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26462 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26463 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26464 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26465 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26466 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26467 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26468 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26469 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26470 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26471 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26472 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26473 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26474 libm_alias_double_r.
26475 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26477 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26478 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26479 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26480 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26481 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26482 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26483 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26484 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26485 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26486 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26487 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26489 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26491 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26492 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26493 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26494 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26495 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26496 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26497 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26498 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26499 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26500 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26501 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26502 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26503 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26504 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26505 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26506 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26507 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26508 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26510 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26511 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26512 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26513 * sysdeps/ia64/fpu/w_lgamma_main.c
26514 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26515 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26517 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26519 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26520 address of $global$ into %dp register earlier. Use pc-relative
26521 instruction sequence for PIC case.
26523 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26525 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26526 (asinhf): Define using libm_alias_float.
26527 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26528 (atanf): Define using libm_alias_float.
26529 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26530 (cbrtf): Define using libm_alias_float.
26531 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26532 (ceilf): Define using libm_alias_float.
26533 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26534 (copysignf): Define using libm_alias_float.
26535 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26536 (expm1f): Define using libm_alias_float.
26537 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26538 (fabsf): Define using libm_alias_float.
26539 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26540 (floorf): Define using libm_alias_float.
26541 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26542 (fmaxf): Define using libm_alias_float.
26543 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26544 (fminf): Define using libm_alias_float.
26545 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26546 (frexpf): Define using libm_alias_float.
26547 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26548 (llrintf): Define using libm_alias_float.
26549 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26550 (logbf): Define using libm_alias_float.
26551 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26552 (lrintf): Define using libm_alias_float.
26553 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26554 (nearbyintf): Define using libm_alias_float.
26555 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26556 (remquof): Define using libm_alias_float.
26557 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26558 (rintf): Define using libm_alias_float.
26559 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26560 (truncf): Define using libm_alias_float.
26561 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26562 <libm-alias-float.h>.
26563 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26565 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26566 <libm-alias-float.h>.
26567 (expf): Define using libm_alias_float, or libm_alias_float_other
26569 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26570 <libm-alias-float.h>.
26571 (log2f): Define using libm_alias_float, or libm_alias_float_other
26573 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26574 <libm-alias-float.h>.
26575 (logf): Define using libm_alias_float, or libm_alias_float_other
26577 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26578 <libm-alias-float.h>.
26579 (powf): Define using libm_alias_float, or libm_alias_float_other
26581 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26582 <libm-alias-float.h>.
26583 (cosf): Define using libm_alias_float.
26584 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26585 <libm-alias-float.h>.
26586 (sincosf): Define using libm_alias_float.
26587 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26588 <libm-alias-float.h>.
26589 (sinf): Define using libm_alias_float.
26590 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26591 (fmaxf): Define using libm_alias_float.
26592 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26593 (fminf): Define using libm_alias_float.
26594 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26595 <libm-alias-float.h>.
26596 (fmaf): Define using libm_alias_float.
26598 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26599 (asinh): Define using libm_alias_double.
26600 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26601 (atan): Define using libm_alias_double.
26602 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26603 (cbrt): Define using libm_alias_double.
26604 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26605 (ceil): Define using libm_alias_double.
26606 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26607 (copysign): Define using libm_alias_double.
26608 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26609 (expm1): Define using libm_alias_double.
26610 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26611 (fabs): Define using libm_alias_double.
26612 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26613 (fdim): Define using libm_alias_double.
26614 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26615 (floor): Define using libm_alias_double.
26616 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26617 (fmax): Define using libm_alias_double.
26618 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26619 (fmin): Define using libm_alias_double.
26620 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26621 (frexp): Define using libm_alias_double.
26622 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26623 (llrint): Define using libm_alias_double.
26624 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26625 (logb): Define using libm_alias_double.
26626 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26627 (lrint): Define using libm_alias_double.
26628 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26629 (nearbyint): Define using libm_alias_double.
26630 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26631 (remquo): Define using libm_alias_double.
26632 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26633 (rint): Define using libm_alias_double.
26634 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26635 (trunc): Define using libm_alias_double.
26636 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26637 (fmax): Define using libm_alias_double.
26638 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26639 (fmin): Define using libm_alias_double.
26640 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26641 (fma): Define using libm_alias_double.
26643 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26646 * elf/dl-hwcaps.c (ROUND): Removed.
26647 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26648 and ELF_NOTE_NEXT_OFFSET.
26649 * elf/dl-load.c (ROUND): Removed.
26650 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26651 * elf/readelflib.c (ROUND): Removed.
26652 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26653 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26654 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26655 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26657 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26659 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26660 [!__fmaf] (fmaf): Define using libm_alias_float.
26662 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26663 [!__fma] (fma): Define using libm_alias_double.
26664 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26666 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26669 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26670 and implement the collation rules for cs from CLDR on top of that.
26671 * Makefile: Add cs_CZ.UTF-8 to test-input.
26672 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26674 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26676 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26678 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26679 Icarus Sparry <icarus.w.sparry@intel.com>
26681 * benchtests/Makefile:Add BENCHSET to allow subsets of
26682 benchmarks to be run.
26683 * benchtests/README: Add documentation for: Running subsets of
26686 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26688 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26689 range of tests names.
26691 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26692 result from property and remove "max", min" and "mean" from
26693 required properties based on benchtests/bench-skeleton.c.
26695 2017-11-28 Florian Weimer <fweimer@redhat.com>
26698 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26699 due to Internet requirement.
26700 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26702 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26704 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26706 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26707 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26708 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26709 (sysdep_routines): Add memset-ultra1.
26710 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26713 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26714 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26715 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26716 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26717 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26718 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26721 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26723 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26724 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26725 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26726 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26727 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26728 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26729 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26731 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26732 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26733 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26734 (sysdep_routines): Add memcpy-ultra1.
26735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26736 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26738 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26740 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26741 (cfloat_versions): Take function argument without trailing 'f'.
26742 Call libm_alias_float_other.
26743 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26744 * sysdeps/alpha/fpu/cargf.c: Likewise.
26745 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26746 * sysdeps/alpha/fpu/conjf.c: Likewise.
26747 * sysdeps/alpha/fpu/crealf.c: Likewise.
26748 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26749 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26750 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26751 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26752 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26753 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26754 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26755 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26756 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26757 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26758 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26759 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26760 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26761 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26762 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26763 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26764 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26765 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26766 (clog10f): Use libm_alias_float_other.
26767 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26768 (ceilf): Define using libm_alias_float.
26769 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26770 (copysignf): Define using libm_alias_float.
26771 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26772 (fabsf): Define using libm_alias_float.
26773 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26774 (floorf): Define using libm_alias_float.
26775 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26776 (fmaxf): Define using libm_alias_float.
26777 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26778 (fminf): Define using libm_alias_float.
26779 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26780 (lrintf): Define using libm_alias_float.
26781 (llrintf): Likewise.
26782 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26783 (lroundf): Define using libm_alias_float.
26784 (llroundf): Likewise.
26785 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26786 (rintf): Define using libm_alias_float.
26787 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26788 (truncf): Define using libm_alias_float.
26790 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26791 (ceilf): Define using libm_alias_float.
26792 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26793 (floorf): Define using libm_alias_float.
26794 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26795 (fmaf): Define using libm_alias_float.
26796 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26797 (fmaxf): Define using libm_alias_float.
26798 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26799 (fminf): Define using libm_alias_float.
26800 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26801 (llrintf): Define using libm_alias_float.
26802 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26803 (llroundf): Define using libm_alias_float.
26804 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26805 (lrintf): Define using libm_alias_float.
26806 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26807 (lroundf): Define using libm_alias_float.
26808 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26809 <libm-alias-float.h>.
26810 (nearbyintf): Define using libm_alias_float.
26811 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26812 (rintf): Define using libm_alias_float.
26813 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26814 (roundf): Define using libm_alias_float.
26815 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26816 (truncf): Define using libm_alias_float.
26818 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26819 (ceil): Define using libm_alias_double.
26820 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26821 (copysign): Define using libm_alias_double.
26822 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26823 (fabs): Define using libm_alias_double.
26824 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26825 (floor): Define using libm_alias_double.
26826 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26827 (fmax): Define using libm_alias_double.
26828 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26829 (fmin): Define using libm_alias_double.
26830 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26831 (lrint): Define using libm_alias_double.
26832 (llrint): Likewise.
26833 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26834 (lround): Define using libm_alias_double.
26835 (llround): Likewise.
26836 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26837 (rint): Define using libm_alias_double.
26838 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26839 (trunc): Define using libm_alias_double.
26841 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26842 (libm_alias_double_r): Add semicolon after weak_alias call.
26844 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26846 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26847 (ceil): Define using libm_alias_double.
26848 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26849 (floor): Define using libm_alias_double.
26850 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26851 (fma): Define using libm_alias_double.
26852 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26853 (fmax): Define using libm_alias_double.
26854 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26855 (fmin): Define using libm_alias_double.
26856 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26857 (llrint): Define using libm_alias_double.
26858 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26859 (llround): Define using libm_alias_double.
26860 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26861 (lrint): Define using libm_alias_double.
26862 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26863 (lround): Define using libm_alias_double.
26864 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26865 (nearbyint): Define using libm_alias_double.
26866 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26867 (rint): Define using libm_alias_double.
26868 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26869 (round): Define using libm_alias_double.
26870 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26871 (trunc): Define using libm_alias_double.
26873 2017-11-27 Florian Weimer <fweimer@redhat.com>
26875 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26876 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26877 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26878 (tests): Add tst-mlock2.
26879 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26880 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26881 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
26882 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
26883 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
26884 for mlock. Document mlock2.
26886 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26888 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
26889 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
26891 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
26893 * sysdeps/x86/Makeconfig: New file.
26894 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
26895 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26896 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
26897 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26898 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26899 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26900 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
26902 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26903 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26904 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26905 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26906 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26907 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
26908 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
26909 * manual/math.texi (Mathematics): Document support for _Float64x.
26910 * math/Versions (GLIBC_2.27): Add _Float64x functions.
26911 * stdlib/Versions (GLIBC_2.27): Likewise.
26912 * wcsmbs/Versions (GLIBC_2.27): Likewise.
26913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
26914 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26915 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26916 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26917 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26918 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26919 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26920 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26921 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26922 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26923 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26928 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26929 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26930 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26931 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26932 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26933 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26934 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26935 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26936 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26937 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26938 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26939 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26940 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26941 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26943 2017-11-27 Andreas Schwab <schwab@suse.de>
26945 * elf/Makefile (dl-routines): Add dl-sort-maps.
26946 * elf/dl-sort-maps.c: New file.
26947 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
26948 (_dl_sort_maps): Declare.
26949 * elf/dl-fini.c (_dl_sort_fini): Remove.
26950 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
26951 * elf/dl-close.c (_dl_close_worker): Likewise.
26952 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
26954 * elf/dl-open.c (dl_open_worker): Likewise.
26956 2017-11-24 Joseph Myers <joseph@codesourcery.com>
26958 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
26959 using libm_alias_float128.
26960 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
26962 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
26964 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
26965 (setpayloadsigf128): Likewise.
26966 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
26968 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
26971 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
26972 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
26973 -mfloat128 to CFLAGS.
26975 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
26977 (CFLAGS-libm-test-support-float64x.c): New variable.
26978 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
26979 $(f128-loader-link) to gnulib-tests.
26981 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
26982 (libm_alias_float128_other_r): If
26983 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
26985 (libm_alias_float128_r): Add semicolon after weak_alias call.
26986 * sysdeps/generic/libm-alias-ldouble.h
26987 (libm_alias_ldouble_other_r_f128): New macro.
26988 (libm_alias_ldouble_other_r_f64x): Likewise.
26989 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26990 and libm_alias_ldouble_other_r_f64x.
26991 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
26992 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
26993 (libm_alias_ldouble_other_r_f128): New macro.
26994 (libm_alias_ldouble_other_r_f64x): Likewise.
26995 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
26996 and libm_alias_ldouble_other_r_f64x.
26998 * stdlib/strfroml.c: Always include <stdlib.h>.
26999 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27000 undefine as macro and define as weak alias.
27001 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27002 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27004 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27005 Define and later undefine as macro and define as weak alias.
27007 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27008 Define and later undefine as macro. Define as weak alias if
27010 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27011 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27012 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27013 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27014 Define and later undefine as macro. Define as weak alias if
27016 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27017 Define and later undefine as macro. Define as weak alias if
27019 * sysdeps/ieee754/float128/strtof128_l.c
27020 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27021 Define and later undefine as macro. Define as weak alias if
27023 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27024 Define and later undefine as macro. Define as weak alias if
27026 * sysdeps/ieee754/ldbl-128/strtold_l.c
27027 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27028 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27029 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27030 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27031 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27032 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27033 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27034 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27035 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27036 * sysdeps/ieee754/ldbl-96/strtold_l.c
27037 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27038 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27039 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27040 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27042 * math/test-float64x.h: New file.
27043 * math/Makefile (type-float64x-yes): New variable.
27044 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27046 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27047 function-like macro.
27048 (min_of_type_): Likewise.
27049 (min_of_type_l): Likewise.
27050 (min_of_type_f128): Likewise.
27051 (min_of_type): Pass () as last argument of __MATH_TG.
27053 * stdlib/tst-strtod-round-skeleton.c
27054 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27057 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27058 for combinations of long double with _Float64 and _Float64x.
27060 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27061 (__DECL_SIMD_cosf32): Likewise.
27062 (__DECL_SIMD_cosf64): Likewise.
27063 (__DECL_SIMD_cosf32x): Likewise.
27064 (__DECL_SIMD_cosf64x): Likewise.
27065 (__DECL_SIMD_cosf128x): Likewise.
27066 (__DECL_SIMD_sinf16): Likewise.
27067 (__DECL_SIMD_sinf32): Likewise.
27068 (__DECL_SIMD_sinf64): Likewise.
27069 (__DECL_SIMD_sinf32x): Likewise.
27070 (__DECL_SIMD_sinf64x): Likewise.
27071 (__DECL_SIMD_sinf128x): Likewise.
27072 (__DECL_SIMD_sincosf16): Likewise.
27073 (__DECL_SIMD_sincosf32): Likewise.
27074 (__DECL_SIMD_sincosf64): Likewise.
27075 (__DECL_SIMD_sincosf32x): Likewise.
27076 (__DECL_SIMD_sincosf64x): Likewise.
27077 (__DECL_SIMD_sincosf128x): Likewise.
27078 (__DECL_SIMD_logf16): Likewise.
27079 (__DECL_SIMD_logf32): Likewise.
27080 (__DECL_SIMD_logf64): Likewise.
27081 (__DECL_SIMD_logf32x): Likewise.
27082 (__DECL_SIMD_logf64x): Likewise.
27083 (__DECL_SIMD_logf128x): Likewise.
27084 (__DECL_SIMD_expf16): Likewise.
27085 (__DECL_SIMD_expf32): Likewise.
27086 (__DECL_SIMD_expf64): Likewise.
27087 (__DECL_SIMD_expf32x): Likewise.
27088 (__DECL_SIMD_expf64x): Likewise.
27089 (__DECL_SIMD_expf128x): Likewise.
27090 (__DECL_SIMD_powf16): Likewise.
27091 (__DECL_SIMD_powf32): Likewise.
27092 (__DECL_SIMD_powf64): Likewise.
27093 (__DECL_SIMD_powf32x): Likewise.
27094 (__DECL_SIMD_powf64x): Likewise.
27095 (__DECL_SIMD_powf128x): Likewise.
27097 * stdlib/Versions (libc): Move entries for wcstof128 and
27098 wcstof128_l to ....
27099 * wcsmbs/Versions (libc): ... here.
27100 Include <float128-abi.h>.
27102 2017-11-24 Florian Weimer <fweimer@redhat.com>
27104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27105 bits/mman-shared.h.
27106 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27107 <bits/mman-shared.h>.
27108 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27110 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27111 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27112 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27113 <bits/mman-shared.h>.
27115 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27118 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27119 posix_memalign/free.
27120 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27122 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27125 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27126 and implement the collation rules for pl from CLDR on top of that.
27127 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27128 of locales to be built for testing.
27129 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27131 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27133 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27134 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27135 libm_alias_ldouble_other.
27136 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27137 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27138 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27139 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27140 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27141 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27142 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27143 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27144 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27145 libm_alias_ldouble_r.
27146 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27147 libm_alias_ldouble_other.
27148 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27149 (log10l): Likewise.
27150 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27151 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27152 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27153 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27154 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27155 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27156 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27157 (atan2l): Likewise.
27158 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27159 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27160 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27161 libm_alias_ldouble.
27162 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27164 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27165 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27166 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27168 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27169 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27170 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27171 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27172 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27173 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27174 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27175 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27176 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27177 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27178 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27179 libm_alias_ldouble.
27180 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27181 libm_alias_ldouble_other.
27182 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27183 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27184 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27185 libm_alias_ldouble.
27186 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27187 libm_alias_ldouble_other.
27188 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27189 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27190 * sysdeps/ia64/fpu/w_lgammal_main.c
27191 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27192 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27194 2017-11-23 Florian Weimer <fweimer@redhat.com>
27196 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27197 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27198 alike. Remove freeres marker.
27199 * malloc/arena.c (arena_thread_freeres): Call
27200 tcache_thread_shutdown.
27202 2017-11-23 Florian Weimer <fweimer@redhat.com>
27205 Export nscd hash function as __nss_hash.
27206 * include/nss.h (__nss_hash): Declare.
27207 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27209 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27210 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27212 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27213 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27214 * nss/Makefiles (routines): Add nss_hash.
27215 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27216 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27217 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27218 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27220 2017-11-23 Florian Weimer <fweimer@redhat.com>
27223 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27224 Return error code, not -1.
27225 * signal/tst-sigwait-eintr.c: New file.
27226 * signal/Makefile (tests): Add tst-sigwait-eintr.
27228 2017-11-23 Florian Weimer <fweimer@redhat.com>
27230 Linux: Add memfd_create system call wrapper
27231 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27233 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27234 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27235 [__USE_GNU] (memfd_create): Declare.
27236 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27237 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27238 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27239 * sysdeps/unix/sysv/linux/**.abilist: Update.
27240 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27242 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27244 * localedata/gen-locale.sh: Fix typo in variable name.
27246 * resolv/res_debug.c (p_secstodate): Condition definition on
27247 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27248 directly as __p_secstodate, and as a compat symbol. Do not use
27249 libresolv_hidden_def.
27250 * resolv/resolv.h (p_secstodate): Remove macro and function
27252 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27253 using p_secstodate.
27254 * include/resolv.h (__p_secstodate): Do not use
27255 libresolv_hidden_proto.
27256 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27257 (tests-internal): ... here.
27258 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27259 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27260 and declare and use __p_secstodate and use compat_symbol_reference
27262 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27263 implementation returning 77.
27266 * resolv/res_debug.c: Include <libc-diag.h>.
27267 (p_secstodate): Assert time_t at least as wide as u_long. On
27268 overflow, use integer seconds since the epoch as output, or use
27269 "<overflow>" as output and set errno to EOVERFLOW if integer
27270 seconds since the epoch would be 14 or more characters.
27271 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27273 * resolv/tst-p_secstodate.c: New file.
27274 * resolv/Makefile (tests): Add tst-p_secstodate.
27275 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27277 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27278 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27279 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27281 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27283 * posix/regcomp.c (init_word_char): Add comments.
27285 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27288 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27289 strlen to compute length of ut_user and set trailing NUL byte of
27292 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27295 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27296 using “copy "iso14651_t1"” and then implementing the
27297 collation rules for lv from CLDR on top of that.
27298 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27299 of locales to be built for testing.
27300 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27303 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27305 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27306 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27307 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27308 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27309 [__USE_MISC] (MADV_HWPOISON): New macro.
27310 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27312 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27314 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27315 -Wmissing-braces on GCC 4.9.
27317 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27319 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27320 * sysdeps/s390/s390-32/start.S (_start): Likewise
27321 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27322 (thread_start): Likewise.
27323 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27324 (thread_start): Likewise.
27325 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27326 (__makecontext_ret): Likewise.
27327 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27328 (__makecontext_ret): Likewise.
27330 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27332 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27333 __wcschrnul): Remove attribute_hidden.
27335 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27337 regex: don't assume uint64_t or uint32_t
27338 This avoids -Werror=overflow errors for 32-bit systems in
27339 the 64-bit case. Problem reported by Joseph Myers in:
27340 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27341 Also, when this code is used in Gnulib it ports to platforms
27342 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27343 them, and on some 32-bit compilers there is no uint64_t.
27344 Problem reported by Gianluigi Tiesi in:
27345 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27346 * posix/regcomp.c (init_word_char): Don't assume that the types
27347 uint64_t and uint32_t exist. Adapted from Gnulib patch
27348 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27349 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27351 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27353 * sysdeps/aarch64/memset-reg.h: New file.
27354 * sysdeps/aarch64/memset.S: Use it.
27355 (__memset): Rename to MEMSET macro.
27356 [ZVA_MACRO]: Use zva_macro.
27357 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27358 Add memset_generic and memset_falkor.
27359 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27360 (__libc_ifunc_impl_list): Add memset ifuncs.
27361 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27362 local variable zva_size.
27363 * sysdeps/aarch64/multiarch/memset.c: New file.
27364 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27365 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27366 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27367 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27368 (DCZID_DZP_MASK): New macro.
27369 (DCZID_BS_MASK): Likewise.
27370 (init_cpu_features): Read and set zva_size.
27371 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27372 (struct cpu_features): New member zva_size.
27374 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27375 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27376 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27378 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27379 backwards. Fix timing computation.
27380 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27381 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27382 on memset by N at a time. Fix timing computation.
27384 2017-11-20 Florian Weimer <fweimer@redhat.com>
27386 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27387 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27389 2017-11-19 Florian Weimer <fweimer@redhat.com>
27391 manual: Document mprotect
27392 * manual/memory.texi (Memory Protection): New section.
27393 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27394 documentation of PROT_* flags and reference the Memory Protection
27397 2017-11-19 Florian Weimer <fweimer@redhat.com>
27399 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27400 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27401 (Scatter-Gather): ... to here. Remove misleading comment.
27403 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27405 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27408 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27409 when /proc/<pid>/setgroups does not exist.
27411 2017-11-18 Florian Weimer <fweimer@redhat.com>
27413 * sysdeps/unix/sysv/linux/tst-ttyname.c
27414 (become_root_in_mount_ns): Remove.
27415 (do_in_chroot_1): Call support_enter_mount_namespace.
27416 (do_in_chroot_2): Likewise.
27417 (do_test): Call support_become_root early.
27419 2017-11-18 Florian Weimer <fweimer@redhat.com>
27421 * support/namespace.h (support_enter_mount_namespace): Declare.
27422 * support/support_enter_mount_namespace.c: New file.
27423 * support/Makefile (libsupport-routines): Add
27424 support_enter_mount_namespace.
27426 2017-11-18 Florian Weimer <fweimer@redhat.com>
27428 * support/temp_file.c (support_create_temp_directory): Use
27429 test_dir and do not rely on the presence of the XXXXXX suffix.
27430 * support/temp_file.h (support_create_temp_directory): Update
27432 * support/tst-xreadlink.c (do_test): Adjust.
27433 * support/support_chroot.c (support_chroot_create): Likewise.
27435 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27437 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27439 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27442 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27444 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27445 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27446 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27447 (ceill): Define using libm_alias_ldouble.
27448 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27449 <libm-alias-ldouble.h>.
27450 (copysignl): Define using libm_alias_ldouble.
27451 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27452 (fabsl): Define using libm_alias_ldouble.
27453 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27454 (floorl): Define using libm_alias_ldouble.
27455 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27456 (fmaxl): Define using libm_alias_ldouble.
27457 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27458 (fminl): Define using libm_alias_ldouble.
27459 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27460 (llrintl): Define using libm_alias_ldouble.
27461 (lrintl): Likewise.
27462 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27463 <libm-alias-ldouble.h>.
27464 (nearbyintl): Define using libm_alias_ldouble.
27465 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27466 (truncl): Define using libm_alias_ldouble.
27467 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27468 <libm-alias-ldouble.h>.
27469 (lrintl): Define using libm_alias_ldouble.
27471 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27472 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27473 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27474 (asinhl): Define using libm_alias_ldouble.
27475 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27476 (atanl): Define using libm_alias_ldouble.
27477 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27478 (cbrtl): Define using libm_alias_ldouble.
27479 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27480 (ceill): Define using libm_alias_ldouble.
27481 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27482 (copysignl): Define using libm_alias_ldouble.
27483 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27484 (fabsl): Define using libm_alias_ldouble.
27485 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27486 (floorl): Define using libm_alias_ldouble.
27487 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27488 (fmaxl): Define using libm_alias_ldouble.
27489 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27490 (fminl): Define using libm_alias_ldouble.
27491 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27492 (frexpl): Define using libm_alias_ldouble.
27493 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27494 (llrintl): Define using libm_alias_ldouble.
27495 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27496 (logbl): Define using libm_alias_ldouble.
27497 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27498 (lrintl): Define using libm_alias_ldouble.
27499 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27500 (nearbyintl): Define using libm_alias_ldouble.
27501 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27502 (nextafterl): Define using libm_alias_ldouble.
27503 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27504 (remquol): Define using libm_alias_ldouble.
27505 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27506 (rintl): Define using libm_alias_ldouble.
27507 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27508 (truncl): Define using libm_alias_ldouble.
27509 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27510 (fmaxl): Define using libm_alias_ldouble.
27511 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27512 (fminl): Define using libm_alias_ldouble.
27514 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27515 to C syntax instead of availability and properties of types.
27516 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27517 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27518 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27519 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27520 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27521 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27523 2017-11-17 Florian Weimer <fweimer@redhat.com>
27525 support_become_root: Enable file creation in namespaces.
27526 * support/support_become_root.c (setup_mapping): New function.
27527 (support_become_root): Call it.
27529 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27531 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27534 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27536 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27537 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27539 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27541 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27543 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27546 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27548 * INSTALL: Fix botched up regeneration.
27550 * NEWS: Update sourceare link to https.
27551 * configure.ac: Likewise.
27552 * crypt/md5test-giant.c: Likewise.
27553 * dlfcn/bug-atexit1.c: Likewise.
27554 * dlfcn/bug-atexit2.c: Likewise.
27555 * localedata/README: Likewise.
27556 * malloc/tst-mallocfork.c: Likewise.
27557 * manual/install.texi: Likewise.
27558 * nptl/tst-pthread-getattr.c: Likewise.
27559 * stdio-common/tst-fgets.c: Likewise.
27560 * stdio-common/tst-fwrite.c: Likewise.
27561 * sunrpc/Makefile: Likewise.
27562 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27563 * wcsmbs/tst-mbrtowc2.c: Likewise.
27564 * configure: Regenerate.
27565 * INSTALL: Regenerate.
27567 2017-11-15 Martin Sebor <msebor@redhat.com>
27569 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27570 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27571 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27573 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27576 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27577 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27580 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27581 Defer is_pty check until end of the function.
27582 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27585 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27586 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27587 (ttyname): Likewise.
27588 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27589 (__ttyname_r): Likewise.
27591 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27594 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27596 * manual/terminal.texi (Is It a Terminal):
27597 Mention ENODEV for ttyname and ttyname_r.
27599 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27601 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27602 constant and macro.
27604 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27605 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27606 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27607 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27608 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27609 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27611 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27613 * signal/sigrelse.c (sigrelse): Optimize implementation.
27615 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27616 (__sigpause): Rely on __sigsuspend to implement single thread
27617 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27619 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27621 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27622 kernel version to 4.14.
27624 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27627 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27628 Check if ifname is too long.
27630 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27632 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27634 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27636 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27637 was accidentally lost.
27639 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27641 * localedata/locales/az_IR: Add standard copyright header.
27643 2017-11-15 Florian Weimer <fweimer@redhat.com>
27646 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27647 not just the top one. Output a new "subheaps" statistic.
27649 2017-11-15 Florian Weimer <fweimer@redhat.com>
27652 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27653 under the per-arena lock.
27654 * malloc/Makefile (tests): Add tst-malloc_info.
27655 (tst-malloc_info): Link with libpthread.
27656 * malloc/tst-malloc_info.c: New file.
27658 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27661 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27662 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27663 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27664 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27665 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27666 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27667 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27668 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27669 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27670 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27671 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27672 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27673 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27674 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27675 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27676 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27677 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27678 (__floating_type): Likewise.
27679 (__real_integer_type): Likewise.
27680 (__complex_integer_type): Likewise.
27681 (__expr_is_real): Likewise.
27682 (__tgmath_real_type_sub): Likewise.
27683 (__tgmath_real_type): Likewise.
27684 (__tgmath_complex_type_sub): Likewise.
27685 (__tgmath_complex_type): Likewise.
27686 (__TGMATH_F128): Likewise.
27687 (__TGMATH_CF128): Likewise.
27688 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27690 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27691 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27693 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27695 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27696 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27697 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27698 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27700 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27701 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27703 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27704 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27705 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27707 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27708 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27709 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27713 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27715 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27716 for stpncpy calls for GCC 8.
27717 (test_strncat): Disable -Wstringop-truncation warning for strncat
27718 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27719 strncat call for GCC 7.
27720 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27722 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27725 * string/bug-strncat1.c: Include <libc-diag.h>.
27726 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27728 2017-11-13 Claude Paroz <claude@2xlibre.net>
27731 * localedata/locales/aa_DJ: Improved readibility by replacing
27732 <Uxxxx> sequences in the ASCII printable range by their ASCII
27733 character equivalents.
27734 * localedata/locales/aa_ER: Likewise.
27735 * localedata/locales/aa_ER@saaho: Likewise.
27736 * localedata/locales/aa_ET: Likewise.
27737 * localedata/locales/af_ZA: Likewise.
27738 * localedata/locales/agr_PE: Likewise.
27739 * localedata/locales/ak_GH: Likewise.
27740 * localedata/locales/am_ET: Likewise.
27741 * localedata/locales/anp_IN: Likewise.
27742 * localedata/locales/ar_AE: Likewise.
27743 * localedata/locales/ar_BH: Likewise.
27744 * localedata/locales/ar_DZ: Likewise.
27745 * localedata/locales/ar_EG: Likewise.
27746 * localedata/locales/ar_IN: Likewise.
27747 * localedata/locales/ar_IQ: Likewise.
27748 * localedata/locales/ar_JO: Likewise.
27749 * localedata/locales/ar_KW: Likewise.
27750 * localedata/locales/ar_LB: Likewise.
27751 * localedata/locales/ar_LY: Likewise.
27752 * localedata/locales/ar_MA: Likewise.
27753 * localedata/locales/ar_OM: Likewise.
27754 * localedata/locales/ar_QA: Likewise.
27755 * localedata/locales/ar_SA: Likewise.
27756 * localedata/locales/ar_SD: Likewise.
27757 * localedata/locales/ar_SS: Likewise.
27758 * localedata/locales/ar_SY: Likewise.
27759 * localedata/locales/ar_TN: Likewise.
27760 * localedata/locales/ar_YE: Likewise.
27761 * localedata/locales/as_IN: Likewise.
27762 * localedata/locales/ast_ES: Likewise.
27763 * localedata/locales/ayc_PE: Likewise.
27764 * localedata/locales/az_AZ: Likewise.
27765 * localedata/locales/az_IR: Likewise.
27766 * localedata/locales/be_BY: Likewise.
27767 * localedata/locales/be_BY@latin: Likewise.
27768 * localedata/locales/bem_ZM: Likewise.
27769 * localedata/locales/ber_DZ: Likewise.
27770 * localedata/locales/ber_MA: Likewise.
27771 * localedata/locales/bg_BG: Likewise.
27772 * localedata/locales/bhb_IN: Likewise.
27773 * localedata/locales/bho_IN: Likewise.
27774 * localedata/locales/bi_VU: Likewise.
27775 * localedata/locales/bn_BD: Likewise.
27776 * localedata/locales/bn_IN: Likewise.
27777 * localedata/locales/bo_CN: Likewise.
27778 * localedata/locales/bo_IN: Likewise.
27779 * localedata/locales/br_FR: Likewise.
27780 * localedata/locales/brx_IN: Likewise.
27781 * localedata/locales/bs_BA: Likewise.
27782 * localedata/locales/byn_ER: Likewise.
27783 * localedata/locales/ca_AD: Likewise.
27784 * localedata/locales/ca_ES: Likewise.
27785 * localedata/locales/ca_FR: Likewise.
27786 * localedata/locales/ca_IT: Likewise.
27787 * localedata/locales/ce_RU: Likewise.
27788 * localedata/locales/chr_US: Likewise.
27789 * localedata/locales/cmn_TW: Likewise.
27790 * localedata/locales/crh_UA: Likewise.
27791 * localedata/locales/cs_CZ: Likewise.
27792 * localedata/locales/csb_PL: Likewise.
27793 * localedata/locales/cv_RU: Likewise.
27794 * localedata/locales/cy_GB: Likewise.
27795 * localedata/locales/da_DK: Likewise.
27796 * localedata/locales/de_AT: Likewise.
27797 * localedata/locales/de_BE: Likewise.
27798 * localedata/locales/de_CH: Likewise.
27799 * localedata/locales/de_DE: Likewise.
27800 * localedata/locales/de_IT: Likewise.
27801 * localedata/locales/de_LI: Likewise.
27802 * localedata/locales/de_LU: Likewise.
27803 * localedata/locales/doi_IN: Likewise.
27804 * localedata/locales/dv_MV: Likewise.
27805 * localedata/locales/dz_BT: Likewise.
27806 * localedata/locales/el_CY: Likewise.
27807 * localedata/locales/el_GR: Likewise.
27808 * localedata/locales/en_AG: Likewise.
27809 * localedata/locales/en_AU: Likewise.
27810 * localedata/locales/en_BW: Likewise.
27811 * localedata/locales/en_CA: Likewise.
27812 * localedata/locales/en_DK: Likewise.
27813 * localedata/locales/en_GB: Likewise.
27814 * localedata/locales/en_HK: Likewise.
27815 * localedata/locales/en_IE: Likewise.
27816 * localedata/locales/en_IL: Likewise.
27817 * localedata/locales/en_IN: Likewise.
27818 * localedata/locales/en_NG: Likewise.
27819 * localedata/locales/en_NZ: Likewise.
27820 * localedata/locales/en_PH: Likewise.
27821 * localedata/locales/en_SG: Likewise.
27822 * localedata/locales/en_US: Likewise.
27823 * localedata/locales/en_ZA: Likewise.
27824 * localedata/locales/en_ZM: Likewise.
27825 * localedata/locales/en_ZW: Likewise.
27826 * localedata/locales/eo: Likewise.
27827 * localedata/locales/es_AR: Likewise.
27828 * localedata/locales/es_BO: Likewise.
27829 * localedata/locales/es_CL: Likewise.
27830 * localedata/locales/es_CO: Likewise.
27831 * localedata/locales/es_CR: Likewise.
27832 * localedata/locales/es_CU: Likewise.
27833 * localedata/locales/es_DO: Likewise.
27834 * localedata/locales/es_EC: Likewise.
27835 * localedata/locales/es_ES: Likewise.
27836 * localedata/locales/es_GT: Likewise.
27837 * localedata/locales/es_HN: Likewise.
27838 * localedata/locales/es_MX: Likewise.
27839 * localedata/locales/es_NI: Likewise.
27840 * localedata/locales/es_PA: Likewise.
27841 * localedata/locales/es_PE: Likewise.
27842 * localedata/locales/es_PR: Likewise.
27843 * localedata/locales/es_PY: Likewise.
27844 * localedata/locales/es_SV: Likewise.
27845 * localedata/locales/es_US: Likewise.
27846 * localedata/locales/es_UY: Likewise.
27847 * localedata/locales/es_VE: Likewise.
27848 * localedata/locales/et_EE: Likewise.
27849 * localedata/locales/eu_ES: Likewise.
27850 * localedata/locales/eu_ES@euro: Likewise.
27851 * localedata/locales/fa_IR: Likewise.
27852 * localedata/locales/ff_SN: Likewise.
27853 * localedata/locales/fi_FI: Likewise.
27854 * localedata/locales/fil_PH: Likewise.
27855 * localedata/locales/fo_FO: Likewise.
27856 * localedata/locales/fr_BE: Likewise.
27857 * localedata/locales/fr_CA: Likewise.
27858 * localedata/locales/fr_CH: Likewise.
27859 * localedata/locales/fr_FR: Likewise.
27860 * localedata/locales/fr_LU: Likewise.
27861 * localedata/locales/fur_IT: Likewise.
27862 * localedata/locales/fy_DE: Likewise.
27863 * localedata/locales/fy_NL: Likewise.
27864 * localedata/locales/ga_IE: Likewise.
27865 * localedata/locales/gd_GB: Likewise.
27866 * localedata/locales/gez_ER: Likewise.
27867 * localedata/locales/gez_ET: Likewise.
27868 * localedata/locales/gl_ES: Likewise.
27869 * localedata/locales/gu_IN: Likewise.
27870 * localedata/locales/gv_GB: Likewise.
27871 * localedata/locales/ha_NG: Likewise.
27872 * localedata/locales/hak_TW: Likewise.
27873 * localedata/locales/he_IL: Likewise.
27874 * localedata/locales/hi_IN: Likewise.
27875 * localedata/locales/hif_FJ: Likewise.
27876 * localedata/locales/hne_IN: Likewise.
27877 * localedata/locales/hr_HR: Likewise.
27878 * localedata/locales/hsb_DE: Likewise.
27879 * localedata/locales/ht_HT: Likewise.
27880 * localedata/locales/hu_HU: Likewise.
27881 * localedata/locales/hy_AM: Likewise.
27882 * localedata/locales/i18n: Likewise.
27883 * localedata/locales/ia_FR: Likewise.
27884 * localedata/locales/id_ID: Likewise.
27885 * localedata/locales/ig_NG: Likewise.
27886 * localedata/locales/ik_CA: Likewise.
27887 * localedata/locales/is_IS: Likewise.
27888 * localedata/locales/it_CH: Likewise.
27889 * localedata/locales/it_IT: Likewise.
27890 * localedata/locales/iu_CA: Likewise.
27891 * localedata/locales/ja_JP: Likewise.
27892 * localedata/locales/ka_GE: Likewise.
27893 * localedata/locales/kk_KZ: Likewise.
27894 * localedata/locales/kl_GL: Likewise.
27895 * localedata/locales/kn_IN: Likewise.
27896 * localedata/locales/ko_KR: Likewise.
27897 * localedata/locales/kok_IN: Likewise.
27898 * localedata/locales/ks_IN: Likewise.
27899 * localedata/locales/ks_IN@devanagari: Likewise.
27900 * localedata/locales/ku_TR: Likewise.
27901 * localedata/locales/kw_GB: Likewise.
27902 * localedata/locales/ky_KG: Likewise.
27903 * localedata/locales/lb_LU: Likewise.
27904 * localedata/locales/lg_UG: Likewise.
27905 * localedata/locales/li_BE: Likewise.
27906 * localedata/locales/li_NL: Likewise.
27907 * localedata/locales/lij_IT: Likewise.
27908 * localedata/locales/ln_CD: Likewise.
27909 * localedata/locales/lo_LA: Likewise.
27910 * localedata/locales/lt_LT: Likewise.
27911 * localedata/locales/lv_LV: Likewise.
27912 * localedata/locales/lzh_TW: Likewise.
27913 * localedata/locales/mag_IN: Likewise.
27914 * localedata/locales/mai_IN: Likewise.
27915 * localedata/locales/mg_MG: Likewise.
27916 * localedata/locales/mhr_RU: Likewise.
27917 * localedata/locales/mi_NZ: Likewise.
27918 * localedata/locales/mk_MK: Likewise.
27919 * localedata/locales/ml_IN: Likewise.
27920 * localedata/locales/mn_MN: Likewise.
27921 * localedata/locales/mni_IN: Likewise.
27922 * localedata/locales/mr_IN: Likewise.
27923 * localedata/locales/ms_MY: Likewise.
27924 * localedata/locales/mt_MT: Likewise.
27925 * localedata/locales/my_MM: Likewise.
27926 * localedata/locales/nan_TW: Likewise.
27927 * localedata/locales/nan_TW@latin: Likewise.
27928 * localedata/locales/nb_NO: Likewise.
27929 * localedata/locales/nds_DE: Likewise.
27930 * localedata/locales/nds_NL: Likewise.
27931 * localedata/locales/ne_NP: Likewise.
27932 * localedata/locales/nhn_MX: Likewise.
27933 * localedata/locales/niu_NU: Likewise.
27934 * localedata/locales/niu_NZ: Likewise.
27935 * localedata/locales/nl_AW: Likewise.
27936 * localedata/locales/nl_BE: Likewise.
27937 * localedata/locales/nl_NL: Likewise.
27938 * localedata/locales/nn_NO: Likewise.
27939 * localedata/locales/nr_ZA: Likewise.
27940 * localedata/locales/nso_ZA: Likewise.
27941 * localedata/locales/oc_FR: Likewise.
27942 * localedata/locales/om_ET: Likewise.
27943 * localedata/locales/om_KE: Likewise.
27944 * localedata/locales/or_IN: Likewise.
27945 * localedata/locales/os_RU: Likewise.
27946 * localedata/locales/pa_IN: Likewise.
27947 * localedata/locales/pa_PK: Likewise.
27948 * localedata/locales/pap_AW: Likewise.
27949 * localedata/locales/pap_CW: Likewise.
27950 * localedata/locales/pl_PL: Likewise.
27951 * localedata/locales/ps_AF: Likewise.
27952 * localedata/locales/pt_BR: Likewise.
27953 * localedata/locales/pt_PT: Likewise.
27954 * localedata/locales/quz_PE: Likewise.
27955 * localedata/locales/raj_IN: Likewise.
27956 * localedata/locales/ro_RO: Likewise.
27957 * localedata/locales/ru_RU: Likewise.
27958 * localedata/locales/ru_UA: Likewise.
27959 * localedata/locales/rw_RW: Likewise.
27960 * localedata/locales/sa_IN: Likewise.
27961 * localedata/locales/sat_IN: Likewise.
27962 * localedata/locales/sc_IT: Likewise.
27963 * localedata/locales/sd_IN: Likewise.
27964 * localedata/locales/sd_IN@devanagari: Likewise.
27965 * localedata/locales/se_NO: Likewise.
27966 * localedata/locales/sgs_LT: Likewise.
27967 * localedata/locales/shs_CA: Likewise.
27968 * localedata/locales/si_LK: Likewise.
27969 * localedata/locales/sid_ET: Likewise.
27970 * localedata/locales/sk_SK: Likewise.
27971 * localedata/locales/sl_SI: Likewise.
27972 * localedata/locales/sm_WS: Likewise.
27973 * localedata/locales/so_DJ: Likewise.
27974 * localedata/locales/so_ET: Likewise.
27975 * localedata/locales/so_KE: Likewise.
27976 * localedata/locales/so_SO: Likewise.
27977 * localedata/locales/sq_AL: Likewise.
27978 * localedata/locales/sq_MK: Likewise.
27979 * localedata/locales/sr_ME: Likewise.
27980 * localedata/locales/sr_RS: Likewise.
27981 * localedata/locales/sr_RS@latin: Likewise.
27982 * localedata/locales/ss_ZA: Likewise.
27983 * localedata/locales/st_ZA: Likewise.
27984 * localedata/locales/sv_FI: Likewise.
27985 * localedata/locales/sv_SE: Likewise.
27986 * localedata/locales/sw_KE: Likewise.
27987 * localedata/locales/sw_TZ: Likewise.
27988 * localedata/locales/szl_PL: Likewise.
27989 * localedata/locales/ta_IN: Likewise.
27990 * localedata/locales/ta_LK: Likewise.
27991 * localedata/locales/tcy_IN: Likewise.
27992 * localedata/locales/te_IN: Likewise.
27993 * localedata/locales/tg_TJ: Likewise.
27994 * localedata/locales/th_TH: Likewise.
27995 * localedata/locales/the_NP: Likewise.
27996 * localedata/locales/ti_ER: Likewise.
27997 * localedata/locales/ti_ET: Likewise.
27998 * localedata/locales/tig_ER: Likewise.
27999 * localedata/locales/tk_TM: Likewise.
28000 * localedata/locales/tl_PH: Likewise.
28001 * localedata/locales/tn_ZA: Likewise.
28002 * localedata/locales/to_TO: Likewise.
28003 * localedata/locales/tpi_PG: Likewise.
28004 * localedata/locales/tr_CY: Likewise.
28005 * localedata/locales/tr_TR: Likewise.
28006 * localedata/locales/ts_ZA: Likewise.
28007 * localedata/locales/tt_RU: Likewise.
28008 * localedata/locales/tt_RU@iqtelif: Likewise.
28009 * localedata/locales/ug_CN: Likewise.
28010 * localedata/locales/uk_UA: Likewise.
28011 * localedata/locales/unm_US: Likewise.
28012 * localedata/locales/ur_IN: Likewise.
28013 * localedata/locales/ur_PK: Likewise.
28014 * localedata/locales/uz_UZ: Likewise.
28015 * localedata/locales/uz_UZ@cyrillic: Likewise.
28016 * localedata/locales/ve_ZA: Likewise.
28017 * localedata/locales/vi_VN: Likewise.
28018 * localedata/locales/wa_BE: Likewise.
28019 * localedata/locales/wae_CH: Likewise.
28020 * localedata/locales/wal_ET: Likewise.
28021 * localedata/locales/wo_SN: Likewise.
28022 * localedata/locales/xh_ZA: Likewise.
28023 * localedata/locales/yi_US: Likewise.
28024 * localedata/locales/yo_NG: Likewise.
28025 * localedata/locales/yue_HK: Likewise.
28026 * localedata/locales/yuw_PG: Likewise.
28027 * localedata/locales/zh_CN: Likewise.
28028 * localedata/locales/zh_HK: Likewise.
28029 * localedata/locales/zh_SG: Likewise.
28030 * localedata/locales/zh_TW: Likewise.
28031 * localedata/locales/zu_ZA: Likewise.
28033 2017-11-13 Florian Weimer <fweimer@redhat.com>
28035 * support/next_to_fault.h, support/next_to_fault.c: New files.
28036 * support/Makefile (libsupport-routines): Add next_to_fault.
28037 * resolv/tst-inet_pton.c (struct next_to_fault)
28038 (next_to_fault_allocate, next_to_fault_free): Remove.
28039 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28041 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28043 * elf/dl-support.c: Include <dl-procruntime.c>.
28044 * include/link.h: Include <link_map.h>.
28045 * sysdeps/generic/dl-procruntime.c: New file.
28046 * sysdeps/generic/link_map.h: Likewise.
28047 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28048 the writable ld.so namespace.
28050 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28052 timezone: pacify GCC -Wstringop-truncation
28053 Problem reported by Martin Sebor in:
28054 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28055 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28057 2017-11-12 Florian Weimer <fweimer@redhat.com>
28059 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28061 (tests): Add tst-xreadlink.
28062 * support/support.h (xstrndup): Declare.
28063 * support/xunistd.h (xunlink, xreadlink): Declare.
28064 * support/temp_file.h (support_create_temp_directory): Declare.
28065 * support/temp_file.c (support_create_temp_directory): New function.
28066 * support/support_chroot.c (support_chroot_create): Use it.
28067 * support/xreadlink.c: New file.
28068 * support/xstrndup.c: Likewise.
28069 * support/xunlink.c: Likewise.
28070 * support/tst-xreadlink.c: Likewise.
28072 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28074 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28076 2017-11-11 Florian Weimer <fweimer@redhat.com>
28080 * resolv/res_comp.c (printable_string, binary_hnok)
28081 (binary_leading_dash): New functions.
28082 (res_hnok): Reimplement using these functions and ns_name_pton.
28083 (res_ownok): Likewise.
28084 (res_mailok): Reimplement using printable_string, ns_name_pton and
28086 (res_dnok): Reimplement using printable_string and ns_name_pton.
28087 * resolv/tst-res_hnok.c (tests): Add additional tests.
28088 (LETTERDIGITS, PRINTABLE): Define.
28089 (do_test): Adjust one_char results.
28091 2017-11-11 Florian Weimer <fweimer@redhat.com>
28094 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28095 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28097 2017-11-11 Florian Weimer <fweimer@redhat.com>
28099 * resolv/tst-ns_name_pton.c: New file.
28100 * resolv/Makefile (tests): Add tst-ns_name_pton.
28101 (tst-ns_name_pton): Link against libresolv.
28103 2017-11-11 Florian Weimer <fweimer@redhat.com>
28105 * resolv/tst-res_hnok.c: New file.
28106 * resolv/Makefile (tests): Add tst-res_hnok.
28107 (tst-res_hnok): Link against libresolv.
28109 2017-11-11 Florian Weimer <fweimer@redhat.com>
28111 * resolv/tst-resolv-network.c: Use test framework instead explicit
28114 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28116 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28117 <jmp_buf-macros.h>.
28118 [!_ISOMAC] (STR_HELPER): New.
28119 [!_ISOMAC] (STR): Likewise.
28120 [!_ISOMAC] (TEST_SIZE): Likewise.
28121 [!_ISOMAC] (TEST_ALIGN): Likewise.
28122 [!_ISOMAC] (TEST_OFFSET): Likewise.
28123 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28124 field offsets of jmp_buf as well as sigjmp_buf.
28125 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28126 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28127 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28128 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28129 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28130 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28131 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28132 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28133 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28134 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28136 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28138 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28143 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28144 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28145 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28146 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28147 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28152 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28153 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28154 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28156 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28159 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28160 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28161 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28162 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28163 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28164 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28165 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28166 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28167 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28168 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28169 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28170 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28171 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28172 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28173 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28174 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28175 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28176 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28177 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28178 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28179 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28180 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28181 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28182 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28183 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28184 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28185 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28186 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28187 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28188 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28189 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28190 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28191 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28192 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28193 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28194 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28195 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28196 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28197 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28198 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28199 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28200 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28201 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28202 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28203 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28204 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28205 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28206 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28207 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28208 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28209 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28210 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28211 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28212 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28214 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28216 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28218 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28219 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28220 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28222 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28224 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28226 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28228 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28230 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28232 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28234 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28236 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28238 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28240 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28242 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28244 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28246 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28248 * stdlib/tst-strtod.h (F16): New macro.
28254 (IF_FLOAT16): Likewise.
28255 (IF_FLOAT32): Likewise.
28256 (IF_FLOAT64): Likewise.
28257 (IF_FLOAT32X): Likewise.
28258 (IF_FLOAT64X): Likewise.
28259 (IF_FLOAT128X): Likewise.
28260 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28261 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28262 (STRTOD_TEST_FOREACH): Likewise.
28263 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28264 (CHOOSE_f64): Likewise.
28265 (CHOOSE_f32x): Likewise.
28266 (CHOOSE_f64x): Likewise.
28268 2017-11-07 Andreas Schwab <schwab@suse.de>
28270 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28272 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28275 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28277 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28280 2017-11-07 Claude Paroz <claude@2xlibre.net>
28283 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28285 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28287 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28290 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28293 * nptl/allocatestack.c (allocate_stack): Check if
28294 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28295 __PTHREAD_MUTEX_HAVE_PREV is defined.
28296 * nptl/descr.h (pthread): Likewise.
28297 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28299 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28300 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28301 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28302 * sysdeps/nptl/bits/thread-shared-types.h
28303 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28305 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28306 of __WORDSIZE for internal layout.
28307 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28308 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28309 instead of __WORDSIZE whether to use an union for __spins and __list
28311 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28313 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28314 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28316 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28317 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28319 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28320 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28322 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28323 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28325 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28326 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28328 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28329 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28331 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28332 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28334 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28335 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28337 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28338 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28340 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28341 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28343 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28344 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28346 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28347 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28349 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28350 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28352 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28353 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28355 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28356 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28359 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28361 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28362 checks for expected input type size.
28363 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28364 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28366 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28367 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28368 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28369 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28370 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28371 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28372 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28373 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28374 superflous runtime assert check.
28375 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28377 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28379 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28381 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28383 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28385 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28387 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28388 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28389 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28391 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28393 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28395 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28397 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28399 * nptl/pthread_attr_setinheritsched.c
28400 (__pthread_attr_setinheritsched): Likewise.
28401 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28403 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28405 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28406 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28407 __old_pthread_attr_setstack): Likewise.
28408 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28410 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28412 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28414 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28415 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28417 * nptl/tst-typesizes.c: Remove file.
28419 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28420 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28421 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28422 checks for internal pthread_mutex_t offsets.
28423 * sysdeps/aarch64/nptl/pthread-offsets.h
28424 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28425 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28426 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28427 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28428 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28429 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28430 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28431 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28432 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28433 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28434 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28435 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28436 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28437 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28438 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28439 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28440 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28441 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28443 2017-11-07 Florian Weimer <fweimer@redhat.com>
28445 * bits/mman-linux.h: Move ...
28446 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28448 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28451 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28453 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28454 Redefine STRNLEN as __strnlen_power8.
28456 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28458 * signal/sighold.c (sighold): Optimize implementation.
28460 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28461 __NR_rt_sigqueueinfo.
28463 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28465 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28466 assume __NR_rt_sigtimedwait.
28467 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28468 and add LIBC_CANCEL_HANDLED for cancellation marking.
28469 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28471 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28472 (sysdeps_routines): Add memchr_noneon.
28473 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28474 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28475 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28476 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28477 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28478 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28479 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28481 * sysdeps/arm/arm-ifunc.h: New file.
28482 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28483 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28484 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28485 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28486 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28487 (__memcpy_neon): Avoid create hidden alias.
28488 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28489 (__memcpy_vfp): Likewise.
28490 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28491 (sysdep_routines): Add memcpy_arm.
28492 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28494 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28497 * Makerules (make-link-multidir): New.
28498 * config.make.in (multidir): New.
28499 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28500 * configure: Regenerated.
28501 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28502 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28503 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28506 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28509 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28510 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28512 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28514 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28517 2017-11-04 Florian Weimer <fweimer@redhat.com>
28519 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28521 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28523 * math/math.h [__HAVE_DISTINCT_FLOAT16
28524 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28525 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28526 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28527 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28528 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28529 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28530 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28531 (__MATH_TG_F32): New macro.
28532 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28533 (__MATH_TG_F64X): Likewise.
28534 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28535 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28537 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28539 * po/de.po: Update translations.
28540 * po/ru.po: Likewise.
28542 2017-11-03 Florian Weimer <fweimer@redhat.com>
28544 * manual/filesys.texi (Hard Links): Document linkat.
28546 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28548 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28549 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28550 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28551 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28552 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28553 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28554 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28555 the same as _Float128.
28556 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28557 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28558 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28561 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28563 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28565 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28567 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28568 (strtof32x): Likewise.
28569 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28570 (strtof64x): Likewise.
28571 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28572 (strtof128x): Likewise.
28573 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28574 (strfromf16): Likewise.
28575 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28576 (strfromf32): Likewise.
28577 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28578 (strfromf64): Likewise.
28579 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28580 (strfromf32x): Likewise.
28581 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28582 (strfromf64x): Likewise.
28583 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28584 (strfromf128x): Likewise.
28585 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28586 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28587 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28588 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28589 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28590 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28592 2017-11-03 Richard Henderson <rth@twiddle.net>
28594 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28596 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28598 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28600 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28602 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28603 DT_TLSDESC_GOT initialization.
28604 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28605 (_dl_tlsdesc_resolve_hold): Likewise.
28606 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28607 (_dl_tlsdesc_resolve_hold): Likewise.
28608 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28609 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28611 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28613 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28615 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28618 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28619 non-lazily for R_ARM_TLS_DESC.
28621 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28624 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28625 R_ARM_TLS_DESC case.
28626 (elf_machine_lazy_rel): Remove the prelink check.
28628 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28630 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28631 DT_TLSDESC_GOT initialization.
28632 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28633 (_dl_tlsdesc_resolve_rela): Likewise.
28634 (_dl_tlsdesc_resolve_hold): Likewise.
28635 (_dl_tlsdesc_undefweak): Remove ldar.
28636 (_dl_tlsdesc_dynamic): Likewise.
28637 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28638 (_dl_tlsdesc_resolve_rela): Likewise.
28639 (_dl_tlsdesc_resolve_hold): Likewise.
28640 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28641 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28642 (_dl_tlsdesc_resolve_rela): Likewise.
28643 (_dl_tlsdesc_resolve_hold): Likewise.
28645 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28647 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28648 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28650 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28652 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28653 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28655 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28657 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28659 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28660 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28661 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28662 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28663 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28664 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28665 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28666 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28667 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28668 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28669 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28671 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28674 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28675 * localedata/locales/tpi_PG: Add standard header.
28677 2017-11-02 Florian Weimer <fweimer@redhat.com>
28679 test-errno-linux: quotactl can fail with EPERM in containers.
28680 * sysdeps/unix/sysv/linux/test-errno-linux.c
28681 (LIST, LIST_FORWARD): New macros.
28682 (check_error_in_list): New function.
28683 (test_wrp_rv): Accept list of permitted error codes.
28684 (test_wrp_rv2): Remove.
28685 (test_wrp): Call test_wrp_rv with list of error codes.
28686 (test_wrp2): Accept list of error codes.
28687 (do_test): Adjust. Allow EPERM for quotactl.
28689 2017-11-02 Florian Weimer <fweimer@redhat.com>
28691 * stdio-common/bug16.c (do_test): Use array_length.
28692 * stdio-common/errlist.c (_sys_nerr): Likewise.
28693 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28694 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28695 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28696 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28697 (do_test): Use array_length.
28698 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28699 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28700 * stdio-common/tst-printf-round.c (do_test): Likewise.
28701 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28702 (CHECK): Use array_length.
28703 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28704 * stdio-common/tstscanf.c (main): Likewise.
28705 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28707 2017-11-02 Florian Weimer <fweimer@redhat.com>
28709 Add array_length and array_end macros.
28710 * include/array_length.h: New file.
28712 2017-11-02 Florian Weimer <fweimer@redhat.com>
28715 * posix/tst-glob-tilde.c (do_noescape): New variable.
28716 (one_test): Process it.
28717 (do_test): Set do_noescape. Add unescaping test case.
28719 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28722 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28723 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28724 with appropriate macros defined and undefined.
28725 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28726 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28727 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28728 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28729 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28730 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28731 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28732 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28733 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28734 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28737 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28738 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28739 that for long double. Do not condition define and undefine of
28740 _Mdouble_complex_ on [__CFLOAT128].
28742 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28744 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28745 of <sysdeps/generic/sysdep.h>.
28746 (ALIGNARG): Removed.
28747 (ASM_SIZE_DIRECTIVE): Likewise.
28750 (ENTRY_CHK): Likewise.
28751 (END_CHK): Likewise.
28752 (syscall_error): Likewise.
28753 (mcount): Likewise.
28754 (PSEUDO_END): Likewise.
28756 (atom_text_section): Likewise.
28757 * sysdeps/x86/sysdep.h: New file.
28758 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28759 of <sysdeps/generic/sysdep.h>.
28760 (ALIGNARG): Removed.
28761 (ASM_SIZE_DIRECTIVE): Likewise.
28764 (ENTRY_CHK): Likewise.
28765 (END_CHK): Likewise.
28766 (syscall_error): Likewise.
28767 (mcount): Likewise.
28768 (PSEUDO_END): Likewise.
28770 (atom_text_section): Likewise.
28772 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
28774 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28775 category of LC_CTYPE set to "i18n:2012".
28776 * localedata/locales/i18n_ctype: Regenerate.
28778 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28780 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28781 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28782 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28783 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28785 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28786 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28788 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28790 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28793 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28795 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28797 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28799 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28800 (CMPLXF32X): Likewise.
28801 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28802 (CMPLXF64X): Likewise.
28803 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28804 (CMPLXF128X): Likewise.
28807 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28808 (__MATH_EVAL_FMT2): Define to add 0.0f.
28810 2017-10-31 Alan Modra <amodra@gmail.com>
28812 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28828 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28829 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28830 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28831 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28832 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28837 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28838 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28839 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28840 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28841 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28842 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28843 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28844 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28845 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28846 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28847 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28848 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28849 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28850 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28851 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28853 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28854 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28855 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28856 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28857 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28858 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28859 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28860 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28861 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28862 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28863 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28864 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28865 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28866 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28867 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28868 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28869 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28870 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28871 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28872 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28873 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28874 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28875 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28876 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28877 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28878 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28879 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28880 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28881 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
28882 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
28884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
28885 include sysdep.h and math_ldbl_opt.h.
28887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
28888 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
28889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
28890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
28891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
28892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
28893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
28894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
28895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
28896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
28897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
28898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
28899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
28900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
28901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
28902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
28903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
28904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
28905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
28906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
28907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
28908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
28909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
28910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
28911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
28912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
28914 2017-10-31 Alan Modra <amodra@gmail.com>
28916 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
28917 string/strncase_l.c, not string/strncase.c.
28918 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
28919 (libc_hidden_def): Redefine.
28921 2017-10-31 Alan Modra <amodra@gmail.com>
28923 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
28924 (__STRCMP, STRCMP, __strcasecmp_l): Define.
28925 (__strcasecmp): Don't define.
28927 2017-10-31 Alan Modra <amodra@gmail.com>
28929 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
28931 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28932 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28933 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28935 2017-10-31 Alan Modra <amodra@gmail.com>
28937 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
28940 2017-10-31 Alan Modra <amodra@gmail.com>
28942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
28943 Redefine only when SHARED.
28945 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28947 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
28948 Include <bits/math-finite.h> with appropriate macros defined and
28950 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
28951 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
28952 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
28953 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
28954 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
28956 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
28957 [!_Mlong_double_] (_Mlong_double_): Likewise.
28958 [!_Mfloat16_] (_Mfloat16_): Likewise.
28959 [!_Mfloat32_] (_Mfloat32_): Likewise.
28960 [!_Mfloat64_] (_Mfloat64_): Likewise.
28961 [!_Mfloat128_] (_Mfloat128_): Likewise.
28962 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
28963 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
28964 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
28965 (_Mdouble_): Define without indirection through those macros.
28966 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
28967 [!_Mfloat128_] (_Mfloat128_): Likewise.
28968 [_Mlong_double_] (_Mlong_double_): Likewise.
28969 (_Mdouble_): Define without indirection through those macros.
28970 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
28971 not add -D_Mlong_double_=double.
28972 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
28973 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
28975 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28977 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
28979 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28981 * sysdeps/x86/libc-start.c: Reformat.
28983 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
28986 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
28987 (1): Renamed to ...
28990 (L(Src2)): Likewise.
28991 (L(1)): Renamed to ...
28994 2017-10-30 Joseph Myers <joseph@codesourcery.com>
28996 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
28997 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
28998 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
28999 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29000 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29001 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29002 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29003 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29004 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29005 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29006 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29007 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29008 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29009 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29010 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29011 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29012 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29013 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29014 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29015 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29016 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29017 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29018 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29019 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29020 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29021 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29022 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29023 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29024 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29025 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29026 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29027 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29028 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29029 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29030 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29031 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29032 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29033 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29034 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29035 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29036 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29037 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29038 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29039 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29040 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29041 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29042 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29043 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29044 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29045 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29046 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29047 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29048 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29049 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29050 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29051 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29052 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29053 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29054 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29055 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29056 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29057 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29058 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29059 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29060 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29061 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29063 2017-10-30 Florian Weimer <fweimer@redhat.com>
29065 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29067 * io/tst-mkdirat.c (do_test): Likewise.
29068 * io/tst-mkfifoat.c (do_test): Likewise.
29069 * io/tst-mknodat.c (do_test): Likewise.
29070 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29071 * locale/programs/locale.c (select_dirs): Likewise.
29072 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29073 * posix/bug-glob2.c (my_readdir): Likewise.
29074 * posix/tst-dir.c (main): Likewise.
29075 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29076 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29078 2017-10-30 Florian Weimer <fweimer@redhat.com>
29080 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29083 2017-10-30 Florian Weimer <fweimer@redhat.com>
29085 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29086 Convert to support/test-driver.c.
29087 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29088 New macro parameters.
29089 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29090 * posix/tst-gnuglob.c: New file.
29091 * posix/tst-gnuglob64.c: Likewise.
29092 * posix/Makefile (tests): Add tst-gnuglob64.
29094 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29097 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29098 and use a better translation for March in “mon”.
29099 * localedata/locales/csb_PL: Use more ASCII to improve the
29100 readability of the source.
29102 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29105 * localedata/locales/km_KH: Use ASCII as much
29106 as possible for better readability of the source and
29107 remove useless comments.
29108 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29109 was commented out and apparently wrong anyway because it was
29110 using Lao characters. If Buddhist era should be used
29111 for km_KH, a native speaker should write the correct formaat
29113 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29114 (According to CLDR, the first weekday for Cambodia is Sunday).
29115 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29116 (These were using Lao characters which must be wrong. If we get
29117 the correct data from a native speaker, we could add it back, until
29118 then it is better not to have name_mr and name_mrs at all than
29121 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29123 * locale/loadlocale.c: Correct size of
29124 _nl_value_type_LC_<category> arrays.
29126 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29128 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29129 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29130 with appropriate macros defined and undefined.
29131 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29132 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29133 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29134 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29135 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29137 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29139 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29142 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29144 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29145 with lowercase letters to make it agree with CLDR.
29147 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29150 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29151 first letters of yesstr and nostr in yesexpr and noexpr,
29152 not for the full words.
29153 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29154 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29155 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29156 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29157 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29158 first letters of yesstr and nostr in yesexpr and noexpr,
29159 until now only English was matched in yesexpr and noexpr.
29160 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29161 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29162 fil but not for tl. As tl and fil are very similar, using fil
29163 is probably better than using English.
29165 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29168 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29169 in yesstr and nostr.
29171 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29173 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29174 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29175 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29177 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29179 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29181 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29183 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29184 (SNANF128X): Likewise.
29186 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29187 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29188 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29189 (HUGE_VAL_F32): Likewise.
29190 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29191 (HUGE_VAL_F64): Likewise.
29192 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29193 (HUGE_VAL_F32X): Likewise.
29194 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29195 (HUGE_VAL_F64X): Likewise.
29196 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29197 (HUGE_VAL_F128X): Likewise.
29199 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29201 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29202 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29203 for the br_FR locale.
29205 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29208 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29210 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29212 * locale/programs/record-status.h: Define globals, and function
29213 prototypes. Move function bodies...
29214 * locale/programs/record-status.c: ... to here. New file.
29215 * iconv/Makefile (iconv_prog-modules): Add record-status.
29216 * locale/Makefile (lib-modules): Likewise.
29217 * iconv/iconv_prog.c: Remove verbose.
29218 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29219 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29220 record a warning about ASCII compatibility.
29221 * locale/programs/ld-monetary.c (monetary_finish): If
29222 warn_int_curr_symbol is true then record a warning about the symbol
29223 not being in our ISO 4217 list.
29224 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29225 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29226 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29227 (OPT_NO_WARN): Define.
29228 (OPT_WARN): Define.
29229 (options): Add entry for --no-warnings, and --warnings.
29230 (set_warnings): New function to enable/disable warnings.
29231 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29232 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29233 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29234 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29235 Pass flags to generate_locale.
29236 (generate_locale): Accept new flag argument and pass it to localedef
29238 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29239 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29241 * localedata/Makefile (test-input-data): Use full file name.
29242 * localedata/da_DK.in: Rename to...
29243 * localedata/da_DK.ISO-8859-1.in: ...this.
29244 * localedata/de_DE.in: Rename to...
29245 * localedata/de_DE.ISO-8859-1.in: ...this.
29246 * localedata/en_US.in: Rename to...
29247 * localedata/en_US.ISO-8859-1.in: ...this.
29248 * localedata/fr_FR.in: Rename to...
29249 * localedata/fr_FR.UTF-8.in: ... this.
29250 * localedata/hr_HR.in: Rename to...
29251 * localedata/hr_HR.ISO-8859-2.in: ...this.
29252 * localedata/hu_HU.in: Rename to...
29253 * localedata/hu_HU.UTF-8.in: ...this.
29254 * localedata/si_LK.in: Rename to...
29255 * localedata/si_LK.UTF-8.in: ...this.
29256 * localedata/sv_SE.in: Rename to...
29257 * localedata/sv_SE.ISO-8859-1.in: ...this.
29258 * localedata/tr_TR.in: Rename to...
29259 * localedata/tr_TR.UTF-8.in: ...this.
29260 * localedata/uk_UA.in: Rename to...
29261 * localedata/uk_UA.UTF-8.in: ...this.
29262 * localedata/sort-test.sh: Test file is locale name with the
29265 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29266 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29268 * localedata/locales/i18n_ctype: Regenerate.
29269 * localedata/locales/tr_TR: Likewise.
29270 * localedata/locales/translit_circle: Likewise.
29271 * localedata/locales/translit_cjk_compat: Likewise.
29272 * localedata/locales/translit_combining: Likewise.
29273 * localedata/locales/translit_compat: Likewise.
29274 * localedata/locales/translit_font: Likewise.
29275 * localedata/locales/translit_fraction: Likewise.
29277 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29279 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29280 lxvd2x/stxvd2x with lvx/stvx.
29281 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29283 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29285 * include/alloc_buffer.h: Replace "if if " with "if " in
29287 * sysdeps/mips/memcpy.S: Likkewise.
29288 * sysdeps/mips/memset.S: Likewise.
29289 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29291 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29293 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29296 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29299 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29300 yesexpr and noexpr.
29301 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29302 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29303 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29304 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29305 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29306 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29307 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29309 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29311 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29312 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29313 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29314 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29315 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29316 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29317 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29318 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29319 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29320 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29321 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29322 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29324 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29326 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29327 as possible for better readability of the source.
29328 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29329 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29330 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29331 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29332 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29333 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29334 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29335 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29336 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29337 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29338 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29339 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29340 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29341 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29342 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29343 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29344 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29345 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29346 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29347 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29348 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29349 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29350 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29351 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29352 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29353 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29354 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29355 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29356 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29357 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29358 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29359 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29360 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29361 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29362 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29363 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29364 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29365 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29366 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29367 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29368 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29369 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29370 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29371 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29372 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29373 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29374 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29375 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29376 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29377 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29378 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29379 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29380 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29381 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29382 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29383 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29384 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29385 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29386 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29387 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29388 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29389 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29390 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29391 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29392 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29393 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29394 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29395 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29396 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29397 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29398 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29399 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29400 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29401 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29402 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29403 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29404 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29405 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29406 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29407 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29408 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29409 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29410 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29411 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29412 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29413 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29414 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29415 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29416 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29417 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29418 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29419 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29420 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29421 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29422 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29423 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29424 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29425 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29426 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29427 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29428 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29429 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29430 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29431 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29432 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29433 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29434 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29435 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29436 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29437 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29438 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29439 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29440 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29441 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29442 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29443 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29444 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29445 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29446 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29447 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29448 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29449 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29450 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29451 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29452 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29453 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29454 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29455 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29456 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29457 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29458 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29459 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29460 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29461 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29462 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29463 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29464 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29465 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29466 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29467 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29468 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29469 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29470 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29471 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29472 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29473 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29474 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29475 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29476 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29477 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29478 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29479 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29480 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29481 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29482 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29483 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29484 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29485 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29486 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29487 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29488 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29489 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29490 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29491 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29492 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29493 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29494 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29495 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29496 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29497 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29498 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29499 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29500 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29501 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29503 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29505 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29506 (Use first letters of yesstr and nostr correctly instead of using
29509 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29511 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29512 (Use first letters of yesstr and nostr correctly).
29514 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29516 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29517 also check for the first characters of yesstr and nostr.
29518 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29519 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29521 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29523 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29524 also check for Chinese characters.
29526 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29528 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29529 match also for the contents of yesstr and nostr. As the first letter
29530 of yesstr and nostr is equal, checking only for the first letter
29533 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29535 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29536 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29538 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29540 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29541 of main contributor.
29543 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29545 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29546 instead of using English.
29548 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29550 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29551 by including the first letters of nostr and yesexpr in the regexp.
29552 Also make it more readable by using ASCII where possible.
29554 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29556 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29557 the first letter of nostr in the regexp. It agrees with CLDR now.
29558 Also make it more readable by using ASCII where possible.
29560 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29562 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29563 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29564 these strings contain a U+17D6 (which somewhat looks like a colon)
29565 instead of a real colon to separate the full words for “yes”
29566 and “no” from the single letter responses.
29568 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29570 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29571 it agree with CLDR (include the first letter of yesstr).
29572 Also make it more readable by using ASCII where possible.
29574 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29576 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29577 and improve yesexpr and noexpr. The yesstr and nostr apparently
29578 came from CLDR. And CLDR has a bug there: these strings contain
29579 a U+0903 (which looks like a colon) instead of a real colon
29580 to separate the full words for “yes” and “no” from the single
29583 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29585 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29586 letters of the full yesstr and nostr in yesexpr and noexpr.
29588 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29590 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29591 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29592 * localedata/locales/an_ES: Make source more readable by using ASCII
29595 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29598 * localedata/locales/yuw_PG: New file.
29599 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29600 * locale/iso-639.def: Add Yau (Uruwa).
29602 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29604 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29606 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29608 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29609 (__libc_realloc): Likewise.
29610 (_mid_memalign): Likewise.
29611 (__libc_calloc): Likewise.
29613 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29615 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29616 by adding the generic +1 and -0 as in all other locales.
29617 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29618 day names and make it more readable by using ASCII where possible.
29620 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29622 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29623 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29625 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29627 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29628 WNOHANG in waitpid call.
29630 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29632 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29633 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29635 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29636 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29637 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29638 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29639 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29640 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29641 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29642 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29645 2017-10-23 Michael Collison <michael.collison@arm.com>
29647 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29648 with __builtin_sqrt.
29649 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29650 with __builtin_sqrtf.
29651 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29652 with __builtin_ceil.
29653 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29654 with __builtin_ceilf.
29655 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29656 with __builtin_floor.
29657 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29658 with __builtin_floorf.
29659 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29660 with __builtin_fma.
29661 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29662 with __builtin_fmaf.
29663 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29664 with __builtin_fmax.
29665 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29666 with __builtin_fmaxf.
29667 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29668 with __builtin_fmin.
29669 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29670 with __builtin_fminf.
29671 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29672 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29673 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29674 with builtin_rint and conversion to int.
29675 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29676 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29677 with builtin_llround.
29678 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29679 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29680 with builtin_rint and conversion to long int.
29681 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29682 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29683 with builtin_lround.
29684 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29685 with builtin_lroundf.
29686 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29687 statements with __builtin_nearbyint.
29688 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29689 statements with __builtin_nearbyintf.
29690 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29691 with __builtin_rint.
29692 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29693 with __builtin_rintf.
29694 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29695 with __builtin_round.
29696 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29697 with __builtin_roundf.
29698 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29699 with __builtin_trunc.
29700 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29701 with __builtin_truncf.
29702 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29703 and s_l[l]round[f].c too.
29705 2017-10-23 Alan Modra <amodra@gmail.com>
29707 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29708 Adjust stack after restoring regs. Add missing LR cfi_restore.
29710 2017-10-23 Alan Modra <amodra@gmail.com>
29712 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29713 Move LR save and frame setup/teardown and LR restore to
29714 immediately around memset call. Provide cfi.
29716 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29718 * sysdeps/i386/fpu/e_powf.S: Removed.
29719 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29720 * sysdeps/i386/fpu/w_powf.c: Likewise.
29721 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29722 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29723 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29725 (CFLAGS-e_powf-sse2.c): New.
29726 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29727 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29729 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29731 * sysdeps/i386/fpu/e_log2f.S: Removed.
29732 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29733 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29734 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29735 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29736 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29738 (CFLAGS-e_log2f-sse2.c): New.
29739 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29740 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29742 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29744 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29746 (CFLAGS-e_powf-fma.c): New.
29747 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29748 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29750 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29752 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29754 (CFLAGS-e_log2f-fma.c): New.
29755 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29756 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29758 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29760 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29762 (CFLAGS-e_logf-fma.c): New.
29763 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29764 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29766 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29768 * sysdeps/i386/fpu/e_logf.S: Removed.
29769 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29770 * sysdeps/i386/fpu/w_logf.c: Likewise.
29771 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29772 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29773 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29774 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29776 (CFLAGS-e_logf-sse2.c): New.
29777 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29778 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29780 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29782 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29783 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29784 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29785 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29786 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29788 (CFLAGS-e_exp2f-sse2.c): New.
29789 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29790 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29792 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29794 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29796 (CFLAGS-e_exp2f-fma.c): New.
29797 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29798 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29800 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29802 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29803 * sysdeps/i386/fpu/e_expf.S: Likewise.
29804 * sysdeps/i386/fpu/math_errf.c: Likewise.
29805 * sysdeps/i386/fpu/w_expf.c: Likewise.
29806 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29808 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29809 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29810 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29811 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29812 Remove e_expf-ia32.
29813 (CFLAGS-e_expf-sse2.c): New.
29814 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29815 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29817 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29819 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29820 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29821 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29822 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29824 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29826 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29827 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29829 (__redirect_expf): This.
29830 (SYMBOL_NAME): Changed to expf.
29831 (__ieee754_expf): Renamed to ...
29833 (__GI___expf): This.
29834 (__ieee754_expf): Add strong_alias.
29835 (__expf_finite): Likewise.
29837 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29839 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29842 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29845 2017-10-21 Florian Weimer <fweimer@redhat.com>
29847 * posix/Makefile (tests): Add tst-glob-tilde.
29848 (tests-special): Add tst-glob-tilde-mem.out
29849 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29850 (tst-glob-tilde-mem.out): Add mtrace check.
29851 * posix/tst-glob-tilde.c: New file.
29853 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29855 * bits/floatn-common.h: New file.
29856 * math/Makefile (headers): Add bits/floatn-common.h.
29857 * bits/floatn.h: Include <bits/floatn-common.h>.
29858 * sysdeps/ia64/bits/floatn.h: Likewise.
29859 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29860 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29861 * sysdeps/powerpc/bits/floatn.h: Likewise.
29862 * sysdeps/x86/bits/floatn.h: Likewise.
29864 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29866 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29867 indicates whether compiler emits an warning for alias for
29868 functions with incompatible types.
29871 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29872 the auxiliary process is terminated by a signal before calling _exit
29875 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29878 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29880 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29881 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
29882 and bit_arch_XSAVEC_Usable if needed.
29883 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
29884 and bit_arch_Use_dl_runtime_resolve_opt.
29885 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
29887 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
29888 (bit_arch_Prefer_No_AVX512): Updated.
29889 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
29890 (bit_arch_XSAVEC_Usable): New.
29891 (STATE_SAVE_OFFSET): Likewise.
29892 (STATE_SAVE_MASK): Likewise.
29893 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
29894 (cpu_features): Add xsave_state_size and xsave_state_full_size.
29895 (index_arch_Use_dl_runtime_resolve_opt): Removed.
29896 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
29897 (index_arch_XSAVEC_Usable): New.
29898 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29899 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
29900 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
29902 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
29903 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
29904 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
29905 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
29906 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
29907 _dl_runtime_resolve_xsavec.
29908 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
29910 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
29911 instead of VEC_SIZE.
29912 (REGISTER_SAVE_BND0): Removed.
29913 (REGISTER_SAVE_BND1): Likewise.
29914 (REGISTER_SAVE_BND3): Likewise.
29915 (REGISTER_SAVE_RAX): Always defined to 0.
29917 (_dl_runtime_resolve_avx): Likewise.
29918 (_dl_runtime_resolve_avx_slow): Likewise.
29919 (_dl_runtime_resolve_avx_opt): Likewise.
29920 (_dl_runtime_resolve_avx512): Likewise.
29921 (_dl_runtime_resolve_avx512_opt): Likewise.
29922 (_dl_runtime_resolve_sse): Likewise.
29923 (_dl_runtime_resolve_sse_vex): Likewise.
29925 (_dl_runtime_resolve_fxsave): Likewise.
29926 (USE_XSAVE): Likewise.
29927 (_dl_runtime_resolve_xsave): Likewise.
29928 (USE_XSAVEC): Likewise.
29929 (_dl_runtime_resolve_xsavec): Likewise.
29930 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
29932 (_dl_runtime_resolve_avx512_opt): Likewise.
29933 (_dl_runtime_resolve_avx): Likewise.
29934 (_dl_runtime_resolve_avx_opt): Likewise.
29935 (_dl_runtime_resolve_sse): Likewise.
29936 (_dl_runtime_resolve_sse_vex): Likewise.
29937 (_dl_runtime_resolve_fxsave): New.
29938 (_dl_runtime_resolve_xsave): Likewise.
29939 (_dl_runtime_resolve_xsavec): Likewise.
29941 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
29945 * posix/glob.c (__glob): Fix one-byte overflow.
29947 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29949 * malloc/malloc.c (sysdep-cancel.h): Add include.
29951 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
29953 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
29955 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
29957 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
29958 (tests): Remove $(objpfx)ga_test depdendency.
29959 * resolv/ga_test.c: Remove file.
29961 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29964 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
29965 * localedata/locales/kab_DZ: New file.
29967 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29969 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
29970 _dl_relocate_static_pie instead of _dl_start to compute load
29971 address in static PIE.
29973 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29975 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
29977 2017-10-20 Mike FABIAN <mfabian@redhat.com>
29980 * localedata/SUPPORTED: Add shn_MM/UTF-8.
29981 * localedata/locales/shn_MM: New file.
29983 2017-10-20 Florian Weimer <fweimer@redhat.com>
29986 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
29987 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
29988 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
29989 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
29990 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
29991 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
29993 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
29995 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29997 2017-10-19 Joseph Myers <joseph@codesourcery.com>
29999 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30002 * sysdeps/mips/bits/long-double.h: Move to ....
30003 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30005 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30007 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30009 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30010 H.J. Lu <hongjiu.lu@intel.com>
30013 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30014 GLRO(dl_platform) to NULL.
30015 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30016 (modules-names): Add tst-platformmod-1 and
30017 x86_64/tst-platformmod-2.
30018 (CFLAGS-tst-platform-1.c): New.
30019 (CFLAGS-tst-platformmod-1.c): Likewise.
30020 (CFLAGS-tst-platformmod-2.c): Likewise.
30021 (LDFLAGS-tst-platformmod-2.so): Likewise.
30022 ($(objpfx)tst-platform-1): Likewise.
30023 ($(objpfx)tst-platform-1.out): Likewise.
30024 (tst-platform-1-ENV): Likewise.
30025 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30026 * sysdeps/x86_64/tst-platform-1.c: New file.
30027 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30028 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30030 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30033 * locale/iso-639.def: Add Karbi.
30034 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30035 * localedata/locales/mjw_IN: New file.
30037 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30039 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30040 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30041 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30042 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30043 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30044 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30045 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30047 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30048 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30049 * manual/math.texi (Mathematics): Document additional architecture
30050 support for _Float128.
30051 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30052 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30053 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30054 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30055 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30056 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30057 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30058 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30059 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30060 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30061 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30062 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30063 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30064 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30065 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30067 2017-10-18 Renlin Li <renlin.li@arm.com>
30069 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30070 _DYNAMIC symbol to calculate load address.
30072 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30074 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30075 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30077 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30078 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30080 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30083 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30084 and improve readability by using more ASCII.
30085 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30086 and improve readability by using more ASCII.
30088 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30090 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30091 not all targets support atomics on bool.
30093 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30095 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30096 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30098 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30099 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30100 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30101 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30102 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30103 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30105 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30107 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30110 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30113 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30114 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30115 (do_check_remalloced_chunk): Fix build bug.
30116 (do_check_malloc_state): Add assert that checks arena->top.
30117 (malloc_consolidate): Remove initialization.
30118 (int_mallinfo): Remove call to malloc_consolidate.
30119 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30121 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30123 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30124 (have_fastchunks): Remove.
30125 (clear_fastchunks): Remove.
30126 (set_fastchunks): Remove.
30127 (malloc_state): Add have_fastchunks.
30128 (malloc_init_state): Use have_fastchunks.
30129 (do_check_malloc_state): Remove incorrect invariant checks.
30130 (_int_malloc): Use have_fastchunks.
30131 (_int_free): Likewise.
30132 (malloc_consolidate): Likewise.
30134 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30136 * malloc/malloc.c (tcache_put): Inline.
30137 (tcache_get): Inline.
30139 2017-10-17 Jordi Mallach <jordi@gnu.org>
30141 Aurelien Jarno <aurelien@aurel32.net>
30143 * localedata/locales/ca_ES@valencia: New file.
30144 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30146 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30149 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30152 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30154 * scripts/build-many-glibcs.py (Context.add_all_configs):
30155 Add arm-linux-gnueabihf multiarch extra_glibcs.
30157 * sysdeps/generic/ifunc-init.h: New file.
30158 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30160 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30163 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30164 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30165 * stdlib/tst-strfmon_l.c: adapt test case.
30167 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30169 * sysdeps/generic/float128-abi.h: New file.
30170 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30171 non-__prefixed symbols to ....
30172 * math/Versions: ... here. Include <float128-abi.h>.
30173 * stdlib/Versions ... and here. Include <float128-abi.h>
30175 2017-10-16 Florian Weimer <fweimer@redhat.com>
30177 * version.h (VERSION): Switch to ".9000" as the development
30180 2017-10-16 Florian Weimer <fweimer@redhat.com>
30183 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30184 compat_symbol_reference to access non-default version.
30186 2017-10-16 Florian Weimer <fweimer@redhat.com>
30188 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30190 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30192 * include/shlib-compat.h (compat_symbol_reference): Update
30195 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30197 * math/Makefile (test-types): Add
30198 $(type-float128-$(float128-alias-fcts)).
30199 * math/test-float128.h (TYPE_STR): Define conditional on
30200 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30201 (ULP_IDX): Likewise.
30202 (ULP_I_IDX): Likewise.
30204 * stdlib/strtold.c: Include <bits/floatn.h>
30205 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30206 and later undefine as macro. Define as weak alias if
30208 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30209 and later undefine as macro. Define as weak alias if
30211 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30212 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30213 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30214 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30215 Define and later undefine as macro. Define as weak alias if
30217 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30219 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30220 Define and later undefine as macro. Define as weak alias if
30222 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30223 Define and later undefine as macro. Define as weak alias if
30226 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30228 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30229 record_verbose messages.
30231 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30234 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30235 to silence -O3 -Wall warning with GCC 7.
30237 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30239 * Makeconfig (+link-static-before-libc): Use the first of
30240 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30241 * gmon/Makefile (tests): Add tst-gmon-static.
30242 (tests-static): Likewise.
30243 (CFLAGS-tst-gmon-static.c): New.
30244 (CRT-tst-gmon-static): Likewise.
30245 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30246 (tst-gmon-static-ENV): Likewise.
30247 (tests-special): Likewise.
30248 ($(objpfx)tst-gmon-static.out): Likewise.
30249 (clean-tst-gmon-static-data): Likewise.
30250 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30251 * gmon/tst-gmon-static-gprof.sh: New file.
30252 * gmon/tst-gmon-static.c: Likewise.
30254 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30257 * locale/programs/linereader.c (get_string): Don't warn on
30258 non-symbolic character.
30261 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30265 * locale/programs/record-status.h: New file
30266 * locale/programs/locale.c: Add comment.
30267 * locale/programs/charmap-dir.c: Don't include error.h.
30268 (charmap_opendir): Use record_error.
30269 * locale/programs/charmap.c: Don't include error.h.
30270 (charmap_read): Use record_error, and record_warning.
30271 (parse_charmap): Likewise.
30272 * locale/programs/ld-address.c: Don't include error.h.
30273 (address_finish): Use record_error, and record_warning.
30274 * locale/programs/ld-collate.c: Don't include error.h.
30275 (collate_finish): Use record_error, and record_error_at_line.
30276 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30277 (ctype_class_new): Likewise.
30278 (ctype_map_new): Likewise.
30279 (set_one_default): Likewise.
30280 (set_class_defaults): Likewise.
30281 (translit_flatten): Likewise.
30282 (allocate_arrays): Use record_error, and record_verbose.
30283 * locale/programs/ld-identification.c: Don't include error.h.
30284 (indentation_finish): Use record_error and record_warning.
30285 * locale/programs/ld-measurement.c: Don't include error.h.
30286 (measurement_finish): Use record_error.
30287 * locale/programs/ld-messages.c
30288 (message_finish): Likewise.
30289 * locale/programs/ld-monetary.c
30290 (monetary_finish): Likewise.
30291 * locale/programs/ld-name.c (name_finish): Use record_error
30292 and record_warning.
30293 * locale/programs/ld-numeric.c
30294 (numeric_finish): Use record_error.
30295 * locale/programs/ld-paper.c: Don't include error.h.
30296 (paper_finish): Use record_error.
30297 * locale/programs/ld-telephone.c: Don't include error.h.
30298 (telephone_finish): Use record_error.
30299 * locale/programs/ld-time.c (time_finish): Likewise.
30300 * locale/programs/linereader.h (lr_error): Make inline func.
30301 * locale/programs/localedef.c: Define recorded_warning_count,
30302 and recorded_error_count.
30303 (main): Use record_error. Use recorded_error_count and
30304 recorded_warning_count to issue correct error returns.
30305 (add_to_readlist): Use record_error.
30306 (find_locale): Likewise.
30307 (load_locale): Likewise.
30308 * locale/programs/localedef.h: Remove be_quiet
30309 and WITH_CUR_LOCALE.
30310 * locale/programs/locarchive.c (compare_from_file): Use
30312 * locale/programs/locfile.c (write_locale_data): Use
30314 * locale/programs/repertoire.c: Dont include error.h.
30315 (repertoire_complain): Use record_error.
30316 * localedata/tst-fmon.sh: Expect failures from localedef.
30317 * localedata/tst-locale.sh: Likewise.
30318 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30320 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30321 (REPORTS): Likewise.
30323 (i18n): Rename to...
30324 (i18n_ctype): ...this.
30325 (i18n-report): Rename to...
30326 (i18n_ctype-report): ...this.
30327 * localedata/locales/i18n_ctype: Regenerate.
30328 * localedata/locales/i18n: copy i18n_ctype.
30330 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30332 * stdlib/strfroml.c: Include <bits/floatn.h>.
30333 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30334 Define before include of <stdlib.h> and undefine afterwards, then
30335 define as weak alias.
30337 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30338 Undefine and restore default definition. Use
30339 libm_alias_ldouble_other.
30341 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30344 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30347 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30349 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30350 Assign sym_map to be map for local symbols, as TLS relocations
30351 use sym_map to determine whether the symbol is defined and to
30352 extract the TLS information.
30353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30356 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30359 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30360 (math_force_eval): Add powerpc version.
30363 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30365 (do_test): Likewise.
30366 * stdio-common/tst-printf.sh: Likewise.
30367 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30368 ifdef clause in order to set the carry bit right. Replace r0 by
30369 0 without changing the behavior.
30371 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30373 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30374 <libm-alias-ldouble.h>.
30375 (fabsl): Define using libm_alias_ldouble.
30376 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30377 <libm-alias-ldouble.h>.
30378 (fabsl): Define using libm_alias_ldouble.
30380 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30381 Remove conditional code.
30383 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30384 Rename to __clog10_internal_l.
30385 (__clog10_internal_l): Define aliases using
30386 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30389 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30391 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30392 * benchtests/sincosf-inputs: New file.
30393 * benchtests/cosf-inputs: New file.
30394 * benchtests/sinf-inputs: New file.
30396 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30398 * posix/tst-spawn.c (do_test): Wait for both children.
30400 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30403 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30404 tests-pie): Add tst-gmon-pie.
30405 (CFLAGS-tst-gmon-pie.c): New.
30406 (CRT-tst-gmon-pie): Likewise.
30407 (tst-gmon-pie-ENV): Likewise.
30408 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30409 ($(objpfx)tst-gmon-pie.out): Likewise.
30410 (clean-tst-gmon-pie-data): Likewise.
30411 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30412 * gmon/gmon.c [PIC]: Include <link.h>.
30413 [PIC] (callback): New function.
30414 (write_hist): Add an argument for load address. Subtract load
30416 (write_call_graph): Likewise.
30417 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30418 it to write_hist and write_call_graph.
30419 * gmon/tst-gmon-pie.c: New file.
30421 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30423 * math/Makefile (test-types-basic): New variable.
30424 (test-types): Likewise.
30425 (libm-test-support): Use $(test-types) instead of $(types).
30426 (libm-tests-base-normal): Likewise.
30427 (libm-tests-base-finite): Likewise.
30428 (libm-tests-base-inline): Likewise.
30429 (generated): Likewise.
30430 ($(objpfx)libm-test-support-$(t).c): Likewise.
30431 (libm-tests-for-type iterator): Likewise.
30432 (libm-test-support iterator): Likewise.
30433 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30434 (ulp_idx): Use ULP_IDX.
30435 * math/test-ldouble.h: Include <float.h>.
30436 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30437 (ULP_IDX): New macro.
30438 (ULP_I_IDX): Likewise.
30439 * math/test-double.h (ULP_IDX): Likewise.
30440 (ULP_I_IDX): Likewise.
30441 * math/test-float.h (ULP_IDX): Likewise.
30442 (ULP_I_IDX): Likewise.
30443 * math/test-float128.h (ULP_IDX): Likewise.
30444 (ULP_I_IDX): Likewise.
30446 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30448 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30449 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30450 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30451 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30452 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30453 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30454 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30457 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30458 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30459 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30460 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30461 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30462 (SINGLE_THREAD_BY_GLOBAL): Define.
30463 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30465 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30467 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30469 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30471 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30472 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30473 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30476 2017-10-11 Andreas Schwab <schwab@suse.de>
30478 * nis/Makefile (aux): Remove.
30479 * nscd/Makefile (aux): Add nscd_hash.
30480 (nscd-modules): Likewise.
30481 ($(objpfx)nscd): Don't depend on libnsl.
30482 * nscd/nscd_hash.c: New file.
30483 * nscd/nscd_hash.h: Likewise.
30484 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30485 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30486 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30487 instead of <nis/rpcsvc/nis.h>.
30488 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30490 2017-10-11 Florian Weimer <fweimer@redhat.com>
30493 Avoid large NSS buffers with many addresses, aliases.
30494 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30495 using dynarrays and struct alloc_buffer.
30496 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30497 (tst-nss-files-hosts-multi): Link with -ldl.
30498 * nss/tst-nss-files-hosts-multi.c: New file.
30500 2017-10-11 Florian Weimer <fweimer@redhat.com>
30503 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30504 scratch_buffer. Eliminate gotos.
30506 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30508 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30509 libm_alias_ldouble_other.
30510 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30511 undefine and redefine.
30512 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30513 (exp10l): Do not define here.
30514 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30515 (weak_alias): Undefine and redefine.
30516 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30517 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30518 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30519 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30521 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30522 [!__fma] (fma): Define using libm_alias_double.
30523 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30524 [!__fmaf] (fmaf): Define using libm_alias_float.
30525 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30526 (fmal): Define using libm_alias_ldouble.
30528 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30530 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30532 (libm_alias_double_other): Likewise.
30533 (libm_alias_double_r): Use libm_alias_double_other_r.
30534 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30536 (libm_alias_float_other): Likewise.
30537 (libm_alias_float_r): Use libm_alias_float_other_r.
30538 * sysdeps/generic/libm-alias-float128.h
30539 (libm_alias_float128_other_r): New macro.
30540 (libm_alias_float128_other): Likewise.
30541 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30542 * sysdeps/generic/libm-alias-ldouble.h
30543 (libm_alias_ldouble_other_r): New macro.
30544 (libm_alias_ldouble_other): Likewise.
30545 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30546 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30547 (libm_alias_double_other_r): New macro.
30548 (libm_alias_double_other): Likewise.
30549 (libm_alias_double_r): Use libm_alias_double_other_r.
30550 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30551 (libm_alias_ldouble_other_r): New macro.
30552 (libm_alias_ldouble_other): Likewise.
30553 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30554 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30555 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30556 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30557 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30558 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30559 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30560 * math/w_exp2f.c: Use libm_alias_float_other.
30561 * math/w_expf.c: Likewise.
30562 * math/w_log2f.c: Likewise.
30563 * math/w_logf.c: Likewise.
30564 * math/w_powf.c: Likewise.
30565 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30566 [!__exp2f]: Use libm_alias_float_other.
30567 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30568 [!__expf]: Use libm_alias_float_other.
30569 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30570 [!__log2f]: Use libm_alias_float_other.
30571 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30572 [!__logf]: Use libm_alias_float_other.
30573 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30574 [!__powf]: Use libm_alias_float_other.
30576 2017-10-10 Florian Weimer <fweimer@redhat.com>
30578 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30580 (_nss_files_gethostbyname3_r): Call it.
30582 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30584 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30585 error. Remove default definition of declare_mgen_alias.
30586 [!declare_mgen_alias_r]: Likewise.
30587 * sysdeps/generic/math-type-macros-double.h
30588 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30589 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30590 (declare_mgen_alias_r): Likewise.
30591 * sysdeps/generic/math-type-macros-float128.h
30592 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30593 * sysdeps/generic/math-type-macros-ldouble.h
30594 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30595 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30597 (declare_mgen_alias_r_s): Likewise.
30598 (declare_mgen_alias_r): Likewise.
30599 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30600 (lgamma_r): Define using libm_alias_double_r.
30601 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30602 (lgammaf_r): Define using libm_alias_float_r.
30603 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30604 (lgammal_r): Define using libm_alias_ldouble_r.
30605 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30606 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30608 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30610 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30611 extern declaration.
30613 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30615 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30617 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30620 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30621 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30622 * math/Makefile (test-math-cxx11): New test.
30623 * math/test-math-cxx11.cc: New file.
30625 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30627 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30629 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30630 call to allocate the slave pty file descriptor.
30632 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30634 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30635 [!__fma] (fma): Define using libm_alias_double.
30636 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30637 [!__fma] (fma): Define using libm_alias_double.
30639 * sysdeps/ieee754/float128/float128_private.h: Include
30640 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30641 (libm_alias_ldouble_r): Undefine and redefine.
30642 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30643 <libm-alias-ldouble.h>.
30644 (asinhl): Define using libm_alias_ldouble.
30645 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30646 <libm-alias-ldouble.h>.
30647 (atanl): Define using libm_alias_ldouble.
30648 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30649 <libm-alias-ldouble.h>.
30650 (cbrtl): Define using libm_alias_ldouble.
30651 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30652 <libm-alias-ldouble.h>.
30653 (ceill): Define using libm_alias_ldouble.
30654 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30655 <libm-alias-ldouble.h>.
30656 (copysignl): Define using libm_alias_ldouble.
30657 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30658 <libm-alias-ldouble.h>.
30659 (cosl): Define using libm_alias_ldouble.
30660 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30661 <libm-alias-ldouble.h>.
30662 (erfl): Define using libm_alias_ldouble.
30664 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30665 <libm-alias-ldouble.h>.
30666 (expm1l): Define using libm_alias_ldouble.
30667 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30668 <libm-alias-ldouble.h>.
30669 (fabsl): Define using libm_alias_ldouble.
30670 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30671 <libm-alias-ldouble.h>.
30672 (floorl): Define using libm_alias_ldouble.
30673 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30674 <libm-alias-ldouble.h>.
30675 (fmal): Define using libm_alias_ldouble.
30676 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30677 <libm-alias-ldouble.h>.
30678 (frexpl): Define using libm_alias_ldouble.
30679 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30680 libm_alias_ldouble.
30681 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30682 <libm-alias-ldouble.h>.
30683 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30684 libm_alias_ldouble.
30685 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30686 <libm-alias-ldouble.h>.
30687 (getpayloadl): Define using libm_alias_ldouble.
30688 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30689 <libm-alias-ldouble.h>.
30690 (llrintl): Define using libm_alias_ldouble.
30691 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30692 <libm-alias-ldouble.h>.
30693 (llroundl): Define using libm_alias_ldouble.
30694 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30695 <libm-alias-ldouble.h>.
30696 (logbl): Define using libm_alias_ldouble.
30697 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30698 <libm-alias-ldouble.h>.
30699 (lrintl): Define using libm_alias_ldouble.
30700 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30701 <libm-alias-ldouble.h>.
30702 (lroundl): Define using libm_alias_ldouble.
30703 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30704 <libm-alias-ldouble.h>.
30705 (modfl): Define using libm_alias_ldouble.
30706 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30707 <libm-alias-ldouble.h>.
30708 (nearbyintl): Define using libm_alias_ldouble.
30709 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30710 <libm-alias-ldouble.h>.
30711 (nextafterl): Define using libm_alias_ldouble.
30712 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30713 <libm-alias-ldouble.h>.
30714 (nextupl): Define using libm_alias_ldouble.
30715 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30716 <libm-alias-ldouble.h>.
30717 (remquol): Define using libm_alias_ldouble.
30718 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30719 <libm-alias-ldouble.h>.
30720 (rintl): Define using libm_alias_ldouble.
30721 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30722 <libm-alias-ldouble.h>.
30723 (roundevenl): Define using libm_alias_ldouble.
30724 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30725 <libm-alias-ldouble.h>.
30726 (roundl): Define using libm_alias_ldouble.
30727 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30728 using libm_alias_ldouble.
30729 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30730 <libm-alias-ldouble.h>.
30731 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30732 Define using libm_alias_ldouble.
30733 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30734 <libm-alias-ldouble.h>.
30735 (sincosl): Define using libm_alias_ldouble.
30736 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30737 <libm-alias-ldouble.h>.
30738 (sinl): Define using libm_alias_ldouble.
30739 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30740 <libm-alias-ldouble.h>.
30741 (tanhl): Define using libm_alias_ldouble.
30742 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30743 <libm-alias-ldouble.h>.
30744 (tanl): Define using libm_alias_ldouble.
30745 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30746 <libm-alias-ldouble.h>.
30747 (totalorderl): Define using libm_alias_ldouble.
30748 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30749 <libm-alias-ldouble.h>.
30750 (totalordermagl): Define using libm_alias_ldouble.
30751 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30752 <libm-alias-ldouble.h>.
30753 (truncl): Define using libm_alias_ldouble.
30754 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30755 libm_alias_ldouble.
30756 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30757 libm_alias_ldouble.
30758 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30759 <libm-alias-ldouble.h>.
30760 (weak_alias): Do not undefine and redefine.
30761 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30762 (copysignl): Define with long_double_symbol only if [IS_IN
30764 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30765 <libm-alias-ldouble.h>.
30766 (weak_alias): Do not undefine and redefine.
30767 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30768 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30769 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30770 <libm-alias-ldouble.h>.
30771 (weak_alias): Do not undefine and redefine.
30772 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30773 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30774 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30775 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30776 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30777 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30778 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30779 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30780 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30781 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30782 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30783 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30784 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30785 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30786 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30787 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30788 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30789 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30790 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30791 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30792 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30793 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30794 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30795 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30796 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30797 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30799 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30802 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30803 (tcache_thread_freeres): Set tcache_shutting_down before
30804 freeing the tcache.
30805 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30806 * malloc/tst-malloc-tcache-leak.c: New file.
30808 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30810 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30811 back to powerpc32 file.
30812 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30813 (memrchr): Add __memrchr_power8 to ifunc list.
30814 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30815 extra bytes for unaligned inputs.
30817 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30819 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30820 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30821 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30822 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30823 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30825 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30827 * sysdeps/arm/libm-test-ulps: Update.
30829 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30830 <libm-alias-ldouble.h>.
30831 (asinhl): Define using libm_alias_ldouble.
30832 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30833 <libm-alias-ldouble.h>.
30834 (cbrtl): Define using libm_alias_ldouble.
30835 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30836 <libm-alias-ldouble.h>.
30837 (copysignl): Define using libm_alias_ldouble.
30838 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30839 <libm-alias-ldouble.h>.
30840 (cosl): Define using libm_alias_ldouble.
30841 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30842 <libm-alias-ldouble.h>.
30843 (erfl): Define using libm_alias_ldouble.
30845 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30846 <libm-alias-ldouble.h>.
30847 (fmal): Define using libm_alias_ldouble.
30848 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30849 <libm-alias-ldouble.h>.
30850 (frexpl): Define using libm_alias_ldouble.
30851 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30852 libm_alias_ldouble.
30853 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30854 <libm-alias-ldouble.h>.
30855 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30856 libm_alias_ldouble.
30857 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30858 <libm-alias-ldouble.h>.
30859 (getpayloadl): Define using libm_alias_ldouble.
30860 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30861 <libm-alias-ldouble.h>.
30862 (llrintl): Define using libm_alias_ldouble.
30863 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30864 <libm-alias-ldouble.h>.
30865 (llroundl): Define using libm_alias_ldouble.
30866 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30867 <libm-alias-ldouble.h>.
30868 (lrintl): Define using libm_alias_ldouble.
30869 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30870 <libm-alias-ldouble.h>.
30871 (lroundl): Define using libm_alias_ldouble.
30872 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30873 <libm-alias-ldouble.h>.
30874 (modfl): Define using libm_alias_ldouble.
30875 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30876 <libm-alias-ldouble.h>.
30877 (nextupl): Define using libm_alias_ldouble.
30878 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30879 <libm-alias-ldouble.h>.
30880 (remquol): Define using libm_alias_ldouble.
30881 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
30882 <libm-alias-ldouble.h>.
30883 (roundevenl): Define using libm_alias_ldouble.
30884 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
30885 <libm-alias-ldouble.h>.
30886 (roundl): Define using libm_alias_ldouble.
30887 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
30888 using libm_alias_ldouble.
30889 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
30890 <libm-alias-ldouble.h>.
30891 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
30892 <libm-alias-ldouble.h>.
30893 (setpayloadsigl): Define using libm_alias_ldouble.
30894 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
30895 <libm-alias-ldouble.h>.
30896 (sincosl): Define using libm_alias_ldouble.
30897 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
30898 <libm-alias-ldouble.h>.
30899 (sinl): Define using libm_alias_ldouble.
30900 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
30901 <libm-alias-ldouble.h>.
30902 (tanhl): Define using libm_alias_ldouble.
30903 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
30904 <libm-alias-ldouble.h>.
30905 (tanl): Define using libm_alias_ldouble.
30906 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
30907 <libm-alias-ldouble.h>.
30908 (totalorderl): Define using libm_alias_ldouble.
30909 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
30910 <libm-alias-ldouble.h>.
30911 (totalordermagl): Define using libm_alias_ldouble.
30912 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
30913 libm_alias_ldouble.
30914 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
30915 libm_alias_ldouble.
30917 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
30919 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
30921 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
30922 (__libc_ifunc_impl_list): Likewise.
30923 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
30924 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
30926 * benchtests/bench-memmove-walk.c: New file.
30927 * benchtests/Makefile (string-benchset): Add it.
30929 * benchtests/bench-memset-walk.c: New file.
30930 * benchtests/Makefile (string-benchset): Add it.
30932 * benchtests/bench-memcpy-walk.c: New file.
30933 * benchtests/Makefile (string-benchset): Add it.
30935 2017-10-05 Florian Weimer <fweimer@redhat.com>
30937 nscd: Eliminate compilation time dependency in the build output.
30938 * nscd/nscd_stat.c (STATDATA_VERSION)
30939 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
30940 (STATDATA_VERSION_FULL): New macro definitions.
30941 (compilation): Remove.
30942 (struct statdata): Adjust version member.
30943 (send_stats): Set version from STATDATA_VERSION_FULL.
30944 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
30946 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30948 * configure.ac (--enable-add-ons): Remove option.
30949 (machine): Do not mention add-ons in comment.
30950 (LIBC_PRECONFIGURE): Likewise.
30951 (add_ons): Remove variable and sanity checks and logic to locate
30953 (add_ons_automatic): Remove variable.
30954 (configured_add_ons): Likewise.
30955 (add_ons_sfx): Likewise.
30956 (add_ons_pfx): Likewise.
30957 (add_on_subdirs): Likewise.
30958 (sysnames_add_ons): Likewise. Remove loop over add-ons and
30959 consideration of add-ons in Implies handling.
30960 (sysdeps_add_ons): Likewise.
30961 * configure: Regenerated.
30962 * libidn/configure.ac: Remove.
30963 * libidn/configure: Likewise.
30964 * sysdeps/unix/inet/configure.ac: New file.
30965 * sysdeps/unix/inet/configure: New generated file.
30966 * sysdeps/unix/inet/Subdirs: Add libidn.
30967 * Makeconfig (sysdeps-srcdirs): Remove variable.
30968 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
30969 ($(common-objpfx)config.status): Do not depend on add-on files.
30970 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
30972 (all-subdirs): Do not include $(add-on-subdirs).
30973 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
30974 * config.make.in (add-ons): Remove variable.
30975 (add-on-subdirs): Likewise.
30976 (sysdeps-add-ons): Likewise.
30977 * manual/Makefile (add-chapters): Remove.
30978 ($(objpfx)texis): Do not depend on $(add-chapters).
30979 (nonexamples): Do not handle $(add-chapters).
30980 (examples): Do not handle $(add-ons).
30981 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
30983 * manual/install.texi (Installation): Do not mention add-ons.
30984 (--enable-add-ons): Do not document configure option.
30985 * INSTALL: Regenerated.
30986 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
30987 * manual/maint.texi (Hierarchy Conventions): Do not mention
30989 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
30991 * scripts/gen-sorted.awk: Do not handle Subdirs files from
30993 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
30994 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
30996 2017-10-05 Andreas Schwab <schwab@suse.de>
30999 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31000 (_IO_flush_all_lockp): Always lock list_all_lock.
31001 (_IO_flush_all_linebuffered): Likewise.
31002 (_IO_unbuffer_all): Likewise.
31004 2017-10-05 Florian Weimer <fweimer@redhat.com>
31007 Do not flush stdio streams on abort.
31008 * stdlib/abort.c (fflush): Remove macro definition.
31009 (abort): Remove stages related to stdio flushing.
31011 2017-10-05 Florian Weimer <fweimer@redhat.com>
31013 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31015 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31017 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31019 2017-10-05 Florian Weimer <fweimer@redhat.com>
31021 * support/support_format_hostent.c (support_format_hostent): Add
31022 more error information for NETDB_INTERNAL.
31024 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31026 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31027 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31028 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31029 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31030 AC_DEFINE if multi-arch is enabled.
31031 * sysdeps/i386/configure: Regenerated.
31033 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31035 * Makeconfig (+link-static-before-libc): Use
31036 $(DEFAULT-LDFLAGS-$(@F)).
31037 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31038 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31039 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31041 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31043 * elf/Makefile (tests): Add tst-main1.
31044 (modules-names): Add tst-main1mod.
31045 ($(objpfx)tst-main1): New.
31046 (CRT-tst-main1): Likewise.
31047 (LDFLAGS-tst-main1): Likewise.
31048 (LDLIBS-tst-main1): Likewise.
31049 (tst-main1mod.so-no-z-defs): Likewise.
31050 * elf/tst-main1.c: New file.
31051 * elf/tst-main1mod.c: Likewise.
31053 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31055 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31057 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31059 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31060 (fma): Define using libm_alias_double.
31061 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31062 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31064 (fmal): Do not define as compat symbol here.
31065 * sysdeps/alpha/fpu/s_fma.c: New file.
31067 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31069 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31071 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31074 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31076 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31078 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31079 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31080 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31081 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31083 Include <math_ldbl_opt.h>
31084 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31086 (compat_symbol): Undefine and redefine.
31087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31089 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31090 (compat_symbol): Undefine and redefine.
31091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31092 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31093 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31094 GLIBC_2_1 for libm.
31095 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31096 GLIBC_2.0 copysignl symbol.
31097 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31098 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31100 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31102 2017-10-04 Florian Weimer <fweimer@redhat.com>
31104 * scripts/check-local-headers.sh: Ignore nspr4 header file
31105 directory in addition to nspr.
31107 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31110 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31111 * configure: Regenerate.
31112 * crypt/Makefile (nss-cpp-flags): New variable.
31113 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31114 (CPPFLAGS-md5-crypt.c): Use it.
31115 * scripts/check-local-headers.sh: Ignore nspr header file
31118 2017-10-04 Andreas Schwab <schwab@suse.de>
31120 * nis/Makefile (services): Remove compat.
31121 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31122 ($(objpfx)libnss_compat.so): Remove rule.
31123 * nis/Versions (libnss_compat): Remove.
31124 * nss/Makefile (services): Add compat.
31125 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31126 * nss/Versions (libnss_compat): Define.
31127 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31128 Don't include <rpc/types.h>. Replace bool_t by bool.
31129 * nss/nss_compat/compat-initgroups.c: Likewise.
31130 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31131 instead of <rpcsrv/ypclnt.h>.
31132 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31133 yp_get_default_domain.
31134 * nss/nss_compat/compat-pwd.c: Likewise.
31135 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31136 yp_get_default_domain.
31137 * nss/nss_compat/nisdomain.c: New file.
31138 * nss/nss_compat/nisdomain.h: Likewise.
31140 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31143 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31144 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31146 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31150 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31152 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31154 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31155 "movl main@GOTOFF(%ebx), %eax".
31157 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31159 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31160 allow undefined _DYNAMIC in PIE libc.a.
31161 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31164 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31166 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31169 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31171 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31174 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31176 * math/test-math-iscanonical.cc (error): Replace bool with int.
31178 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31180 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31181 (modf): Define using libm_alias_double, only if [!__modf].
31182 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31183 <libm-alias-double.h>.
31184 (modf): Define using libm_alias_double, only if [!__modf].
31185 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31186 compat symbol here.
31187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31188 (weak_alias): Do not undefine and redefine.
31189 (strong_alias): Likewise.
31190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31191 (weak_alias): Likewise.
31192 (strong_alias): Likewise.
31194 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31195 (logb): Define using libm_alias_double, only if [!__logb].
31196 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31197 <libm-alias-double.h>.
31198 (logb): Define using libm_alias_double, only if [!__logb].
31199 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31201 (weak_alias): Do not undefine and redefine.
31202 (strong_alias): Likewise.
31203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31204 (weak_alias): Likewise.
31205 (strong_alias): Likewise.
31207 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31209 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31210 Check SHARED instead PIC.
31212 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31214 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31215 [!__fmaf] (fmaf): Define using libm_alias_float.
31217 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31218 (frexp): Define using libm_alias_double.
31219 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31220 <libm-alias-double.h>.
31221 (frexp): Define using libm_alias_double.
31222 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31223 compat symbol here.
31225 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31228 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31229 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31230 (CFLAGS-test-math-iscanonical.cc): New variable.
31231 * math/test-math-iscanonical.cc: New file.
31232 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31233 Provide a C++ implementation based on function overloading,
31234 rather than using __MATH_TG, which uses C-only builtins.
31235 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31237 * sysdeps/powerpc/powerpc64le/Makefile
31238 (CFLAGS-test-math-iscanonical.cc): New variable.
31240 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31242 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31243 (ceil): Define using libm_alias_double.
31244 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31245 (floor): Define using libm_alias_double.
31246 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31247 <libm-alias-double.h>.
31248 (llround): Define using libm_alias_double.
31249 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31250 <libm-alias-double.h>.
31251 (lround): Define using libm_alias_double.
31252 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31253 <libm-alias-double.h>.
31254 (nearbyint): Define using libm_alias_double.
31255 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31256 <libm-alias-double.h>.
31257 (remquo): Define using libm_alias_double.
31258 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31259 (rint): Define using libm_alias_double.
31260 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31261 (round): Define using libm_alias_double.
31262 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31263 (trunc): Define using libm_alias_double.
31264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31265 <libm-alias-double.h>.
31266 (ceil): Define using libm_alias_double.
31267 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31268 <libm-alias-double.h>.
31269 (floor): Define using libm_alias_double.
31270 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31271 <libm-alias-double.h>.
31272 (llround): Define using libm_alias_double.
31273 [_LP64] (lround): Likewise.
31274 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31275 <libm-alias-double.h>.
31276 [!_LP64] (lround): Define using libm_alias_double.
31277 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31278 <libm-alias-double.h>.
31279 (nearbyint): Define using libm_alias_double.
31280 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31281 <libm-alias-double.h>.
31282 (remquo): Define using libm_alias_double.
31283 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31284 <libm-alias-double.h>.
31285 (rint): Define using libm_alias_double.
31286 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31287 <libm-alias-double.h>.
31288 (round): Define using libm_alias_double.
31289 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31290 <libm-alias-double.h>.
31291 (trunc): Define using libm_alias_double.
31292 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31293 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31294 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31295 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31296 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31297 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31298 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31299 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31300 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31302 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31304 * math/w_remainder.c: New file.
31305 * math/w_remainderf.c: New file.
31306 * math/w_remainderl.c: New file.
31308 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31310 * elf/rtld.c (BOOTSTRAP_MAP): New.
31311 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31312 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31314 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31316 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31319 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31321 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31322 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31323 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31324 rtld_hidden_data_ver): Define to empty.
31325 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31326 __assert_perror_fail): Likewise.
31327 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31328 (__rewinddir): Likewise.
31329 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31330 (__profile_frequency): Likewise.
31331 * include/setjmp.h (__sigsetjmp): Likewise.
31332 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31333 __libc_sigaction): Likewise.
31334 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31335 not set hidden attribute.
31336 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31337 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31338 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31339 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31340 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31341 __fxstatat64): Likewise.
31342 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31343 (__uname): Likewise.
31344 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31345 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31346 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31347 (NO_RTLD_HIDDEN): Set.
31348 * sysdeps/mach/hurd/configure: Refresh.
31349 * config.h.in: Refresh.
31351 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31353 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31354 (atan): Define using libm_alias_double.
31355 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31356 (tan): Define using libm_alias_double.
31357 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31358 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31360 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31361 define as weak alias of __atan. Do not define any aliases if
31363 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31364 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31365 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31366 as weak alias of __tan. Do not define any aliases if [__tan].
31367 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31368 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31369 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31371 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31372 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31373 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31374 and define as weak alias of __atan.
31375 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31378 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31379 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31380 define as weak alias of __tan.
31382 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31384 * math/w_lgamma.c: New file.
31385 * math/w_lgammaf.c: New file.
31386 * math/w_lgammal.c: New file.
31388 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31390 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31391 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31392 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31393 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31394 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31395 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31396 * sysdeps/i386/fpu/w_log2f.c: New file.
31397 * sysdeps/i386/fpu/w_logf.c: New file.
31398 * sysdeps/i386/fpu/w_powf.c: New file.
31399 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31400 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31401 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31403 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31404 H.J. Lu <hongjiu.lu@intel.com>
31406 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31407 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31408 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31409 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31410 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31412 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31413 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31414 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31415 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31416 * sysdeps/i386/fpu/w_exp2f.c: New file.
31417 * sysdeps/i386/fpu/w_expf.c: New file.
31418 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31419 * sysdeps/x86_64/fpu/w_expf.c: New file.
31421 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31423 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31426 * math/w_log2f.c: New file.
31427 * math/w_logf.c: New file.
31428 * math/w_powf.c: New file.
31429 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31430 * math/w_logf_compat.c (__logf_compat): Likewise.
31431 * math/w_powf_compat.c (__powf_compat): Likewise.
31432 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31433 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31434 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31435 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31436 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31437 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31438 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31439 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31440 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31441 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31442 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31443 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31444 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31445 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31446 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31455 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31456 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31457 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31458 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31459 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31464 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31465 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31466 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31468 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31470 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31471 (sysdep_routines): Add memrchr_power8.
31472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31473 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31474 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31476 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31477 (memrchr): Add __memrchr_power8 to ifunc list.
31478 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31480 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31483 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31484 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31486 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31487 (__posix_fallocate64_l64): Likewise.
31489 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31492 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31493 (__sched_setaffinity_new): Add libc_hidden_proto and
31496 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31499 * include/glob.h (__glob64): Add libc_hidden_proto.
31500 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31503 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31506 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31509 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31512 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31514 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31517 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31520 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31523 * csu/version.c (__libc_print_version): Add attribute_hidden.
31525 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31528 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31530 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31533 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31538 * nscd/nscd_helper.c (__nis_hash): New prototype.
31540 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31543 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31544 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31546 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31547 * termios/tcgetattr.c (__tcgetattr): Likewise.
31549 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31552 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31553 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31554 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31555 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31556 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31558 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31561 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31563 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31566 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31567 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31569 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31572 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31574 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31577 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31578 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31580 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31583 * include/ifreq.h: New file.
31584 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31585 (__ifreq): Likewise.
31586 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31587 (__ifreq): Likewise.
31589 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31592 * include/idna.h: New file.
31593 * inet/getnameinfo.c: Include <idna.h> instead of
31595 (__idna_to_unicode_lzlz): Removed.
31596 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31598 (__idna_to_ascii_lz): Removed.
31599 (__idna_to_unicode_lzlz): Likewise.
31601 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31604 * include/plural-exp.h: New file.
31605 * intl/plural-exp.c: Include <plural-exp.h> instead of
31608 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31611 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31612 "getsourcefilter.h".
31613 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31614 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31615 "getsourcefilter.h".
31616 (__get_sol): Removed.
31618 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31621 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31623 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31628 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31631 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31634 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31639 * include/search.h (__tdestroy): Add libc_hidden_proto.
31640 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31645 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31650 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31653 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31656 * include/signal.h (__kill): Add libc_hidden_proto.
31657 (__sigblock): Likewise.
31658 (__sigprocmask): Likewise.
31659 (__sigaltstack): Likewise.
31660 * signal/kill.c (__kill): Add libc_hidden_def.
31661 * signal/sigblock.c (__sigblock): Likewise.
31662 * signal/sigprocmask.c (__sigprocmask): Likewise.
31663 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31664 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31665 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31666 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31667 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31669 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31671 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31672 (__sigprocmask): Likewise.
31673 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31675 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31676 (__sigprocmask): Likewise.
31677 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31683 * include/string.h (__strsep): Add libc_hidden_proto.
31684 * string/strsep.c (__strsep): Add libc_hidden_def.
31686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31689 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31691 (__spawni): Likewise.
31693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31696 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31697 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31700 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31703 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31705 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31708 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31709 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31710 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31711 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31712 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31714 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31715 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31717 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31720 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31721 (__dcigettext): Likewise.
31723 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31726 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31728 (__get_nprocs): Likewise.
31729 (__get_phys_pages): Likewise.
31730 (__get_avphys_pages): Likewise.
31731 (__get_child_max): Add attribute_hidden.
31732 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31733 (__get_nprocs): Likewise.
31734 (__get_phys_pages): Likewise.
31735 (__get_avphys_pages): Likewise.
31736 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31738 (__get_nprocs): Likewise.
31739 (__get_phys_pages): Likewise.
31740 (__get_avphys_pages): Likewise.
31741 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31743 (__get_nprocs_conf): Likewise.
31744 (__get_phys_pages): Likewise.
31745 (__get_avphys_pages): Likewise.
31747 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31750 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31752 (__netlink_close): Likewise.
31753 (__netlink_free_handle): Likewise.
31754 (__netlink_request): Likewise.
31756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31759 * include/rpc/rpc.h (__rpc_thread_variables): Add
31761 (__rpc_thread_svc_cleanup): Likewise.
31762 (__rpc_thread_clnt_cleanup): Likewise.
31763 (__rpc_thread_key_cleanup): Likewise.
31765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31768 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31769 (__writev): Likewise.
31770 * misc/readv.c (__readv): Add libc_hidden_def.
31771 * misc/writev.c (__writev): Likewise.
31772 * sysdeps/posix/readv.c (__readv): Likewise.
31773 * sysdeps/posix/writev.c (__writev): Likewise.
31774 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31775 (__readv): Likewise.
31776 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31777 (__writev): Likewise.
31779 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31782 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31783 (__regcomp): Add libc_hidden_proto.
31784 (__regexec): Likewise.
31785 (__regfree): Likewise.
31786 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31787 (__regfree): Likewise.
31788 * posix/regexec.c (__regexec): Likewise.
31790 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31793 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31794 (__getutent): Likewise.
31795 (__getutid): Likewise.
31796 (__getutline): Likewise.
31797 (__pututline): Likewise.
31798 (__getutent_r): Likewise.
31799 (__getutid_r): Likewise.
31800 (__getutline_r): Likewise.
31801 (__utmpname): Add attribute_hidden.
31802 (__setutent): Likewise.
31803 (__endutent): Likewise.
31804 * login/getutent.c (__getutent): Add libc_hidden_def.
31805 * login/getutent_r.c (__getutent_r): Likewise.
31806 (__pututline): Likewise.
31807 * login/getutid.c (__getutid): Likewise.
31808 * login/getutid_r.c (__getutid_r): Likewise.
31809 * login/getutline.c (__getutline): Likewise.
31810 * login/getutline_r.c (__getutline_r): Likewise.
31811 * login/updwtmp.c (__updwtmp): Likewise.
31813 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31816 * include/dirent.h (__opendir): Always add attribute_hidden.
31817 (__fdopendir): Likewise.
31818 (__closedir): Likewise.
31819 (__readdir): Likewise.
31820 (__readdir64): Add libc_hidden_proto.
31821 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31822 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31823 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31824 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31827 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31830 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31831 * include/netdb.h (__gethostbyaddr_r): Likewise.
31832 (__gethostbyname_r): Likewise.
31833 (__gethostbyname2_r): Likewise.
31834 (__getnetbyaddr_r): Likewise.
31835 (__getnetbyname_r): Likewise.
31836 (__getservbyname_r): Likewise.
31837 (__getservbyport_r): Likewise.
31838 (__getprotobyname_r): Likewise.
31839 (__getprotobynumber_r): Likewise.
31840 (__getnetgrent_r): Likewise.
31841 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31842 (__getrpcbynumber_r): Likewise.
31843 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31845 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31848 * include/stdio.h (__fcloseall): Add attribute_hidden.
31849 (__getline): Likewise.
31850 (__path_search): Likewise.
31851 (__gen_tempname): Likewise.
31852 (__libc_message): Likewise.
31853 (__flockfile): Likewise.
31854 (__funlockfile): Likewise.
31855 (__fxprintf): Likewise.
31856 (__fxprintf_nocancel): Likewise.
31858 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31861 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31862 (__sgetsgent_r): Likewise.
31864 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31867 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31868 (__statfs64): Likewise.
31869 (__fstatfs64): Likewise.
31870 * include/sys/statvfs.h (__statvfs64): Likewise.
31871 (__fstatvfs64): Likewise.
31872 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31873 (__statfs_filesize_max): Likewise.
31874 (__statfs_symlinks): Likewise.
31875 (__statfs_chown_restricted): Likewise.
31877 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31880 * include/time.h (__tzstring): Add attribute_hidden.
31881 (__tzfile_read): Likewise.
31882 (__tzfile_compute): Likewise.
31883 (__tzfile_default): Likewise.
31884 (__tzset_parse_tz): Likewise.
31885 (__offtime): Likewise.
31886 (__asctime_r): Likewise.
31887 (__tzset): Likewise.
31888 (__tz_convert): Likewise.
31889 (__getdate_r): Likewise.
31890 (__getclktck): Likewise.
31892 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31895 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
31896 (__nscd_unmap): Likewise.
31897 (__nscd_cache_search): Likewise.
31898 (__nscd_get_nl_timestamp): Likewise.
31899 (__nscd_getpwnam_r): Likewise.
31900 (__nscd_getpwuid_r): Likewise.
31901 (__nscd_getgrnam_r): Likewise.
31902 (__nscd_getgrgid_r): Likewise.
31903 (__nscd_gethostbyname_r): Likewise.
31904 (__nscd_gethostbyname2_r): Likewise.
31905 (__nscd_gethostbyaddr_r): Likewise.
31906 (__nscd_getai): Likewise.
31907 (__nscd_getgrouplist): Likewise.
31908 (__nscd_getservbyname_r): Likewise.
31909 (__nscd_getservbyport_r): Likewise.
31910 (__nscd_innetgr): Likewise.
31911 (__nscd_setnetgrent): Likewise.
31913 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31916 * include/gmp.h: Declare internal functions only if _ISOMAC is
31918 (__mpn_extract_double): Add attribute_hidden.
31919 (__mpn_extract_long_double): Likewise.
31920 (__mpn_extract_float128): Likewise.
31921 (__mpn_construct_float): Likewise.
31922 (__mpn_construct_double): Likewise.
31923 (__mpn_construct_long_double): Likewise.
31924 (__mpn_construct_float128): Likewise.
31925 (mpn_add_1): Likewise.
31926 (mpn_addmul_1): Likewise.
31927 (mpn_add_n): Likewise.
31928 (mpn_cmp): Likewise.
31929 (mpn_divrem): Likewise.
31930 (mpn_lshift): Likewise.
31931 (mpn_mul): Likewise.
31932 (mpn_mul_1): Likewise.
31933 (mpn_rshift): Likewise.
31934 (mpn_sub_1): Likewise.
31935 (mpn_submul_1): Likewise.
31936 (mpn_sub_n): Likewise.
31938 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31941 * include/wchar.h (__wcsnlen): Add attribute_hidden.
31942 (__wcscat): Likewise.
31943 (__btowc): Likewise.
31944 (__wcrtomb): Likewise.
31945 (__mbsrtowcs): Likewise.
31946 (__wcsrtombs): Likewise.
31947 (__mbsnrtowcs): Likewise.
31948 (__wcsnrtombs): Likewise.
31949 (__wcsncpy): Likewise.
31950 (__wcpncpy): Likewise.
31951 (__wmemcpy): Likewise.
31952 (__wmempcpy): Likewise.
31953 (__wmemmove): Likewise.
31954 (__wcschrnul): Likewise.
31955 (__vfwscanf): Likewise.
31956 (__vswprintf): Likewise.
31957 (__fwprintf): Likewise.
31958 (__vfwprintf): Likewise.
31960 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31963 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
31964 (__getgrgid_r): Likewise.
31965 (__getgrnam_r): Likewise.
31966 * include/pwd.h (__getpwuid_r): Likewise.
31967 (__getpwnam_r): Likewise.
31968 (__fgetpwent_r): Likewise.
31969 * include/shadow.h (__getspnam_r): Likewise.
31970 (__sgetspent_r): Likewise.
31971 (__fgetspent_r): Likewise.
31973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31976 * include/unistd.h (__access): Add attribute_hidden.
31977 (__lseek64): Likewise.
31978 (__libc_pread64): Likewise.
31979 (__pipe2): Likewise.
31980 (__sleep): Likewise.
31981 (__chdir): Likewise.
31982 (__fchdir): Likewise.
31983 (__getcwd): Likewise.
31984 (__rmdir): Likewise.
31985 (__execvpe): Likewise.
31986 (__execve): Likewise.
31987 (__setsid): Likewise.
31988 (__getuid): Likewise.
31989 (__geteuid): Likewise.
31990 (__getgid): Likewise.
31991 (__getegid): Likewise.
31992 (__getgroups): Likewise.
31993 (__group_member): Likewise.
31994 (__ttyname_r): Likewise.
31995 (__isatty): Likewise.
31996 (__readlink): Likewise.
31997 (__unlink): Likewise.
31998 (__gethostname): Likewise.
31999 (__profil): Likewise.
32000 (__getdtablesize): Likewise.
32002 (__ftruncate): Likewise.
32003 (__ftruncate64): Likewise.
32005 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32008 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32009 * argp/argp-fs-xinl.c: Likewise.
32010 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32011 * argp/argp-parse.c: Include <argp.h>.
32012 * argp/argp-xinl.c: Likewise.
32013 * include/argp-fmtstream.h: New file.
32014 * include/argp.h (__argp_error): Add attribute_hidden.
32015 (__argp_failure): Likewise.
32016 (__argp_input): Likewise.
32017 (__argp_state_help): Likewise.
32019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32022 * include/wchar.h (____wcstof_l_internal): New prototype.
32023 (____wcstod_l_internal): Likewise.
32024 (____wcstold_l_internal): Likewise.
32025 (____wcstol_l_internal): Likewise.
32026 (____wcstoul_l_internal): Likewise.
32027 (____wcstoll_l_internal): Likewise.
32028 (____wcstoull_l_internal): Likewise.
32029 (____wcstof128_l_internal): Likewise.
32030 * sysdeps/ieee754/float128/wcstof128.c
32031 (____wcstof128_l_internal): Removed.
32032 * sysdeps/ieee754/float128/wcstof128_l.c
32033 (____wcstof128_l_internal): Likewise.
32034 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32035 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32036 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32037 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32038 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32039 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32040 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32041 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32042 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32043 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32045 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32048 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32049 instead of <sys/statvfs.h>.
32050 (__internal_statvfs): Removed.
32051 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32052 instead of <sys/statvfs.h>.
32053 (__internal_statvfs64): Removed.
32054 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32055 "internal_statvfs.h" instead of <sys/statvfs.h>.
32056 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32057 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32058 instead of <sys/statvfs.h>.
32059 (__internal_statvfs): Removed.
32060 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32061 instead of <sys/statvfs.h>.
32062 (__internal_statvfs64): Removed.
32064 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32067 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32068 (__gconv_close): Likewise.
32069 (__gconv): Likewise.
32070 (__gconv_find_transform): Likewise.
32071 (__gconv_lookup_cache): Likewise.
32072 (__gconv_compare_alias_cache): Likewise.
32073 (__gconv_load_cache): Likewise.
32074 (__gconv_get_path): Likewise.
32075 (__gconv_close_transform): Likewise.
32076 (__gconv_release_cache): Likewise.
32077 (__gconv_find_shlib): Likewise.
32078 (__gconv_release_shlib): Likewise.
32079 (__gconv_get_builtin_trans): Likewise.
32080 (__gconv_compare_alias): Likewise.
32081 * include/dlfcn.h (_dlerror_run): Likewise.
32082 * include/stdio.h (__fortify_fail_abort): Likewise.
32083 * include/time.h (__tz_compute): Likewise.
32084 (__strptime_internal): Likewise.
32085 * intl/gettextP.h (_nl_find_domain): Likewise.
32086 (_nl_load_domain): Likewise.
32087 (_nl_find_msg): Likewise.
32088 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32089 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32090 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32091 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32092 (__gai_find_request): Likewise.
32093 (__gai_remove_request): Likewise.
32094 (__gai_notify): Likewise.
32095 (__gai_notify_only): Likewise.
32096 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32097 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32098 (_dl_non_dynamic_init): Likewise.
32099 (_dl_aux_init): Likewise.
32100 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32101 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32103 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32104 (__wcsmbs_clone_conv): Likewise.
32105 (__wcsmbs_named_conv): Likewise.
32107 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32110 * include/stdlib.h (__random): Add attribute_hidden.
32111 (__random_r): Likewise.
32112 (__srandom_r): Likewise.
32113 (__initstate_r): Likewise.
32114 (__setstate_r): Likewise.
32115 (__erand48_r): Likewise.
32116 (__nrand48_r): Likewise.
32117 (__jrand48_r): Likewise.
32118 (__srand48_r): Likewise.
32119 (__seed48_r): Likewise.
32120 (__lcong48_r): Likewise.
32121 (__drand48_iterate): Likewise.
32122 (__setenv): Likewise.
32123 (__unsetenv): Likewise.
32124 (__clearenv): Likewise.
32125 (__ptsname_r): Likewise.
32126 (__posix_openpt): Likewise.
32127 (__add_to_environ): Likewise.
32128 (__realpath): Add libc_hidden_proto.
32129 (__ecvt_r): Likewise.
32130 (__fcvt_r): Likewise.
32131 (__qecvt_r): Likewise.
32132 (__qfcvt_r): Likewise.
32133 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32134 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32136 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32139 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32140 * include/time.h (__mktime_internal): Likewise.
32141 * libio/iolibio.h (__fopen_internal): Likewise.
32143 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32145 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32147 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32148 Correct offset used to restore PIC register.
32150 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32153 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32154 code to load address of __getcontext_ret when generating PIC code.
32156 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32158 * elf/Makefile (tests-static-internal): Add
32159 tst-tls1-static-non-pie.
32160 (LDFLAGS-tst-tls1-static-non-pie): New.
32161 * elf/tst-tls1-static-non-pie.c: New file.
32163 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32165 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32166 (asinh): Define using libm_alias_double.
32167 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32168 (cbrt): Define using libm_alias_double.
32169 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32170 <libm-alias-double.h>.
32171 (copysign): Define using libm_alias_double.
32172 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32173 (erf): Define using libm_alias_double.
32175 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32176 (expm1): Define using libm_alias_double.
32177 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32178 (fabs): Define using libm_alias_double.
32179 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32181 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32182 <libm-alias-double.h>.
32183 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32185 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32186 <libm-alias-double.h>.
32187 (getpayload): Define using libm_alias_double.
32188 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32189 <libm-alias-double.h>.
32190 (llrint): Define using libm_alias_double.
32191 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32192 (lrint): Define using libm_alias_double.
32193 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32194 <libm-alias-double.h>.
32195 (nextup): Define using libm_alias_double.
32196 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32197 <libm-alias-double.h>.
32198 (roundeven): Define using libm_alias_double.
32199 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32201 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32202 <libm-alias-double.h>.
32203 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32204 using libm_alias_double.
32205 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32206 (cos): Define using libm_alias_double.
32208 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32209 <libm-alias-double.h>.
32210 (sincos): Define using libm_alias_double.
32211 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32212 (tanh): Define using libm_alias_double.
32213 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32214 <libm-alias-double.h>.
32215 (totalorder): Define using libm_alias_double.
32216 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32217 <libm-alias-double.h>.
32218 (totalordermag): Define using libm_alias_double.
32219 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32221 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32223 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32224 <libm-alias-double.h>.
32225 (getpayload): Define using libm_alias_double.
32226 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32227 <libm-alias-double.h>.
32228 (roundeven): Define using libm_alias_double.
32229 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32230 <libm-alias-double.h>.
32231 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32232 <libm-alias-double.h>.
32233 (totalorder): Define using libm_alias_double.
32234 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32235 <libm-alias-double.h>.
32236 (totalordermag): Define using libm_alias_double.
32237 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32238 libc compat symbol here.
32239 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32240 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32241 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32242 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32243 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32244 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32245 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32246 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32247 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32248 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32250 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32252 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32253 _dl_relocate_static_pie instead of _dl_start to compute load
32254 address in static PIE. Return 0 if _DYNAMIC is undefined for
32257 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32259 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32260 _DYNAMIC is undefined for static executable.
32262 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32264 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32266 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32270 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32272 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32273 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32274 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32275 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32277 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32278 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32279 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32280 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32281 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32282 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32283 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32284 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32285 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32286 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32287 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32288 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32290 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32292 * math/bits/cmathcalls.h (cimag): Remove inline.
32293 (creal): Remove inline.
32294 (conj): Remove inline.
32296 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32298 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32299 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32300 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32301 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32302 (issignalingf_inline): Likewise.
32303 (POWF_LOG2_TABLE_BITS): Likewise.
32304 (POWF_LOG2_POLY_ORDER): Likewise.
32305 (POWF_SCALE_BITS): Likewise.
32306 (POWF_SCALE): Likewise.
32307 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32308 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32309 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32311 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32313 * math/Makefile (type-float-routines): Add e_log2f_data.
32314 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32315 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32316 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32317 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32318 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32319 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32320 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32322 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32324 * math/Makefile (type-float-routines): Add e_logf_data.
32325 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32326 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32327 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32328 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32329 * sysdeps/i386/fpu/e_logf_data.c: New file.
32330 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32331 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32333 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32335 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32336 undefined _DYNAMIC in PIE libc.a.
32337 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32340 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32342 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32343 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32344 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32345 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32346 (__signbit): Remove.
32347 (__signbitl): Remove.
32348 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32349 (__signbit): Remove.
32350 (__signbitl): Remove.
32351 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32352 (__signbit): Remove.
32353 (__signbitl): Remove.
32354 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32355 (__signbit): Remove.
32356 (__signbitl): Remove.
32357 * sysdeps/tile/bits/mathinline.h: Delete file.
32358 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32359 (__signbit): Remove.
32360 (__signbitl): Remove.
32362 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32364 * math/math.h: Improve handling of C99 isgreater macros.
32365 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32366 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32367 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32368 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32369 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32371 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32373 * sysdeps/aarch64/libm-test-ulps: Update.
32375 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32379 math_opt_barrier on argument when doing arithmetic on it.
32380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32381 Likewise. Use math_force_eval not math_opt_barrier after
32383 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32384 math_opt_barrier on argument when doing arithmetic on it.
32385 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32388 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32390 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32392 (__freeifaddrs): Likewise.
32394 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32396 * include/dirent.h (__dirfd): New declaration.
32397 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32399 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32400 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32401 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32402 * include/unistd.h (__revoke): New declaration.
32403 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32405 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32406 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32408 * include/dirent.h (__seekdir): New declaration.
32409 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32410 redefine as weak alias.
32411 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32413 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32414 and use libc_hidden_def on them.
32415 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32417 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32418 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32419 instead of getifaddrs and freeifaddrs.
32421 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32424 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32425 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32426 (__dso_handle): Remove declaration.
32427 * dlfcn/tstatexit.c (__dso_handle): Removed.
32428 (main): Don't check __dso_handle.
32429 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32430 (main): Don't check __dso_handle.
32431 * include/dso_handle.h: New file.
32432 * malloc/mtrace.c: Include <dso_handle.h>.
32433 (mtrace): Pass __dso_handle directly.
32434 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32435 (__dso_handle): Remove declaration.
32436 (__pthread_atfork): Pass __dso_handle directly.
32437 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32438 (__dso_handle): Removed.
32439 * posix/wordexp-test.c: Include <dso_handle.h>.
32440 (__dso_handle): Remove declaration.
32441 (__app_register_atfork): Pass __dso_handle directly.
32442 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32443 (__dso_handle): Remove declaration.
32444 (at_quick_exit): Pass __dso_handle directly.
32445 * stdlib/atexit.c: Include <dso_handle.h>.
32446 (__dso_handle): Remove declaration.
32447 (atexit): Pass __dso_handle directly.
32448 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32449 (__dso_handle): Removed.
32451 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32453 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32456 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32458 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32459 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32460 values to correct default value for given type.
32462 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32465 * elf/Makefile (tests): Add tst-debug1.
32466 ($(objpfx)tst-debug1): New.
32467 ($(objpfx)tst-debug1.out): Likewise.
32468 ($(objpfx)tst-debug1mod1.so): Likewise.
32469 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32470 with p_filesz == 0.
32471 * elf/tst-debug1.c: New file.
32473 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32475 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32476 Define using __ifunc.
32478 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32480 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32483 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32486 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32488 2017-09-26 Florian Weimer <fweimer@redhat.com>
32490 * resolv/Makefile (tests-internal): Fix typo in comment.
32492 2017-09-26 Florian Weimer <fweimer@redhat.com>
32494 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32496 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32498 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32499 Use an union instead of a max_align_t array for __space,
32500 so that __space is the same size on all platforms.
32501 * malloc/scratch_buffer_grow_preserve.c
32502 (__libc_scratch_buffer_grow_preserve): Likewise.
32505 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32507 * posix/Makefile (routines): Add glob-lstat-compat and
32508 glob64-lstat-compat.
32509 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32510 * posix/glob-lstat-compat.c: New file.
32511 * posix/glob64-lstat-compat.c: Likewise.
32512 * posix/tst-glob_lstat_compat.c: Likewise.
32513 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32514 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32515 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32516 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32518 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32519 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32520 * posix/glob.c (glob_lstat): New function.
32521 (glob): Rename to __glob and add versioned symbol to 2.27.
32522 (glob_in_dir): Use glob_lstat.
32523 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32524 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32525 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32527 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32528 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32529 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32530 gl_lstat on glob call.
32531 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32532 and glob64 symbols.
32533 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32534 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32535 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32536 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32537 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32538 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32539 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32540 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32541 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32542 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32543 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32544 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32547 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32549 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32550 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32551 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32552 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32553 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32556 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32557 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32558 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32560 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32562 * configure.ac (AS): Require binutils 2.25 or later.
32563 * configure: Regenerated.
32565 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32568 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32571 2017-09-25 DJ Delorie <dj@redhat.com>
32574 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32577 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32579 * sysdeps/ieee754/dbl-64/sincos32.h
32580 [SINCCOS32_H]: Remove define.
32581 [SINCOS32_H]: Define.
32583 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32585 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32587 * math/w_exp2f.c: New file.
32588 * math/w_expf.c: New file.
32589 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32590 * math/w_expf_compat.c (__expf_compat): Likewise.
32591 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32592 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32593 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32594 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32595 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32596 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32597 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32598 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32599 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32600 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32601 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32602 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32603 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32604 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32613 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32614 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32615 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32616 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32617 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32622 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32623 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32624 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32626 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32628 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32629 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32630 (roundtoint, converttoint): Likewise.
32631 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32632 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32633 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32634 * sysdeps/ieee754/flt-32/math_config.h: New file.
32635 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32636 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32637 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32638 * sysdeps/i386/fpu/math_errf.c: New file.
32639 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32640 * sysdeps/ia64/fpu/math_errf.c: New file.
32641 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32642 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32644 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32646 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32647 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32648 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32649 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32650 to make sure that these symbols are defined.
32651 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32653 (__need_NULL): Do not define.
32654 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32656 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32657 CMGROUP_MAX, cmsgcred): Do not define.
32658 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32660 * bits/socket.h: Likewise.
32661 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32662 __gettimeofday instead of gettimeofday.
32663 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32664 instead of settimeofday.
32666 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32668 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32669 (asinhf): Define using libm_alias_float.
32670 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32671 (atanf): Define using libm_alias_float.
32672 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32673 (cbrtf): Define using libm_alias_float.
32674 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32675 (ceilf): Define using libm_alias_float.
32676 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32677 <libm-alias-float.h>.
32678 (copysignf): Define using libm_alias_float.
32679 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32680 (cosf): Define using libm_alias_float.
32681 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32682 (erff): Define using libm_alias_float.
32684 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32685 (expm1f): Define using libm_alias_float.
32686 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32687 (fabsf): Define using libm_alias_float.
32688 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32689 (floorf): Define using libm_alias_float.
32690 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32691 (frexpf): Define using libm_alias_float.
32692 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32694 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32695 <libm-alias-float.h>.
32696 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32698 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32699 <libm-alias-float.h>.
32700 (getpayloadf): Define using libm_alias_float.
32701 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32702 <libm-alias-float.h>.
32703 (llrintf): Define using libm_alias_float.
32704 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32705 <libm-alias-float.h>.
32706 (llroundf): Define using libm_alias_float.
32707 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32708 (logbf): Define using libm_alias_float.
32709 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32710 (lrintf): Define using libm_alias_float.
32711 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32712 (lroundf): Define using libm_alias_float.
32713 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32714 (modff): Define using libm_alias_float.
32715 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32716 <libm-alias-float.h>.
32717 (nearbyintf): Define using libm_alias_float.
32718 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32719 <libm-alias-float.h>.
32720 (nextafterf): Define using libm_alias_float.
32721 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32722 <libm-alias-float.h>.
32723 (nextupf): Define using libm_alias_float.
32724 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32725 <libm-alias-float.h>.
32726 (remquof): Define using libm_alias_float.
32727 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32728 (rintf): Define using libm_alias_float.
32729 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32730 <libm-alias-float.h>.
32731 (roundevenf): Define using libm_alias_float.
32732 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32733 (roundf): Define using libm_alias_float.
32734 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32735 using libm_alias_float.
32736 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32737 <libm-alias-float.h>.
32738 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32739 Define using libm_alias_float.
32740 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32741 <libm-alias-float.h>.
32742 (sincosf): Define using libm_alias_float.
32743 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32744 (sinf): Define using libm_alias_float.
32745 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32746 (tanf): Define using libm_alias_float.
32747 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32748 (tanhf): Define using libm_alias_float.
32749 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32750 <libm-alias-float.h>.
32751 (totalorderf): Define using libm_alias_float.
32752 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32753 <libm-alias-float.h>.
32754 (totalordermagf): Define using libm_alias_float.
32755 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32756 (truncf): Define using libm_alias_float.
32757 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32759 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32762 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32765 math/math.h: Let fpclassify use the builtin in C++ mode, even
32766 when optimazing for size.
32768 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32770 * csu/Makefile (generated): Do not add version-info.h.
32771 (before-compile): Likewise.
32772 (all-Banner-files): Remove variable.
32773 ($(objpfx)version-info.h): Remove rule.
32774 * csu/version.c (banner): Do not include "version-info.h".
32775 * libidn/Banner: Remove.
32776 * manual/contrib.texi (Simon Josefsson): New entry.
32778 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32781 Remove conditionals on LDBL_MANT_DIG.
32782 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32783 (__ieee754_lgammal_r): Likewise.
32785 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32789 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32790 _Float128 and L(). Replace _Float128 with long double and L(x)
32791 with xL, throughout the file.
32792 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32797 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32799 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32800 sysdeps/ieee754/ldbl-128ibm.
32801 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32802 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32803 of including it. Keep _Float128 and L() intact. These will be
32804 reviewed by a separate patch.
32805 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32806 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32807 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32808 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32810 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32813 (__finitef128): Define to __redirect___finitef128.
32814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32815 (__isinff128): Define to __redirect___isinff128.
32816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32817 (__isnanf128): Define to __redirect___isnanf128.
32819 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32821 * sysdeps/powerpc/powerpc64le/Makefile
32822 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32823 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32825 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32826 Carlos O'Donell <carlos@redhat.com>
32829 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32830 * stdlib/test-dlclose-exit-race.c: New file.
32831 * stdlib/test-dlclose-exit-race-helper.c: New file.
32832 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32834 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32836 * crypt/Banner: Remove file.
32837 * nptl/Banner: Likewise.
32838 * resolv/Banner: Likewise.
32839 * soft-fp/Banner: Likewise.
32840 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32841 ($(objpfx)version.d): Remove dependency on banner.h.
32842 ($(objpfx)version.os): Likewise.
32843 * nptl/version.c (banner): Do not include banner.h.
32844 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32845 Jelinek and BIND code.
32847 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32848 Carlos O'Donell <carlos@redhat.com>
32850 * support/xdlfcn.h: New file.
32851 * support/xdlfcn.c: New file.
32852 * support/Makefile (libsupport-routines): Add xdlfcn.
32853 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32855 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32858 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32859 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32860 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32861 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32862 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32863 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32864 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32865 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32867 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32868 Ricky Zhou <rickyz@google.com>
32869 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32872 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32874 (__new_exitfn): Fail registration when we finished at_exit processing.
32875 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32876 * stdlib/on_exit.c (__on_exit): Likewise.
32877 * stdlib/exit.c (__exit_funcs_done): New variable.
32878 (__run_exit_handlers): Use __exit_funcs_lock.
32879 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32881 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
32882 (test-cxa_atexit-race, test-on_exit-race): New tests.
32883 * stdlib/test-atexit-race-common.c: New file.
32884 * stdlib/test-atexit-race.c: New file.
32885 * stdlib/test-at_quick_exit-race.c: New file.
32886 * stdlib/test-cxa_atexit-race.c: New file.
32887 * stdlib/test-on_exit-race.c: New file.
32889 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
32891 * benchtests/Makefile: Add exp2f and log2f benchmarks.
32892 * benchtests/exp2f-inputs: Copy of expf-inputs.
32893 * benchtests/log2f-inputs: Copy of logf-inputs.
32895 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32897 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
32898 Explicitly take address of first element of array arguments in
32899 call to INLINE_SYSCALL.
32901 2017-09-19 Andreas Schwab <schwab@suse.de>
32904 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
32906 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
32908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
32909 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
32910 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32911 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
32912 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32913 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32914 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32915 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
32916 * posix/Makefile (tests): Add tst-fexecve.
32917 * posix/tst-fexecve.c: New file.
32919 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32921 * benchtests/Makefile: Add logf benchmark.
32922 * benchtests/logf-inputs: Add reduced trace from wrf_r.
32924 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32926 * benchtests/Makefile: Add expf benchmark.
32927 * benchtests/expf-inputs: Add reduced trace from wrf_r.
32929 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
32931 * csu/Makefile: Add -funwind-tables to libc-start.c.
32932 * debug/Makefile: Add -funwind-tables to backtrace.c.
32933 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
32934 * sysdeps/arm/Makefile: Likewise.
32935 * sysdeps/i386/Makefile: Likewise.
32936 * sysdeps/m68k/Makefile: Likewise.
32937 * sysdeps/mips/Makefile: Likewise.
32938 * sysdeps/nios2/Makefile: Likewise.
32939 * sysdeps/sh/Makefile: Likewise.
32940 * sysdeps/sparc/Makefile: Likewise.
32942 2017-09-19 Joseph Myers <joseph@codesourcery.com>
32944 * benchtests/Makefile (bench-math): Add trunc and truncf.
32945 (CFLAGS-bench-trunc.c): New variable.
32946 (CFLAGS-bench-truncf.c): Likewise.
32947 * benchtests/trunc-inputs: New file.
32948 * benchtests/truncf-inputs: Likewise.
32950 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32952 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
32954 2017-09-18 Joseph Myers <joseph@codesourcery.com>
32956 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
32957 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
32959 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
32960 (exp10l): Define as weak alias.
32961 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
32962 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
32964 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
32965 (remainderl): Define as weak alias.
32967 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
32968 (fmal): Define using libm_alias_ldouble.
32969 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
32970 (acoshl): Define using libm_alias_ldouble.
32971 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
32972 (acosl): Define using libm_alias_ldouble.
32973 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
32974 (asinl): Define using libm_alias_ldouble.
32975 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
32976 (atan2l): Define using libm_alias_ldouble.
32977 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
32978 (atanhl): Define using libm_alias_ldouble.
32979 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
32980 (coshl): Define using libm_alias_ldouble.
32981 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
32982 (exp10l): Define using libm_alias_ldouble.
32983 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
32984 (exp2l): Define using libm_alias_ldouble.
32985 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
32986 (expl): Define using libm_alias_ldouble.
32987 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
32988 (fmodl): Define using libm_alias_ldouble.
32989 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
32990 (hypotl): Define using libm_alias_ldouble.
32991 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
32992 (j0l): Define using libm_alias_ldouble.
32994 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
32995 (j1l): Define using libm_alias_ldouble.
32997 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
32998 (jnl): Define using libm_alias_ldouble.
33000 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33001 (log10l): Define using libm_alias_ldouble.
33002 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33003 (log2l): Define using libm_alias_ldouble.
33004 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33005 (logl): Define using libm_alias_ldouble.
33006 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33007 (powl): Define using libm_alias_ldouble.
33008 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33009 (remainderl): Define using libm_alias_ldouble.
33010 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33011 (sinhl): Define using libm_alias_ldouble.
33012 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33013 (sqrtl): Define using libm_alias_ldouble.
33014 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33015 (tgammal): Define using libm_alias_ldouble.
33016 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33017 (exp10l): Do not use long_double_symbol here.
33018 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33019 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33020 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33021 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33022 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33023 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33024 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33025 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33026 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33027 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33028 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33029 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33030 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33031 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33032 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33033 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33034 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33035 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33036 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33037 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33038 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33039 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33041 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33043 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33044 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33046 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33048 * io/read.c (read): Add libc_hidden_weak.
33049 * sysdeps/mach/hurd/read.c (read): Likewise.
33050 * io/write.c (write): Likewise.
33051 * sysdeps/mach/hurd/write.c (write): Likewise.
33052 * io/pread64.c (__pread64): Likewise.
33053 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33054 * posix/pread64.c (__pread64): Add libc_hidden_def.
33056 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33058 * benchtests/scripts/compare_strings.py: New option -g.
33059 (draw_graph): Print a message that a graph is being generated.
33060 (process_results): Generate graph only if -g is passed.
33061 (main): Process option -g.
33063 * benchtests/scripts/compare_strings.py (process_results):
33064 Better spacing for output.
33066 * benchtests/scripts/compare_strings.py: Use argparse.
33067 * benchtests/README: Document existence of compare_strings.py.
33069 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33071 * math/s_fma.c: Include <libm-alias-double.h>.
33072 (fma): Define using libm_alias_double.
33073 * math/s_nextafter.c: Include <libm-alias-double.h>.
33074 (nextafter): Define using libm_alias_double.
33075 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33076 (acos): Define using libm_alias_double.
33077 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33078 (aocsh): Define using libm_alias_double.
33079 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33080 (asin): Define using libm_alias_double.
33081 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33082 (atan2): Define using libm_alias_double.
33083 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33084 (atanh): Define using libm_alias_double.
33085 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33086 (cosh): Define using libm_alias_double.
33087 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33088 (exp10): Define using libm_alias_double.
33089 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33090 (exp2): Define using libm_alias_double.
33091 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33092 (exp): Define using libm_alias_double.
33093 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33094 (fmod): Define using libm_alias_double.
33095 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33096 (hypot): Define using libm_alias_double.
33097 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33098 (j0): Define using libm_alias_double.
33100 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33101 (j1): Define using libm_alias_double.
33103 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33104 (jn): Define using libm_alias_double.
33106 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33107 (log10): Define using libm_alias_double.
33108 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33109 (log2): Define using libm_alias_double.
33110 * math/w_log_compat.c: Include <libm-alias-double.h>.
33111 (log): Define using libm_alias_double.
33112 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33113 (pow): Define using libm_alias_double.
33114 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33115 (remainder): Define using libm_alias_double.
33116 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33117 (sinh): Define using libm_alias_double.
33118 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33119 (sqrt): Define using libm_alias_double.
33120 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33121 (tgamma): Define using libm_alias_double.
33122 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33123 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33124 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33125 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33126 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33127 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33128 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33129 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33130 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33131 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33132 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33133 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33134 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33135 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33136 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33137 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33138 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33139 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33140 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33141 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33142 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33143 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33144 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33145 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33146 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33148 * math/e_acoshl.c: Remove.
33149 * math/e_acosl.c: Likewise.
33150 * math/e_asinl.c: Likewise.
33151 * math/e_atan2l.c: Likewise.
33152 * math/e_atanhl.c: Likewise.
33153 * math/e_coshl.c: Likewise.
33154 * math/e_expl.c: Likewise.
33155 * math/e_fmodl.c: Likewise.
33156 * math/e_gammal_r.c: Likewise.
33157 * math/e_hypotl.c: Likewise.
33158 * math/e_j0l.c: Likewise.
33159 * math/e_j1l.c: Likewise.
33160 * math/e_jnl.c: Likewise.
33161 * math/e_lgammal_r.c: Likewise.
33162 * math/e_log10l.c: Likewise.
33163 * math/e_log2l.c: Likewise.
33164 * math/e_logl.c: Likewise.
33165 * math/e_powl.c: Likewise.
33166 * math/e_rem_pio2l.c: Likewise.
33167 * math/e_sinhl.c: Likewise.
33168 * math/e_sqrtf128.c: Likewise.
33169 * math/e_sqrtl.c: Likewise.
33170 * math/k_cosl.c: Likewise.
33171 * math/k_sinl.c: Likewise.
33172 * math/k_tanl.c: Likewise.
33173 * math/s_asinhl.c: Likewise.
33174 * math/s_atanl.c: Likewise.
33175 * math/s_cbrtl.c: Likewise.
33176 * math/s_erfl.c: Likewise.
33177 * math/s_expm1l.c: Likewise.
33178 * math/s_log1pl.c: Likewise.
33179 * math/s_tanhl.c: Likewise.
33181 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33185 [$(subdir) = math] (sysdep_calls): New variable. Has the
33186 previous contents of sysdep_routines, but re-sorted..
33187 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33189 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33190 defined in sysdep_calls and replace by the respective m_* names.
33191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33192 (compat_symbol): Undefine to avoid duplicated compat symbols in
33195 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33197 * math/s_fmaf.c: Include <libm-alias-float.h>.
33198 (fmaf): Define using libm_alias_float.
33199 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33200 (acosf): Define using libm_alias_float.
33201 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33202 (acoshf): Define using libm_alias_float.
33203 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33204 (asinf): Define using libm_alias_float.
33205 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33206 (atan2f): Define using libm_alias_float.
33207 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33208 (atanhf): Define using libm_alias_float.
33209 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33210 (coshf): Define using libm_alias_float.
33211 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33212 (exp10f): Define using libm_alias_float.
33213 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33214 (fmodf): Define using libm_alias_float.
33215 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33216 (hypotf): Define using libm_alias_float.
33217 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33218 (j0f): Define using libm_alias_float.
33220 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33221 (j1f): Define using libm_alias_float.
33223 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33224 (jnf): Define using libm_alias_float.
33226 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33227 (log10f): Define using libm_alias_float.
33228 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33229 (log2f): Define using libm_alias_float.
33230 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33231 (logf): Define using libm_alias_float.
33232 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33233 (powf): Define using libm_alias_float.
33234 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33235 (remainderf): Define using libm_alias_float.
33236 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33237 (sinhf): Define using libm_alias_float.
33238 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33239 (sqrtf): Define using libm_alias_float.
33240 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33241 (tgammaf): Define using libm_alias_float.
33243 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33245 * include/math.h (roundeven): Change hidden_proto call to
33247 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33249 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33250 (y0): Rename to __y0 and define as weak alias.
33251 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33252 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33254 (y0f): Rename to __y0f and define as weak alias.
33255 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33257 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33258 (y1): Rename to __y1 and define as weak alias.
33259 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33260 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33262 (y1f): Rename to __y1f and define as weak alias.
33263 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33265 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33266 (yn): Rename to __yn and define as weak alias.
33267 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33268 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33270 (ynf): Rename to __ynf and define as weak alias.
33271 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33272 (fromfp): Define as weak alias.
33273 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33274 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33275 (fromfpx): Define as weak alias.
33276 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33277 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33278 __getpayload and define as weak alias.
33279 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33280 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33281 __roundeven and define as weak alias.
33282 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33283 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33285 (setpayload): Define as weak alias.
33286 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33287 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33289 (setpayloadsig): Define as weak alias.
33290 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33291 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33292 __totalorder and define as weak alias.
33293 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33294 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33295 to __totalordermag and define as weak alias.
33296 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33297 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33298 (ufromfp): Define as weak alias.
33299 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33300 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33302 (ufromfpx): Define as weak alias.
33303 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33304 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33305 Rename to __getpayload and define as weak alias.
33306 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33307 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33308 Rename to __roundeven and define as weak alias.
33309 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33310 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33311 Rename to __totalorder and define as weak alias.
33312 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33313 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33314 (totalordermag): Rename to __totalordermag and define as weak
33316 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33317 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33319 (__roundevenl): Likewise.
33320 (__totalorderl): Likewise.
33321 (__totalordermagl): Likewise
33322 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33324 (fromfpf128): Define as weak alias.
33325 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33327 (fromfpxf128): Define as weak alias.
33328 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33330 (setpayloadf128): Define as weak alias.
33331 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33332 __setpayloadsigf128.
33333 (setpayloadsigf128): Define as weak alias.
33334 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33336 (ufromfpf128): Define as weak alias.
33337 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33339 (ufromfpxf128): Define as weak alias.
33340 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33341 (fromfpf): Define as weak alias.
33342 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33344 (fromfpxf): Define as weak alias.
33345 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33346 __getpayloadf and define as weak alias.
33347 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33348 __roundevenf and define as weak alias.
33349 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33351 (setpayloadf): Define as weak alias.
33352 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33354 (setpayloadsigf): Define as weak alias.
33355 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33356 __totalorderf and define as weak alias.
33357 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33358 Rename to __totalordermagf and define as weak alias.
33359 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33361 (ufromfpf): Define as weak alias.
33362 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33364 (ufromfpxf): Define as weak alias.
33365 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33367 (fromfpl): Define as weak alias.
33368 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33370 (fromfpxl): Define as weak alias.
33371 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33372 to __getpayloadl and define as weak alias.
33373 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33374 __roundevenl and define as weak alias.
33375 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33377 (setpayloadl): Define as weak alias.
33378 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33380 (setpayloadsigl): Define as weak alias.
33381 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33382 to __totalorderl and define as weak alias.
33383 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33384 Rename to __totalordermagl and define as weak alias.
33385 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33387 (ufromfpl): Define as weak alias.
33388 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33390 (ufromfpxl): Define as weak alias.
33391 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33393 (fromfpl): Define as weak alias.
33394 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33396 (fromfpxl): Define as weak alias.
33397 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33398 Rename to __getpayloadl and define as weak alias.
33399 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33400 to __roundevenl and define as weak alias. Call __roundeven
33401 instead of roundeven.
33402 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33404 (setpayloadl): Define as weak alias.
33405 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33407 (setpayloadsigl): Define as weak alias.
33408 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33409 Rename to __totalorderl and define as weak alias.
33410 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33411 Rename to __totalordermagl and define as weak alias.
33412 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33414 (ufromfpl): Define as weak alias.
33415 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33417 (ufromfpxl): Define as weak alias.
33418 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33420 (fromfpl): Define as weak alias.
33421 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33423 (fromfpxl): Define as weak alias.
33424 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33425 __getpayloadl and define as weak alias.
33426 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33427 __roundevenl and define as weak alias.
33428 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33430 (setpayloadl): Define as weak alias.
33431 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33433 (setpayloadsigl): Define as weak alias.
33434 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33435 __totalorderl and define as weak alias.
33436 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33437 Rename to __totalordermagl and define as weak alias.
33438 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33440 (ufromfpl): Define as weak alias.
33441 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33443 (ufromfpxl): Define as weak alias.
33445 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33447 * benchtests/bench-string.h (realloc_bufs): New function.
33448 (test_init): Call it.
33449 * benchtests/bench-memset-large.c (do_test): Likewise.
33450 * benchtests/bench-memset.c (do_test): Likewise.
33452 * benchtests/bench-memset-large.c: Print output in JSON
33454 * benchtests/bench-memset.c: Likewise.
33456 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33459 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33460 * iconvdata/Makefile: Add IBM858.
33461 * iconvdata/gconv-modules: Likewise.
33462 * iconvdata/tst-tables.sh: Likewise.
33463 * iconvdata/ibm858.c: New file.
33464 * localedata/charmaps/IBM858: Likewise.
33466 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33469 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33470 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33472 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33475 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33476 and add tel_int_fmt.
33478 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33480 * sysdeps/generic/libm-alias-float128.h: New file.
33481 * sysdeps/generic/math-type-macros-float128.h: Include
33482 <libm-alias-float128.h>.
33483 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33485 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33487 * sysdeps/generic/libm-alias-ldouble.h: New file.
33488 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33489 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33490 * sysdeps/generic/math-type-macros-ldouble.h: Include
33491 <libm-alias-ldouble.h>.
33492 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33493 libm_alias_ldouble.
33495 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33497 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33498 * math/w_exp_compat.c: ... here.
33499 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33500 * math/w_expf_compat.c: ... here.
33501 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33502 * math/w_expl_compat.c: ... here.
33503 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33504 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33505 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33506 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33508 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33510 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33512 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33514 (ldexpl): Only define as compat symbol for libc, not libm.
33515 (scalbnl): Define as compat symbol for libc here.
33516 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33517 define for [IS_IN (libc)].
33518 (__ldexpl_2): Remove alias.
33519 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33520 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33521 name in long_double_symbol call.
33522 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33523 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33524 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33525 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33526 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33528 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33529 Define as compat symbol.
33531 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33533 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33534 * sysdeps/unix/sysv/linux/alpha/Makefile
33535 [$(subdir) = csu] (sysdep_routines): Remove rule.
33537 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33539 * sysdeps/generic/libm-alias-double.h: New file.
33540 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33541 * sysdeps/generic/math-type-macros-double.h: Include
33542 <libm-alias-double.h>.
33543 [declare_mgen_alias] (declare_mgen_alias): Define to use
33545 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33546 (M_LIBM_NEED_COMPAT): Remove macro.
33547 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33548 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33549 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33551 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33552 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33553 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33554 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33555 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33556 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33557 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33558 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33559 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33560 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33561 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33562 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33563 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33564 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33565 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33566 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33567 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33568 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33569 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33570 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33571 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33572 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33573 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33574 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33575 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33576 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33577 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33578 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33579 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33581 (declare_mgen_alias): New macro.
33582 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33583 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33585 (M_LIBM_NEED_COMPAT): Remove macro.
33586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33587 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33588 <first-versions.h>.
33589 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33590 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33592 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33594 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33595 (declare_mgen_alias_2): Remove.
33596 * sysdeps/generic/math-type-macros-double.h
33597 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33599 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33601 (ldexp): Define with declare_mgen_alias.
33602 (scalbn): Likewise.
33604 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33606 * grp/initgroups.c: Include config.h.
33607 (DEFAULT_CONFIG): New macro.
33608 (internal_getgrouplist): Use DEFAULT_CONFIG.
33609 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33610 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33611 (DEFAULT_DEFCONFIG): New macro.
33612 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33613 * nss/grp-lookup.c: Include config.h
33614 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33615 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33616 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33617 * manual/nss.texi: Update default values section.
33619 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33622 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33624 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33625 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33626 Handle MathVec_Prefer_No_AVX512.
33627 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33628 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33631 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33633 * posix/sched_primax.c (__sched_get_priority_max): Add
33635 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33636 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33637 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33638 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33639 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33640 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33641 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33642 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33645 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33647 * sysdeps/generic/libm-alias-float.h: New file.
33648 * sysdeps/generic/math-type-macros-float.h: Include
33649 <libm-alias-float.h>.
33650 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33652 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33655 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33656 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33657 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33658 (HWCAP_IMPORTANT): Likewise.
33659 (HWCAP_X86_64): New enum.
33660 (HWCAP_X86_AVX512_1): Updated.
33661 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33662 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33663 (modules-names): Add x86_64/tst-x86_64mod-1.
33664 (LDFLAGS-tst-x86_64mod-1.so): New.
33665 ($(objpfx)tst-x86_64-1): Likewise.
33666 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33667 (tst-x86_64-1-clean): Likewise.
33668 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33669 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33671 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33673 * po/sv.po: Update translations.
33674 * po/fr.po: Likewise.
33676 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33678 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33680 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33682 * elf/rtld-Rules: Fix $(error) use.
33684 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33687 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33688 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33689 * localedata/locales/bn_BD: “Bengali” was still used in some
33690 comments. Change it to “Bangla”.
33692 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33694 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33696 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33698 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33699 thunderx2t99p1 to list of cpu names.
33700 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33701 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33703 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33705 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33706 Use strcmp instead of tunable_is_name.
33708 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33710 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33711 (F_GET_RW_HINT): New macro.
33712 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33713 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33714 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33715 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33716 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33717 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33718 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33719 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33720 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33723 (F_ADD_SEALS): New macro.
33724 [__USE_GNU] (F_GET_SEALS): Likewise.
33725 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33726 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33727 [__USE_GNU] (F_SEAL_GROW): Likewise.
33728 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33730 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33732 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33733 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33734 * posix/glob_internal.h (__glob_pattern_type):
33735 * posix/glob.c (glob):
33736 * posix/glob_pattern_p.c (__glob_pattern_p):
33739 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33740 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33741 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33742 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33743 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33745 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33746 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33747 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33748 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33749 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33750 * sysdeps/wordsize-64/glob.c: Likewise.
33751 * sysdeps/wordsize-64/glob64.c: Likewise.
33752 * sysdeps/wordsize-64/globfree.c: Likewise.
33753 * sysdeps/wordsize-64/globfree64.c: Likewise.
33754 * sysdeps/unix/sysv/linux/glob.c: New file.
33755 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33756 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33757 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33758 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33759 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33760 adds !GLOB_NO_OLD_VERSION as an extra condition.
33761 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33762 using relative path instead of absolute one.
33763 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33764 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33765 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33766 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33767 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33768 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33771 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33772 (glob): Use the same scratch buffer for both getlogin_r and
33773 getpwnam_r. Don’t require preallocation of the login name. This
33774 simplifies storage allocation, and corrects the handling of
33778 * posix/glob.c (glob): Port recent patches to platforms
33779 lacking getpwnam_r.
33780 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33781 returns an error number rather than setting errno.
33783 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33784 instead of GCC extension.
33785 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33786 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33787 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33791 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33792 * posix/bug-glob1.c: Remove file.
33793 * posix/tst-glob_symlinks.c: New file.
33794 * posix/glob.c (__lstat64): New macro.
33795 (is_dir): New function.
33796 (glob, glob_in_dir): Match symlinks even if they are dangling.
33797 (link_stat, link_exists_p): Remove. All uses removed.
33801 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33802 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33807 * posix/Makefile (routines): Add globfree, globfree64, and
33809 * posix/flexmember.h: New file.
33810 * posix/glob_internal.h: Likewise.
33811 * posix/glob_pattern_p.c: Likewise.
33812 * posix/globfree.c: Likewise.
33813 * posix/globfree64.c: Likewise.
33814 * sysdeps/gnu/globfree64.c: Likewise.
33815 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33816 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33817 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33818 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33819 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33820 * sysdeps/wordsize-64/globfree.c: Likewise.
33821 * sysdeps/wordsize-64/globfree64.c: Likewise.
33822 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33823 [NDEBUG): Remove comments.
33824 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33825 (dirent_type): New type. Use uint_fast8_t not
33826 uint8_t, as C99 does not require uint8_t.
33827 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33828 (struct readdir_result): Use dirent_type. Do not define skip_entry
33829 unless it is needed; this saves a byte on platforms lacking d_ino.
33830 (readdir_result_type, readdir_result_skip_entry):
33831 New functions, replacing ...
33832 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33833 these functions, which were removed. This makes the callers
33834 easier to read. All callers changed.
33835 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33836 (size_add_wrapv, glob_use_alloca): New static functions.
33837 (glob, glob_in_dir): Check for size_t overflow in several places,
33838 and fix some size_t checks that were not quite right.
33839 Remove old code using SHELL since Bash no longer
33841 (glob, prefix_array): Separate MS code better.
33842 (glob_in_dir): Remove old Amiga and VMS code.
33843 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33845 (glob_in_dir): Do not rely on undefined behavior in accessing
33846 struct members beyond their bounds. Use a flexible array member
33848 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33849 0/1. Caller changed.
33850 (glob): Fix memory leaks.
33851 * posix/glob64 (globfree64): Move to separate file.
33852 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33853 (globfree64): Remove hidden alias.
33854 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33856 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33858 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33860 Move compat code to separate file.
33861 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33864 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33866 * resolv/tst-resolv-qtypes.c (domain): Changed to
33867 "const char domain[] =".
33869 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33871 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33874 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33875 (TCP_MD5SIG_EXT): Likewise.
33876 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33877 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33878 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33880 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
33882 2017-09-07 Mike FABIAN <mfabian@redhat.com>
33884 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
33886 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
33889 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
33891 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
33893 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
33894 before assuming that the file is empty. Avoid testing buffer content
33897 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33900 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33902 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
33904 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
33906 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
33908 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
33910 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
33912 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
33915 2017-09-06 Florian Weimer <fweimer@redhat.com>
33917 * malloc/dynarray_emplace_enlarge.c
33918 (__libc_dynarray_emplace_enlarge): Add missing else.
33920 2017-09-06 Florian Weimer <fweimer@redhat.com>
33923 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
33924 case of failure to obtain the global conf object.
33926 2017-09-06 Florian Weimer <fweimer@redhat.com>
33929 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
33930 dynarray allocation failure.
33932 2017-09-06 Florian Weimer <fweimer@redhat.com>
33934 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
33935 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
33936 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
33938 (response): Call them. Add 'p', '6' flag processing.
33939 (test_reverse): New function.
33940 (test_get2_any): Call it.
33941 (test_no_inet6): Add 'p' test.
33942 (test_inet6): Likewise.
33944 2017-09-06 Florian Weimer <fweimer@redhat.com>
33946 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
33947 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
33949 (test_gai): Adjust query names. Add additional tests.
33950 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
33951 test_get2. Adjust query names. Add additional tests.
33952 (test_no_inet6): New function, extracted from threadfunc.
33953 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
33954 Add additional tests.
33956 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33959 * localedata/unicode-gen/utf8_gen.py: Set the width for
33960 characters with Prepended_Concatenation_Mark property to 1
33961 * localedata/charmaps/UTF-8: Updated using the improved script.
33963 2017-09-06 Mike FABIAN <mfabian@redhat.com>
33966 * localedata/unicode-gen/utf8_gen.py: Improve the script to
33967 use the range notation for all ranges of neighbouring characters
33968 with the same width.
33970 2017-09-05 Joseph Myers <joseph@codesourcery.com>
33972 * sysdeps/generic/math-type-macros-double.h: Include
33973 <math-svid-compat.h>.
33974 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33975 * sysdeps/generic/math-type-macros-float.h: Include
33976 <math-svid-compat.h>.
33977 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33978 * sysdeps/generic/math-type-macros-ldouble.h: Include
33979 <math-svid-compat.h>.
33980 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
33981 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
33983 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
33984 * math/w_acosf_compat.c: Likewise.
33985 * math/w_acosh_compat.c: Likewise.
33986 * math/w_acoshf_compat.c: Likewise.
33987 * math/w_acoshl_compat.c: Likewise.
33988 * math/w_acosl_compat.c: Likewise.
33989 * math/w_asin_compat.c: Likewise.
33990 * math/w_asinf_compat.c: Likewise.
33991 * math/w_asinl_compat.c: Likewise.
33992 * math/w_atan2_compat.c: Likewise.
33993 * math/w_atan2f_compat.c: Likewise.
33994 * math/w_atan2l_compat.c: Likewise.
33995 * math/w_atanh_compat.c: Likewise.
33996 * math/w_atanhf_compat.c: Likewise.
33997 * math/w_atanhl_compat.c: Likewise.
33998 * math/w_cosh_compat.c: Likewise.
33999 * math/w_coshf_compat.c: Likewise.
34000 * math/w_coshl_compat.c: Likewise.
34001 * math/w_exp10_compat.c: Likewise.
34002 * math/w_exp10f_compat.c: Likewise.
34003 * math/w_exp10l_compat.c: Likewise.
34004 * math/w_exp2_compat.c: Likewise.
34005 * math/w_exp2f_compat.c: Likewise.
34006 * math/w_exp2l_compat.c: Likewise.
34007 * math/w_fmod_compat.c: Likewise.
34008 * math/w_fmodf_compat.c: Likewise.
34009 * math/w_fmodl_compat.c: Likewise.
34010 * math/w_hypot_compat.c: Likewise.
34011 * math/w_hypotf_compat.c: Likewise.
34012 * math/w_hypotl_compat.c: Likewise.
34013 * math/w_j0_compat.c: Likewise.
34014 * math/w_j0f_compat.c: Likewise.
34015 * math/w_j0l_compat.c: Likewise.
34016 * math/w_j1_compat.c: Likewise.
34017 * math/w_j1f_compat.c: Likewise.
34018 * math/w_j1l_compat.c: Likewise.
34019 * math/w_jn_compat.c: Likewise.
34020 * math/w_jnf_compat.c: Likewise.
34021 * math/w_jnl_compat.c: Likewise.
34022 * math/w_lgamma_r_compat.c: Likewise.
34023 * math/w_lgammaf_r_compat.c: Likewise.
34024 * math/w_lgammal_r_compat.c: Likewise.
34025 * math/w_log10_compat.c: Likewise.
34026 * math/w_log10f_compat.c: Likewise.
34027 * math/w_log10l_compat.c: Likewise.
34028 * math/w_log2_compat.c: Likewise.
34029 * math/w_log2f_compat.c: Likewise.
34030 * math/w_log2l_compat.c: Likewise.
34031 * math/w_log_compat.c: Likewise.
34032 * math/w_logf_compat.c: Likewise.
34033 * math/w_logl_compat.c: Likewise.
34034 * math/w_pow_compat.c: Likewise.
34035 * math/w_powf_compat.c: Likewise.
34036 * math/w_powl_compat.c: Likewise.
34037 * math/w_remainder_compat.c: Likewise.
34038 * math/w_remainderf_compat.c: Likewise.
34039 * math/w_remainderl_compat.c: Likewise.
34040 * math/w_sinh_compat.c: Likewise.
34041 * math/w_sinhf_compat.c: Likewise.
34042 * math/w_sinhl_compat.c: Likewise.
34043 * math/w_sqrt_compat.c: Likewise.
34044 * math/w_sqrtf_compat.c: Likewise.
34045 * math/w_sqrtl_compat.c: Likewise.
34046 * math/w_tgamma_compat.c: Likewise.
34047 * math/w_tgammaf_compat.c: Likewise.
34048 * math/w_tgammal_compat.c: Likewise.
34049 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34050 [LIBM_SVID_COMPAT].
34051 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34052 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34053 [LIBM_SVID_COMPAT].
34054 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34055 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34056 [LIBM_SVID_COMPAT].
34057 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34058 * sysdeps/i386/fpu/w_sqrt.c: New file.
34059 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34060 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34061 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34062 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34063 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34064 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34065 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34066 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34067 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34068 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34069 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34070 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34071 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34072 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34073 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34074 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34075 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34076 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34077 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34078 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34079 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34080 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34081 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34082 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34083 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34084 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34085 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34086 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34087 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34088 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34089 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34090 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34091 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34092 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34093 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34094 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34095 * sysdeps/ia64/fpu/w_log.c: Likewise.
34096 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34097 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34098 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34099 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34100 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34101 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34102 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34103 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34104 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34105 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34106 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34107 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34108 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34109 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34110 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34111 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34112 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34113 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34114 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34115 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34116 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34117 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34118 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34119 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34120 [LIBM_SVID_COMPAT].
34121 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34122 * sysdeps/ieee754/k_standard.c: Likewise.
34123 * sysdeps/ieee754/k_standardf.c: Likewise.
34124 * sysdeps/ieee754/k_standardl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34127 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34128 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34129 long_double_symbol call on [LIBM_SVID_COMPAT].
34130 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34131 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34132 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34133 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34134 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34135 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34136 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34137 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34138 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34139 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34140 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34141 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34142 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34143 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34144 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34145 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34146 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34147 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34148 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34149 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34150 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34151 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34153 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34155 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34156 * malloc/tst-mallocstate.c: Convert from test-skeleton
34157 to test-driver. Ifdef code using TEST_COMPAT macro.
34158 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34159 * math/test-matherr.c: Likewise.
34161 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34164 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34165 comparing word with byte-swapped constant.
34167 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34170 * locale/iso-639.def: add Miskito.
34171 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34172 * localedata/locales/miq_NI: New file.
34174 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34177 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34178 (__mkdir): Likewise.
34179 * io/chmod.c (__chmod): Add libc_hidden_def.
34180 * io/mkdir.c (__mkdir): Likewise.
34181 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34182 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34183 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34184 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34186 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34188 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34192 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34193 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34195 2017-09-04 Florian Weimer <fweimer@redhat.com>
34197 * math/math.h: Issue warning if log is defined.
34199 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34201 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34202 kernel version to 4.13.
34204 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34206 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34207 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34209 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34210 just <bits/types.h>.
34211 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34212 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34213 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34214 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34215 * misc/preadv2.c: Include <errno.h>.
34216 * misc/preadv64v2.c: Include <errno.h>.
34217 * misc/pwritev2.c: Include <errno.h>.
34218 * misc/pwritev64v2.c: Include <errno.h>.
34219 * sysdeps/posix/preadv2.c: Include <errno.h>.
34220 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34221 Fix <unistd.h> inclusion.
34222 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34223 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34224 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34225 __strtoul_internal): New functions.
34226 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34227 * sysdeps/posix/system.c: Include <sigsetops.h>.
34228 * sysdeps/mach/hurd/i386/Makefile
34229 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34230 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34231 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34232 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34233 __feraiseexcept_renamed to feraiseexcept instead of
34234 __GI_feraiseexcept.
34235 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34236 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34237 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34238 RWF_NOWAIT): Define to 0 if undefined already.
34239 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34241 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34242 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34244 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34246 * manual/math.texi (pow10): Do not document.
34247 (pow10f): Likewise.
34248 (pow10l): Likewise.
34249 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34250 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34251 * math/libm-test-exp10.inc (pow10_test): Remove.
34252 (do_test): Do not call pow10.
34253 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34254 [NO_LONG_DOUBLE] (pow10l): Likewise.
34255 * math/w_exp10f_compat.c (pow10f): Likewise.
34256 * math/w_exp10l_compat.c (pow10l): Likewise.
34257 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34258 (pow10): Make into compat symbol.
34259 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34260 (pow10f): Make into compat symbol.
34261 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34262 (pow10l): Make into compat symbol.
34263 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34265 (CFLAGS-nldbl-pow10.c): Remove variable..
34266 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34267 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34268 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34269 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34270 Undefine and redefine.
34271 (pow10l): Make into compat symbol.
34272 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34273 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34274 * sysdeps/arm/libm-test-ulps: Likewise.
34275 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34276 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34277 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34278 * sysdeps/microblaze/libm-test-ulps: Likewise.
34279 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34280 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34281 * sysdeps/nios2/libm-test-ulps: Likewise.
34282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34283 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34285 * sysdeps/sh/libm-test-ulps: Likewise.
34286 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34287 * sysdeps/tile/libm-test-ulps: Likewise.
34288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34290 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34292 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34294 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34296 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34297 "../ChangeLog.old/ChangeLog.8".
34298 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34299 "../ChangeLog.old/ChangeLog.14".
34301 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34303 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34306 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34308 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34310 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34312 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34313 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34315 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34317 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34318 32 atexit handlers.
34320 2017-09-01 Zack Weinberg <zackw@panix.com>
34322 * math/math.h (HUGE_VAL): Improve commentary.
34324 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34325 Andreas Schwab <schwab@suse.de>
34328 * include/stdio.h (__gen_tempfd): New function.
34329 * stdio-common/Makefile (routines): Add gentempfd.
34330 * stdio-common/gentempfd.c: New file.
34331 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34332 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34333 unnamed file first.
34335 2017-09-01 Florian Weimer <fweimer@redhat.com>
34339 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34340 result to determine success or failure, not the errno value.
34341 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34342 (tst-nss-files-hosts-erange): Link with -ldl.
34343 * nss/tst-nss-files-hosts-erange.c: New file.
34344 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34345 (do_test): Add NO_DATA tests.
34346 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34347 (do_test): Call it.
34349 2017-09-01 Florian Weimer <fweimer@redhat.com>
34352 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34353 coming from gethostbyname2_r.
34355 2017-09-01 Florian Weimer <fweimer@redhat.com>
34357 * support/namespace.h (struct support_chroot_configuration): Add
34359 (struct support_chroot): Add path_hosts, path_host_conf.
34360 * support/support_chroot.c (write_file): New function.
34361 (support_chroot_create): Call it to process /etc/resolv.conf,
34362 /etc/hosts, /etc/host.conf.
34363 (support_chroot_free): Update.
34365 2017-09-01 Florian Weimer <fweimer@redhat.com>
34367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34368 status indicates it is set.
34370 2017-09-01 Florian Weimer <fweimer@redhat.com>
34373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34374 function lookup failures more reliable.
34376 2017-09-01 Florian Weimer <fweimer@redhat.com>
34378 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34379 (getcanonname): Likewise.
34380 (gaih_inet): Likewise.
34382 2017-09-01 Florian Weimer <fweimer@redhat.com>
34384 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34385 (getcanonname): Likewise.
34386 (gaih_inet): Likewise.
34388 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34389 Richard Henderson <rth@twiddle.net>
34391 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34392 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34393 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34394 (IREG_SIZE, OREG_SIZE): New macros.
34395 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34396 (IREG_SIZE, OREG_SIZE): New macros.
34397 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34398 (IREG_SIZE): New macro.
34399 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34400 (IREG_SIZE): New macro.
34401 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34403 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34404 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34405 (__CONCATX): Handle exceptions correctly on large values that may
34407 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34408 Initialize if not already set.
34409 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34411 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34413 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34414 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34416 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34418 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34420 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34422 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34424 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34426 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34428 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34429 (NO_CANCELLATION): Likewise.
34430 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34432 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34434 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34437 (NO_CANCELLATION): Likewise.
34438 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34439 (NO_CANCELLATION): Likewise.
34440 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34442 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34444 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34446 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34448 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34450 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34451 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34453 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34455 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34458 2017-08-31 Florian Weimer <fweimer@redhat.com>
34460 * include/libc-symbols.h (internal_function): Remove.
34462 2017-08-31 Florian Weimer <fweimer@redhat.com>
34464 * stdlib/fmtmsg.c (internal_addseverity): Remove
34467 2017-08-31 Florian Weimer <fweimer@redhat.com>
34469 * stdio-common/printf_fp.c (group_number): Remove
34471 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34473 2017-08-31 Florian Weimer <fweimer@redhat.com>
34475 * posix/fnmatch.c (internal_function): Remove definition.
34476 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34477 * posix/regcomp.c (peek_token, init_word_char)
34478 (duplicate_node_closure, fetch_token, peek_token)
34479 (peek_token_bracket, build_range_exp, build_collating_symbol):
34481 * posix/regex_internal.c (re_string_construct_common)
34482 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34483 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34484 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34485 (re_string_translate_buffer, re_string_reconstruct)
34486 (re_string_peek_byte_case, re_string_fetch_byte_case)
34487 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34488 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34489 (re_node_set_add_intersect, re_node_set_init_union)
34490 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34491 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34492 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34493 (re_acquire_state_context): Likewise.
34494 * posix/regex_internal.h (internal_function): Remove definition.
34495 (re_string_realloc_buffers, build_wcs_buffer)
34496 (build_wcs_upper_buffer, build_upper_buffer)
34497 (re_string_translate_buffer, re_string_context_at)
34498 (re_string_char_size_at, re_string_wchar_at)
34499 (re_string_elem_size_at): Likewise.
34500 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34501 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34502 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34503 (re_search_internal, re_search_2_stub, re_search_stub)
34504 (re_copy_regs, prune_impossible_nodes, check_matching)
34505 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34506 (free_fail_stack_return, sift_states_iter_mb)
34507 (sift_states_backward, build_sifted_states)
34508 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34509 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34510 (check_subexp_limits, sift_states_bkref, merge_state_array)
34511 (find_recover_state, transit_state, merge_state_with_log)
34512 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34513 (transit_state_mb, transit_state_bkref, get_subexp)
34514 (get_subexp_sub, find_subexp_node, check_arrival)
34515 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34516 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34517 (check_node_accept_bytes, find_collation_sequence_value)
34518 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34519 (acquire_init_state_context, check_halt_node_context)
34520 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34521 (sub_epsilon_src_nodes): Likewise.
34522 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34523 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34524 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34525 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34526 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34527 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34528 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34529 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34530 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34531 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34532 (PREADV): Likewise.
34533 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34534 (PREADV): Likewise.
34535 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34536 (PWRITEV): Likewise.
34537 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34538 (PWRITEV): Likewise.
34539 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34540 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34542 2017-08-31 Florian Weimer <fweimer@redhat.com>
34544 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34545 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34546 Remove internal_function.
34547 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34548 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34549 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34550 (__deallocate_stack, __libc_pthread_init)
34551 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34552 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34553 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34555 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34556 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34557 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34559 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34560 (__pthread_mutex_unlock_usercnt): Likewise.
34562 2017-08-31 Florian Weimer <fweimer@redhat.com>
34564 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34565 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34566 (fts_safe_changedir): Remove internal_function.
34567 * io/ftw.c (internal_function): Remove definition.
34568 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34570 2017-08-31 Florian Weimer <fweimer@redhat.com>
34572 * inet/deadline.c (__deadline_current_time)
34573 (__deadline_from_timeval, __deadline_to_ms): Remove
34575 * inet/getnameinfo.c (nrl_domainname): Likewise.
34576 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34577 * inet/inet6_option.c (add_pad): Likewise.
34578 * inet/net-internal.h (__deadline_current_time)
34579 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34580 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34581 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34582 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34584 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34586 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34587 include <bits/nan.h>.
34588 * math/Makefile (headers): Remove bits/nan.h.
34589 * bits/nan.h: Remove.
34590 * sysdeps/ieee754/bits/nan.h: Likewise.
34591 * sysdeps/mips/bits/nan.h: Likewise.
34593 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34594 not include <bits/inf.h>.
34595 * math/Makefile (headers): Remove bits/inf.h.
34596 * bits/inf.h: Remove.
34597 * sysdeps/ieee754/bits/inf.h: Likewise.
34599 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34600 bits/huge_vall.h or bits/huge_val_flt128.h.
34601 (HUGE_VAL): Define directly here.
34602 [__USE_ISOC99] (HUGE_VALF): Likewise.
34603 [__USE_ISOC99] (HUGE_VALL): Likewise.
34604 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34605 (HUGE_VAL_F128): Likewise.
34606 * math/Makefile (headers): Remove bits/huge_val.h,
34607 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34608 * bits/huge_val.h: Remove.
34609 * bits/huge_val_flt128.h: Likewise.
34610 * bits/huge_valf.h: Likewise.
34611 * bits/huge_vall.h: Likewise.
34612 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34613 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34614 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34615 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34616 * sysdeps/sh/bits/huge_val.h: Likewise.
34617 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34618 * sysdeps/x86/bits/huge_vall.h: Likewise.
34620 2017-08-31 Florian Weimer <fweimer@redhat.com>
34622 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34624 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34626 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34627 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34628 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34629 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34630 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34632 * elf/dl-libc.c (dlerror_run): Likewise.
34633 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34634 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34635 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34636 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34638 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34639 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34640 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34641 * elf/dl-profile.c (_dl_start_profile): Likewise.
34642 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34643 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34645 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34646 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34647 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34648 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34649 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34650 (_dl_allocate_tls_storage): Likewise.
34651 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34652 (_dl_check_all_versions): Likewise.
34653 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34654 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34655 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34656 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34657 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34658 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34659 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34660 internal_function from __dl_start.
34661 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34662 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34663 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34664 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34665 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34666 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34667 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34668 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34669 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34670 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34671 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34672 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34673 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34674 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34675 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34677 (struct rtld_global_ro): Remove internal_function from the
34678 _dl_lookup_symbol_x member.
34679 (_dl_symbol_value): Remove. No longer defined anywhere.
34680 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34682 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34683 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34684 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34685 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34686 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34687 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34688 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34689 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34690 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34691 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34692 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34693 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34695 2017-08-31 Florian Weimer <fweimer@redhat.com>
34697 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34698 Remove internal_function.
34699 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34701 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34704 2017-08-31 Florian Weimer <fweimer@redhat.com>
34706 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34707 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34708 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34710 2017-08-31 Florian Weimer <fweimer@redhat.com>
34712 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34713 (__gai_enqueue_request): Remove internal_function.
34714 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34715 (__gai_remove_request, __gai_notify, __gai_notify_only)
34716 (__gai_sigqueue): Likewise.
34717 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34718 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34719 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34720 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34723 2017-08-31 Florian Weimer <fweimer@redhat.com>
34725 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34726 * include/dirent.h (__opendirat, __getdents, __getdents64)
34727 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34728 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34729 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34730 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34732 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34734 2017-08-31 Florian Weimer <fweimer@redhat.com>
34736 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34738 (GETCWD_RETURN_TYPE): Likewise.
34740 2017-08-31 Florian Weimer <fweimer@redhat.com>
34742 * include/time.h (__tz_compute, __strptime_internal): Remove
34744 * time/strptime_l.c (__strptime_internal): Likewise.
34745 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34747 2017-08-31 Florian Weimer <fweimer@redhat.com>
34749 * iconv/gconv.c (__gconv): Remove internal_function.
34750 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34751 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34752 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34753 (__gconv_release_cache): Likewise.
34754 * iconv/gconv_close.c (__gconv_close): Likewise.
34755 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34756 (read_conf_file, __gconv_get_path): Likewise.
34757 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34758 (__gconv_release_step, gen_steps, increment_counter)
34759 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34760 (__gconv_close_transform, free_modules_db): Likewise.
34761 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34763 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34764 (__gconv_find_transform, __gconv_lookup_cache)
34765 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34766 (__gconv_close_transform, __gconv_release_cache)
34767 (__gconv_loaded_object, __gconv_release_shlib)
34768 (__gconv_compare_alias): Likewise.
34769 * iconv/gconv_open.c (__gconv_open): Likewise.
34770 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34771 * iconv/iconvconfig.c (add_module): Likewise.
34772 * intl/dcigettext.c (plural_lookup, guess_category_value)
34773 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34774 * intl/eval-plural.h (plural_eval): Likewise.
34775 * intl/finddomain.c (_nl_find_domain): Likewise.
34776 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34777 (_nl_load_domain, _nl_find_msg): Likewise.
34778 (internal_function): Remove definition.
34779 * intl/loadinfo.h (internal_function): Likewise.
34780 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34782 * intl/localealias.c (internal_function): Remove definition.
34783 (read_alias_file): Remove internal_function.
34784 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34785 * intl/plural-exp.h (internal_function): Remove definition.
34786 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34788 * intl/plural.c: Regenerate.
34789 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34790 * locale/coll-lookup.c (__collidx_table_lookup)
34791 (__collseq_table_lookup): Likewise.
34792 * locale/coll-lookup.h (__collidx_table_lookup)
34793 (__collseq_table_lookup): Likewise.
34794 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34795 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34796 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34797 (_nl_unload_locale): Likewise.
34798 * locale/localeinfo.h (struct __locale_data): Remove
34799 internal_function from cleanup member.
34800 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34801 (_nl_remove_locale, _nl_load_locale_from_archive)
34802 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34803 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34804 (_nl_cleanup_time): Remove internal_function.
34805 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34806 (_nl_parse_alt_digit): Likewise.
34807 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34808 (_nl_select_era_entry): Likewise.
34809 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34810 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34811 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34812 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34813 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34815 2017-08-31 Florian Weimer <fweimer@redhat.com>
34817 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34818 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34819 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34820 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34822 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34823 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34824 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34825 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34827 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34829 2017-08-31 Florian Weimer <fweimer@redhat.com>
34831 * misc/getttyent.c (skip, value): Remove internal_function.
34832 * misc/syslog.c (openlog_internal): Likewise.
34833 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34835 2017-08-31 Florian Weimer <fweimer@redhat.com>
34837 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34838 (__nss_rewrite_field): Remove internal_function.
34839 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34840 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34841 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34842 * nss/nsswitch.c (nss_parse_file, nss_getline)
34843 (nss_parse_service_list, nss_new_service): Likewise.
34844 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34845 * nss/valid_field.c (__nss_valid_field): Likewise.
34846 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34848 2017-08-31 Florian Weimer <fweimer@redhat.com>
34850 * malloc/arena.c (__malloc_fork_lock_parent)
34851 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34852 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34853 internal_function from defintions.
34854 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34855 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34856 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34857 internal_function from declarations.
34858 * malloc/malloc.c (internal_function): Do not define.
34859 (mem2mem_check): Remove internal_function from declaration.
34860 (munmap_chunk, mremap_chunk): Remove internal_function.
34861 * malloc/mtrace.c (tr_where): Likewise.
34863 2017-08-31 Florian Weimer <fweimer@redhat.com>
34865 * include/rpc/pmap_clnt.h (__get_socket): Remove
34867 * sunrpc/auth_des.c (synchronize): Likewise.
34868 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34869 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34870 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34871 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34872 (key_call): Likewise.
34873 * sunrpc/pm_getport.c (__get_socket): Likewise.
34874 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34875 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34876 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34877 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34878 (invalidate): Likewise.
34879 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34880 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34881 (set_input_fragment, get_input_bytes): Likewise.
34883 2017-08-31 Florian Weimer <fweimer@redhat.com>
34885 * malloc/malloc.c (_int_free): Remove locked variable and related
34888 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
34891 * Makerules (build-module-helper-objlist): Filter out
34892 $(elf-objpfx)sofini.os.
34893 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
34896 2017-08-31 Florian Weimer <fweimer@redhat.com>
34898 * libio/fcloseall.c: Assume weak_alias is defined.
34899 * libio/feof.c: Likewise.
34900 * libio/fileno.c: Likewise.
34901 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
34902 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34904 (_IO_file_open): Call __open directly.
34905 (_IO_new_file_sync): Assume ESPIPE is defined.
34906 (_IO_file_seekoff_maybe_mmap): Call __read directly.
34907 (_IO_new_file_write): Call __write directly.
34908 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
34909 * libio/ftello64.c (__ftello64): Assume EIO is defined.
34910 * libio/genops.c: Assume _LIBC is defined.
34911 (save_for_backup): Remove internal_function.
34912 * libio/getc.c: Assume weak_alias is defined.
34913 * libio/getwc.c: Likewise.
34914 * libio/iofclose.c: Assume _LIBC is defined.
34915 * libio/iofdopen.c: Likewise.
34916 (_IO_fcntl): Remove macro definition.
34917 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
34918 Call __fcntl directly.
34919 * libio/iofflush.c: Assume weak_alias is defined.
34920 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
34922 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
34923 * libio/iofgets.c: Likewise.
34924 * libio/iofopen.c: Assume _LIBC is defined.
34925 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
34926 * libio/iofputs.c: Assume weak_alias is defined.
34927 * libio/iofread.c: Likewise.
34928 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
34929 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
34930 * libio/ioftell.c: Assume weak_alias is defined.
34931 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
34932 * libio/iofwide.c: Assume _LIBC is defined.
34933 (_IO_fwide): Drop SHARED conditional because it is implied by
34935 * libio/iofwrite.c: Assume weak_alias is defined.
34936 * libio/iogetdelim.c: Likewise.
34937 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
34938 * libio/iogetwline.c (wmemcpy): Remove macro definition.
34939 (_IO_getwline): Call __wmemcpy directly.
34940 * libio/iopopen.c: Assume _LIBC is defined.
34941 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34942 (_IO_close): Remove macro definitions.
34943 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
34945 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
34947 * libio/ioputs.c: Assume weak_alias is defined.
34948 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
34949 * libio/iosetbuffer.c: Assume weak_alias is defined.
34950 * libio/iosetvbuf.c: Likewise.
34951 * libio/ioungetc.c: Likewise.
34952 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
34953 libc_hidden_def, libc_hidden_weak, NULL are defined.
34954 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
34955 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
34957 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
34959 (_IO_old_file_init_internal): Drop SHARED conditional because it
34960 is implied by SHLIB_COMPAT.
34961 (_IO_old_file_fopen): Call __open directly.
34962 (_IO_old_file_sync): Assume ESPIPE is defined.
34963 (_IO_old_file_write): Call __write directly.
34964 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
34965 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
34966 Call __fcntl directly.
34967 * libio/oldiofgetpos.c: Assume weak_alias is defined.
34968 (_IO_old_fgetpos): Assume EIO is defined.
34969 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
34970 (_IO_old_fgetpos64): Assume EIO is defined.
34971 * libio/oldiofsetpos.c: Assume weak_alias is defined.
34972 (_IO_old_fsetpos): Assume EIO is defined.
34973 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
34974 (_IO_old_fsetpos64): Assume EIO is defined.
34975 * libio/oldiopopen.c: Assume _LIBC is defined.
34976 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
34977 (_IO_close): Remove macro definitions.
34978 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
34980 (_IO_old_proc_close): Call __close, __waitpid directly.
34981 * libio/put.c: Assume weak_alias is defined.
34982 * libio/stdfiles.c: Assume _LIBC is defined.
34983 * libio/stdio.c: Likewise.
34984 * libio/wfileops.c: Likewise.
34985 (_IO_wfile_sync): Assume ESPIPE is defined.
34986 * libio/wgenops.c: Assume _LIBC is defined.
34987 (save_for_wbackup): Remove internal_function.
34989 2017-08-31 Florian Weimer <fweimer@redhat.com>
34991 * malloc/malloc.c (top_check): Change return type to void. Remove
34993 * malloc/hooks.c (top_check): Likewise.
34994 (malloc_check, realloc_check, memalign_check): Adjust.
34996 2017-08-30 Joseph Myers <joseph@codesourcery.com>
34999 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35000 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35001 sigcontext and namespace requirements.
35002 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35003 * sysdeps/m68k/sys/ucontext.h: Likewise.
35004 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35005 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35006 <bits/sigcontext.h>.
35007 (__ctx): Define earlier.
35008 (mcontext_t): Define structure contents rather than using struct
35010 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35011 __glibc_reserved1 instead of __reserved.
35012 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35013 <bits/sigcontext.h>.
35014 (__ctx): Define earlier.
35015 (mcontext_t): Define structure contents rather than using struct
35017 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35018 mcontext_t instead of struct sigcontext.
35019 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35020 <bits/sigcontext.h>.
35021 (__ctx): Define earlier.
35022 (mcontext_t): Define structure contents rather than using struct
35024 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35025 <bits/sigcontext.h>.
35026 (__ctx): Define earlier.
35027 (mcontext_t): Define structure contents rather than using struct
35029 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35030 mcontext_t instead of struct sigcontext.
35031 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35032 mcontext_t instead of struct sigcontext.
35033 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35034 <bits/sigcontext.h>.
35035 (__ctx): New macro.
35036 (struct __ia64_fpreg_mcontext): New type.
35037 (mcontext_t): Define structure contents rather than using struct
35039 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35040 (uc_sigmask): Define using __ctx.
35041 (uc_stack): Likewise.
35042 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35043 <bits/sigcontext.h>.
35044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35045 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35046 <bits/sigcontext.h>.
35047 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35048 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35049 <bits/sigcontext.h>.
35050 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35051 <bits/sigcontext.h>.
35052 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35053 <bits/sigcontext.h>.
35054 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35055 <bits/sigcontext.h>.
35056 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35057 <bits/sigcontext.h>.
35058 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35059 <bits/sigcontext.h>.
35060 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35061 <bits/sigcontext.h>.
35062 (__ctx): Define earlier.
35063 (mcontext_t): Define structure contents rather than using struct
35065 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35066 <bits/sigcontext.h>. Include <bits/types.h>.
35067 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35068 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35069 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35070 (test-xfail-UNIX98/signal.h/conform): Likewise.
35071 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35072 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35073 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35074 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35075 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35076 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35077 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35078 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35079 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35081 2017-08-30 Florian Weimer <fweimer@redhat.com>
35083 * malloc/dynarray_emplace_enlarge.c
35084 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35085 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35086 * malloc/tst-dynarray.c (test_long_overflow): New function.
35087 (do_test): Call it.
35089 2017-08-30 Florian Weimer <fweimer@redhat.com>
35091 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35092 (set_arena_corrupt): Remove definitions.
35093 (mtrim): Do not check for corrupt arena.
35094 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35097 2017-08-30 Florian Weimer <fweimer@redhat.com>
35100 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35102 (ptmalloc_init): Do not set or use check_action.
35103 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35104 call to malloc_printerr. Remove return statement.
35105 (free_check): Likewise. Remove arena unlock.
35106 (top_check): Update comment. Adjust call to malloc_printerr.
35107 Remove heap repair code.
35108 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35109 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35110 (sysmalloc): Adjust call to malloc_printerr.
35111 (munmap_chunk, __libc_realloc): Likewise. Remove return
35113 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35114 Remove errout label and corresponding gotos.
35115 (_int_free): Likewise. Remove arena unlock.
35116 (do_set_mallopt_check): Do not set check_action.
35117 (malloc_printerr): Adjust parameter list. Do not mark arena as
35119 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35121 * manual/probes.texi (Memory Allocation Probes): Remove
35122 memory_mallopt_check_action.
35124 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35126 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35127 Use pointer to uint64_t instead of long int for sp.
35129 2017-08-30 Florian Weimer <fweimer@redhat.com>
35132 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35133 without printing a backtrace. Do not leak any information in the
35135 * manual/memory.texi (Heap Consistency Checking): Update.
35136 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35138 2017-08-30 Florian Weimer <fweimer@redhat.com>
35140 Do not scale NPTL tests with available number of CPUs.
35141 * nptl/tst-cond16.c (count): Set to constant value of 8.
35142 * nptl/tst-cond18.c (count): Likewise.
35144 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35147 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35148 Define to take a second argument that is a macro that
35149 concatentates a suffix, not the suffix itself.
35150 (__CONCAT_d): New macro.
35151 (__CONCAT_f): Likewise.
35152 (__CONCAT_l): Likewise.
35154 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35156 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35159 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35160 Aurelien Jarno <aurelien@aurel32.net>
35161 Maciej W. Rozycki <macro@imgtec.com>
35164 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35165 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35166 `mips16-syscall6' and `mips16-syscall7'.
35167 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35168 (CFLAGS-mips16-syscall7.c): Remove.
35169 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35170 Remove `__mips16_syscall5', `__mips16_syscall6' and
35171 `__mips16_syscall7'.
35172 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35173 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35174 `__mips_syscall_return'.
35175 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35176 (__mips16_syscall1): Likewise.
35177 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35178 (__mips16_syscall2): Likewise.
35179 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35180 (__mips16_syscall3): Likewise.
35181 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35182 (__mips16_syscall4): Likewise.
35183 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35185 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35187 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35189 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35190 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35191 `__mips16_syscall5'. Remove prototype.
35192 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35193 `__mips16_syscall6'. Remove prototype.
35194 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35195 `__mips16_syscall7'. Remove prototype.
35196 (__nomips16, __mips16_syscall_return): Move to...
35197 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35198 (__nomips16, __mips_syscall_return): ... here.
35199 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35200 `__mips16_syscall_return' to `__mips_syscall_return'.
35201 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35202 `internal_syscall##nr'.
35203 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35204 `internal_syscall##nr'.
35205 (FORCE_FRAME_POINTER): Remove.
35206 (__mips_syscall5): New prototype.
35207 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35208 (__mips_syscall6): New prototype.
35209 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35210 (__mips_syscall7): New prototype.
35211 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35212 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35213 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35214 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35215 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35216 (sysdep_routines): Add libc-do-syscall.
35217 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35218 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35220 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35223 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35224 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35225 (advise_stack_range): New function.
35226 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35227 stack non required to advise_stack_range at allocatestack.c
35229 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35231 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35233 2017-08-29 Florian Weimer <fweimer@redhat.com>
35236 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35237 __end_fct. Mangle __end_fct after setting it to NULL.
35238 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35239 (modules-names, modules-names-tests): Add
35240 tst-gconv-init-failure-mod.
35241 (gconv-modules): New target.
35242 (tst-gconv-init-failure-mod.so): Link against libsupport.
35243 (tst-gconv-init-failure): Depend on gconv-modules,
35244 tst-gconv-init-failure-mod.so.
35245 * iconv/tst-gconv-init-failure-mod.c: New file.
35246 * iconv/tst-gconv-init-failure.c: Likewise.
35247 * iconv/test-gconv-modules: Likewise.
35249 2017-08-29 Florian Weimer <fweimer@redhat.com>
35252 * iconv/gconv_db.c (free_derivation): Remove redundant
35254 (gen_steps): Unconditionally mangle __btowc_fct after
35256 (increment_counter): Likewise. Do not call init_fct for internal
35259 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35262 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35263 (_MSUF_): Remove macro.
35264 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35266 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35267 (__REDIRFROM_X): New macro.
35268 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35270 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35271 (__REDIRTO_X): Likewise.
35272 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35274 (__MATH_REDIRCALL_2): Likewise.
35275 (__MATH_REDIRCALL_INTERNAL): Likewise.
35276 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35277 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35278 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35279 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35280 * math/test-finite-macros.c: New file.
35281 * math/Makefile (tests): Add test-finite-macros.
35282 (CFLAGS-test-finite-macros.c): New variable.
35284 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35285 Jeff Law <law@redhat.com>
35288 Mangle NULL pointers in iconv/gconv.
35289 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35290 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35291 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35292 is non-NULL before demangling the end_fct. Check for NULL
35293 end_fct after demangling.
35294 (__gconv_release_step): Demangle the end_fct before checking
35295 it for NULL. Remove assert on __shlibc_handle != NULL.
35296 (gen_steps): Don't check btowc_fct for NULL before mangling.
35297 Demangle init_fct before checking for NULL.
35298 (increment_counter): Likewise.
35299 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35300 end_fct for NULL before mangling.
35301 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35304 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35307 * locale/iso-639.def: add Morisyen.
35309 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35312 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35313 (iszero): New C++ implementation that does not use
35314 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35315 signaling nans are enabled, since __builtin_types_compatible_p
35316 is a C-only feature.
35317 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35318 defined, include ieee754_float128.h for access to the union and
35319 member ieee854_float128.ieee.
35320 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35321 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35322 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35323 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35324 options of test-math-zero on powerpc64le.
35326 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35328 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35329 Change double to float.
35331 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35333 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35335 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35336 conditional code; define contents only for [LIBM_SVID_COMPAT].
35338 2017-08-28 Florian Weimer <fweimer@redhat.com>
35340 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35341 (abi-lp64_be-options): Remove.
35342 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35343 (abi-hard-options): Likewise.
35344 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35345 (abi-o32_hard-options, abi-o32_soft_2008-options)
35346 (abi-o32_hard_2008-options, abi-n32_soft-options)
35347 (abi-n32_hard-options, abi-n32_soft_2008-options)
35348 (abi-n32_hard_2008-options, abi-n64_soft-options)
35349 (abi-n64_hard-options, abi-n64_soft_2008-options)
35350 (abi-n64_hard_2008-options): Likewise.
35351 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35352 (abi-64-v1-options, abi-64-v2-options): Likewise.
35353 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35354 (abi-64-options): Likewise.
35355 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35356 (abi-64-options): Likewise.
35357 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35358 (abi-64-options): Likewise.
35359 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35360 (abi-64-options, abi-x32-options): Likewise.
35362 2017-08-28 Florian Weimer <fweimer@redhat.com>
35364 Store supported list of SYS_* system calls in the source tree.
35365 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35366 (bits/syscall.h): Generate from list file.
35367 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35368 [$(subdir) = misc] (tests): Add tst-syscall-list.
35369 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35370 [$(subdir) = misc] (tst-syscall-list-macros.list)
35371 [$(subdir) = misc] (tst-syscall-list-nr.list)
35372 (tst-syscall-list-sys.list): Helper targets for new
35373 tst-syscall-list test.
35374 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35375 tst-syscall-list.sh.
35376 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35377 target. Do not include bits/syscall.d.
35378 [$(subdir) = misc] (generated): Do not update.
35379 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35380 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35381 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35382 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35384 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35386 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35387 (tst-cxa_atexit, tst-on_exit): Likewise.
35388 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35389 tst-cxa_atexit, and tst-on_exit.
35390 * stdlib/tst-atexit-common.c: New file.
35391 * stdlib/tst-atexit.c: New file.
35392 * stdlib/tst-at_quick_exit.c: New file.
35393 * stdlib/tst-cxa_atexit.c: New file.
35394 * stdlib/tst-on_exit.c: New file.
35396 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35398 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35399 * mach/stack_chk_fail_local.c: New file.
35400 * hurd/stack_chk_fail_local.c: New file.
35401 * mach/Machrules ($(interface-library)-routines): Add
35402 stack_chk_fail_local.
35403 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35404 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35405 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35406 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35407 * hurd/Makefile (CFLAGS-hurdstartup.o,
35408 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35410 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35412 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35413 (index_cpu_*, index_arch_*): Removed.
35415 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35417 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35418 Use uint64_t instead of unsigned long.
35420 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35422 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35423 [__HAVE_DISTINCT_FLOAT128].
35425 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35426 of <bits/math-finite.h>.
35427 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35428 inclusion of <bits/math-finite.h>.
35429 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35430 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35431 __NO_LONG_DOUBLE_MATH].
35432 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35433 (__MATH_REDIRCALL_2): Likewise.
35434 (__MATH_REDIRCALL_INTERNAL): Likewise.
35435 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35436 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35437 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35451 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35452 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35453 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35454 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35456 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35457 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35458 w_sqrtf_compat-ppc32.
35460 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35462 * math/math.h [defined __cplusplus] (issignaling): In the long
35463 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35464 is not defined. Call __issignaling, otherwise.
35466 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35468 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35469 syscall definitions and replace __builtin_expect with __glibc_likely.
35470 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35472 (SYSCALL_CANCELLABLE): Removedefinition
35473 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35475 (PSEUDO_END): Likewise.
35476 [IS_IN (libpthread)] (CENABLE): Likewise.
35477 [IS_IN (libpthread)] (CDISABLE): Likewise.
35478 [IS_IN (libc)] (CENABLE): Likewise.
35479 [IS_IN (libc)] (CENABLE): Likewise.
35480 [IS_IN (librt)] (CDISABLE): Likewise.
35481 [IS_IN (librt)] (CDISABLE): Likewise.
35482 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35483 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35485 (PSEUDO_END): Likewise.
35486 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35487 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35488 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35489 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35490 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35491 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35492 (CENABLE): Likewise.
35493 (CDISABLE): Likewise.
35494 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35495 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35497 (PSEUDO_END): Likewise.
35498 [IS_IN (libpthread)] (CENABLE): Likewise.
35499 [IS_IN (libpthread)] (CDISABLE): Likewise.
35500 [IS_IN (libc)] (CENABLE): Likewise.
35501 [IS_IN (libc)] (CENABLE): Likewise.
35502 [IS_IN (librt)] (CDISABLE): Likewise.
35503 [IS_IN (librt)] (CDISABLE): Likewise.
35504 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35505 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35507 (PSEUDO_END): Likewise.
35508 [IS_IN (libpthread)] (CENABLE): Likewise.
35509 [IS_IN (libpthread)] (CDISABLE): Likewise.
35510 [IS_IN (libc)] (CENABLE): Likewise.
35511 [IS_IN (libc)] (CENABLE): Likewise.
35512 [IS_IN (librt)] (CDISABLE): Likewise.
35513 [IS_IN (librt)] (CDISABLE): Likewise.
35514 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35515 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35517 (PSEUDO_END): Likewise.
35518 [IS_IN (libpthread)] (CENABLE): Likewise.
35519 [IS_IN (libpthread)] (CDISABLE): Likewise.
35520 [IS_IN (libc)] (CENABLE): Likewise.
35521 [IS_IN (libc)] (CENABLE): Likewise.
35522 [IS_IN (librt)] (CDISABLE): Likewise.
35523 [IS_IN (librt)] (CDISABLE): Likewise.
35524 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35525 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35527 (PSEUDO_END): Likewise.
35528 [IS_IN (libpthread)] (CENABLE): Likewise.
35529 [IS_IN (libpthread)] (CDISABLE): Likewise.
35530 [IS_IN (libc)] (CENABLE): Likewise.
35531 [IS_IN (libc)] (CENABLE): Likewise.
35532 [IS_IN (librt)] (CDISABLE): Likewise.
35533 [IS_IN (librt)] (CDISABLE): Likewise.
35534 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35535 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35537 (PSEUDO_END): Likewise.
35538 [IS_IN (libpthread)] (CENABLE): Likewise.
35539 [IS_IN (libpthread)] (CDISABLE): Likewise.
35540 [IS_IN (libc)] (CENABLE): Likewise.
35541 [IS_IN (libc)] (CENABLE): Likewise.
35542 [IS_IN (librt)] (CDISABLE): Likewise.
35543 [IS_IN (librt)] (CDISABLE): Likewise.
35544 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35545 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35547 (PSEUDO_END): Likewise.
35548 [IS_IN (libpthread)] (CENABLE): Likewise.
35549 [IS_IN (libpthread)] (CDISABLE): Likewise.
35550 [IS_IN (libc)] (CENABLE): Likewise.
35551 [IS_IN (libc)] (CENABLE): Likewise.
35552 [IS_IN (librt)] (CDISABLE): Likewise.
35553 [IS_IN (librt)] (CDISABLE): Likewise.
35554 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35555 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35557 (PSEUDO_END): Likewise.
35558 [IS_IN (libpthread)] (CENABLE): Likewise.
35559 [IS_IN (libpthread)] (CDISABLE): Likewise.
35560 [IS_IN (libc)] (CENABLE): Likewise.
35561 [IS_IN (libc)] (CENABLE): Likewise.
35562 [IS_IN (librt)] (CDISABLE): Likewise.
35563 [IS_IN (librt)] (CDISABLE): Likewise.
35564 (SINGLE_THREAD_P): Likewise.
35565 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35567 (PSEUDO_END): Likewise.
35568 [IS_IN (libpthread)] (CENABLE): Likewise.
35569 [IS_IN (libpthread)] (CDISABLE): Likewise.
35570 [IS_IN (libc)] (CENABLE): Likewise.
35571 [IS_IN (libc)] (CENABLE): Likewise.
35572 [IS_IN (librt)] (CDISABLE): Likewise.
35573 [IS_IN (librt)] (CDISABLE): Likewise.
35574 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35575 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35577 (PSEUDO_END): Likewise.
35578 [IS_IN (libpthread)] (CENABLE): Likewise.
35579 [IS_IN (libpthread)] (CDISABLE): Likewise.
35580 [IS_IN (libc)] (CENABLE): Likewise.
35581 [IS_IN (libc)] (CENABLE): Likewise.
35582 [IS_IN (librt)] (CDISABLE): Likewise.
35583 [IS_IN (librt)] (CDISABLE): Likewise.
35584 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35585 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35586 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35587 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35590 (PSEUDO_END): Likewise.
35591 [IS_IN (libpthread)] (CENABLE): Likewise.
35592 [IS_IN (libpthread)] (CDISABLE): Likewise.
35593 [IS_IN (libc)] (CENABLE): Likewise.
35594 [IS_IN (libc)] (CENABLE): Likewise.
35595 [IS_IN (librt)] (CDISABLE): Likewise.
35596 [IS_IN (librt)] (CDISABLE): Likewise.
35597 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35600 (PSEUDO_END): Likewise.
35601 [IS_IN (libpthread)] (CENABLE): Likewise.
35602 [IS_IN (libpthread)] (CDISABLE): Likewise.
35603 [IS_IN (libc)] (CENABLE): Likewise.
35604 [IS_IN (libc)] (CENABLE): Likewise.
35605 [IS_IN (librt)] (CDISABLE): Likewise.
35606 [IS_IN (librt)] (CDISABLE): Likewise.
35607 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35608 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35610 (PSEUDO_END): Likewise.
35611 [IS_IN (libpthread)] (CENABLE): Likewise.
35612 [IS_IN (libpthread)] (CDISABLE): Likewise.
35613 [IS_IN (libc)] (CENABLE): Likewise.
35614 [IS_IN (libc)] (CENABLE): Likewise.
35615 [IS_IN (librt)] (CDISABLE): Likewise.
35616 [IS_IN (librt)] (CDISABLE): Likewise.
35617 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35620 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35621 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35623 (PSEUDO_END): Likewise.
35624 [IS_IN (libpthread)] (CENABLE): Likewise.
35625 [IS_IN (libpthread)] (CDISABLE): Likewise.
35626 [IS_IN (libc)] (CENABLE): Likewise.
35627 [IS_IN (libc)] (CENABLE): Likewise.
35628 [IS_IN (librt)] (CDISABLE): Likewise.
35629 [IS_IN (librt)] (CDISABLE): Likewise.
35630 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35631 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35633 (PSEUDO_END): Likewise.
35634 [IS_IN (libpthread)] (CENABLE): Likewise.
35635 [IS_IN (libpthread)] (CDISABLE): Likewise.
35636 [IS_IN (libc)] (CENABLE): Likewise.
35637 [IS_IN (libc)] (CENABLE): Likewise.
35638 [IS_IN (librt)] (CDISABLE): Likewise.
35639 [IS_IN (librt)] (CDISABLE): Likewise.
35640 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35642 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35644 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35646 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35648 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35650 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35653 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35654 middle and outer with size_t instead of int. Repleace %d and
35655 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35656 "MAX (outer, nchars - 64)" to support unsigned outer and
35657 nchars. Also exit loop when outer == 0.
35659 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35661 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35662 * include/signal.h (__sigsuspend_nocancel): Likewise.
35663 * include/time.h (__nanosleep_nocancel): Likewise.
35664 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35665 * login/utmp_file.c: Include non cancellable syscall header.
35666 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35669 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35671 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35672 .byte sequences with AVX512F instructions.
35673 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35674 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35675 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35676 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35678 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35681 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35682 Steve Ellcey <sellcey@cavium.com>
35684 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35685 Use PTR_REG macro in cmp instruction.
35687 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35689 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35690 Change the return type of the ifunc resolver to match the return
35691 type of the target function.
35693 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35695 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35696 (preadv64): Likewise.
35697 (pwrite64(: Likewise.
35698 (pwritev64): Likewise.
35700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35701 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35702 (LOAD_ARGS_0): Likewise.
35703 (LOAD_ARGS_1): Likewise.
35704 (LOAD_ARGS_2): Likewise.
35705 (LOAD_ARGS_3): Likewise.
35706 (LOAD_ARGS_4): Likewise.
35707 (LOAD_ARGS_5): Likewise.
35708 (LOAD_ARGS_6): Likewise.
35709 (LOAD_REGS_0): Likewise.
35710 (LOAD_REGS_1): Likewise.
35711 (LOAD_REGS_2): Likewise.
35712 (LOAD_REGS_3): Likewise.
35713 (LOAD_REGS_4): Likewise.
35714 (LOAD_REGS_5): Likewise.
35715 (LOAD_REGS_6): Likewise.
35716 (ASM_ARGS_0): Likewise.
35717 (ASM_ARGS_1): Likewise.
35718 (ASM_ARGS_2): Likewise.
35719 (ASM_ARGS_3): Likewise.
35720 (ASM_ARGS_4): Likewise.
35721 (ASM_ARGS_5): Likewise.
35722 (ASM_ARGS_6): Likewise.
35723 (LOAD_ARGS_TYPES_1): Likewise.
35724 (LOAD_ARGS_TYPES_2): Likewise.
35725 (LOAD_ARGS_TYPES_3): Likewise.
35726 (LOAD_ARGS_TYPES_4): Likewise.
35727 (LOAD_ARGS_TYPES_5): Likewise.
35728 (LOAD_ARGS_TYPES_6): Likewise.
35729 (LOAD_REGS_TYPES_1): Likewise.
35730 (LOAD_REGS_TYPES_2): Likewise.
35731 (LOAD_REGS_TYPES_3): Likewise.
35732 (LOAD_REGS_TYPES_4): Likewise.
35733 (LOAD_REGS_TYPES_5): Likewise.
35734 (LOAD_REGS_TYPES_6): Likewise.
35735 (TYPEFY): New define.
35736 (ARGIFY): Likewise.
35737 (internal_syscall0): Likewise.
35738 (internal_syscall1): Likewise.
35739 (internal_syscall2): Likewise.
35740 (internal_syscall3): Likewise.
35741 (internal_syscall4): Likewise.
35742 (internal_syscall5): Likewise.
35743 (internal_syscall6): Likewise.
35744 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35745 (INTERNAL_SYSCALL_NCS): Remove define.
35746 (internal_syscall1): Add define.
35748 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35750 * math/w_remainder_compat.c: Remove duplicate inclusion of
35751 math-svid-compat.h.
35752 * math/w_remainderf_compat.c: Likewise.
35753 * math/w_remainderl_compat.c: Likewise.
35755 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35759 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35762 * math/tgmath.h (__floating_type): Simplify definitions.
35763 (__real_integer_type): New macro.
35764 (__complex_integer_type): Likewise.
35765 (__expr_is_real): Likewise.
35766 (__tgmath_real_type_sub): Update comment to describe handling of
35768 (__tgmath_complex_type_sub): New macro.
35769 (__tgmath_complex_type): Likewise.
35770 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35771 (__TGMATH_CF128): Use __expr_is_real.
35772 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35774 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35775 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35776 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35779 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35781 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35783 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35785 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35788 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35789 nanosleep_not_cancel with __nanosleep_nocancel.
35790 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35791 (__nanosleep_nocancel): New macro.
35792 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35794 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35796 (__nanosleep_nocancel): New prototype.
35798 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35799 pause_not_cancel with __pause_nocancel.
35800 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35801 (__pause_nocancel): New macro.
35802 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35804 (__pause_nocancel): New prototype.
35805 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35807 2017-08-22 Martin Sebor <msebor@redhat.com>
35809 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35810 to return a pointer to the same type as the target function.
35812 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35816 * include/printf.h (__printf_fphex): Add attribute_hidden.
35817 (__guess_grouping): New prototype.
35818 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35819 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35820 libc_hidden_proto and libc_hidden_def.
35821 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35822 (__vstrfmon_l): Remove the third argument passed to
35825 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35827 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35828 definition for issignaling that does not rely on __MATH_TG,
35829 since __MATH_TG uses __builtin_types_compatible_p, which is only
35830 available in C mode.
35831 (CFLAGS-test-math-issignaling.cc): New variable.
35832 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35833 * math/test-math-issignaling.cc: New test for C++ implementation
35834 of type-generic issignaling.
35835 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35836 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35837 options of test-math-issignaling on powerpc64le.
35839 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35841 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35843 (hidden_proto): Likewise.
35844 (hidden_tls_proto): Likewise.
35845 (__hidden_proto): Likewise.
35847 2017-08-22 Florian Weimer <fweimer@redhat.com>
35849 math: Statically link tests of internal functionality.
35850 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35852 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35853 (gmp-objs): Remove assignment.
35854 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35856 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35859 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35861 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35863 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35866 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35867 variable definitions above inclusion of ../Rules.
35869 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35871 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35872 case calling __builtin_unreachable.
35874 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35876 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35877 __waitpid_nocancel.
35878 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35879 (__waitpid_nocancel): New macro.
35880 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
35882 (__waitpid_nocancel): Replace macro with a function.
35883 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
35886 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
35888 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
35889 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
35891 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
35892 __writev_nocancel_nostatus.
35893 (write_call_graph): Likewise.
35894 (write_bb_counts): Likewise.
35895 * resolv/herror.c (herror): Likewise.
35896 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
35898 (__writev_nocancel_nostatus): New macro.
35899 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
35901 (__writev_nocancel_nostatus): New function.
35903 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35906 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
35908 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35910 (hidden_proto): Likewise.
35911 (hidden_tls_proto): Likewise.
35912 (__hidden_proto): Likewise.
35915 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
35916 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
35917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
35919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
35921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
35923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
35925 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
35926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
35927 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
35928 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
35929 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
35930 GLIBC_2.0 sqrtl symbol.
35932 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
35933 [__USE_MISC] (_LIB_VERSION): Likewise.
35934 [__USE_MISC] (struct exception): Likewise.
35935 [__USE_MISC] (matherr): Likewise.
35936 [__USE_MISC] (DOMAIN): Likewise.
35937 [__USE_MISC] (SING): Likewise.
35938 [__USE_MISC] (OVERFLOW): Likewise.
35939 [__USE_MISC] (UNDERFLOW): Likewise.
35940 [__USE_MISC] (TLOSS): Likewise.
35941 [__USE_MISC] (PLOSS): Likewise.
35942 [__USE_MISC] (HUGE): Likewise.
35943 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
35944 * math/math-svid-compat.h: New file.
35945 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
35947 * include/math.h [!_ISOMAC] (__matherr): Remove.
35948 * manual/arith.texi (FP Exceptions): Do not document matherr.
35949 * math/Makefile (tests): Change test-matherr to test-matherr-3.
35950 (tests-internal): New variable.
35951 (install-lib): Do not add libieee.a.
35952 (non-lib.a): Likewise.
35953 (extra-objs): Do not add libieee.a and ieee-math.o.
35954 (CPPFLAGS-s_lib_version.c): Remove variable.
35955 ($(objpfx)libieee.a): Remove rule.
35956 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
35957 * math/ieee-math.c: Remove.
35958 * math/libm-test-support.c (matherr): Remove.
35959 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
35960 and license notices. Include <math-svid-compat.h> and
35962 (matherr): Undefine as macro. Use compat_symbol_reference.
35963 (_LIB_VERSION): Likewise.
35964 * math/test-matherr-2.c: New file.
35965 * math/test-matherr-3.c: Likewise.
35966 * sysdeps/generic/math_private.h (__kernel_standard): Remove
35968 (__kernel_standard_f): Likewise.
35969 (__kernel_standard_l): Likewise.
35970 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
35971 <math_private.h>. Include <math-svid-compat.h>.
35972 (_LIB_VERSION): Undefine as macro.
35973 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
35974 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
35975 [LIBM_SVID_COMPAT], use compat_symbol.
35976 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
35977 <math_private.h>. Include <math-svid-compat.h>.
35978 (matherr): Undefine as macro.
35979 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
35981 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
35982 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
35983 compat_symbol_reference.
35984 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
35985 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
35986 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
35987 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
35988 (MATHERR_D): Remove declaration.
35989 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
35990 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
35991 [LIBM_BUILD] (pmatherrf): Likewise.
35992 [LIBM_BUILD] (pmatherr): Likewise.
35993 [LIBM_BUILD] (pmatherrl): Likewise.
35994 (DOMAIN): Likewise.
35996 (OVERFLOW): Likewise.
35997 (UNDERFLOW): Likewise.
36000 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36001 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36003 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36004 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36006 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36007 * math/w_acos_compat.c: Likewise.
36008 * math/w_acosf_compat.c: Likewise.
36009 * math/w_acosh_compat.c: Likewise.
36010 * math/w_acoshf_compat.c: Likewise.
36011 * math/w_acoshl_compat.c: Likewise.
36012 * math/w_acosl_compat.c: Likewise.
36013 * math/w_asin_compat.c: Likewise.
36014 * math/w_asinf_compat.c: Likewise.
36015 * math/w_asinl_compat.c: Likewise.
36016 * math/w_atan2_compat.c: Likewise.
36017 * math/w_atan2f_compat.c: Likewise.
36018 * math/w_atan2l_compat.c: Likewise.
36019 * math/w_atanh_compat.c: Likewise.
36020 * math/w_atanhf_compat.c: Likewise.
36021 * math/w_atanhl_compat.c: Likewise.
36022 * math/w_cosh_compat.c: Likewise.
36023 * math/w_coshf_compat.c: Likewise.
36024 * math/w_coshl_compat.c: Likewise.
36025 * math/w_exp10_compat.c: Likewise.
36026 * math/w_exp10f_compat.c: Likewise.
36027 * math/w_exp10l_compat.c: Likewise.
36028 * math/w_exp2_compat.c: Likewise.
36029 * math/w_exp2f_compat.c: Likewise.
36030 * math/w_exp2l_compat.c: Likewise.
36031 * math/w_fmod_compat.c: Likewise.
36032 * math/w_fmodf_compat.c: Likewise.
36033 * math/w_fmodl_compat.c: Likewise.
36034 * math/w_hypot_compat.c: Likewise.
36035 * math/w_hypotf_compat.c: Likewise.
36036 * math/w_hypotl_compat.c: Likewise.
36037 * math/w_j0_compat.c: Likewise.
36038 * math/w_j0f_compat.c: Likewise.
36039 * math/w_j0l_compat.c: Likewise.
36040 * math/w_j1_compat.c: Likewise.
36041 * math/w_j1f_compat.c: Likewise.
36042 * math/w_j1l_compat.c: Likewise.
36043 * math/w_jn_compat.c: Likewise.
36044 * math/w_jnf_compat.c: Likewise.
36045 * math/w_jnl_compat.c: Likewise.
36046 * math/w_lgamma_main.c: Likewise.
36047 * math/w_lgamma_r_compat.c: Likewise.
36048 * math/w_lgammaf_main.c: Likewise.
36049 * math/w_lgammaf_r_compat.c: Likewise.
36050 * math/w_lgammal_main.c: Likewise.
36051 * math/w_lgammal_r_compat.c: Likewise.
36052 * math/w_log10_compat.c: Likewise.
36053 * math/w_log10f_compat.c: Likewise.
36054 * math/w_log10l_compat.c: Likewise.
36055 * math/w_log2_compat.c: Likewise.
36056 * math/w_log2f_compat.c: Likewise.
36057 * math/w_log2l_compat.c: Likewise.
36058 * math/w_log_compat.c: Likewise.
36059 * math/w_logf_compat.c: Likewise.
36060 * math/w_logl_compat.c: Likewise.
36061 * math/w_pow_compat.c: Likewise.
36062 * math/w_powf_compat.c: Likewise.
36063 * math/w_powl_compat.c: Likewise.
36064 * math/w_remainder_compat.c: Likewise.
36065 * math/w_remainderf_compat.c: Likewise.
36066 * math/w_remainderl_compat.c: Likewise.
36067 * math/w_scalb_compat.c: Likewise.
36068 * math/w_scalbf_compat.c: Likewise.
36069 * math/w_scalbl_compat.c: Likewise.
36070 * math/w_sinh_compat.c: Likewise.
36071 * math/w_sinhf_compat.c: Likewise.
36072 * math/w_sinhl_compat.c: Likewise.
36073 * math/w_sqrt_compat.c: Likewise.
36074 * math/w_sqrtf_compat.c: Likewise.
36075 * math/w_sqrtl_compat.c: Likewise.
36076 * math/w_tgamma_compat.c: Likewise.
36077 * math/w_tgammaf_compat.c: Likewise.
36078 * math/w_tgammal_compat.c: Likewise.
36079 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36080 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36081 * sysdeps/ieee754/k_standard.c: Likewise.
36082 * sysdeps/ieee754/k_standardf.c: Likewise.
36083 * sysdeps/ieee754/k_standardl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36086 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36087 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36088 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36089 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36090 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36091 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36092 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36097 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36098 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36099 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36100 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36102 2017-08-21 Florian Weimer <fweimer@redhat.com>
36105 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36106 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36107 Move before inclusion of ../Rules.
36109 2017-08-21 Florian Weimer <fweimer@redhat.com>
36112 * assert/assert.h (assert): Use static_cast (bool) for C++.
36113 Use the ternary operator in the warning branch for GNU C.
36114 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36115 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36116 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36117 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36118 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36120 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36123 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36124 (__syscall_clock_gettime): Add attribute_hidden.
36125 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36126 (__start_context): Likewise.
36128 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36130 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36132 (hidden_proto): Likewise.
36133 (hidden_tls_proto): Likewise.
36134 (__hidden_proto): Likewise.
36136 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36138 * include/libc-symbols.h (attribute_hidden): Enable hidden
36139 visibility in libc.a compiled with PIE.
36141 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36144 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36145 Add attribute_hidden.
36147 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36150 * Makerules (all-nonlib): Add $(others-extras).
36151 * catgets/Makefile (others-extras): New.
36152 * elf/Makefile (others-extras): Likewise.
36153 * nss/Makefile (others-extras): Likewise.
36155 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36158 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36159 * elf/dl-open.c: Include <libc-internal.h>.
36160 (__libc_multiple_libcs): Removed.
36161 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36163 * include/libc-internal.h (__libc_multiple_libcs): New.
36164 * misc/sbrk.c: Include <libc-internal.h>.
36165 (__libc_multiple_libcs): Removed.
36167 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36170 * grp/initgroups.c (__nss_group_database): Removed.
36171 (__nss_initgroups_database): Likewise.
36172 * nscd/gai.c (__nss_hosts_database): Likewise.
36173 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36174 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36175 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36176 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36177 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36178 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36180 * nss/nsswitch.c (__nss_database_custom): Define only if
36181 USE_NSCD is defined.
36182 (__nss_configure_lookup): Use __nss_database_custom only if
36183 USE_NSCD is defined.
36184 * nss/nsswitch.h (__nss_database_custom): Declare only if
36185 USE_NSCD is defined. Add attribute_hidden.
36186 (__nss_setent): Add attribute_hidden.
36187 (__nss_endent): Likewise.
36188 (__nss_getent_r): Likewise.
36189 (__nss_getent): Likewise.
36190 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36192 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36195 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36196 libc_hidden_proto and libc_hidden_def.
36198 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36201 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36202 Add libc_hidden_proto.
36203 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36204 Add libc_hidden_def.
36206 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36209 * gmon/Makefile (routines): Remove bb_init_func and
36211 (elide-routines.os): Removed.
36212 * gmon/bb_exit_func.c: Likewise.
36213 * gmon/bb_init_func.c: Likewise.
36214 * include/sys/gmon.h (__bb): Likewise.
36215 (__bb_init_func): Likewise.
36216 (__bb_exit_func): Likewise.
36217 * sysdeps/alpha/bb_init_func.S: Likewise.
36219 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36221 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36222 * include/setjmp.h (____longjmp_chk): Here. Add
36225 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36228 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36230 (__strspn_sse2): Likewise.
36232 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36234 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36235 (close_not_cancel_no_status): Likewise.
36236 (__close_nocancel): New macro.
36237 (__close_nocancel_nostatus): Likewise.
36238 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36240 (close_not_cancel): Likewise.
36241 (close_not_cancel_no_status): Likewise.
36242 (__close_nocancel): New prototype.
36243 (__close_nocancel_nostatus): New function.
36244 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36245 * catgets/open_catalog.c (__open_catalog): Replace
36246 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36247 * gmon/gmon.c (write_gmon): Likewise.
36248 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36249 * intl/loadmsgcat.c (close): Likewise.
36250 * io/ftw.c (open_dir_stream): Likewise.
36251 (ftw_startup): Likewise.
36252 * libio/fileops.c (_IO_file_open): Likewise.
36253 (_IO_file_close_mmap): Likewise.
36254 (_IO_file_close): Likewise.
36255 * libio/iopopen.c (_IO_dup2): Likewise.
36256 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36257 * locale/loadlocale.c (_nl_load_locale): Likewise.
36258 * login/utmp_file.c (pututline_file): Likewise.
36259 (endutent_file): Likewise.
36260 * misc/daemon.c (daemon): Likewise.
36261 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36262 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36263 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36264 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36265 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36266 * nscd/nscd_helper.c (open_socket): Likewise.
36267 (__nscd_open_socket): Likewise.
36268 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36269 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36270 (__nscd_innetgr): Likewise.
36271 * nss/nss_db/db-open.c (internal_setent): Likewise.
36272 * resolv/res-close.c (__res_iclose): Likewise.
36273 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36274 * sysdeps/posix/closedir.c (__closedir): Likewise.
36275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36276 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36277 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36278 (opendir_tail): Likewise.
36279 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36280 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36281 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36282 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36283 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36284 (gethostid): Likewise.
36285 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36286 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36289 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36290 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36291 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36293 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36294 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36295 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36297 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36298 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36300 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36302 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36303 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36304 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36307 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36308 (openat_not_cancel_3): Likewise.
36309 (openat64_not_cancel_3): Likewise).
36310 (openat_not_cancel_3): Likewise).
36311 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36313 (openat_not_cancel_3): Likewise.
36314 (openat64_not_cancel): Likewise.
36315 (openat64_not_cancel_3): Likewise.
36316 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36317 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36318 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36319 __open{64}_nocancel.
36320 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36321 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36322 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36324 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36327 * include/argz.h (__argz_create_sep): New function prototype.
36328 (__argz_append): Likewise.
36329 (__argz_add): Likewise.
36330 (__argz_add_sep): Likewise.
36331 (__argz_delete): Likewise.
36332 (__argz_insert): Likewise.
36333 (__argz_replace): Likewise.
36334 * string/argz.h (__argz_create_sep): Removed.
36335 (__argz_append): Likewise.
36336 (__argz_add): Likewise.
36337 (__argz_add_sep): Likewise.
36338 (__argz_delete): Likewise.
36339 (__argz_insert): Likewise.
36340 (__argz_replace): Likewise.
36342 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36344 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36345 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36346 (GNU_PROPERTY_STACK_SIZE): Likewie.
36347 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36348 (GNU_PROPERTY_LOPROC): Likewise.
36349 (GNU_PROPERTY_HIPROC): Likewise.
36350 (GNU_PROPERTY_LOUSER): Likewise.
36351 (GNU_PROPERTY_HIUSER): Likewise.
36352 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36353 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36354 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36355 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36356 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36357 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36358 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36359 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36360 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36361 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36362 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36363 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36364 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36365 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36366 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36367 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36368 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36369 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36370 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36371 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36372 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36373 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36374 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36376 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36378 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36381 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36384 * math/math.h (isinf): Check if in C or C++ mode before using
36385 __builtin_types_compatible_p, since this is a C mode feature.
36387 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36389 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36390 (__write_nocancel): New macro.
36391 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36392 Rewrite as a function prototype.
36393 (write_not_cancel): Remove macro.
36394 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36395 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36396 (write_gmon): Likewise.
36397 * libio/fileops.c (_IO_new_file_write): Likewise.
36398 * login/utmp_file.c (pututline_file): Likewise.
36399 (updwtmp_file): Likewise.
36400 * stdio-common/psiginfo.c (psiginfo): Likewise.
36401 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36402 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36403 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36405 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36408 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36409 (__read_nocancel): New macro.
36410 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36412 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36414 (__read_nocancel): New prototype.
36415 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36416 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36417 with __read_nocancel.
36418 * intl/loadmsgcat.c (read): Likewise.
36419 * libio/fileops.c (_IO_file_read): Likewise.
36420 * locale/loadlocale.c (_nl_load_locale): Likewise.
36421 * login/utmp_file.c (getutent_r_file): Likewise.
36422 (internal_getut_r): Likewise.
36423 (getutline_r_file): Likewise.
36424 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36425 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36426 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36427 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36429 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36430 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36431 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36433 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36435 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36437 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36439 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36441 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36444 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36445 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36448 2017-08-17 DJ Delorie <dj@redhat.com>
36450 * bug17079.c: Update to new test harness.
36451 * test-digits-dots.c: Likewise.
36452 * test-netdb.c: Likewise.
36453 * tst-field.c: Likewise.
36454 * tst-nss-getpwent.c: Likewise.
36455 * tst-nss-static.c: Likewise.
36456 * tst-nss-test1.c: Likewise.
36457 * tst-nss-test2.c: Likewise.
36458 * tst-nss-test3.c: Likewise.
36459 * tst-nss-test4.c: Likewise.
36460 * tst-nss-test5.c: Likewise.
36462 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36464 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36465 (open_not_cancel_2): Likewise.
36466 (open_nocancel): New macro.
36467 (open64_nocancel): Likewise.
36468 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36469 (open_not_cancel_2): Likewise.
36470 (__open_nocancel): New prototype.
36471 (__open64_nocancel): Likewise.
36472 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36474 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36475 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36476 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36477 with __open_nocancel.
36478 * csu/check_fds.c (check_one_fd): Likewise.
36479 * gmon/gmon.c (write_gmon): Likewise.
36480 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36481 * intl/loadmsgcat.c (open): Likewise.
36482 * libio/fileops.c (_IO_file_open): Likewise.
36483 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36484 * locale/loadlocale.c (_nl_load_locale): Likewise.
36485 * login/utmp_file.c (setutent_file): Likewise.
36486 * misc/daemon.c (daemon): Likewise.
36487 * nss/nss_db/db-open.c (internal_setent): Likewise.
36488 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36489 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36490 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36491 (__opendir): Likewise.
36492 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36493 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36494 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36495 (gethostid): Likewise.
36496 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36497 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36500 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36501 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36502 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36504 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36506 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36508 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36510 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36512 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36514 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36515 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36517 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36519 * benchtests/bench-skeleton.c (main): Add support for
36520 latency benchmarking.
36521 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36523 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36525 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36526 the startup object.
36528 2017-08-17 Florian Weimer <fweimer@redhat.com>
36530 * include/sys/socket.h (__opensock): Remove internal_function.
36531 * socket/opensock.c (__opensock): Likewise.
36532 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36534 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36537 * signal/bits/types/__sigval_t.h: New file.
36538 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36539 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36540 and define sigval_t using __sigval_t.
36541 * include/bits/types/__sigval_t.h: New file.
36542 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36543 instead of <bits/types/__sigval_t.h>.
36544 (struct sigevent): Use __sigval_t instead of sigval_t.
36545 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36546 instead of <bits/types/__sigval_t.h>.
36547 (siginfo_t): Use __sigval_t instead of sigval_t.
36548 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36549 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36550 (struct sigevent): Use __sigval_t instead of sigval_t.
36551 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36552 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36553 (siginfo_t): Use __sigval_t instead of sigval_t.
36554 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36556 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36558 * NEWS: Remove "[Add new features here]" for 2.27.
36560 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36562 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36565 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36567 * NEWS: Mention x86-64 FMA optimization.
36569 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36572 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36574 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36575 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36576 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36578 2017-08-16 Andreas Schwab <schwab@suse.de>
36582 * elf/ldd.bash.in: Never run file directly.
36584 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36587 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36588 (L(SP_INF_0)): Likewise.
36590 2017-08-15 Florian Weimer <fweimer@redhat.com>
36592 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36595 2017-08-15 Florian Weimer <fweimer@redhat.com>
36597 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36598 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36599 BROKEN_THREAD_SIGNALS code.
36600 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36601 request_list): Remove caller_pid member used for
36602 BROKEN_THREAD_SIGNALS.
36603 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36604 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36605 Remove BROKEN_THREAD_SIGNALS support.
36606 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36607 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36609 2017-08-15 Florian Weimer <fweimer@redhat.com>
36611 * gmon/Makefile (tests): Add tst-gmon.
36612 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36614 (tests-special): Add tst-gmon-prof.out.
36615 (tst-gmon.out): Depend on clean-tst-gmon-data.
36616 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36617 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36618 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36620 * aclocal.m4 (GPROF): Set and substitute.
36621 * config.amke.in (GPROF): Set.
36622 * configure: Regenerate.
36624 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36626 * elf/elf.h A (NT_PPC_TAR): New macro.
36627 (NT_PPC_PPR): Likewise.
36628 (NT_PPC_DSCR): Likewise.
36629 (NT_PPC_EBB): Likewise.
36630 (NT_PPC_PMU): Likewise.
36631 (NT_PPC_TM_CGPR): Likewise.
36632 (NT_PPC_TM_CFPR): Likewise.
36633 (NT_PPC_TM_CVMX): Likewise.
36634 (NT_PPC_TM_CVSX): Likewise.
36635 (NT_PPC_TM_SPR): Likewise.
36636 (NT_PPC_TM_CTAR): Likewise.
36637 (NT_PPC_TM_CPPR): Likewise.
36638 (NT_PPC_TM_CDSCR): Likewise.
36640 2017-08-15 Florian Weimer <fweimer@redhat.com>
36642 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36643 regparm (2) instead of internal_function.
36644 (_MCOUNT_DECL): Adjust.
36646 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36648 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36649 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36651 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36653 * conform/data/sys/wait.h-data (si_value): Do not expect for
36656 2017-08-14 Florian Weimer <fweimer@redhat.com>
36659 NSS: Create stubs for accidentally exported lookup functions.
36660 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36661 Remove declaration.
36662 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36663 (ether_hostton): Call __nss_ethers_lookup2 instead.
36664 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36665 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36666 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36667 (setup): Call __nss_netgroup_lookup2 instead.
36668 * nss/Makefile (routines): Add compat-lookup.
36669 * nss/Versions (GLIBC_2.27): Add symbol version.
36670 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36671 (DB_COMPAT_FCT): Remove.
36672 * nss/compat-lookup.c: New file.
36673 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36674 from databases.def.
36675 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36676 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36677 (netname2user): Call __nss_publickey_lookup2 instead.
36678 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36679 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36682 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36683 Sergei Trofimovich <slyfox@inbox.ru>
36686 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36687 Rename to MMAP2_PAGE_UNIT.
36688 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36689 __OFF_T_MATCHES_OFF64_T is not defined.
36690 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36692 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36693 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36695 2017-08-14 Florian Weimer <fweimer@redhat.com>
36697 i386: Do not set internal_function.
36698 * config.h.in (USE_REGPARMS, internal_function): Remove.
36699 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36700 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36702 2017-08-14 Florian Weimer <fweimer@redhat.com>
36704 * elf/dl-init.c (_dl_init): Remove internal_function.
36705 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36706 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36708 2017-08-14 Florian Weimer <fweimer@redhat.com>
36710 * elf/rtld.c (_dl_start): Remove internal_function.
36711 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36714 2017-08-14 Florian Weimer <fweimer@redhat.com>
36716 * elf/dl-fini.c (_dl_fini): Remove internal_function
36717 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36719 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36721 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36722 (bit_cpu_SHSTK): Likewise.
36723 (index_cpu_IBT): Likewise.
36724 (index_cpu_SHSTK): Likewise.
36725 (reg_IBT): Likewise.
36726 (reg_SHSTK): Likewise.
36727 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36728 Handle index_cpu_IBT and index_cpu_SHSTK.
36730 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36733 * po/fr.po: Fix spelling mistake.
36735 2017-08-13 Florian Weimer <fweimer@redhat.com>
36737 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36738 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36739 (_dl_catch_error, _dl_receive_error): Likewise.
36740 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36741 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36742 (_dl_deallocate_tls): Likewise.
36743 * include/dlfcn.h (_dl_addr): Likewise.
36744 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36745 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36746 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36749 2017-08-13 Florian Weimer <fweimer@redhat.com>
36751 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36752 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36754 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36756 2017-08-13 Florian Weimer <fweimer@redhat.com>
36758 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36760 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36761 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36762 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36763 internal_function from _dl_make_stack_executable_hook member.
36764 (_dl_make_stack_executable): Remove internal_function.
36765 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36767 * sysdeps/unix/sysv/linux/dl-execstack.c
36768 (_dl_make_stack_executable): Likewise.
36770 2017-08-13 Florian Weimer <fweimer@redhat.com>
36772 * sysdeps/unix/sysv/linux/netlinkaccess.h
36773 (__netlink_assert_response): Remove internal_function.
36774 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36775 (__netlink_assert_response): Likewise.
36777 2017-08-13 Florian Weimer <fweimer@redhat.com>
36779 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36781 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36783 2017-08-13 Florian Weimer <fweimer@redhat.com>
36785 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36787 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36788 * inet/netgroup.h (__internal_setnetgrent)
36789 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36790 * inet/getnetgrent_r.c (__internal_setnetgrent)
36791 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36792 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36793 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36794 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36795 * nss/nsswitch.h (db_lookup_function): Likewise.
36797 2017-08-13 Florian Weimer <fweimer@redhat.com>
36799 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36800 Remove internal_function.
36801 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36802 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36803 message argument on the stack.
36804 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36807 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36809 Adapt test case data to the changes in the thousands
36813 * localedata/tst-langinfo.sh: Adapt test case data.
36814 * stdlib/tst-strfmon_l.c: Likewise.
36815 * stdlib/tst-strtod4.c: Likewise.
36816 * stdlib/tst-strtod5i.c: Likewise.
36818 2017-08-11 Florian Weimer <fweimer@redhat.com>
36821 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36822 Suppress pedantic warning resulting from statement expression.
36823 (__ASSERT_FUNCTION): Add missing __extension__.
36825 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36827 * benchtests/bench-memmove-large.c: Print output in JSON
36829 * benchtests/bench-memmove.c: Likewise.
36831 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36832 * benchtests/bench-memchr.c (do_one_test): Likewise.
36833 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36834 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36835 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36836 * benchtests/bench-memmove.c (do_one_test): Likewise.
36837 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36838 * benchtests/bench-memset.c (do_one_test): Likewise.
36839 * benchtests/bench-string.h (test_init): Remove memsets.
36841 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36844 (Computing the Width of an Integer Data Type): Rename section to
36845 "Width of an Integer Type". Remove inaccurate statement regarding
36846 lack of C language facilities for determining width of integer
36847 types, and reorder content to improve flow and context of
36850 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36852 * lang.texi (va_copy): Change standard from ISO to C99.
36853 (__va_copy): Add standard and header annotation.
36854 Update description for clarity of origins and current use.
36856 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36859 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36860 xssqrtqp requires operands to be in Vector Registers
36861 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36862 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36863 (__ieee754_sqrtf128): Likewise.
36865 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36867 * sysdeps/aarch64/memcmp.S (memcmp):
36868 Rewrite of optimized memcmp.
36870 2017-08-10 Florian Weimer <fweimer@redhat.com>
36872 Introduce ld.so exceptions.
36873 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36874 (_dl_exception_create, _dl_exception_create_format)
36875 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36876 (_dl_catch_exception): Declare.
36877 (_dl_catch_error): Update comment.
36878 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36879 errstring, malloced members with exception member.
36880 (_dl_out_of_memory): Remove.
36881 (fatal_error): New function, extracted from _dl_signal_error.
36882 (_dl_signal_exception, _dl_signal_cexception): New functions.
36883 (_dl_signal_error): Call _dl_exception_create to allocate an
36885 (_dl_catch_exception): New function, based on _dl_catch_error.
36886 (_dl_catch_error): Implement using _dl_catch_exception.
36887 * elf/dl-exception.c: New file.
36888 * elf/Makefile (dl-routines): Add dl-exception.
36889 (elide-routines.os): Likewise.
36890 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
36891 _dl_exception_create_format, _dl_exception_free.
36892 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
36893 _dl_signal_exception.
36894 * elf/dl-lookup.c (make_string): Remove.
36895 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
36896 _dl_signal_cexception, _dl_exception_free.
36897 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
36898 _dl_signal_exception.
36899 * elf/dl-sym.c (do_sym): Likewise.
36900 * elf/dl-version.c (make_string): Remove.
36901 (match_symbol): Use _dl_exception_create_format,
36902 _dl_signal_cexception, _dl_exception_free.
36903 (_dl_check_map_versions): Likewise.
36904 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
36905 _dl_catch_exception.
36906 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
36907 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
36908 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
36909 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
36910 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
36911 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
36912 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
36913 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
36915 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
36916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
36918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
36920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
36922 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
36923 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
36924 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
36926 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
36928 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
36930 2017-08-10 Florian Weimer <fweimer@redhat.com>
36932 * inet/net-internal.h (__inet6_scopeid_pton): Remove
36933 attribute_hidden, internal_function.
36934 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
36937 2017-08-10 Florian Weimer <fweimer@redhat.com>
36939 * malloc/malloc.c (get_max_fast): Reimplement as an inline
36940 function which calls __builtin_unreachable.
36942 2017-08-10 Mike FABIAN <mfabian@redhat.com>
36944 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
36945 Indian monetary formatting
36946 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
36949 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
36951 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
36952 Fix typo in comment.
36955 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
36956 PTRACE_SEIZE_DEVEL): Remove.
36957 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
36958 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36959 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36961 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36963 2017-08-09 Joseph Myers <joseph@codesourcery.com>
36965 * posix/bits/types.h (__qaddr_t): Remove.
36968 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
36969 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36971 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
36972 (ucontext_t): Use __ctx with uc_flags.
36973 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
36974 (__ctxt): Likewise.
36975 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36977 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
36978 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36980 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
36981 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36983 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
36985 (ucontext_t): Use __ctx with uc_flags.
36986 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
36987 (ucontext_t): Use __ctx with uc_flags.
36988 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
36989 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
36990 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
36991 (ucontext_t): Use __ctx with uc_flags.
36992 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
36993 undefine further down.
36994 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
36996 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
36997 undefine further down.
36998 (ucontext_t): Use __ctx with uc_flags.
36999 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37000 undefine further down.
37001 (ucontext_t): Use __ctx with uc_flags.
37002 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37003 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37004 Rename uc_pad to __glibc_reserved1.
37005 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37006 undefine further down.
37007 (ucontext_t): Use __ctx with uc_flags.
37008 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37010 (ucontext_t): Use __ctx with uc_flags.
37011 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37012 __ctx with uc_flags.
37013 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37014 (ucontext_t): Use __ctx with uc_flags.
37015 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37016 __ctx with uc_flags.
37018 2017-08-09 Florian Weimer <fweimer@redhat.com>
37021 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37022 before early return.
37024 2017-08-09 Andreas Schwab <schwab@suse.de>
37027 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37031 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37032 tst-compat-forwarder.
37033 (modules-names): Add tst-compat-forwarder-mod.
37034 ($(objpfx)tst-compat-forwarder): Depend on
37035 $(objpfx)tst-compat-forwarder-mod.so.
37036 * nptl/tst-compat-forwarder.c: New file.
37037 * nptl/tst-compat-forwarder-mod.c: New file.
37039 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37041 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37044 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37045 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37047 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37049 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37050 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37051 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37052 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37054 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37057 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37060 * manual/setjmp.texi (getcontex): Document uc_stack value
37061 compatibility differences.
37063 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37065 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37066 (old_malloc_hook): Likewise.
37067 (old_memalign_hook): Likewise.
37068 (old_realloc_hook): Likewise.
37069 (struct hdr): Likewise.
37071 (freehook): Likewise.
37072 (mallochook): Likewise.
37073 (memalignhook): Likewise.
37074 (reallochook): Likewise.
37075 (mprobe): Likewise.
37076 * malloc/mtrace.c (mallwatch): Likewise.
37077 (tr_old_free_hook): Likewise.
37078 (tr_old_malloc_hook): Likewise.
37079 (tr_old_realloc_hook): Likewise.
37080 (tr_old_memalign_hook): Likewise.
37081 (tr_where): Likewise.
37082 (lock_and_info): Likewise.
37083 (tr_freehook): Likewise.
37084 (tr_mallochook): Likewise.
37085 (tr_reallochook): Likewise.
37086 (tr_memalignhook): Likewise.
37087 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37088 * misc/mmap.c (__mmap): Likewise.
37089 * misc/mmap64.c (__mmap64): Likewise.
37090 * misc/mprotect.c (__mprotect): Likewise.
37091 * misc/msync.c (msync): Likewise.
37092 * misc/munmap.c (__munmap): Likewise.
37093 * posix/posix_madvise.c (posix_madvise): Likewise.
37094 * socket/send.c (__send): Likewise.
37095 * socket/sendto.c (__sendto): Likewise.
37096 * socket/setsockopt.c (__setsockopt): Likewise.
37097 * string/memcmp.c (__ptr_t): Remove macro.
37098 (MEMCMP): Use void * instead of ptr_t.
37099 * string/memrchr.c (__ptr_t): Remove macro.
37100 (__memrchr): Use void * instead of ptr_t.
37101 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37102 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37103 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37104 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37105 * sysdeps/mach/msync.c (msync): Likewise.
37106 * sysdeps/mach/munmap.c (__munmap): Likewise.
37107 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37109 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37110 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37111 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37112 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37113 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37114 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37115 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37116 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37118 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37119 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37120 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37121 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37122 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37123 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37124 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37125 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37126 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37128 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37129 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37130 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37131 (MEMCMP): Use void * instead of ptr_t.
37132 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37133 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37135 2017-08-08 Florian Weimer <fweimer@redhat.com>
37137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37140 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37143 * csu/libc-tls.c: Include <startup.h> first.
37144 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37145 * elf/dl-tunables.c: Include <startup.h> first.
37146 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37147 * sysdeps/generic/startup.h: New file.
37148 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37149 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37150 (I386_USE_SYSENTER): New. Defined to 0.
37152 2017-08-08 Andreas Schwab <schwab@suse.de>
37155 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37156 * nptl/pt-system.c (system): Likewise.
37158 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37161 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37163 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37164 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37165 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37166 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37167 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37168 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37169 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37171 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37174 * bits/sigaction.h (struct sigaction): Define sa_handler and
37175 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37176 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37177 [__USE_XOPEN_EXTENDED].
37178 (SA_RESTART): Likewise.
37179 (SA_NODEFER): Likewise.
37180 (SA_RESETHAND): Likewise.
37181 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37182 (struct sigaction): Define sa_handler and sa_sigaction using union
37183 also for [__USE_XOPEN_EXTENDED].
37184 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37185 [__USE_XOPEN_EXTENDED].
37186 (SA_RESTART): Likewise.
37187 (SA_NODEFER): Likewise.
37188 (SA_RESETHAND): Likewise.
37189 * sysdeps/unix/sysv/linux/bits/sigaction.h
37190 (struct sigaction): Define sa_handler and sa_sigaction using union
37191 also for [__USE_XOPEN_EXTENDED].
37192 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37193 [__USE_XOPEN_EXTENDED].
37194 (SA_RESTART): Likewise.
37195 (SA_NODEFER): Likewise.
37196 (SA_RESETHAND): Likewise.
37197 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37198 (struct sigaction): Define sa_handler and sa_sigaction using union
37199 also for [__USE_XOPEN_EXTENDED].
37200 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37201 [__USE_XOPEN_EXTENDED].
37202 (SA_RESTART): Likewise.
37203 (SA_NODEFER): Likewise.
37204 (SA_RESETHAND): Likewise.
37205 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37206 (struct sigaction): Define sa_handler and sa_sigaction using union
37207 also for [__USE_XOPEN_EXTENDED].
37208 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37209 [__USE_XOPEN_EXTENDED].
37210 (SA_RESTART): Likewise.
37211 (SA_NODEFER): Likewise.
37212 (SA_RESETHAND): Likewise.
37213 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37214 (struct sigaction): Define sa_handler and sa_sigaction using union
37215 also for [__USE_XOPEN_EXTENDED].
37216 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37217 [__USE_XOPEN_EXTENDED].
37218 (SA_RESTART): Likewise.
37219 (SA_NODEFER): Likewise.
37220 (SA_RESETHAND): Likewise.
37221 * sysdeps/unix/sysv/linux/s390/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 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37230 (struct sigaction): Define sa_handler and sa_sigaction using union
37231 also for [__USE_XOPEN_EXTENDED].
37232 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37233 [__USE_XOPEN_EXTENDED].
37234 (SA_RESTART): Likewise.
37235 (SA_NODEFER): Likewise. Define directly rather than as alias.
37236 (SA_RESETHAND): Likewise.
37237 (SA_INTERRUPT): Define only for [__USE_MISC].
37238 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37239 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37241 (SA_STACK): Define only for [__USE_MISC].
37242 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37243 (struct sigaction): Define sa_handler and sa_sigaction using union
37244 also for [__USE_XOPEN_EXTENDED].
37245 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37246 [__USE_XOPEN_EXTENDED].
37247 (SA_RESTART): Likewise.
37248 (SA_NODEFER): Likewise.
37249 (SA_RESETHAND): Likewise.
37250 (SA_NOPTRACE): Define only for [__USE_MISC].
37252 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37253 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37254 (struct catalog_info): Likewise.
37255 * inet/htontest.c (lo): Likewise.
37257 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37258 * inet/inet_net.c (inet_network): Likewise.
37259 * inet/inet_netof.c (inet_netof): Likewise.
37260 * inet/rcmd.c (__ivaliduser): Likewise.
37261 (iruserok): Likewise.
37262 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37263 * locale/programs/locale-spec.c (locale_special): Likewise.
37264 * nis/nis_findserv.c (struct findserv_req): Likewise.
37265 (__nis_findfastest_with_timeout): Likewise.
37266 * nss/test-netdb.c (test_network): Likewise.
37267 * resolv/inet_neta.c (inet_neta): Likewise.
37268 * resolv/ns_date.c (ns_datetosecs): Likewise.
37269 (SECS_PER_DAY): Likewise.
37270 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37272 * resolv/res_comp.c (__putlong): Likewise.
37273 (__putshort): Likewise.
37274 (_getlong): Likewise.
37275 (_getshort): Likewise.
37276 * resolv/res_debug.c (p_time): Likewise.
37277 (precsize_ntoa): Likewise.
37278 (precsize_aton): Likewise.
37279 (latlon2ul): Likewise.
37280 (loc_aton): Likewise.
37281 (loc_ntoa): Likewise.
37282 * resolv/res_hconf.c (struct netaddr): Likewise.
37283 (_res_hconf_reorder_addrs): Likewise.
37284 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37285 (clnttcp_control): Likewise.
37286 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37287 (clntudp_control): Likewise.
37288 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37289 (clntunix_control): Likewise.
37290 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37291 * sunrpc/rpc/auth.h (union des_block): Likewise.
37292 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37293 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37294 (xdrrec_create): Likewise.
37295 (xdrrec_endofrecord): Likewise.
37296 (flush_out): Likewise.
37297 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37298 (xdrstdio_putlong): Likewise.
37299 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37302 * misc/sys/cdefs.h (__long_double_t): Remove.
37303 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37304 instead of __long_double_t,
37305 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37307 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37309 * benchtests/scripts/compare_strings.py: Avoid display error when
37310 running on a text terminal.
37312 * benchtests/scripts/compare_strings.py (main): Add an
37313 optional -base option.
37314 (process_results): New argument base_func.
37316 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37318 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37319 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37321 2017-08-07 Andreas Schwab <schwab@suse.de>
37323 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37324 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37325 * intl/Makefile ($(objpfx)tst-gettext.out)
37326 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37327 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37328 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37329 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37330 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37331 * posix/Makefile ($(objpfx)globtest.out)
37332 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37333 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37334 ($(objpfx)tst-printf.out): Likewise.
37335 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37336 ($(objpfx)tst-setcontext3.out): Likewise.
37338 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37340 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37341 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37342 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37343 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37344 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37346 (CFLAGS-doasin-fma.c): New.
37347 (CFLAGS-dosincos-fma.c): Likewise.
37348 (CFLAGS-e_asin-fma.c): Likewise.
37349 (CFLAGS-e_atan2-fma.c): Likewise.
37350 (CFLAGS-e_exp-fma.c): Likewise.
37351 (CFLAGS-e_log-fma.c): Likewise.
37352 (CFLAGS-e_pow-fma.c): Likewise.
37353 (CFLAGS-halfulp-fma.c): Likewise.
37354 (CFLAGS-mpa-fma.c): Likewise.
37355 (CFLAGS-mpatan-fma.c): Likewise.
37356 (CFLAGS-mpatan2-fma.c): Likewise.
37357 (CFLAGS-mpexp-fma.c): Likewise.
37358 (CFLAGS-mplog-fma.c): Likewise.
37359 (CFLAGS-mpsqrt-fma.c): Likewise.
37360 (CFLAGS-mptan-fma.c): Likewise.
37361 (CFLAGS-s_atan-fma.c): Likewise.
37362 (CFLAGS-sincos32-fma.c): Likewise.
37363 (CFLAGS-slowexp-fma.c): Likewise.
37364 (CFLAGS-slowpow-fma.c): Likewise.
37365 (CFLAGS-s_sin-fma.c): Likewise.
37366 (CFLAGS-s_tan-fma.c): Likewise.
37367 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37368 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37369 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37370 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37371 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37372 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37373 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37374 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37375 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37376 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37377 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37378 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37379 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37380 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37381 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37382 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37383 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37384 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37385 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37387 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37388 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37389 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37390 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37391 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37392 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37393 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37394 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37395 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37396 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37397 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37399 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37401 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37402 (min_of_type_f): New macro.
37403 (min_of_type_): Likewise.
37404 (min_of_type_l): Likewise.
37405 (min_of_type_f128): Likewise.
37406 (min_of_type): Define using __MATH_TG and taking an expression
37408 (math_check_force_underflow): Pass expression instead of type to
37410 (math_check_force_underflow_nonneg): Likewise.
37412 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37414 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37415 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37416 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37418 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37421 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37422 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37423 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37424 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37425 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37426 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37427 memmove_chk-nonshared and memset_chk-nonshared
37428 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37429 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37430 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37431 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37432 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37433 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37434 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37435 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37436 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37437 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37438 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37439 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37440 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37441 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37442 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37443 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37444 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37445 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37446 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37447 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37448 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37449 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37450 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37451 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37452 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37453 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37454 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37455 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37456 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37457 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37458 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37459 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37460 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37461 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37462 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37463 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37464 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37465 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37466 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37467 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37468 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37469 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37470 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37471 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37472 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37473 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37474 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37475 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37476 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37477 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37478 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37479 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37480 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37481 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37482 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37483 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37484 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37485 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37486 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37487 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37488 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37489 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37490 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37491 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37492 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37493 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37494 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37495 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37496 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37497 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37498 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37499 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37500 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37501 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37502 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37503 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37504 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37505 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37506 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37507 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37508 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37509 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37510 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37511 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37512 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37513 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37514 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37515 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37516 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37517 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37518 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37519 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37520 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37521 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37522 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37523 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37524 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37525 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37526 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37527 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37528 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37529 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37530 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37531 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37532 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37533 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37534 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37535 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37537 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37539 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37540 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37541 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37542 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37543 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37544 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37545 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37546 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37547 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37548 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37549 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37550 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37551 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37552 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37553 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37554 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37555 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37556 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37557 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37558 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37559 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37560 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37561 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37562 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37563 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37564 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37565 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37566 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37567 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37568 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37569 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37570 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37571 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37572 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37573 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37574 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37575 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37576 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37577 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37578 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37579 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37580 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37581 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37582 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37583 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37584 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37585 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37586 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37587 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37588 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37589 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37590 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37591 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37592 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37593 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37594 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37595 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37596 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37597 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37599 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37600 Don't include <sysdep.h> nor <init-arch.h>.
37601 (_ZGVbN2v_cos): Removed.
37602 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37604 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37605 Don't include <sysdep.h> nor <init-arch.h>.
37606 (_ZGVdN4v_cos): Removed.
37607 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37609 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37610 Don't include <sysdep.h> nor <init-arch.h>.
37611 (_ZGVeN8v_cos): Removed.
37612 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37614 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37615 Don't include <sysdep.h> nor <init-arch.h>.
37616 (_ZGVbN2v_exp): Removed.
37617 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37619 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37620 Don't include <sysdep.h> nor <init-arch.h>.
37621 (_ZGVdN4v_exp): Removed.
37622 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37624 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37625 Don't include <sysdep.h> nor <init-arch.h>.
37626 (_ZGVeN8v_exp): Removed.
37627 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37629 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37630 Don't include <sysdep.h> nor <init-arch.h>.
37631 (_ZGVbN2v_log): Removed.
37632 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37634 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37635 Don't include <sysdep.h> nor <init-arch.h>.
37636 (_ZGVdN4v_log): Removed.
37637 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37639 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37640 Don't include <sysdep.h> nor <init-arch.h>.
37641 (_ZGVeN8v_log): Removed.
37642 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37644 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37645 Don't include <sysdep.h> nor <init-arch.h>.
37646 (_ZGVbN2vv_pow): Removed.
37647 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37649 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37650 Don't include <sysdep.h> nor <init-arch.h>.
37651 (_ZGVdN4vv_pow): Removed.
37652 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37654 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37655 Don't include <sysdep.h> nor <init-arch.h>.
37656 (_ZGVeN8vv_pow): Removed.
37657 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37659 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37660 Don't include <sysdep.h> nor <init-arch.h>.
37661 (_ZGVbN2v_sin): Removed.
37662 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37664 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37665 Don't include <sysdep.h> nor <init-arch.h>.
37666 (_ZGVbN4v_sin): Removed.
37667 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37669 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37670 Don't include <sysdep.h> nor <init-arch.h>.
37671 (_ZGVbN8v_sin): Removed.
37672 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37674 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37675 Don't include <sysdep.h> nor <init-arch.h>.
37676 (_ZGVbN2vvv_sincos): Removed.
37677 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37679 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37680 Don't include <sysdep.h> nor <init-arch.h>.
37681 (_ZGVdN4vvv_sincos): Removed.
37682 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37684 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37685 Don't include <sysdep.h> nor <init-arch.h>.
37686 (_ZGVeN8vvv_sincos): Removed.
37687 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37689 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37690 Don't include <sysdep.h> nor <init-arch.h>.
37691 (_ZGVeN16v_cosf): Removed.
37692 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37694 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37695 Don't include <sysdep.h> nor <init-arch.h>.
37696 (_ZGVbN4v_cosf): Removed.
37697 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37699 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37700 Don't include <sysdep.h> nor <init-arch.h>.
37701 (_ZGVdN8v_cosf): Removed.
37702 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37704 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37705 Don't include <sysdep.h> nor <init-arch.h>.
37706 (_ZGVeN16v_expf): Removed.
37707 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37709 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37710 Don't include <sysdep.h> nor <init-arch.h>.
37711 (_ZGVbN4v_expf): Removed.
37712 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37714 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37715 Don't include <sysdep.h> nor <init-arch.h>.
37716 (_ZGVdN8v_expf): Removed.
37717 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37719 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37720 Don't include <sysdep.h> nor <init-arch.h>.
37721 (_ZGVeN16v_logf): Removed.
37722 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37724 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37725 Don't include <sysdep.h> nor <init-arch.h>.
37726 (_ZGVbN4v_logf): Removed.
37727 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37729 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37730 Don't include <sysdep.h> nor <init-arch.h>.
37731 (_ZGVdN8v_logf): Removed.
37732 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37734 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37735 Don't include <sysdep.h> nor <init-arch.h>.
37736 (_ZGVeN16vv_powf): Removed.
37737 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37739 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37740 Don't include <sysdep.h> nor <init-arch.h>.
37741 (_ZGVbN4vv_powf): Removed.
37742 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37744 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37745 Don't include <sysdep.h> nor <init-arch.h>.
37746 (_ZGVdN8vv_powf): Removed.
37747 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37749 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37750 Don't include <sysdep.h> nor <init-arch.h>.
37751 (_ZGVeN16vvv_sincosf): Removed.
37752 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37754 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37755 Don't include <sysdep.h> nor <init-arch.h>.
37756 (_ZGVbN4vvv_sincosf): Removed.
37757 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37759 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37760 Don't include <sysdep.h> nor <init-arch.h>.
37761 (_ZGVdN8vvv_sincosf): Removed.
37762 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37764 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37765 Don't include <sysdep.h> nor <init-arch.h>.
37766 (_ZGVeN16v_sinf): Removed.
37767 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37769 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37770 Don't include <sysdep.h> nor <init-arch.h>.
37771 (_ZGVbN4v_sinf): Removed.
37772 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37774 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37775 Don't include <sysdep.h> nor <init-arch.h>.
37776 (_ZGVdN8v_sinf): Removed.
37778 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37780 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37781 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37782 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37783 s_rint-sse4_1 and s_rintf-sse4_1.
37784 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37785 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37786 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37787 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37788 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37789 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37790 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37791 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37792 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37793 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37794 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37795 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37797 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37798 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37799 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37800 (__ceilf): Removed.
37801 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37802 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37803 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37804 (__floor): Removed.
37805 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37806 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37807 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37808 (__floorf): Removed.
37809 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37810 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37811 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37812 (__nearbyint): Removed.
37813 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37814 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37815 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37816 (__nearbyintf): Removed.
37817 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37818 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37819 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37821 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37822 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37823 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37824 (__rintf): Removed.
37826 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37828 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37829 SHARED. Avoid dynamic relocation against main in static PIE.
37831 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37834 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37835 (LDFLAGS-tst-prelink): Likewise.
37837 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37839 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37840 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37841 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37842 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37843 (INTERNAL_SYSCALL_NCS): Likewise.
37844 (LOADARGS_1): Likewise.
37845 (LOADARGS_5): Likewise.
37846 (RESTOREARGS_1): Likewise.
37847 (RESTOREARGS_5): Likewise.
37849 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37851 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37852 (MEMPCPY_SYMBOL): Likewise.
37853 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37854 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37857 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37858 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37860 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37861 (__hidden_ver1): Don't use in libc.a.
37862 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37863 (__mempcpy): Don't create a weak alias in libc.a.
37864 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37866 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37867 (__hidden_ver1): Don't use in libc.a.
37869 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37871 * config.make.in (have-insert): New.
37872 * configure.ac (libc_cv_insert): New. Set to yes if linker
37873 supports INSERT in linker script.
37874 (AC_SUBST(libc_cv_insert): New.
37875 * configure: Regenerated.
37876 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37877 if $(have-insert) == yes.
37879 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37881 * elf/Makefile (tests): Add vismain only if
37882 $(have-protected-data) == yes.
37883 (tests-pie): Likewise.
37885 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37888 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
37889 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
37891 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37894 * sysdeps/i386/i586/memset.S
37895 (__memset_zero_constant_len_parameter): Removed.
37896 * sysdeps/i386/i686/memset.S
37897 (__memset_zero_constant_len_parameter): Likewise.
37898 * sysdeps/i386/i686/multiarch/memset_chk.S
37899 (__memset_zero_constant_len_parameter): Likewise.
37900 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
37903 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37905 * stdlib/getentropy.c (getentropy): Change return type to int.
37907 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
37909 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
37911 2017-08-03 Joseph Myers <joseph@codesourcery.com>
37913 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
37915 * math/s_nexttowardf.c (__nexttowardf): Likewise.
37916 * sysdeps/generic/math_private.h (ieee_double_shape_type):
37918 (ieee_float_shape_type): Likewise.
37919 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
37920 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
37921 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37922 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37923 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
37924 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
37925 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
37926 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37927 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
37929 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37930 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
37931 (__ieee754_yn): Likewise.
37932 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37933 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37934 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
37936 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37937 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
37938 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
37939 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
37940 (__erfc): Likewise.
37941 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
37942 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
37943 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
37944 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
37945 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
37946 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
37948 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
37949 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
37950 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
37951 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
37952 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37953 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
37954 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
37955 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
37956 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
37957 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
37958 (__issignaling): Likewise.
37959 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
37960 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
37961 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
37963 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37964 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
37965 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
37966 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
37968 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
37970 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
37971 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
37972 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
37973 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
37974 (__erfcf): Likewise.
37975 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
37976 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
37977 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
37978 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
37980 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
37981 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
37983 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
37984 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
37985 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
37986 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
37987 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
37988 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
37989 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
37990 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
37992 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
37994 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
37996 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
37997 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
37999 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38001 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38002 (__ieee754_ynl): Likewise.
38003 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38004 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38006 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38008 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38009 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38010 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38012 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38013 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38014 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38015 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38016 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38017 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38018 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38019 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38021 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38022 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38023 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38025 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38026 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38027 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38028 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38029 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38032 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38034 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38036 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38038 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38039 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38040 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38041 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38042 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38043 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38046 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38049 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38051 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38052 (__ieee754_remainderl): Likewise.
38053 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38054 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38055 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38056 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38058 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38059 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38061 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38062 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38063 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38064 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38065 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38066 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38068 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38069 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38070 (__ieee754_y0l): Likewise.
38073 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38074 (__ieee754_y1l): Likewise.
38077 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38078 (__ieee754_ynl): Likewise.
38079 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38080 (__ieee754_lgammal_r): Likewise.
38081 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38083 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38084 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38085 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38086 (__erfcl): Likewise.
38087 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38088 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38090 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38091 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38092 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38093 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38094 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38098 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38099 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38100 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38101 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38102 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38104 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38105 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38107 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38108 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38109 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38110 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38111 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38113 2017-08-03 Florian Weimer <fweimer@redhat.com>
38116 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38117 on memory allocation failure.
38119 2017-08-03 Alan Modra <amodra@gmail.com>
38121 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38122 tst-tlsopt-powerpc.c with function name change and no test harness.
38123 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38124 Call tls_get_addr_opt_test.
38125 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38126 (modules-names): Add mod-tlsopt-powerpc.
38127 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38128 (tst-tlsopt-powerpc): Depend on .so.
38129 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38130 define. Expand use in TLS_GD and TLS_LD.
38132 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38134 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38136 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38138 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38141 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38142 comparing size with that of double.
38143 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38144 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38145 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38146 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38147 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38148 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38149 unsigned __int128 types.
38151 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38153 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38154 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38155 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38156 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38157 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38159 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38161 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38163 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38165 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38167 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38168 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38169 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38170 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38171 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38172 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38173 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38175 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38178 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38179 bit-field expressions passed to sizeof or typeof.
38180 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38181 (__TGMATH_F128): Likewise.
38182 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38183 (__TGMATH_CF128): Likewise.
38184 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38185 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38186 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38187 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38188 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38189 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38190 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38191 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38192 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38193 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38194 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38195 (__TGMATH_UNARY_IMAG): Likewise.
38196 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38197 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38198 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38200 (define_vars_for_type): Handle bit_field type specially.
38201 (Tests.__init__): Declare structure with bit-field element.
38203 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38206 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38207 (MEMCPY_CHK): Define only if SHARED is defined.
38208 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38210 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38213 See ChangeLog.18 for earlier changes.