1 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
4 const attribute with pure attribute.
6 2019-09-04 Lukasz Majewski <lukma@denx.de>
8 * sysdeps/unix/sysv/linux/kernel-features.h
9 (__ASSUME_TIME64_SYSCALLS): New macro.
11 2019-09-04 Zack Weinberg <zackw@panix.com>
14 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
15 * rt/clock_getres.c: Move to time/clock_getres.c.
16 * rt/clock_gettime.c: Move to time/clock_gettime.c.
17 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
18 * rt/clock_settime.c: Move to time/clock_settime.c.
19 * rt/tst-clock.c: Move to time/tst-clock.c.
20 * rt/tst-clock2.c: Move to time/tst-clock2.c.
21 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
22 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
23 * rt/clock-compat.c: Delete file.
25 * time/clock_getcpuclockid.c
27 * time/clock_gettime.c
28 * time/clock_nanosleep.c
29 * time/clock_settime.c
30 * sysdeps/posix/clock_getres.c
31 * sysdeps/unix/clock_gettime.c
32 * sysdeps/unix/clock_nanosleep.c
33 * sysdeps/unix/clock_settime.c
34 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35 * sysdeps/unix/sysv/linux/clock_getres.c
36 * sysdeps/unix/sysv/linux/clock_gettime.c
37 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
39 defined by this file with default symbol version GLIBC_2_17,
40 and optionally a compatibility alias at symbol version GLIBC_2_2.
41 * include/time.h: Remove internal prototypes for clock_getres,
42 clock_nanosleep, and clock_getcpuclockid.
44 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
45 Remove unused function realtime_gettime.
47 * rt/Makefile (clock-routines, routines): Remove variable.
48 (librt-routines): Remove clock-compat.
49 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
51 * time/Makefile (routines): Add clock_getres, clock_gettime,
52 clock_settime, clock_getcpuclockid, and clock_nanosleep.
53 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
56 * rt/Versions (libc): Remove entire stanza.
57 (librt GLIBC_2.2): Remove all clock_* functions.
58 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
59 Add clock_getres, clock_gettime, clock_settime,
60 clock_getcpuclockid, and clock_nanosleep.
61 (libc GLIBC_PRIVATE): Add __clock_gettime.
63 * sysdeps/mach/hurd/i386/librt.abilist
64 * sysdeps/unix/sysv/linux/alpha/librt.abilist
65 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
66 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
67 * sysdeps/unix/sysv/linux/hppa/librt.abilist
68 * sysdeps/unix/sysv/linux/i386/librt.abilist
69 * sysdeps/unix/sysv/linux/ia64/librt.abilist
70 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
71 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
72 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
73 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
74 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
75 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
76 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
77 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
78 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
79 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
80 * sysdeps/unix/sysv/linux/sh/librt.abilist
81 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
82 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
83 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
84 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
85 Remove entries for clock_getres, clock_gettime, clock_settime,
86 clock_getcpuclockid, and clock_nanosleep.
88 * sysdeps/mach/hurd/i386/libc.abilist
89 * sysdeps/unix/sysv/linux/alpha/libc.abilist
90 * sysdeps/unix/sysv/linux/arm/libc.abilist
91 * sysdeps/unix/sysv/linux/hppa/libc.abilist
92 * sysdeps/unix/sysv/linux/i386/libc.abilist
93 * sysdeps/unix/sysv/linux/ia64/libc.abilist
94 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
95 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
96 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
97 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
98 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
99 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
103 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
104 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
105 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
106 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
107 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
108 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
109 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
110 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
111 Add another set of entries for clock_getres, clock_gettime,
112 clock_settime, clock_getcpuclockid, and clock_nanosleep at
113 whatever version GLIBC_2.2 maps to.
115 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
117 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
119 2019-09-03 Florian Weimer <fweimer@redhat.com>
122 * locale/programs/charmap.h (struct charseq): Turn bytes into a
123 flexible array member.
124 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
127 2019-09-02 Florian Weimer <fweimer@redhat.com>
129 * misc/tst-mntent-autofs.c: New file.
130 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
132 2019-09-02 Ian Kent <ikent@redhat.com>
134 Use autofs "ignore" mount hint in getmntent_r/getmntent.
135 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
137 (__getmntent_r): Call it. Filter out autofs entries with an
138 "ignore" mount option.
140 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
142 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
143 (generic_memcpy): Include generic C memcpy.
144 * benchtests/bench-memmove.c (simple_memmove): Remove.
145 (generic_memmove): Include generic C memmove.
146 * benchtests/bench-memset.c (simple_memset): Remove.
147 (generic_memset): Include generic C memset.
148 * benchtests/bench-memset-large.c (simple_memset): Remove.
149 (generic_memset): Include generic C memset.
150 * benchtests/bench-memset-walk.c (simple_memset): Remove.
151 (generic_memset): Include generic C memset.
152 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
153 * string/memset.c (MEMSET): Likewise.
154 * sysdeps/x86_64/memcopy.h: Remove empty file.
156 2019-08-30 Florian Weimer <fweimer@redhat.com>
158 nptl: Move pthread_attr_getinheritsched implementation into libc.
159 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
160 (libpthread-routines): Remove pthread_attr_getinheritsched.
161 * nptl/Versions (libpthread GLIBC_2.0): Remove
162 pthread_attr_getinheritsched.
163 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
164 * nptl/nptl-init.c (pthread_functions): Remove initializer for
165 ptr_pthread_attr_getinheritsched.
166 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
167 Remove ptr_pthread_attr_getinheritsched member.
168 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
169 Remove pthread_attr_getinheritsched.
170 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
172 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
174 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
176 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
178 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
180 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
182 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
184 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
185 (GLIBC_2.4): Likewise.
186 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
187 (GLIBC_2.0): Likewise.
188 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
189 (GLIBC_2.18): Likewise.
190 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
191 (GLIBC_2.18): Likewise.
192 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
193 (GLIBC_2.0): Likewise.
194 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
195 (GLIBC_2.0): Likewise.
196 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
199 (GLIBC_2.0): Likewise.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
201 (GLIBC_2.3): Likewise.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
203 (GLIBC_2.17): Likewise.
204 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
205 (GLIBC_2.27): Likewise.
206 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
207 (GLIBC_2.0): Likewise.
208 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
209 (GLIBC_2.2): Likewise.
210 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
212 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
214 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
215 (GLIBC_2.0): Likewise.
216 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
217 (GLIBC_2.2): Likewise.
218 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
219 (GLIBC_2.2.5): Likewise.
220 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
221 (GLIBC_2.16): Likewise.
223 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
225 * sysdeps/mach/hurd/getcwd.c
226 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
227 slash if we got an unknown root directory. (__getcwd): Do not fail with
228 EGRATUITOUS if we got an unknown root directory.
229 * hurd/hurdselect.c (SELECT_ERROR): New macro.
231 - Add `error' field to `d' structures array.
232 - If a poll descriptor is bogus, set EBADF, but continue with a zero
234 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
235 EBADF there is any bit set above _hurd_dtablesize.
236 - Do not request io_select on bogus descriptors (SELECT_ERROR).
237 - On io_select request error, record the error.
238 - On io_select bogus reply, use EIO error code.
239 - On io_select bogus or error reply, record the error.
240 - Do not destroy reply port for bogus FDs.
241 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
242 EBADF case, or else POLLERR.
243 - On error, make select simulated readiness.
246 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
249 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
250 unlocks SS and returns to the saved PC.
251 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
252 thread stack instead of the saved PC.
254 2019-08-30 Richard Braun <rbraun@sceen.net>
256 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
258 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
259 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
260 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
262 (_hurd_select): Replace the call to __io_select with either
263 __io_select_request or __io_select_timeout_request, depending on the
264 timeout. Count the number of ready descriptors (replies for which at
265 least one type bit is set). Implement the timeout locally when there is
268 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
270 * elf/dl-addr.c (determine_info): Calculate the symbol index
271 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
272 * elf/dl-lookup.c (do_lookup_x): Ditto.
273 (_dl_setup_hash): Initialize MIPS xhash translation table.
274 * elf/elf.h (SHT_MIPS_XHASH): New define.
275 (DT_MIPS_XHASH): New define.
276 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
278 (ELF_MACHINE_HASH_SYMIDX): Ditto.
279 (ELF_MACHINE_XHASH_SETUP): Ditto.
280 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
282 (ELF_MACHINE_HASH_SYMIDX): Ditto.
283 (ELF_MACHINE_XHASH_SETUP): Ditto.
284 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
285 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
287 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
289 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
291 * sysdeps/sh/preconfigure.ac: New file.
292 * sysdeps/sh/preconfigure: Regenerate.
293 * sysdeps/sh/be/sh3/Implies: New file.
294 * sysdeps/sh/be/sh4/Implies: Likewise.
295 * sysdeps/sh/le/sh3/Implies: Likewise.
296 * sysdeps/sh/le/sh4/Implies: Likewise.
297 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
298 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
299 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
300 sysdeps/unix/sysv/linux/sh/le/*.abilist.
301 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
303 * sysdeps/microblaze/preconfigure.ac: New file.
304 * sysdeps/microblaze/preconfigure: Regenerate.
305 * sysdeps/microblaze/be/implies: New file.
306 * sysdeps/microblaze/le/implies: Likewise.
307 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
308 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
309 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
310 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
311 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
313 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
314 * sysdeps/arm/preconfigure: Regenerate.
315 * sysdeps/arm/be/Implies: New file.
316 * sysdeps/arm/be/armv6/Implies: Likewise.
317 * sysdeps/arm/be/armv6t2/Implies: Likewise.
318 * sysdeps/arm/be/armv7/Implies: Likewise.
319 * sysdeps/arm/le/Implies: Likewise.
320 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
321 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
322 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
323 sysdeps/unix/sysv/linux/arm/le/*.abilist.
324 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
326 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
328 Fix posix/tst-regex by using UTF-8 and own test input
329 Problem reported by Stefan Liebler in:
330 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
331 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
332 (do_test, test_expr): Adjust to the fact that this source file,
333 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
334 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
335 so that it is now UTF-8.
337 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
339 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
340 (fegetenv_status): Generate 'mffsl' unconditionally.
342 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
344 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
346 (_FPU_MASK_ALL): Delete.
348 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
350 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
351 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
353 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
354 with simpler required steps, set fewer FPSCR bits if possible.
356 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
358 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
359 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
360 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
361 weight access to FPSCR; remove unnecessary second FPSCR read and
363 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
364 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
365 access to FPSCR; Use macros in fenv_libc.h in favor of local.
367 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
369 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
370 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
371 (fenv_exceptions_to_reg): New.
372 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
373 operation with call to fenv_exceptions_to_reg().
374 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
376 2019-08-28 Florian Weimer <fweimer@redhat.com>
378 * misc/mntent.c (struct mntent_buffer): Define.
379 (mntent_buffer): Adjust type to void *.
380 (allocate): Adjust for allocate_once.
381 (deallocate): New function.
382 (getmntent): Call allocate_once.
384 2019-08-28 Florian Weimer <fweimer@redhat.com>
386 nptl: Move pthread_attr_setdetachstate implementation into libc.
387 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
388 (libpthread-routines): Remove pthread_attr_setdetachstate.
389 * nptl/Versions (libpthread GLIBC_2.0): Remove
390 pthread_attr_setdetachstate.
391 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
392 * nptl/nptl-init.c (pthread_functions): Remove initializer for
393 ptr_pthread_attr_setdetachstate.
394 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
395 Remove ptr_pthread_attr_setdetachstate member.
396 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
397 Remove pthread_attr_setdetachstate.
398 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
400 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
402 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
404 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
406 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
408 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
410 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
411 (GLIBC_2.4): Likewise.
412 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
413 (GLIBC_2.0): Likewise.
414 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
415 (GLIBC_2.18): Likewise.
416 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
417 (GLIBC_2.0): Likewise.
418 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
419 (GLIBC_2.0): Likewise.
420 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
423 (GLIBC_2.0): Likewise.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
425 (GLIBC_2.3): Likewise.
426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
427 (GLIBC_2.17): Likewise.
428 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
429 (GLIBC_2.27): Likewise.
430 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
431 (GLIBC_2.0): Likewise.
432 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
433 (GLIBC_2.2): Likewise.
434 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
436 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
437 (GLIBC_2.0): Likewise.
438 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
439 (GLIBC_2.2): Likewise.
440 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
441 (GLIBC_2.2.5): Likewise.
442 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
443 (GLIBC_2.16): Likewise.
445 2019-08-28 Florian Weimer <fweimer@redhat.com>
448 * login/Makefile (tests): Add tst-pututxline-lockfail.
449 (tst-pututxline-lockfail): Link with -lpthread.
450 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
451 (__libc_getutid_r): Adjust.
452 (__libc_pututline): Likewise. Check for file_offset == -1.
453 * login/tst-pututxline-lockfail.c: New file.
455 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
457 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
458 * posix/tst-regex.input: New file.
460 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
463 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
465 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
466 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
467 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
468 * sysdeps/mips/tst-undefined-weak.c: Likewise.
469 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
470 Increment highest valid ABIVERSION value.
472 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
474 * sysdeps/unix/sysv/linux/mips/Makefile
475 (test-xfail-check-execstack):
476 Move under mips-has-gnustack != yes.
477 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
478 Apply -Wa,-execstack if mips-force-execstack == yes.
479 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
480 * sysdeps/unix/sysv/linux/mips/configure.ac
481 (mips-force-execstack): New var.
482 Set to yes for hard-float builds with minimum_kernel < 4.8.0
483 or minimum_kernel not set at all.
484 (mips-has-gnustack): New var.
485 Use value of libc_cv_as_noexecstack
486 if mips-force-execstack != yes, otherwise set to no.
488 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
489 Florian Weimer <fweimer@redhat.com>
491 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
492 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
493 Make a compat_symbol.
494 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
495 (__profil_counter_global): Likewise.
497 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
498 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
500 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
501 sigcontext_get_pc and return aligned cast to uintptr_t.
502 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
503 * sysdeps/posix/profil.c (profil_count): Change PC argument to
505 (__profil): Use SA_SIGINFO.
506 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
508 (__sprofil): Use SA_SIGINFO.
509 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
510 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
511 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
512 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
513 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
514 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
515 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
516 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
517 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
518 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
519 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
520 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
521 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
522 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
523 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
524 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
525 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
526 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
527 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
528 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
529 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
530 GET_PC, __sigaction, sigaction): Remove defines.
531 (sigcontext_get_pc): New function.
532 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
533 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
534 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
535 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
536 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
537 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
538 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
539 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
540 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
541 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
542 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
544 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
545 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
546 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
547 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
548 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
549 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
550 Handle CTX argument as ucontext_t.
551 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
553 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
554 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
555 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
556 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
557 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
558 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
559 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
560 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
561 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
562 tst-sigcontextinfo-get_pc.
563 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
564 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
566 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
568 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
571 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
574 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
575 * localedata/locales/ug_CN (first_weekday): Likewise.
576 * localedata/locales/zh_CN (first_weekday): Likewise.
578 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
580 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
581 field name in mcontext_t struct.
583 2019-08-22 Joseph Myers <joseph@codesourcery.com>
585 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
586 unsupported with libidn2 before 2.0.5.
587 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
589 * manual/time.texi (strftime): Document %Ob and %OB as C2X
592 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
594 Remove dead regex code
595 * posix/regex_internal.c (re_node_set_insert):
596 Remove unnecessary assignment. Reported by Tim Rühsen in:
597 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
599 Fix bad pointer / leak in regex code
600 This was found by Coverity (CID 1484201). [BZ#24844]
601 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
602 pointer and/or memory leak when storage is exhausted.
604 2019-08-21 Zack Weinberg <zackw@panix.com>
606 * misc/syslog.c (__vsyslog_internal)
607 * time/getdate.c (__getdate_r)
608 * time/tst_wcsftime.c (main):
609 Use return value of time, not its argument.
611 * string/strfry.c (strfry)
612 * sysdeps/mach/sleep.c (__sleep):
613 Remove unnecessary casts of NULL in calls to time.
615 2019-08-21 Joseph Myers <joseph@codesourcery.com>
617 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
618 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
619 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
620 (__TGMATH_2_NARROW_F): Likewise.
621 (__TGMATH_2_NARROW_D): New macro.
622 (__TGMATH_2_NARROW_F16): Likewise.
623 (__TGMATH_2_NARROW_F32): Likewise.
624 (__TGMATH_2_NARROW_F64): Likewise.
625 (__TGMATH_2_NARROW_F32X): Likewise.
626 (__TGMATH_2_NARROW_F64X): Likewise.
627 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
628 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
629 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
630 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
631 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
632 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
633 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
634 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
635 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
636 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
637 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
638 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
639 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
640 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
642 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
644 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
646 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
648 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
650 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
652 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
654 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
656 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
657 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
658 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
659 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
660 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
661 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
662 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
663 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
664 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
666 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
668 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
670 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
672 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
673 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
674 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
675 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
676 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
677 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
678 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
679 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
680 * math/gen-tgmath-tests.py (Type): Add members
681 non_standard_real_argument_types_list, long_double_type,
682 complex_float64_type and float32x_ext_type.
683 (Type.__init__): Set the new members.
684 (Type.floating_type): Add new argument floatn.
685 (Type.real_floating_type): Likewise.
686 (Type.can_combine_types): Likewise.
687 (Type.combine_types): Likewise.
688 (Type.init_types): Create internal Float32x_ext type.
689 (Tests.__init__): Define Float32x_ext in generated C code.
690 (Tests.add_tests): Handle narrowing functions.
691 (Tests.add_all_tests): Likewise.
692 (Tests.tests_text): Allow variation in mant_dig for narrowing
693 functions with compilers before GCC 8.
694 * math/Makefile (tgmath3-narrow-types): New variable.
695 (tgmath3-narrow-macros): Likewise.
696 (tgmath3-macros): Add $(tgmath3-narrow-macros).
698 2019-08-20 Andreas Schwab <schwab@suse.de>
700 * sysdeps/i386/fpu/libm-test-ulps: Update.
702 2019-08-19 Carlos O'Donell <carlos@redhat.com>
704 * nscd/nscd.conf: Add warning and comment about shared option.
706 2019-08-19 Carlos O'Donell <carlos@redhat.com>
708 * nss/nsswitch.conf: Expand comments, and simplify defaults.
709 * manual/nss.texi (NSS Basics): List all known databases.
710 (Services in the NSS configuration): Mention automount.
712 2019-08-19 Florian Weimer <fweimer@redhat.com>
714 Do not print backtraces on fatal errors.
715 * debug/fortify_fail.c (__libc_argv): Remove declaration.
716 (__fortify_fail_abort): Remove definition.
717 (__fortify_fail): Call __libc_message directly.
718 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
719 (__stack_chk_fail): Call __fortify_fail instead of
720 __fortify_fail_abort.
721 * include/stdio.h (__fortify_fail_abort): Remove declaration.
722 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
724 (__libc_message): Do not handle do_backtrace. Do not call
726 (__libc_fatal): Do not pass do_backtrace to __libc_message.
727 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
728 (before_abort): Remove definitions.
730 2019-08-16 Florian Weimer <fweimer@redhat.com>
732 nptl: Move pthread_attr_getdetachstate implementation into libc.
733 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
734 (libpthread-routines): Remove pthread_attr_getdetachstate.
735 * nptl/Versions (libpthread GLIBC_2.0): Remove
736 pthread_attr_getdetachstate.
737 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
738 * nptl/nptl-init.c (pthread_functions): Remove initializer for
739 ptr_pthread_attr_getdetachstate.
740 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
741 Remove ptr_pthread_attr_getdetachstate member.
742 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
743 Remove pthread_attr_getdetachstate.
744 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
746 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
748 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
750 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
752 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
754 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
756 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
757 (GLIBC_2.4): Likewise.
758 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
759 (GLIBC_2.0): Likewise.
760 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
761 (GLIBC_2.18): Likewise.
762 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
763 (GLIBC_2.0): Likewise.
764 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
765 (GLIBC_2.0): Likewise.
766 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
769 (GLIBC_2.0): Likewise.
770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
771 (GLIBC_2.3): Likewise.
772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
773 (GLIBC_2.17): Likewise.
774 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
775 (GLIBC_2.27): Likewise.
776 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
777 (GLIBC_2.0): Likewise.
778 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
779 (GLIBC_2.2): Likewise.
780 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
782 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
783 (GLIBC_2.0): Likewise.
784 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
785 (GLIBC_2.2): Likewise.
786 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
787 (GLIBC_2.2.5): Likewise.
788 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
789 (GLIBC_2.16): Likewise.
791 2019-08-16 Joseph Myers <joseph@codesourcery.com>
793 * math/libm-test-compat_totalorder.inc (do_test)
794 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
795 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
796 * math/libm-test-compat_totalordermag.inc (do_test)
797 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
799 2019-08-15 Florian Weimer <fweimer@redhat.com>
801 nptl: Move pthread_attr_init implementation into libc.
802 * nptl/Makefile (routines): Add pthread_attr_init.
803 (libpthread-routines): Remove pthread_attr_init.
804 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
805 (libpthread GLIBC_2.0): Likewise.
806 * nptl/pthread_attr_init.c: Check for libc compat version instead
807 of libpthread compat version.
808 * nptl/forward.c (__pthread_attr_init_2_0)
809 (__pthread_attr_init_2_1): Remove definitions.
810 * nptl/nptl-init.c (pthread_functions): Remove initializers for
811 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
812 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
813 Remove members ptr___pthread_attr_init_2_0,
814 ptr___pthread_attr_init_2_1.
815 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
816 Remove pthread_attr_init.
817 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
819 (GLIBC_2.1): Likewise.
820 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
822 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
824 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
826 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
828 (GLIBC_2.1): Likewise.
829 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
831 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
832 (GLIBC_2.4): Likewise.
833 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
834 (GLIBC_2.0): Likewise.
835 (GLIBC_2.1): Likewise.
836 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
837 (GLIBC_2.18): Likewise.
838 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
839 (GLIBC_2.0): Likewise.
840 (GLIBC_2.1): Likewise.
841 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
842 (GLIBC_2.0): Likewise.
843 (GLIBC_2.1): Likewise.
844 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
847 (GLIBC_2.0): Likewise.
848 (GLIBC_2.1): Likewise.
849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
850 (GLIBC_2.3): Likewise.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
852 (GLIBC_2.17): Likewise.
853 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
854 (GLIBC_2.27): Likewise.
855 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
856 (GLIBC_2.0): Likewise.
857 (GLIBC_2.1): Likewise.
858 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
859 (GLIBC_2.2): Likewise.
860 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
862 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
863 (GLIBC_2.0): Likewise.
864 (GLIBC_2.1): Likewise.
865 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
866 (GLIBC_2.2): Likewise.
867 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
868 (GLIBC_2.2.5): Likewise.
869 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
870 (GLIBC_2.16): Likewise.
872 2019-08-15 Florian Weimer <fweimer@redhat.com>
875 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
876 new object in __RTLD_OPENEXEC mode (except for the origin).
877 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
878 check for the error message.
879 (do_test): Call it. Add check using relative path.
880 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
881 (tst-dlopen-aout-container): Link with libpthread.
882 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
884 2019-08-15 Joseph Myers <joseph@codesourcery.com>
886 * math/bits/mathcalls.h
887 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
888 (totalorder): Take pointer arguments.
889 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
890 (totalordermag): Likewise.
891 * manual/arith.texi (totalorder): Likewise.
892 (totalorderf): Likewise.
893 (totalorderl): Likewise.
894 (totalorderfN): Likewise.
895 (totalorderfNx): Likewise.
896 (totalordermag): Likewise.
897 (totalordermagf): Likewise.
898 (totalordermagl): Likewise.
899 (totalordermagfN): Likewise.
900 (totalordermagfNx): Likewise.
901 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
902 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
903 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
904 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
905 totalorderl, totalordermag, totalordermagf, totalordermagl,
906 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
907 totalordermagf64, totalordermagf32x, totalorderf64x,
908 totalordermagf64x, totalorderf128 and totalordermagf128.
909 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
910 and compat_totalordermag.
911 (libm-test-funcs-compat): New variable.
912 (libm-tests-compat): Likewise.
913 (tests): Do not include compat tests.
914 (tests-internal): Add compat tests.
915 ($(foreach t,$(libm-tests-base),
916 $(objpfx)$(t)-compat_totalorder.o)): Depend
917 on $(objpfx)libm-test-totalorder.c.
918 ($(foreach t,$(libm-tests-base),
919 $(objpfx)$(t)-compat_totalordermag.o): Depend on
920 $(objpfx)libm-test-totalordermag.c.
921 (tgmath3-macros): Remove totalorder and totalordermag.
922 * math/libm-test-compat_totalorder.inc: New file.
923 * math/libm-test-compat_totalordermag.inc: Likewise.
924 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
925 (RUN_TEST_fpfp_b): New macro.
926 (RUN_TEST_LOOP_fpfp_b): Likewise.
927 * math/libm-test-totalorder.inc (totalorder_test_data): Use
929 (totalorder_test): Condition on [!COMPAT_TEST].
931 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
933 (totalordermag_test): Condition on [!COMPAT_TEST].
935 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
936 totalorder and totalordermag.
937 * math/test-tgmath.c (NCALLS): Change to 132.
938 (F(compile_test)): Do not call totalorder or totalordermag.
939 (F(totalorder)): Remove.
940 (F(totalordermag)): Likewise.
941 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
942 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
943 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
945 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
946 [!_ISOMAC] (TEST_SIZE): Update call to STR.
947 [!_ISOMAC] (TEST_ALIGN): Likewise.
948 [!_ISOMAC] (TEST_OFFSET): Likewise.
949 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
950 and <first-versions.h>.
951 (__totalorder): Take pointer arguments. Add symbol versions and
953 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
954 <shlib-compat.h> and <first-versions.h>.
955 (__totalordermag): Take pointer arguments. Add symbol versions
957 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
958 <shlib-compat.h> and <first-versions.h>.
959 (__totalorder): Take pointer arguments. Add symbol versions and
961 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
962 <shlib-compat.h> and <first-versions.h>.
963 (__totalordermag): Take pointer arguments. Add symbol versions
965 * sysdeps/ieee754/float128/float128_private.h
966 (__totalorder_compatl): New macro.
967 (__totalordermag_compatl): Likewise.
968 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
969 and <first-versions.h>.
970 (__totalorderf): Take pointer arguments. Add symbol versions and
972 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
973 <shlib-compat.h> and <first-versions.h>.
974 (__totalordermagf): Take pointer arguments. Add symbol versions
976 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
977 <shlib-compat.h> and <first-versions.h>.
978 (__totalorderl): Take pointer arguments. Add symbol versions and
980 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
981 <shlib-compat.h> and <first-versions.h>.
982 (__totalordermagl): Take pointer arguments. Add symbol versions
984 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
986 (__totalorderl): Take pointer arguments. Add symbol versions and
988 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
990 (__totalordermagl): Take pointer arguments. Add symbol versions
992 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
993 <shlib-compat.h> and <first-versions.h>.
994 (__totalorderl): Take pointer arguments. Add symbol versions and
996 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
997 <shlib-compat.h> and <first-versions.h>.
998 (__totalordermagl): Take pointer arguments. Add symbol versions
1000 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1002 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1004 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1005 (do_test): Update calls to totalorderl and totalordermagl.
1006 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1007 Update calls to totalorderl and totalordermagl.
1008 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1009 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1010 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1011 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1012 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1013 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1014 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1015 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1016 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1017 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1018 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1019 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1020 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1021 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1030 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1031 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1032 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1033 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1034 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1035 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1036 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1037 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1039 2019-08-15 Florian Weimer <fweimer@redhat.com>
1042 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1043 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1044 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1046 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1047 __attribute_nonstring__ to ut_id.
1048 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1051 2019-08-15 Florian Weimer <fweimer@redhat.com>
1054 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1055 (file_locking_unlock): Likewise.
1057 2019-08-15 Florian Weimer <fweimer@redhat.com>
1060 login: Disarm timer after utmp lock acquisition.
1061 * login/utmp_file.c (struct file_locking): Remove.
1062 (try_file_lock): Adjust.
1063 (file_lock_restore): Remove function.
1064 (__libc_getutent_r): .
1065 (internal_getut_r): Likewise.
1066 (__libc_getutline_r): Likewise.
1067 (__libc_pututline): Likewise.
1068 (__libc_updwtmp): Likewise.
1070 2019-08-15 Florian Weimer <fweimer@redhat.com>
1072 nptl: Remove pthread_self compatibility symbol from libpthread.
1073 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1075 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1076 * nptl/compat-pthread_self.c: Remove file.
1077 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1078 Remove pthread_self.
1079 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1081 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1083 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1085 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1087 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1089 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1090 (GLIBC_2.4): Likewise.
1091 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1092 (GLIBC_2.0): Likewise.
1093 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1094 (GLIBC_2.18): Likewise.
1095 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1096 (GLIBC_2.0): Likewise.
1097 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1098 (GLIBC_2.0): Likewise.
1099 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1102 (GLIBC_2.0): Likewise.
1103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1104 (GLIBC_2.3): Likewise.
1105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1106 (GLIBC_2.17): Likewise.
1107 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1108 (GLIBC_2.0): Likewise.
1109 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1110 (GLIBC_2.2): Likewise.
1111 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1113 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1114 (GLIBC_2.0): Likewise.
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1116 (GLIBC_2.2): Likewise.
1117 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1118 (GLIBC_2.2.5): Likewise.
1119 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1120 (GLIBC_2.16): Likewise.
1122 2019-08-15 Florian Weimer <fweimer@redhat.com>
1124 nptl: Move pthread_attr_destroy implementation into libc.
1125 * nptl/Makefile (routines): Add pthread_attr_destroy.
1126 (libpthread-routines): Remove pthread_attr_destroy.
1127 * nptl/Versions (libpthread GLIBC_2.0): Remove
1128 pthread_attr_destroy.
1129 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1130 libc compat version instead of libpthread compat version.
1131 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1132 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1133 ptr_pthread_attr_destroy.
1134 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1135 Remove ptr_pthread_attr_destroy member.
1136 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1137 Remove pthread_attr_destroy.
1138 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1140 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1142 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1144 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1146 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1148 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1150 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1151 (GLIBC_2.4): Likewise.
1152 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1153 (GLIBC_2.0): Likewise.
1154 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1155 (GLIBC_2.18): Likewise.
1156 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1157 (GLIBC_2.0): Likewise.
1158 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1159 (GLIBC_2.0): Likewise.
1160 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1163 (GLIBC_2.0): Likewise.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1165 (GLIBC_2.3): Likewise.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1167 (GLIBC_2.17): Likewise.
1168 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1169 (GLIBC_2.27): Likewise.
1170 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1171 (GLIBC_2.0): Likewise.
1172 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1173 (GLIBC_2.2): Likewise.
1174 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1176 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1177 (GLIBC_2.0): Likewise.
1178 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1179 (GLIBC_2.2): Likewise.
1180 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1181 (GLIBC_2.2.5): Likewise.
1182 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1183 (GLIBC_2.16): Likewise.
1185 2019-08-15 Andreas Schwab <schwab@suse.de>
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1189 2019-08-15 Florian Weimer <fweimer@redhat.com>
1191 * malloc/Makefile (tests): Only add tst-mxfast for
1193 * malloc/tst-mxfast.c: Fix copyright year.
1194 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1197 2019-08-15 Florian Weimer <fweimer@redhat.com>
1199 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1201 * login/Makefile (tests): Add tst-updwtmpx.
1202 * login/tst-updwtmpx.c: New file.
1204 2019-08-15 Florian Weimer <fweimer@redhat.com>
1206 nptl: Move pthread_equal implementation into libc.
1207 * nptl/Makefile (routines): Add pthread_equal.
1208 * nptl/forward.c (pthread_equal): Remove definition.
1209 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1211 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1212 Remove ptr_pthread_equal member.
1213 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1214 Remove pthread_equal.
1215 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1217 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1219 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1221 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1223 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1225 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1227 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1228 (GLIBC_2.4): Likewise.
1229 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1230 (GLIBC_2.0): Likewise.
1231 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1232 (GLIBC_2.18): Likewise.
1233 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1234 (GLIBC_2.0): Likewise.
1235 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1236 (GLIBC_2.0): Likewise.
1237 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1240 (GLIBC_2.0): Likewise.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1242 (GLIBC_2.3): Likewise.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1244 (GLIBC_2.17): Likewise.
1245 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1246 (GLIBC_2.27): Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1248 (GLIBC_2.0): Likewise.
1249 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1250 (GLIBC_2.2): Likewise.
1251 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1253 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1254 (GLIBC_2.0): Likewise.
1255 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1256 (GLIBC_2.2): Likewise.
1257 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1258 (GLIBC_2.2.5): Likewise.
1259 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1260 (GLIBC_2.16): Likewise.
1262 2019-08-14 Florian Weimer <fweimer@redhat.com>
1264 * support/support_descriptors.c: Include <support/descriptors.h>.
1266 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1268 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1269 Disable DC ZVA code if this macro is defined as zero.
1270 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1271 Change to zero to disable using DC ZVA.
1273 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1275 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1277 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1278 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1279 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1280 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1283 2019-08-13 Florian Weimer <fweimer@redhat.com>
1285 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1287 (struct file_locking): New.
1288 (try_file_lock, file_unlock, file_lock_restore): New functions.
1289 (__libc_getutent_r): Use the new functions.
1290 (internal_getut_r): Likewise.
1291 (__libc_getutline_r): Likewise.
1292 (__libc_pututline): Likewise.
1293 (__libc_updwtmp): Likewise.
1295 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1297 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1299 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1300 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1301 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1302 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1303 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1304 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1305 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1307 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1308 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1309 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1311 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1313 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1315 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1317 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1319 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1321 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1323 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1324 (IEC_60559_BFP_EXT)]: Likewise.
1325 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1327 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1329 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1331 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1333 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1335 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1337 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1339 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1341 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1342 Likewise, except for totalorder, totalordermag, getpayload,
1343 setpayload and setpayloadsig.
1344 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1345 except for totalorder and totalordermag.
1347 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1349 (strndup): Likewise.
1351 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1352 Undefine and define to 1 if [_GNU_SOURCE].
1353 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1354 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1355 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1356 (__USE_ISOC99): Likewise.
1357 (__USE_ISOC95): Likewise.
1358 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1360 2019-08-13 Florian Weimer <fweimer@redhat.com>
1362 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1364 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1365 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1366 * login/getutmpx.c (getutmpx): Likewise.
1367 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1369 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1370 _HAVE_UT_TV are always true.
1371 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1372 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1373 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1374 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1376 (internal_getut_r): _HAVE_UT_TYPE is always true.
1377 (__libc_pututline): Likewise.
1378 * login/programs/utmpdump.c (print_entry): Assume that
1379 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1380 _HAVE_UT_TV are always true.
1381 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1382 _HAVE_UT_ID are always true.
1383 * sysdeps/gnu/bits/utmp.h: Move to ...
1384 * bits/utmp.h: ... here, replacing the old file.
1386 2019-08-12 Florian Weimer <fweimer@redhat.com>
1388 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1389 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1391 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1392 (do_test): Open the executable using an absolute path. Print
1393 error message to standard output.
1395 2019-08-09 DJ Delorie <dj@redhat.com>
1397 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1398 * manual/tunables.texi: Document it.
1399 * malloc/malloc.c (do_set_mxfast): New.
1400 (__libc_mallopt): Call it.
1401 * malloc/arena.c: Add mxfast tunable.
1402 * malloc/tst-mxfast.c: New.
1403 * malloc/Makefile: Add it.
1405 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1406 Carlos O'Donell <carlos@redhat.com>
1409 * malloc/malloc.c (__malloc_info): Account for top chunk.
1411 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1414 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1416 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1418 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1420 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1422 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1424 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1426 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1429 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1432 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1434 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1436 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1438 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1440 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1441 (ALWAYS_USE_VSYSCALL): Likewise.
1442 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1443 (ALWAYS_USE_VSYSCALL): Likewise.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1445 (ALWAYS_USE_VSYSCALL): Likewise.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1447 (ALWAYS_USE_VSYSCALL): Likewise.
1448 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1451 (ALWAYS_USE_VSYSCALL): Likewise.
1452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1453 (ALWAYS_USE_VSYSCALL): Likewise.
1454 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1458 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1459 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1460 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1461 USE_VSYSCALL): Remove defitions.
1464 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1465 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1466 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1470 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1471 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1473 (ALWAYS_USE_VSYSCALL): Define.
1474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1475 (ALWAYS_USE_VSYSCALL): Likewise.
1478 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1479 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1480 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1483 * sysdeps/sh/libm-test-ulps: Update.
1485 2019-08-05 Florian Weimer <fweimer@redhat.com>
1488 * login/uptmp-private.h (struct ufuncs): Remove definition.
1489 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1490 (__libc_utmp_jump_table): Remove declarations.
1491 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1492 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1493 (__libc_updwtmp): Declare.
1494 * login/getutent_r.c (__libc_utmp_unknown_functions)
1495 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1496 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1497 (endutent_unknown): Remove definitions.
1498 (__setutent): Call __libc_setutent.
1499 (__getutent_r): Call __libc_getutent_r.
1500 (__pututline): Call __libc_pututline.
1501 (__endutent): Call __libc_endutent.
1502 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1503 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1504 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1505 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1506 (__libc_setutent): Rename from stetutent_file. Drop static.
1507 (maybe_setutent): New function.
1508 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1509 Check for initialization.
1510 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1511 Check for initialization.
1512 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1513 Check for initialization.
1514 (__libc_pututline): Rename from pututline_file. Drop static.
1515 Check for initialization.
1516 (__libc_endutent): Rename from endutent_file. Drop static. Check
1518 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1519 * login/utmpname.c (__utmpname): Call __libc_endutent.
1520 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1521 __libc_getutlien_r, __libc_endutent.
1522 * manual/users.texi (Who Logged In, Manipulating the Database):
1525 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1527 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1529 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1531 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1533 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1534 kernel version number to 5.2.
1536 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1538 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1539 mnemonics and set .machine power8.
1540 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1541 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1543 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1547 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1548 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1549 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1551 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1553 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1555 2019-08-01 Florian Weimer <fweimer@redhat.com>
1558 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1561 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1564 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1567 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1569 * version.h (RELEASE): Set to "stable".
1570 (VERSION): Set to "2.30".
1571 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1573 * manual/install.texi: Update component versions.
1574 * INSTALL: Regenerate.
1577 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1579 * po/be.po: Update translations.
1580 * po/bg.po: Likewise.
1581 * po/ca.po: Likewise.
1582 * po/cs.po: Likewise.
1583 * po/da.po: Likewise.
1584 * po/de.po: Likewise.
1585 * po/el.po: Likewise.
1586 * po/eo.po: Likewise.
1587 * po/es.po: Likewise.
1588 * po/fi.po: Likewise.
1589 * po/fr.po: Likewise.
1590 * po/gl.po: Likewise.
1591 * po/hr.po: Likewise.
1592 * po/hu.po: Likewise.
1593 * po/ia.po: Likewise.
1594 * po/id.po: Likewise.
1595 * po/it.po: Likewise.
1596 * po/ja.po: Likewise.
1597 * po/ko.po: Likewise.
1598 * po/lt.po: Likewise.
1599 * po/nb.po: Likewise.
1600 * po/nl.po: Likewise.
1601 * po/pl.po: Likewise.
1602 * po/pt_BR.po: Likewise.
1603 * po/ru.po: Likewise.
1604 * po/rw.po: Likewise.
1605 * po/sk.po: Likewise.
1606 * po/sl.po: Likewise.
1607 * po/sv.po: Likewise.
1608 * po/tr.po: Likewise.
1609 * po/uk.po: Likewise.
1610 * po/vi.po: Likewise.
1611 * po/zh_CN.po: Likewise.
1612 * po/zh_TW.po: Likewise.
1614 2019-07-31 Florian Weimer <fweimer@redhat.com>
1618 iconv, libio: Revert reference counting changes.
1619 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1620 free the steps array.
1621 * libio/Makefile (tests): Remove tst-wfile-gconv.
1622 (tests-container): Do not add tst-wfile-ascii.
1623 (tst-wfile-gconv-ENV): Do not set.
1624 (generated): Do not add tst-wfile-gconv.mtrace,
1625 tst-wfile-gconv.check.
1626 [($run-built-tests)] (tests-special): Do not add
1627 tst-wfile-gconv-mem.out.
1628 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1629 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1630 instead of __wcsmbs_clone_conv.
1631 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1632 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1634 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1637 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1639 2019-07-30 Florian Weimer <fweimer@redhat.com>
1641 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1642 type to uintptr_t. Update comment.
1643 (check_stack_top): Adjust.
1645 2019-07-29 Florian Weimer <fweimer@redhat.com>
1647 Linux: Move declaration of getdents64 to <dirent.h>.
1648 * bits/dirent_ext.h: New file.
1649 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1650 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1651 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1652 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1654 * manual/filesys.texi (Low-level Directory Access): Update header
1657 2019-07-29 DJ Delorie <dj@redhat.com>
1658 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1661 * Makeconfig (all-subdirs): Improved source comments.
1662 * Makefile (testroot.pristine/install.stamp): Pass
1663 subdirs='$(sorted-subdirs)' to make install.
1665 2019-07-25 Florian Weimer <fweimer@redhat.com>
1668 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1669 counter before freeing array.
1671 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1674 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1676 * sysdeps/x86_64/configure: Regenerated.
1677 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1678 to -mprefer-vector-width=128 if supported.
1680 2019-07-24 Florian Weimer <fweimer@redhat.com>
1682 * scripts/build-many-glibcs.py (Context.checkout): Default to
1685 2019-07-24 Florian Weimer <fweimer@redhat.com>
1688 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1689 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1690 (sysdep_headers): Add bits/socket-constants.h.
1691 (tests-special): Add tst-socket-consts.out.
1692 (tst-socket-consts.out): New target.
1693 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1694 around <asm/unistd.h>.
1695 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1696 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1698 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1699 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1700 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1701 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1702 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1705 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1707 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1710 * Makefile (testroot.pristine/install.stamp): Pass
1711 subdirs='$(all-subdirs)' to make install.
1713 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1714 the same arguments used in all tests.
1716 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1718 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1720 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1723 * locale/C-translit.h.in: Add Cyrillic transliteration.
1725 2019-07-19 Florian Weimer <fweimer@redhat.com>
1727 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1729 (fsconfig): Add system call name.
1730 (fsmount): Likewise.
1733 (move_mount): Likewise.
1734 (open_tree): Likewise.
1736 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1738 * po/libc.pot: Regenerate.
1740 2019-07-18 Mike Crowe <mac@mcrowe.com>
1742 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1743 functions recently added to sysdeps/nptl/pthread.h:
1744 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1745 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1747 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1748 pthread_cond_clockwait forwarding functions. There are no internal
1749 users, so it is unnecessary to expose these functions in libc.so.
1750 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1751 unnecessary ptr___pthread_cond_clockwait member.
1752 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1755 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1758 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1759 begin with an uppercase letter now.
1761 (mon): Update from CLDR, reword February from "Kudo" to
1762 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1763 and August from "Liiqen" to "Leqeeni".
1764 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1765 April from "Agda Baxisso" to "Agda Baxis" and August from
1766 "Leqeeni" to "Liiqen".
1767 * localedata/locales/aa_ER@saaho (mon): Likewise.
1768 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1769 abbreviated February from "Kud" to "Nah".
1770 (mon): Update from CLDR, reword February from "Kudo" to
1771 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1773 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1776 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1778 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1781 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1782 name_mrs, name_miss, and name_ms.
1783 * localedata/locales/nl_NL (LC_NAME): Likewise.
1785 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1788 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1789 * localedata/locales/en_IE (first_weekday): Likewise.
1791 2019-07-12 Mike Crowe <mac@mcrowe.com>
1793 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1794 that is only useful if futex_supports_exact_relative_timeouts ()
1796 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1798 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1799 timeouts potentially being imprecise since it's no longer true.
1800 Remove declaration of futex_supports_exact_relative_timeouts.
1801 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1802 of futex_supports_exact_relative_timeouts.
1804 * NEWS: Mention recently-added pthread_cond_clockwait,
1805 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1806 sem_clockwait functions.
1808 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1809 works like pthread_mutex_timedlock but takes a clockid parameter to
1810 measure the abstime parameter against.
1811 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1812 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1813 * nptl/pthread_mutex_timedlock.c
1814 (__pthread_mutex_clocklock_common): Rename from
1815 __pthread_mutex_timedlock and add clockid parameter. Pass this
1816 parameter to lll_clocklock and lll_clocklock_elision in place of
1817 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1818 LIBC_PROBE and validate clockid parameter before calling
1819 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1820 implementation to add LIBC_PROBE and calls
1821 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1823 * nptl/Makefile: Add tst-mutex11.c.
1824 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1825 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1826 clockid parameters to pthread_mutex_clocklock.
1827 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1828 clockid parameter to indicate which clock to be used. Call
1829 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1830 (do_test): Call do_test_clock to separately test
1831 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1832 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1833 * nptl/tst-mutex9.c: Likewise.
1834 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1835 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1837 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1839 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1841 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1843 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1845 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1847 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1849 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1850 (GLIBC_2.30): Likewise.
1851 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1852 (GLIBC_2.30): Likewise.
1853 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1854 (GLIBC_2.30): Likewise.
1855 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1856 (GLIBC_2.30): Likewise.
1857 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1858 (GLIBC_2.30): Likewise.
1859 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1862 (GLIBC_2.30): Likewise.
1863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1864 (GLIBC_2.30): Likewise.
1865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1866 (GLIBC_2.30): Likewise.
1867 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1868 (GLIBC_2.30): Likewise.
1869 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1870 (GLIBC_2.30): Likewise.
1871 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1872 (GLIBC_2.30): Likewise.
1873 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1875 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1876 (GLIBC_2.30): Likewise.
1877 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1878 (GLIBC_2.30): Likewise.
1879 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1880 (GLIBC_2.30): Likewise.
1881 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1882 (GLIBC_2.30): Likewise.
1884 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1885 parameter to indicate the clock that the abstime parameter should
1886 be measured against in preparation for adding
1887 pthread_mutex_clocklock.
1888 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1889 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1890 from __lll_timedlock and add clockid parameter.
1891 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1893 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1894 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1895 rather than __gettimeofday so that clockid can be used. This means
1896 that conversion from struct timeval is no longer required.
1897 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1899 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1900 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1901 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1902 from lll_timedlock_elision, add clockid parameter and use
1903 meaningful names for other parameters. (__pthread_mutex_timedlock):
1904 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1905 lll_clocklock_elision.
1906 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1907 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1908 clockid parameter. (__lll_clocklock_elision): Rename from
1909 __lll_timedlock_elision and add clockid parameter.
1910 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1911 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1913 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1914 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1915 (LLL_LOCK): Likewise.
1916 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1917 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1919 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1920 pthread_rwlock_clockwrlock which behave like
1921 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1922 respectively, except they always measure abstime against the
1923 supplied clockid. The functions currently support CLOCK_REALTIME
1924 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1926 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1927 pthread_wrlock_clockwrlock.
1928 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1929 pthread_rwlock_clockwrlock.c.
1930 * nptl/pthread_rwlock_clockrdlock.c: Implement
1931 pthread_rwlock_clockrdlock.
1932 * nptl/pthread_rwlock_clockwrlock.c: Implement
1933 pthread_rwlock_clockwrlock.
1934 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1935 clockid parameter and verify that it indicates a supported clock on
1936 entry so that we fail even if it doesn't end up being used. Pass
1937 that clock on to futex_abstimed_wait when necessary.
1938 (__pthread_rwlock_wrlock_full): Likewise.
1939 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1940 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1941 be used because there's no timeout.
1942 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1943 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1944 be used because there is no timeout.
1945 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1946 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1948 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1949 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1951 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1952 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1953 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1954 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1955 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1956 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1957 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1958 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1959 (GLIBC_2.30): Likewise.
1960 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1961 (GLIBC_2.30): Likewise.
1962 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1963 (GLIBC_2.30): Likewise.
1964 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1965 (GLIBC_2.30): Likewise.
1966 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1967 (GLIBC_2.30): Likewise.
1968 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1970 (GLIBC_2.30): Likewise.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1972 (GLIBC_2.30): Likewise.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1974 (GLIBC_2.30): Likewise.
1975 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1976 (GLIBC_2.30): Likewise.
1977 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1978 (GLIBC_2.30): Likewise.
1979 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1980 (GLIBC_2.30): Likewise.
1981 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
1982 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1983 (GLIBC_2.30): Likewise.
1984 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1985 (GLIBC_2.30): Likewise.
1986 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1987 (GLIBC_2.30): Likewise.
1988 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1989 (GLIBC_2.30): Likewise.
1990 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
1991 pthread_rwlock_clockwrlock timeout tests to match the existing
1992 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
1993 * nptl/tst-rwlock14.c (do_test): Likewise.
1994 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
1995 ancillary output throughout. (tf): Accept thread_args structure so
1996 that rwlock, a clockid and function name can be passed to the
1997 thread. (do_test_clock): Rename from do_test. Accept clockid
1998 parameter to specify test clock. Use the magic clockid value of
1999 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2000 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2001 specified clockid to pthread_rwlock_clockrdlock and
2002 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2003 (do_test): Call do_test_clock to test each clockid in turn.
2004 * nptl/tst-rwlock7.c: Likewise.
2005 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2006 thread_args structure so that the (now int) thread number, the
2007 clockid and the function name can be passed to the thread.
2008 (do_test_clock): Renamed from do_test. Pass the necessary
2009 thread_args when creating the reader and writer threads. Use
2010 xpthread_create and xpthread_join.
2011 (do_test): Call do_test_clock to test each clockid in turn.
2012 * manual/threads.texi: Add documentation for
2013 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2015 nptl: pthread_rwlock: Move timeout validation into _full functions
2016 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2017 Check validity of abstime parameter.
2018 (__pthread_rwlock_rwlock_full): Likewise.
2019 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2020 Remove check for validity of abstime parameter.
2021 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2024 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2025 like pthread_cond_timedwait except it always measures abstime
2026 against the supplied clockid.
2027 * nptl/Makefile: Add tst-cond26 and tst-cond27
2028 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2029 * sysdeps/nptl/pthread.h: Likewise
2030 * nptl/forward.c: Add __pthread_cond_clockwait
2031 * nptl/forward.c: Likewise
2032 * nptl/pthreadP.h: Likewise
2033 * sysdeps/nptl/pthread-functions.h: Likewise
2034 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2035 clockid parameter and comment describing why we don't need to check
2036 its value. Use that value when calling
2037 futex_abstimed_wait_cancelable rather than reading the clock from
2038 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2039 (__pthread_cond_timedwait): Read clock from flags and pass it to
2040 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2041 function with weak alias from pthread_cond_clockwait.
2042 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2043 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2044 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2045 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2046 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2047 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2048 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2049 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2050 (GLIBC_2.30): Likewise.
2051 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2052 (GLIBC_2.30): Likewise.
2053 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2054 (GLIBC_2.30): Likewise.
2055 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2056 (GLIBC_2.30): Likewise.
2057 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2058 (GLIBC_2.30): Likewise.
2059 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2061 (GLIBC_2.30): Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2063 (GLIBC_2.30): Likewise.
2064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2065 (GLIBC_2.30): Likewise.
2066 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2067 (GLIBC_2.30): Likewise.
2068 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2069 (GLIBC_2.30): Likewise.
2070 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2071 (GLIBC_2.30): Likewise.
2072 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2074 (GLIBC_2.30): Likewise.
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2076 (GLIBC_2.30): Likewise.
2077 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2078 (GLIBC_2.30): Likewise.
2079 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2080 (GLIBC_2.30): Likewise.
2081 * nptl/tst-cond11.c (run_test): Support testing
2082 pthread_cond_clockwait too by using a special magic
2083 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2084 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2085 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2086 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2087 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2088 clocks to pthread_cond_clockwait.
2089 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2090 struct timespec and pthread_cond_clockwait.
2091 * manual/threads.texi: Document pthread_cond_clockwait.
2093 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2094 sem_timedwait, but measures abstime against the specified clock.
2095 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2096 clockid parameters to indicate the clock which abstime should be
2098 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2099 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2100 __new_sem_wait_slow.
2101 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2103 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2104 sem_clockwait.c to match those used for sem_timedwait.c.
2105 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2106 * nptl/Versions (GLIBC_2.30): Likewise.
2107 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2108 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2109 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2110 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2111 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2112 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2113 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2114 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2115 (GLIBC_2.30): Likewise.
2116 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2117 (GLIBC_2.30): Likewise.
2118 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2119 (GLIBC_2.30): Likewise.
2120 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2121 (GLIBC_2.30): Likewise.
2122 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2123 (GLIBC_2.30): Likewise.
2124 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2126 (GLIBC_2.30): Likewise.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2128 (GLIBC_2.30): Likewise.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2130 (GLIBC_2.30): Likewise.
2131 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2132 (GLIBC_2.30): Likewise.
2133 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2134 (GLIBC_2.30): Likewise.
2135 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2136 (GLIBC_2.30): Likewise.
2137 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2138 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2139 (GLIBC_2.30): Likewise.
2140 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2141 (GLIBC_2.30): Likewise.
2142 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2143 (GLIBC_2.30): Likewise.
2144 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2145 (GLIBC_2.30): Likewise.
2146 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2148 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2149 tests to also test sem_clockwait.
2150 * manual/threads.texi: Document sem_clockwait.
2152 nptl: Add clockid parameter to futex timed wait calls
2153 * sysdeps/nptl/lowlevellock-futex.h,
2154 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2155 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2156 takes a clockid rather than a special clockbit.
2157 * sysdeps/nptl/lowlevellock-futex.h: Add
2158 lll_futex_supported_clockid so that client functions can check
2159 whether their clockid parameter is valid even if they don't
2160 ultimately end up calling lll_futex_clock_wait_bitset.
2161 * sysdeps/nptl/futex-internal.h,
2162 sysdeps/unix/sysv/linux/futex-internal.h
2163 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2164 clockid_t parameter to indicate which clock the absolute time
2165 passed should be measured against. Pass that clockid onto
2166 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2168 * sysdeps/nptl/futex-internal.h,
2169 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2170 futex_abstimed_supported_clockid so that client functions can check
2171 whether their clockid parameter is valid even if they don't
2172 ultimately end up calling futex_abstimed_wait.
2173 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2174 code to calculate relative timeout for
2175 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2176 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2177 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2178 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2179 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2180 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2181 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2183 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2186 * posix/tst-mmap-offset.c: Mention BZ #24699.
2187 (do_test_bz21270): Rename to do_test_large_offset and use
2188 mmap64_maximum_offset to check for maximum expected offset value.
2189 * sysdeps/generic/mmap_info.h: New file.
2190 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2191 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2194 2019-07-10 DJ Delorie <dj@redhat.com>
2195 Sergei Trofimovich <slyfox@inbox.ru>
2199 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2201 * nss/tst-nss-db-endgrent.c: New.
2202 * nss/tst-nss-db-endgrent.root: New.
2203 * nss/tst-nss-db-endpwent.c: New.
2204 * nss/tst-nss-db-endpwent.root: New.
2205 * nss/Makefile: Add new tests.
2206 * support/links-dso-program-c.c: Add selinux dependency.
2207 * support/links-dso-program.cc: Add selinux dependency.
2208 * support/Makefile: Build those with -lselinux if enabled.
2210 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2212 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2213 DT_AARCH64_VARIANT_PCS check.
2214 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2215 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2218 2019-07-10 Andreas Schwab <schwab@suse.de>
2221 * malloc/malloc.h (__malloc_check_init): Don't declare.
2222 * include/malloc.h (__malloc_check_init): Likewise.
2223 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2224 * manual/memory.texi (__malloc_check_init): Don't mention it.
2226 2019-07-10 Mao Han <han_mao@c-sky.com>
2228 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2230 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2232 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2233 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2235 2019-07-08 DJ Delorie <dj@redhat.com>
2238 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2239 * io/tst-ftw-lnk.c: New test.
2240 * io/Makefile: Run it.
2242 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2244 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2245 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2246 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2247 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2248 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2249 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2251 Adjust implementation path.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2253 Adjust implementation path.
2254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2255 Adjust implementation path.
2256 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2257 (libm-sysdep_routines): Add s_log* objects.
2258 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2259 CFLAGS-s_logb-power7.c): New fule.
2260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2262 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2266 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2269 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2272 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2276 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2279 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2282 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2286 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2289 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2291 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2292 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2293 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2296 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2297 powerpc32 integer 0 converting to -0.
2299 * benchtests/Makefile (bench-math): Add logb.
2300 * benchtests/logb-inputs: New file.
2301 * benchtests/logbf-inputs: New file.
2303 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2304 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2305 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2306 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2311 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2312 sysdep_routines): Add s_modf* objects.
2313 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2314 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2317 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2321 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2324 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2327 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2330 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2333 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2335 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2336 twoM500, twoM600, two60factor, pdnum): Remove.
2337 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2338 (__ieee754_hypot): Replace static variables with inline definition,
2339 remove ununsed branches.
2340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2341 (libm-sysdep_routines): Remove e_hypot-* objects.
2342 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2343 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2348 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2349 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2351 * benchtests/Makefile (bench-math): Add hypot.
2352 * benchtests/hypot-inputs: New file.
2354 2019-07-08 Vincent Chen <vincentc@andestech.com>
2356 * sysdeps/unix/sysv/linux/dl-vdso.h
2357 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2359 2019-07-04 Andreas Schwab <schwab@suse.de>
2362 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2364 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2366 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2367 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2368 * sysdeps/aarch64/sys/ifunc.h: New file.
2369 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2370 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2372 2019-07-01 Florian Weimer <fweimer@redhat.com>
2375 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2376 Replace __vfork with __libpthread_version_placeholder for
2378 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2379 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2381 * nptl/pt-vfork.c: Remove file.
2382 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2383 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2384 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2385 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2386 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2387 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2388 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2389 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2390 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2391 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2392 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2393 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2394 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2395 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2396 Remove vfork, __vfork.
2397 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2399 (GLIBC_2.1.2): Replace __vfork with
2400 __libpthread_version_placeholder.
2401 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2402 Remove vfork, __vfork.
2403 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2405 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2407 (GLIBC_2.1.2): Replace __vfork with
2408 __libpthread_version_placeholder.
2409 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2411 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2412 (GLIBC_2.4): Remove vfork, __vfork.
2413 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2414 (GLIBC_2.0): Remove vfork.
2415 (GLIBC_2.1.2): Replace __vfork with
2416 __libpthread_version_placeholder.
2417 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2418 (GLIBC_2.18): Remove vfork, __vfork.
2419 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2420 (GLIBC_2.0): Remove vfork.
2421 (GLIBC_2.2): Remove __vfork.
2422 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2423 (GLIBC_2.2): Remove vfork, __vfork.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2425 (GLIBC_2.0): Remove vfork.
2426 (GLIBC_2.1.2): Replace __vfork with
2427 __libpthread_version_placeholder.
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2429 (GLIBC_2.3): Remove vfork, __vfork.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2431 (GLIBC_2.17): Likewise.
2432 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2433 (GLIBC_2.0): Remove vfork.
2434 (GLIBC_2.1.2): Replace __vfork with
2435 __libpthread_version_placeholder.
2436 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2437 (GLIBC_2.2): Remove vfork, __vfork.
2438 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2440 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2441 (GLIBC_2.0): Remove vfork.
2442 (GLIBC_2.1.2): Replace __vfork with
2443 __libpthread_version_placeholder.
2444 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2445 (GLIBC_2.2): Remove vfork, __vfork.
2446 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2447 (GLIBC_2.2.5): Likewise.
2448 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2449 (GLIBC_2.16): Likewise.
2450 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2451 Remove __errno_location.
2453 2019-07-02 Florian Weimer <fweimer@redhat.com>
2456 * malloc/Depend: Add nptl and htl, due to potential indirect
2457 libpthread dependency of memusagestat.
2459 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2461 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2464 2019-07-01 Florian Weimer <fweimer@redhat.com>
2466 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2467 variant for arm-linux-gnueabi.
2469 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2472 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2474 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2475 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2476 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2477 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2478 and tst-cet-legacy-mod-6c.
2479 (CFLAGS-tst-cet-legacy-5a.c): New.
2480 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2481 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2482 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2483 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2484 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2485 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2486 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2487 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2488 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2489 ($(objpfx)tst-cet-legacy-5a): Likewise.
2490 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2491 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2492 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2493 ($(objpfx)tst-cet-legacy-5b): Likewise.
2494 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2495 (tst-cet-legacy-5b-ENV): Likewise.
2496 ($(objpfx)tst-cet-legacy-6a): Likewise.
2497 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2498 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2499 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2500 ($(objpfx)tst-cet-legacy-6b): Likewise.
2501 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2502 (tst-cet-legacy-6b-ENV): Likewise.
2503 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2504 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2505 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2506 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2507 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2508 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2509 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2510 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2511 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2512 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2513 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2514 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2515 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2516 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2518 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2520 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2521 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2522 (__fegetround_ISA300) New.
2523 (__fegetround_ISA2) New.
2524 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2525 (_FPU_MFFS): Move implementation...
2527 (_FPU_MFFSL): Move implementation....
2528 (_FPU_GET_RC_ISA300): Here. New.
2529 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2530 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2531 (fegetenv_status): New.
2532 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2533 instead of fegetenv_register().
2534 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2536 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2538 * benchtests/bench-math-inlines.c: Increase iterations.
2539 * benchtests/bench-memcmp.c: Likewise.
2540 * benchtests/bench-rawmemchr.c: Likewise.
2541 * benchtests/bench-strcmp.c: Likewise.
2542 * benchtests/bench-strcpy_chk.c: Likewise.
2543 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2544 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2545 (INNER_LOOP_ITERS_SMALL): Likewise.
2546 * benchtests/bench-strncat.c: Increase iterations.
2547 * benchtests/bench-strncmp.c: Increase iterations.
2548 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2549 * benchtests/bench-strrchr.c: Increase iterations.
2550 * benchtests/bench-strstr.c: Keep iterations unchanged.
2551 * benchtests/bench-strtod.c: Increase iterations.
2553 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2555 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2556 with INNER_LOOP_ITERS_LARGE.
2557 * benchtests/bench-memchr.c: Likewise.
2558 * benchtests/bench-rawmemchr.c: Likewise.
2559 * benchtests/bench-strcat.c: Likewise.
2560 * benchtests/bench-strchr.c: Likewise.
2561 * benchtests/bench-string.h: Likewise.
2562 * benchtests/bench-strlen.c: Likewise.
2563 * benchtests/bench-strncpy.c: Likewise.
2564 * benchtests/bench-strnlen.c: Likewise.
2566 2019-06-28 Florian Weimer <fweimer@redhat.com>
2568 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2569 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2570 entire allocated memory range.
2572 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2574 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2575 (prepare_version_base): New helper inline function.
2576 (prepare_version): New macro replacing PREPARE_VERSION.
2577 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2579 2019-06-28 Florian Weimer <fweimer@redhat.com>
2582 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2583 mismatch in a versioned symbol reference.
2584 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2585 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2586 tst-sonamemove-dlopen.
2587 (module-names): Add tst-sonamemove-linkmod1,
2588 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2589 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2590 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2591 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2592 (tst-sonamemove-runmod1.so): Link against
2593 tst-sonamemove-runmod2.so.
2594 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2595 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2596 tst-sonamemove-runmod2.so.
2597 (tst-sonamemove-dlopen): Link with -ldl.
2598 (tst-sonamemove-dlopen.out): Likewise.
2599 * elf/tst-sonamemove-link.c: New file.
2600 * elf/tst-sonamemove-dlopen.c: Likewise.
2601 * elf/tst-sonamemove-linkmod1.c: Likewise.
2602 * elf/tst-sonamemove-linkmod1.map: Likewise.
2603 * elf/tst-sonamemove-runmod1.c: Likewise.
2604 * elf/tst-sonamemove-runmod1.map: Likewise.
2605 * elf/tst-sonamemove-runmod2.c: Likewise.
2606 * elf/tst-sonamemove-runmod2.map: Likewise.
2608 2019-06-28 Florian Weimer <fweimer@redhat.com>
2610 * support/xdlfcn.h (xdlvsym): Declare function.
2611 * support/xdlfcn.c (xdlvsym): Define funciton.
2613 2019-06-28 Florian Weimer <fweimer@redhat.com>
2616 io: Remove the copy_file_range emulation.
2617 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2618 not define and call copy_file_range_compat.
2619 * io/Makefile (tests-static, tests-internal): Do not add
2620 tst-copy_file_range-compat.
2621 * io/copy_file_range-compat.c: Remove file.
2622 * io/copy_file_range.c (copy_file_range): Define as stub.
2623 * io/tst-copy_file_range-compat.c: Remove file.
2624 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2625 (typical_sizes): Update comment. Remove 16K sizes.
2626 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2628 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2629 (delayed_write_failure_beginning, delayed_write_failure_end)
2630 (cross_device_failure, enospc_failure_1, enospc_failure)
2631 (oappend_failure): Remove functions.
2632 (tests): Adjust test case list.
2633 (do_test): Remove file system search code. Check for ENOSYS from
2634 copy_file_range. Do not free xdevfile.
2635 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2636 copy_file_range. Do not document the EXDEV error, which future
2637 kernels may not report. Update the wording to reflect that
2638 further errors are possible.
2639 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2640 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2642 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2643 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2645 * sysdeps/unix/sysv/linux/kernel-features.h
2646 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2648 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2649 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2651 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2652 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2655 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2657 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2658 used as a mask for the mode argument of __vfprintf_internal.
2659 * stdio-common/printf-parse.h (printf_arg): New union member:
2661 * stdio-common/vfprintf-internal.c
2662 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2663 (PARSE_FLOAT_VA_ARG): Likewise.
2664 (SETUP_FLOAT128_INFO): Likewise.
2665 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2666 SETUP_FLOAT128_INFO.
2667 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2668 floating-point value to the new union member, pa_float128.
2669 (printf_positional): Zero-initialize args_value[cnt] with memset.
2671 2019-06-27 Florian Weimer <fweimer@redhat.com>
2674 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2675 buffer size if necessary.
2676 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2678 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2680 (large_buffer_checks): Likewise.
2681 (do_test): Call large_buffer_checks.
2683 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2685 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2686 * sysdeps/x86/dl-lookupcfg.h: Here.
2687 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2689 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2692 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2696 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2697 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2698 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2699 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2701 * sysdeps/powerpc/powerpc32/fpu/Makefile
2702 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2703 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2704 and fctidz optimization.
2705 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2706 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2708 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2709 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2710 CFLAGS-s_lround-power5+.c): New rule.
2711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2731 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2732 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2733 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2734 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2735 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2736 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2737 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2739 2019-06-26 Vincent Chen <vincentc@andestech.com>
2741 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2742 specific system calls, fp_udfiex_crtl and udftrap.
2744 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2746 * nptl/tst-eintr1.c (tf1): Add return statement.
2747 (do_test): Remove unused th variable.
2749 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2751 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2752 Return error if get_character fails.
2754 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2756 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2758 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
2761 * localedata/locales/szl_PL (day): Use the correct Unicode
2762 sequences instead of non-ASCII characters.
2764 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2767 * localedata/locales/szl_PL (abday): Spelling corrections.
2771 (alt_mon): This, then apply spelling corrections.
2772 (mon): New entry, month names in the genitive case.
2774 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
2777 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2778 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2779 (thousands_sep): Likewise.
2780 (grouping): Set to 3;3.
2782 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2784 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2785 PREPARE_VERSION_KNOWN.
2786 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2787 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2789 (VDSO_HASH_LINUX_2_6_39): Likewise.
2790 (VDSO_NAME_LINUX_4_9): Likewise.
2791 (VDSO_HASH_LINUX_4_9): Likewise.
2792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2793 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2794 (_libc_vdso_platform_setup): Likewise.
2795 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2796 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2798 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2801 2019-06-20 Mike Crowe <mac@mcrowe.com>
2803 * nptl/eintr.c: Use libsupport.
2804 * nptl/tst-eintr1.c: Likewise.
2805 * nptl/tst-eintr2.c: Likewise.
2806 * nptl/tst-eintr3.c: Likewise.
2807 * nptl/tst-eintr4.c: Likewise.
2808 * nptl/tst-eintr5.c: Likewise.
2809 * nptl/tst-mutex-errorcheck.c: Likewise.
2810 * nptl/tst-mutex5.c: Likewise.
2812 * support/test-driver.h: Add verbose_printf macro.
2814 * support/xtime.h: Add xclock_now() helper function.
2816 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2817 Florian Weimer <fweimer@redhat.com>
2820 * libio/genops.c (_IO_unbuffer_all)
2821 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2822 buffers and access _IO_FILE_complete members of legacy libio streams.
2823 * libio/tst-bz24228.c: New file.
2824 * libio/tst-bz24228.map: Likewise.
2825 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2826 [build-shared] (generated): Add tst-bz24228.mtrace and
2828 [run-built-tests && build-shared] (tests-special): Add
2829 $(objpfx)tst-bz24228-mem.out.
2830 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2831 ($(objpfx)tst-bz24228-mem.out): New rule.
2833 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2835 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2836 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2837 (__FPU_MFFSL): Likewise.
2838 (_FPU_SETCW): Likewise.
2840 2019-06-19 Stan Shebs <stanshebs@google.com>
2841 Raoni Fassina Firmino <raoni@linux.ibm.com>
2844 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2845 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2846 static-linking version.
2847 * sysdeps/unix/sysv/linux/powerpc/Makefile
2848 (tests-static): Add test-gettimebasefreq-static.
2850 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2853 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
2856 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2857 between the currency symbol and the minus sign).
2858 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2860 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2863 * string/test-strcasestr.c (check_result): Add NULL check.
2864 * nss/tst-field.c (check_rewrite): Likewise.
2865 * benchtests/bench-strstr.c (do_one_test): Likewise.
2866 * string/test-strstr.c (check_result): Likewise.
2867 * argp/argp-test.c (popt): Increase size of buf to 12.
2868 * benchtests/bench-malloc-simple.c (bench):
2869 Do not initialize tests array out of bounds.
2871 2019-06-19 Florian Weimer <fweimer@redhat.com>
2874 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2877 2019-06-18 Florian Weimer <fweimer@redhat.com>
2880 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2881 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2882 fail when called from dlopen.
2883 * elf/Makefile [have-fpie && build-shared] (tests): Add
2885 (tst-dlopen-pie): Link with -ldl.
2886 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2887 * elf/tst-dlopen-pie.c (do_test): New file.
2889 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2892 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2893 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2894 between the currency symbol and the minus sign).
2895 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2896 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2898 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2900 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2901 sysdep-rtld-routines): Remove rules.
2902 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2903 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2904 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2905 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2906 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2907 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2908 vDSO path for SHARED.
2909 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2910 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2911 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2912 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2913 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2914 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2916 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2917 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2918 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2919 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2920 CFLAGS-s_llround-power5+.c): New rule.
2921 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2923 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2925 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2927 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2929 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2932 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2934 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2936 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2937 * sysdeps/powerpc/powerpc64/fpu/Makefile
2938 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2940 (libm-sysdep_routines): Remove s_llround-* objects.
2941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2951 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2952 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2953 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2954 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2955 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2956 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2957 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2958 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2959 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2960 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2961 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2962 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2963 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2964 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2966 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2967 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2968 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2969 * sysdeps/powerpc/powerpc32/fpu/Makefile
2970 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2971 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
2973 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
2974 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
2975 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
2976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2977 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
2978 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
2979 CFLAGS-s_lrint-ppc32.c): New rule.
2980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2990 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2992 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2993 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
2996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
2998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3005 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3006 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3008 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3009 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3011 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3013 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3016 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3018 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3020 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3021 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3022 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3024 (libm-sysdep_routines): Remove s_llrint-* objects.
3025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3030 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3031 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3032 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3033 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3034 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3035 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3036 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3037 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3038 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3040 2019-06-14 Florian Weimer <fweimer@redhat.com>
3042 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3043 argument to __glibc_has_include to inhibit macro expansion.
3045 2019-06-14 Florian Weimer <fweimer@redhat.com>
3047 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3048 function-like macro, so that __has_include can inhibit expansion
3051 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3053 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3057 Allow memset in libc.so.
3059 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3061 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3062 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3063 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3064 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3065 symbols at load time.
3066 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3068 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3070 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3071 (DT_AARCH64_VARIANT_PCS): Define.
3073 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3076 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3086 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3087 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3089 Remove s_finite* objects.
3090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3096 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3097 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3098 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3099 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3101 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3102 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3105 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3115 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3116 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3118 Remove s_isinf* and s_isinf* objects.
3119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3125 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3126 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3127 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3128 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3130 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3131 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3133 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3134 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3135 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3137 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3153 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3154 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3155 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3156 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3157 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3158 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3160 Remove s_isnan-* and s_isnanf-* objects.
3161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3170 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3171 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3172 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3173 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3174 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3175 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3176 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3177 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3179 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3180 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3182 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3183 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3184 CFLAGS-bench-isfinite.c): New rule.
3185 * benchtests/isnan-input: New file.
3186 * benchtests/isinf-input: New file.
3187 * benchtests/isfinite-input: New file.
3189 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3190 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3191 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3192 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3194 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3204 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3205 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3207 Remove s_copysign-power6 s_copysign-ppc64.
3208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3214 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3215 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3216 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3217 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3219 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3220 round_to_integer_float, round_mode): Add RINT handling.
3221 (reset_fenv_mode): New symbol.
3222 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3223 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3224 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3225 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3226 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3227 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3229 2019-06-12 Florian Weimer <fweimer@redhat.com>
3232 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3233 * libio/freopen.c (freopen): Use it.
3235 2019-06-12 Florian Weimer <fweimer@redhat.com>
3237 Linux: Deprecate sysctl.
3238 * include/sysctl.h (__sysctl): Remove declaration.
3239 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3241 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3242 (sysctl): Add deprecation attribute.
3243 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3244 directly, to avoid the deprecation warning. Do not include
3246 (__sysctl): Remove hidden alias.
3248 2019-06-12 Florian Weimer <fweimer@redhat.com>
3250 Linux: Use kernel headers for statx definitions if available.
3251 * include/bits/statx-generic.h: New file.
3252 * include/bits/types/struct_statx.h: Likewise.
3253 * include/bits/types/struct_statx_timestamp.h: Likewise.
3254 * io/Makefile (headers): Add bits/statx-generic.h.
3255 * io/bits/statx-generic.h: New file. Partly copied from
3257 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3258 define original_statx.
3259 * io/bits/types/struct_statx.h: Likewise.
3260 * io/bits/types/struct_statx_timestamp.h: Likewise.
3261 (statx_generic): Use original_statx.
3262 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3263 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3265 2019-06-12 Florian Weimer <fweimer@redhat.com>
3267 * misc/sys/cdefs.h (__glibc_has_include): Define.
3269 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3271 * string/memmem.c (__memmem): Rewrite to improve performance.
3273 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3275 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3277 (two_way_long_needle): Block inlining.
3278 * string/strstr.c (strstr2): Add new function.
3279 (strstr3): Likewise.
3280 (STRSTR): Completely rewrite strstr to improve performance.
3282 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3284 * benchtests/bench-strstr.c (test_hard_needle): New function.
3286 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3288 * malloc/tst-calloc.c: Include <libc-diag.h>.
3289 (null_test): Ignore -Wunused-result around calls to calloc.
3290 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3291 (do_test): Ignore -Wunused-result around call to malloc.
3293 2019-06-07 Florian Weimer <fweimer@redhat.com>
3295 Linux: Add getdents64 system call.
3296 * include/dirnent.h (getdents): Add comment and change buffer
3297 argument type to void *.
3298 (getdents64): Likewise. Add hidden prototype.
3299 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3301 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3303 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3304 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3305 argument type to void *.
3306 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3307 Add hidden definition and getdents64 alias.
3308 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3310 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3311 * manual/filesys.texi (Accessing Directories): Add Low-level
3312 Directory Access node reference.
3313 (Opening a Directory): Cross-reference it.
3314 (Low-level Directory Access): New node.
3315 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3317 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3319 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3320 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3322 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3324 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3326 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3328 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3330 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3332 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3334 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3335 (GLIBC_2.30): Likewise.
3336 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3337 (GLIBC_2.30): Likewise.
3338 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3339 (GLIBC_2.30): Likewise.
3340 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3341 (GLIBC_2.30): Likewise.
3342 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3345 (GLIBC_2.30): Likewise.
3346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3347 (GLIBC_2.30): Likewise.
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3349 (GLIBC_2.30): Likewise.
3350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3351 (GLIBC_2.30): Likewise.
3352 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3354 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3356 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3358 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3359 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3361 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3363 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3365 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3368 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3370 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3374 (_FPU_GETCW): Use __FPU_MFFS().
3375 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3377 2019-06-06 Florian Weimer <fweimer@redhat.com>
3379 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3380 internal GCC preprocessor identifier __has_include__.
3382 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3384 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3385 with call to equivalent function.
3387 2019-06-04 Florian Weimer <fweimer@redhat.com>
3389 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3390 (do_release_shlib): Adjust for __twalk_r.
3391 (__gconv_release_shlib): Call __twalk_r.
3393 2019-06-04 Andreas Schwab <schwab@suse.de>
3396 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3397 no irreversible characters occurred.
3398 * iconv/gconv_simple.c (internal_ucs4_loop)
3399 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3400 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3401 (ucs4_internal_loop_single, internal_ucs4le_loop)
3402 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3403 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3404 (ucs4le_internal_loop_single): Add const to outend.
3405 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3406 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3407 * iconv/Makefile (tests): Add tst-iconv7.
3408 * iconv/tst-iconv7.c: New file.
3410 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3412 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3414 2019-06-01 Florian Weimer <fweimer@redhat.com>
3416 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3417 * sysdeps/unix/sysv/linux/arm/Makefile
3418 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3419 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3420 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3421 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3422 compatibility symbols.
3424 2019-05-31 Florian Weimer <fweimer@redhat.com>
3426 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3427 system calls for the arm architecture: breakpoint, get_tls,
3428 set_tls, usr26, usr32.
3430 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3432 * sysdeps/powerpc/Makefile
3433 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3434 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3435 Declare '.machine power7' to get support for ldbrx.
3436 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3437 directive based on the directory of the file.
3438 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3439 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3440 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3441 '.machine' directive.
3442 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3443 (VADDUQM_V7_V8): Remove.
3444 (__STRCASECMP): Replace macros with actual instructions.
3445 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3446 '.machine' directive.
3447 (VCLZD_V8_v7): Remove.
3448 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3450 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3452 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3454 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3456 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3458 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3460 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3461 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3462 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3463 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3464 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3465 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3467 2019-05-28 mansayk <6688000@gmail.com>
3470 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3472 2019-05-28 mansayk <6688000@gmail.com>
3475 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3476 (abmon): Likewise, but remove the trailing dots.
3478 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3480 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3482 2019-05-27 Florian Weimer <fweimer@redhat.com>
3484 * nptl/nptl-init.c: Add comment.
3486 2019-05-24 Florian Weimer <fweimer@redhat.com>
3488 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3489 struct in_addr/struct in6_addr alignment.
3491 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3494 (F_SEAL_FUTURE_WRITE): New macro.
3496 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3498 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3499 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3500 * elf/tst-ldconfig_aux-cache.root: New directory.
3501 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3502 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3503 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3505 2019-05-22 Zack Weinberg <zackw@panix.com>
3507 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3509 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3510 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3512 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3517 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3518 Issue an #error if used with a compiler in SPE-float mode.
3519 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3520 * sysdeps/powerpc/powerpc32/setjmp_common.S
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3527 Remove code to preserve SPE register state.
3529 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3530 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3531 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3532 Remove __SPE__ ifndefs.
3534 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3536 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3537 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3538 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3539 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3540 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3541 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3542 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3543 (INNER_LOOP_ITERS_MEDIUM): New define.
3544 (INNER_LOOP_ITERS_SMALL): New define.
3545 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3546 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3547 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3548 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3549 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3551 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3553 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3555 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3556 (SEMTIMEDOP_IPC_ARGS): Likewise.
3558 2019-05-21 Florian Weimer <fweimer@redhat.com>
3561 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3562 before updating __counter field and release it afterwards. Add
3564 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3565 requirement for __counter member.
3567 2019-05-21 Florian Weimer <fweimer@redhat.com>
3570 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3571 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3572 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3573 instead of __gconv_release_step.
3574 * libio/Makefile (tests): Add tst-wfile-gconv.
3575 (tests-container): Add tst-wfile-ascii.
3576 (tst-wfile-gconv-ENV): Enable mtrace.
3577 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3578 (tests-special): Add tst-wfile-gconv-mem.out.
3579 (tst-wfile-gconv.out): Depend on locales.
3580 (tst-wfile-gconv-mem.out): Add mtrace rule.
3581 * libio/tst-wfile-ascii.c: New file.
3582 * libio/tst-wfile-gconv.c: Likewise.
3584 2019-05-20 Florian Weimer <fweimer@redhat.com>
3587 libio: Remove codecvt vtable.
3588 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3590 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3591 __libio_codecvt_encoding.
3592 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3593 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3594 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3595 * libio/iofwide.c (__libio_codecvt): Remove variable.
3596 (_IO_fwide): Do not copy __libio_codecvt.
3597 (__libio_codecvt_out): Rename from do_out and export.
3598 (do_unshift): Remove function.
3599 (__libio_codecvt_in): Rename from do_in and export.
3600 (__libio_codecvt_encoding): Rename from do_encoding and export.
3601 (do_always_noconv): Remove function.
3602 (__libio_codecvt_length): Rename from do_length and export.
3603 (do_max_length): Remove function.
3604 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3606 (struct _IO_codecvt): Remove fields __codecvt_destr,
3607 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3608 __codecvt_do_encoding, __codecvt_do_always_noconv,
3609 __codecvt_do_length, __codecvt_do_max_length.
3610 * libio/libioP.h (enum __codecvt_result): Define; moved from
3612 (__libio_codecvt_out, __libio_codecvt_in)
3613 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3615 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3616 (_IO_wfile_underflow): Call __libio_codecvt_in.
3617 (_IO_wfile_underflow): Likewise.
3618 (_IO_wfile_underflow_mmap): Likewise.
3619 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3620 __libio_codecvt_length.
3621 (adjust_wide_data): Call __libio_codecvt_encoding,
3623 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3624 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3625 __libio_codecvt_length.
3627 2019-05-20 Florian Weimer <fweimer@redhat.com>
3629 * support/support.h (support_sbindir_prefix): Declare.
3630 (support_install_rootsbindir): Update comment.
3631 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3632 * support/support_paths.c (support_sbindir_prefix): Define.
3634 2019-05-20 Mike Crowe <mac@mcrowe.com>
3636 * support/timespec.c: Add backslash to correct newline in failure
3639 * support/timespec.h: Correct confusing comment.
3641 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3643 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3645 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3646 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3647 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3648 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3651 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3654 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3656 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3657 (NT_ARM_PACG_KEYS): Likewise.
3659 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3661 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3662 (tcache_put): Remove redundant assert.
3663 (tcache_get): Remove redundant asserts.
3664 (__libc_malloc): Check tcache count is not zero.
3665 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3667 2019-05-17 Florian Weimer <fweimer@redhat.com>
3669 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3671 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3673 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3674 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3676 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3678 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3679 (__ASSUME_STATX): Likewise.
3681 2019-05-16 Florian Weimer <fweimer@redhat.com>
3683 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3685 (LINE_PARSER): Do not map IPv4 addresses.
3686 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3688 (_nss_nis_gethostent_r): Always pass AF_INET to
3689 internal_nis_gethostent_r.
3690 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3692 (_nss_nis_gethostbyname2_r): Adjust call to
3693 internal_nis_gethostent_r.
3694 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3695 call to internal_nis_gethostent_r.
3696 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3698 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3699 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3700 Remove flags argument. Do not map IPv4 addresses.
3701 (internal_nisplus_gethostent_r): Adjust call to
3702 _nss_nisplus_parse_hostent.
3703 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3704 to _nss_nisplus_parse_hostent.
3705 (_nss_nisplus_gethostbyname2_r): Adjust call to
3706 internal_gethostbyname2_r.
3707 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3708 Adjust call to internal_gethostbyname2_r.
3709 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3710 _nss_nisplus_parse_hostent.
3711 (_nss_nisplus_gethostbyname4_r): Adjust call to
3712 internal_gethostbyname2_r.
3714 2019-05-16 Florian Weimer <fweimer@redhat.com>
3716 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3718 (LINE_PARSER): Remove address mapping.
3719 (EXTRA_ARGS_VALUE): Remove flags argument.
3720 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3721 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3722 gethostbyname3_multi.
3723 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3724 _nss_files_gethostbyname3_r.
3725 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3727 2019-05-16 Florian Weimer <fweimer@redhat.com>
3729 * support/support_test_compare_blob.c (report_blob): Report
3730 incorrect NULL blobs.
3732 2019-05-15 Mark Wielaard <mark@klomp.org>
3735 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3736 __libc_once_get (once) and static_buf == NULL.
3737 (__dlerror): Check we have a valid key, set result to static_buf
3740 2019-05-15 Andreas Schwab <schwab@suse.de>
3743 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3744 __codecvt_do_length.
3745 * libio/Makefile (tests): Add tst-wfile-sync.
3746 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3747 * libio/tst-wfile-sync.c: New file.
3748 * libio/tst-wfile-sync.input: New file.
3750 2019-05-15 Florian Weimer <fweimer@redhat.com>
3752 nss: Turn __nss_database_lookup into a compatibility symbol.
3753 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3754 __nss_database_lookup.
3755 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3756 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3757 __nss_database_lookup.
3758 (__nss_next): Move to …
3759 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3761 (__nss_database_lookup): New function.
3762 * nss/Versions (GLIBC_2.0): Update comment.
3763 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3764 * grp/initgroups.c (internal_getgrouplist): Call
3765 __nss_database_lookup2 instead of __nss_database_lookup.
3766 * nscd/aicache.c (addhstaiX): Likewise.
3767 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3768 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3769 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3770 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3771 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3773 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3774 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3777 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
3779 * support/support.h (support_install_rootsbindir): New variable.
3780 * support/support_paths.c: Likewise.
3781 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3783 2019-05-15 Florian Weimer <fweimer@redhat.com>
3785 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3786 * iconv/gconv_int.h (__gconv_transliterate): … here.
3787 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3788 * iconv/skeleton.c: Likewise.
3790 2019-05-14 Florian Weimer <fweimer@redhat.com>
3792 Linux: Add the tgkill function.
3793 * bits/signal_ext.h: New file.
3794 * manual/signal.texi (Signaling Another Process): Document tgkill.
3795 * signal/Makefile (headers): Add bits/signal_ext.h.
3796 * signal/signal.h: Include <bits/signal_ext.h>.
3797 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3798 (tst-tgkill): Link with libpthread.
3799 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3800 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3801 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3802 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3804 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3808 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3809 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3810 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3811 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3812 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3813 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3814 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3816 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3817 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3818 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3827 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3829 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3830 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3831 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3832 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3833 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3834 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3836 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3838 * manual/search.texi (Tree Search Function): Adjust twalk_r
3841 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3844 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3847 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3848 * support/support.h (support_bindir_prefix): New variable.
3849 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3851 * config.make.in (bindir): New variable.
3853 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3854 (lll_trylock): Call __lll_trylock.
3855 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3856 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3857 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3858 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3859 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3860 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3861 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3862 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3863 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3864 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3865 lowlevellock-futex.h.
3867 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3868 initialization for LLL_LOCK_INITIALIZER different than 0.
3869 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3870 Assume LLL_LOCK_INITIALIZER being 0.
3871 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3872 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3874 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3875 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3877 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3878 Optimize futex call and add systemtap probe.
3880 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3881 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3882 __libc_disable_asynccancel, __librt_enable_asynccancel,
3883 __libc_disable_asynccancel, __librt_enable_asynccancel,
3884 __librt_disable_asynccancel): Move to ...
3885 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3886 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3887 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3888 * sysdeps/generic/single-thread.h: New file.
3889 * sysdeps/unix/sysdep.h: Include single-thread.h.
3890 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3891 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3893 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3896 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3897 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3899 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3900 * localedata/unicode-gen/PropList.txt: Likewise.
3901 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3902 * localedata/charmaps/UTF-8: Regenerate.
3903 * localedata/locales/i18n_ctype: Likewise.
3904 * localedata/locales/tr_TR: Likewise.
3905 * localedata/locales/translit_circle: Likewise.
3906 * localedata/locales/translit_cjk_compat: Likewise.
3907 * localedata/locales/translit_combining: Likewise.
3908 * localedata/locales/translit_compat: Likewise.
3909 * localedata/locales/translit_font: Likewise.
3910 * localedata/locales/translit_fraction: Likewise.
3912 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3915 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3916 (do_set_tcache_count): Only update if count is small enough.
3917 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3919 2019-05-10 Florian Weimer <fweimer@redhat.com>
3921 * nptl/sem_close.c (struct walk_closure): Define.
3922 (walker): Adjust for __twalk_r.
3923 (sem_close): Call __twalk_r.
3925 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3927 * support/timespec.c (test_timespec_before_impl,
3928 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3931 2019-05-09 Mike Crowe <mac@mcrowe.com>
3933 * nptl/tst-abstime.c: Use libsupport.
3935 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3936 small bug where only tv.tv_usec was checked which could cause an
3937 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3940 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3943 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3944 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3946 * nptl/tst-cond11.c: Use libsupport.
3948 * support/timespec.h: New file. Provide timespec helper functions
3949 along with macros in the style of those in check.h.
3950 * support/timespec.c: New file. Implement check functions declared
3951 in support/timespec.h.
3952 * support/timespec-add.c: New file from gnulib containing
3953 timespec_add implementation that handles overflow.
3954 * support/timespec-sub.c: New file from gnulib containing
3955 timespec_sub implementation that handles overflow.
3956 * support/README: Mention timespec.h.
3958 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3961 * nptl/Makefile: Move tst-eintr1 to xtests.
3963 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3965 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3967 (round_mode): Add definition for TRUNC.
3968 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3969 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3970 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3971 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3972 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
3974 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
3976 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
3978 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3980 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
3982 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
3984 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
3986 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
3988 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
3989 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
3990 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
3991 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
3992 s_truncf-power5+, and s_truncf-ppc64.
3993 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
3994 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
3996 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
3997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
3998 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
3999 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4001 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4004 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4006 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4007 s_truncf-power5+, and s_truncf-ppc64.
4008 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4010 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4011 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4013 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4014 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4015 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4016 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4017 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4019 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4021 (round_mode): Add definition for ROUND.
4022 (round_to_integer_float): Likewise.
4023 * sysdeps/powerpc/fpu/s_round.c: New file.
4024 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4025 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4026 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4027 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4029 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4031 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4033 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4035 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4037 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4039 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4041 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4043 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4044 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4045 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4046 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4047 s_roundf-power5+, and s_roundf-ppc64.
4048 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4049 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4051 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4053 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4054 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4056 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4059 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4060 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4061 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4062 s_roundf-power5+, and s_roundf-ppc64.
4063 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4065 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4066 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4068 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4069 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4070 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4071 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4072 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4074 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4076 (round_mode): Add definition for FLOOR.
4077 * sysdeps/powerpc/fpu/s_floor.c: New file.
4078 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4079 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4080 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4097 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4098 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4099 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4100 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4101 s_floorf-power5+, and s_floorf-ppc64.
4102 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4103 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4105 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4107 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4108 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4110 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4113 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4115 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4116 s_floorf-power5+, and s_floorf-ppc64.
4117 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4125 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4126 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4127 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4128 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4130 2019-05-08 Mike Crowe <mac@mcrowe.com>
4132 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4133 clock_gettime wrapper for use in tests that fails the test rather
4134 than returning failure.
4136 * support/xtime.h: New file to declare xclock_gettime.
4138 * support/Makefile: Add xclock_gettime.c.
4140 * support/README: Mention xtime.h.
4142 2019-05-08 Florian Weimer <fweimer@redhat.com>
4144 malloc/tst-mallocfork2: Use process-shared barriers.
4145 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4146 (signal_count, sigusr1_sender_pid): Remove.
4147 (iterations): Define constant.
4148 (shared): New variable.
4149 (sigusr1_received): Update comment.
4150 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4151 (signal_sender): Optional use barriers to avoid sending signals
4152 during irrelevant times.
4153 (do_it): Initialize variable shared. Use xfork for error
4154 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4155 the iteration count, independent of signal delivery. Check for
4156 deadlocks in fork. Introduce barriers for reducing signal
4157 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4158 replaced by the barriers. Count signals during fork/free/malloc
4160 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4162 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4164 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4166 (clock_adjtime64) New syscall.
4167 (clock_getres_time64) Likewise.
4168 (clock_gettime64) Likewise.
4169 (clock_nanosleep_time64) Likewise.
4170 (clock_settime64) Likewise.
4171 (futex_time64) Likewise.
4172 (io_pgetevents_time64) Likewise.
4173 (io_uring_enter) Likewise.
4174 (io_uring_register) Likewise.
4175 (io_uring_setup) Likewise.
4176 (mq_timedreceive_time64) Likewise.
4177 (mq_timedsend_time64) Likewise.
4178 (pidfd_send_signal) Likewise.
4179 (ppoll_time64) Likewise.
4180 (pselect6_time64) Likewise.
4181 (recvmmsg_time64) Likewise.
4182 (rt_sigtimedwait_time64) Likewise.
4183 (sched_rr_get_interval_time64) Likewise.
4184 (semtimedop_time64) Likewise.
4185 (timer_gettime64) Likewise.
4186 (timer_settime64) Likewise.
4187 (timerfd_gettime64) Likewise.
4188 (timerfd_settime64) Likewise.
4189 (utimensat_time64) Likewise.
4191 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4192 version to 9 branch.
4194 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4196 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4197 __memmove_thunderx2 to the list of implementations
4198 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4199 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4200 (__memmove_thunderx2): Rewritten using SIMD ld/st
4201 (__memcpy_thunderx2): Fixed handling overlapping cases.
4202 Used ldp/stp instead of ldr/str if possible. Made loops
4205 2019-05-03 Florian Weimer <fweimer@redhat.com>
4207 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4209 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4212 * elf/tst-pldd.c (in_str_list): New function.
4213 (do_test): Add default names for ld and libc as one option.
4215 2019-05-02 Florian Weimer <fweimer@redhat.com>
4217 misc: Add twalk_r function.
4218 * include/search.h (__twalk_r): Declare.
4219 * manual/examples/twalk.c: New file.
4220 * manual/search.texi (Tree Search Function): Document twalk_r.
4221 * misc/Versions (2.30): Export twalk_r.
4222 (GLIBC_PRIVATE): Export __twalk_r.
4223 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4224 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4225 (twalk_r): Add weak alias.
4226 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4227 (walk_trace): New variable.
4228 (struct twalk_with_twalk_r_closure): Define.
4229 (twalk_with_twalk_r_action): New function.
4230 (twalk_with_twalk_r): Likewise.
4231 (walk_action): Call walk_trace_add.
4232 (walk_tree_with): Rename from walk_tree. Add walk argument.
4233 (walk_tree): New function.
4234 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4235 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4237 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4239 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4240 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4241 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4242 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4243 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4244 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4246 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4248 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4250 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4251 (GLIBC_2.30): Likewise.
4252 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4253 (GLIBC_2.30): Likewise.
4254 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4255 (GLIBC_2.30): Likewise.
4256 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4257 (GLIBC_2.30): Likewise.
4258 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4261 (GLIBC_2.30): Likewise.
4262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4263 (GLIBC_2.30): Likewise.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4265 (GLIBC_2.30): Likewise.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4267 (GLIBC_2.30): Likewise.
4268 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4270 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4272 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4274 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4275 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4277 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4279 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4281 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4284 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4286 Make mktime etc. compatible with __time64_t
4287 Keep these functions compatible with Gnulib while adding
4288 __time64_t support. The basic idea is to move private API
4289 declarations from include/time.h to time/mktime-internal.h, since
4290 the former file cannot easily be shared with Gnulib whereas the
4292 Also, do some other minor cleanup while in the neighborhood.
4293 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4294 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4295 since Gnulib needs it.
4296 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4297 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4298 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4299 (in_time_t_range): New static function.
4300 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4301 so that glibc users are not tempted to use __time64_t.
4302 * time/mktime-internal.h: Rewrite so that it does both glibc
4303 and Gnulib work. Include time.h if not _LIBC.
4304 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4305 (__time64_t): New type or macro, moved here from
4307 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4308 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4309 from include/time.h.
4310 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4311 New macros, taken from GNulib.
4312 (__mktime_internal): New prototype, moved here from include/time.h.
4313 * time/mktime.c (mktime_min, mktime_max, convert_time)
4314 (ranged_convert, __mktime_internal, __mktime64):
4315 * time/timegm.c (__timegm64):
4316 Use __time64_t, not time_t.
4317 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4318 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4320 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4321 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4322 for libc_hidden_def.
4324 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4326 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4328 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4331 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4332 from `-Wmaybe-uninitialized'.
4333 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4335 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4337 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4339 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4340 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4341 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4342 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4343 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4345 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4362 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4363 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4364 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4365 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4367 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4370 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4371 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4373 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4376 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4379 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4380 s_ceilf-power5+, and s_ceilf-ppc64.
4381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4386 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4387 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4388 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4389 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4391 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4392 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4393 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4395 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4397 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4398 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4399 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4400 (sem_getvalue): Likewise.
4402 2019-04-26 Florian Weimer <fweimer@redhat.com>
4404 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4405 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4407 2019-04-26 Florian Weimer <fweimer@redhat.com>
4409 Makeconfig: Move -Wl,-rpath-link options before library references.
4410 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4411 (link-libc): Remove $(link-libc-rpath-link).
4413 2019-04-25 Florian Weimer <fweimer@redhat.com>
4415 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4416 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4417 (+link-static-before-libc): Remove $(CC).
4418 (+link-static, +link-static-tests): Add $(CC).
4419 (+link-before-libc): Remove $(CC).
4420 (+link, +link-pie, +link-pie-printers): Add $(CC).
4422 2019-04-26 Florian Weimer <fweimer@redhat.com>
4424 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4425 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4426 (+link-static-before-libc): Remove $(CC).
4427 (+link-static, +link-static-tests): Add $(CC).
4428 (+link-before-libc): Remove $(CC).
4429 (+link, +link-pie, +link-pie-printers): Add $(CC).
4431 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4434 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4436 2019-04-25 Florian Weimer <fweimer@redhat.com>
4438 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4439 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4440 (bench-link-targets): New variable.
4441 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4443 2019-04-25 Florian Weimer <fweimer@redhat.com>
4445 Also enable BIND_NOW for programs if --enable-bind-now.
4446 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4447 (+link-pie): Use $(link-extra-flags).
4448 (+link-static): Likewise.
4449 [! $(build-pie-default)] (+link): Likewise.
4450 * manual/install.texi (Configuring and compiling): Update
4451 --enable-bind-now description.
4452 * INSTALL: Regenerated.
4454 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4456 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4457 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4459 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4462 * malloc/Makefile (others): Add memusagestat.
4463 ($(objpfx)memusagestat): Delete rule.
4464 (LDLIBS-memusagestat): New variable.
4466 2019-04-24 Florian Weimer <fweimer@redhat.com>
4468 * locale/Makefile (tests-special): Guard setting by
4469 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4470 to run while cross-compiling.
4472 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4475 * elf/Makefile (tests-container): Add tst-pldd.
4476 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4477 (E(find_maps)): Avoid use alloca, use default read file operations
4478 instead of explicit LFS names, and fix infinite loop.
4479 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4480 (get_process_info): Use _Static_assert instead of assert, use default
4481 directory operations instead of explicit LFS names, and free some
4483 * elf/tst-pldd.c: New file.
4485 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4487 * malloc/arena.c (do_set_mallopt_check): Removed.
4489 2019-04-23 Florian Weimer <fweimer@redhat.com>
4491 locale: Add LOCPATH diagnostics to the locale program.
4492 * locale/programs/locale.c (setlocale_failed): New variable.
4493 (try_setlocale): New function.
4494 (quote_string): Likewise.
4495 (setlocale_diagnostics): Likewise.
4496 (main): Call try_setlocale instead of setlocale. Call
4497 setlocale_diagnostics.
4498 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4499 (tst-locale-locpath.out): New target.
4500 * locale/tst-locale-locpath.sh: New file.
4502 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4504 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4507 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4510 * malloc/hooks.c (malloc_check, realloc_check): Use
4511 __builtin_add_overflow on overflow check and adapt to
4512 checked_request2size change.
4513 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4514 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4515 allocation size to PTRDIFF_MAX.
4516 (REQUEST_OUT_OF_RANGE): Remove macro.
4517 (checked_request2size): Change to inline function and limit maximum
4518 requested size to PTRDIFF_MAX.
4519 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4520 maximum allocation size to PTRDIFF_MAX.
4521 (_mid_memalign): Use _int_memalign call for overflow check.
4522 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4523 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4524 limit maximum requested size to PTRDIFF_MAX.
4525 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4526 valloc, pvalloc): Add __attribute_alloc_size__.
4527 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4528 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4529 larger than PTRDIFF_MAX.
4530 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4531 around tests of malloc with negative sizes.
4532 * malloc/tst-posix_memalign.c (do_test): Likewise.
4533 * malloc/tst-pvalloc.c (do_test): Likewise.
4534 * malloc/tst-valloc.c (do_test): Likewise.
4535 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4536 with resulting size allocation larger than PTRDIFF_MAX with
4537 reallocarray_nowarn.
4538 (reallocarray_nowarn): New function.
4539 * NEWS: Mention the malloc function semantic change.
4541 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4543 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4544 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4546 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4547 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4548 * sysdeps/powerpc/fpu/s_fma.c: New file.
4549 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4551 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4552 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4554 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4555 the magic flag store.
4556 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4558 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4560 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4561 Remove rt_sigreturn call.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4564 Remove rt_sigreturn call.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4570 * support/Makefile (libsupport-routines): Add support_subprocess,
4571 xposix_spawn, xposix_spawn_file_actions_addclose, and
4572 xposix_spawn_file_actions_adddup2.
4573 (tst-support_capture_subprocess-ARGS): New rule.
4574 * support/capture_subprocess.h (support_capture_subprogram): New
4576 * support/support_capture_subprocess.c (support_capture_subprocess):
4577 Refactor to use support_subprocess and support_capture_poll.
4578 (support_capture_subprogram): New function.
4579 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4580 str_to_write_mode, test_common, parse_int, handle_restart,
4581 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4582 (do_test): Add support_capture_subprogram tests.
4583 * support/subprocess.h: New file.
4584 * support/support_subprocess.c: Likewise.
4585 * support/xposix_spawn.c: Likewise.
4586 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4587 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4588 * support/xspawn.h: Likewise.
4590 2019-04-17 Mike Gerow <gerow@google.com>
4592 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4595 2019-04-11 Florian Weimer <fweimer@redhat.com>
4597 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4598 domain with empty string.
4599 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4601 2019-04-11 Florian Weimer <fweimer@redhat.com>
4603 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4605 (alloc_buffer_next): Change return type to non-const. Update
4608 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4610 * manual/time.texi (Formatting Calendar Time): Add missing percent
4611 sign to conversion specifier.
4613 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4614 Kwok Cheung Yeung <kcy@codesourcery.com>
4617 * malloc/mtrace.c: Define prototypes for all hooks.
4618 (set_default_hooks): New function.
4619 (set_trace_hooks): Likewise.
4620 (save_default_hooks): Likewise.
4621 (tr_freehook): Use new s*_hooks functions.
4622 (tr_mallochook): Likewise.
4623 (tr_reallochook): Likewise.
4624 (tr_memalignhook): Likewise.
4626 (muntrace): Likewise.
4628 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4630 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4631 (generic_stpcpy): New function.
4632 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4633 (generic_stpncpy): New function.
4634 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4635 (generic_strcat): New function.
4636 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4637 (generic_strcpy): New function.
4638 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4639 (STUPID_STRNCAT): Remove function.
4640 (generic_strncat): New function.
4641 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4642 (STUPID_STRNCPY): Remove function.
4643 (generic_strncpy): New function.
4644 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4645 (generic_strnlen): New function.
4646 (memchr_strnlen): New function.
4647 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4648 (memchr_strlen): Likewise.
4650 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4652 * benchtests/bench-strstr.c (input): Add realistic input text.
4653 (stupid_strstr): Remove function.
4654 (basic_strstr): Add function.
4655 (twoway_strstr): Add function.
4656 (do_one_test): Add result checking.
4657 (do_test): Use new input text. Remove accidental early matches.
4658 (test_main): Improve range of tests, reduce unaligned cases.
4660 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4662 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4663 (basic_memmem): Add function.
4664 (twoway_memmem): Add function.
4666 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4668 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4669 * benchtests/bench-malloc-thread.c: Likewise.
4670 * benchtests/bench-skeleton.c: Likewise.
4671 * benchtests/bench-strtod.c: Likewise.
4672 * benchtests/bench-timing.h: Likewise.
4674 2019-04-08 Florian Weimer <fweimer@redhat.com>
4676 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4678 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4679 RES_INSECURE2 security checks.
4680 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4681 RES_INSECURE2 handling.
4683 2019-04-08 Florian Weimer <fweimer@redhat.com>
4685 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4686 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4687 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4689 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4690 (tests-internal): Update justification for tst-resolv-res_init,
4691 tst-resolv-res_init-thread.
4692 (tst-res_use_inet6): Remove target.
4693 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4694 * resolv/res_debug.c (p_option): Remove "inet6" support.
4695 * resolv/res_init.c (res_setoptions): Likewise.
4696 * resolv/res_use_inet6.h: Remove file.
4697 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4699 (res_use_inet6): Always return false.
4700 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4701 * resolv/resolv_context.h: Adjust file comment.
4702 (struct resolv_context): Update comment on __next field.
4703 (__resolv_context_put): Update comment.
4704 * resolv/tst-res_use_inet6.c: Remove file.
4705 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4707 (test_cases): Adjust test case.
4708 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4709 (thread_byname2_af_inet6): Use old byname_inet6 code.
4710 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4711 (gai): Remove do_inet6 argument.
4712 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4713 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4714 (thread_gai_unspec_inet6): Remove functions.
4715 (do_test): Adjust thread_funcs.
4716 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4718 (gaih_inet): Do not disable RES_USE_INET6 flag.
4720 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4722 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4723 and remove redundant code.
4725 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4727 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4729 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4737 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4738 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4740 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4741 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4742 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4743 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4745 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4748 Remove wcsrchr optimizations.
4749 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4751 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4754 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4756 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4764 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4765 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4766 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4767 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4768 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4770 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4772 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4775 Remove wcschr optimizations.
4776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4778 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4781 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4783 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4791 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4792 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4793 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4794 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4795 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4797 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4799 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4802 Remove wcscpy optimizations.
4803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4805 * include/loop_unroll.h: New file.
4806 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4807 besides generic implementation.
4809 2019-04-03 DJ Delorie <dj@redhat.com>
4811 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4812 snprintf truncating output.
4814 2019-04-02 DJ Delorie <dj@redhat.com>
4816 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4819 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4822 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4824 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4825 (mkreftable): Add rules for the new Japanese era and the new dates.
4827 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4828 Rafał Lużyński <digitalfreak@lingonborough.com>
4830 * time/tst-strftime2.c (date_t): Explicitly define the type.
4831 (dates): Use natural month and year numbers to express a date.
4832 (is_before): New function to compare dates.
4833 (mkreftable): Minor improvements to simplify maintenance.
4834 (do_test): Reflect the changes in dates array.
4837 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4838 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4839 * time/tst-strftime2.c (locales): Likewise.
4840 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4841 2010-04-01, and 2011-04-01.
4842 (mkreftable): Add rules for the new locales and the new dates.
4844 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4846 * localedata/locales/ja_JP: Add comments to era entries.
4848 2019-04-01 DJ Delorie <dj@redhat.com>
4851 * time/strptime_l.c (%Ey): Fix fencepost error.
4852 * time/tst-strftime3.c: New.
4853 * time/Makefile (tests): Add tst-strftime3.
4855 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
4857 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4858 conditional branch to DIVBYZERO. Fix unwind info.
4859 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4860 excb after conditional branch to $powerof2. Add missing unop
4861 instructions and .align directives and reorder instructions to
4864 2019-04-01 Richard Henderson <rth@twiddle.net>
4866 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4868 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4871 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4873 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4874 $libc_cv_riscv_float_abi in `test' invocation.
4875 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4877 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4879 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4881 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4883 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4884 (_GET_SI_FPSCR): Likewise.
4885 (_SET_SI_FPSCR): Likewise.
4887 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4889 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4891 (signbit): Use builtin for clang 3.3.
4892 (isinf): Use builtin for clang 3.7.
4894 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4896 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4898 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4900 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4903 2019-03-25 Mike Crowe <mac@mcrowe.com>
4905 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4906 pthread_rwlock_timedrdlock with calls to
4907 pthread_rwlock_timedwrlock to ensure that the latter is tested
4908 too. Use new function name in diagnostic messages too.
4910 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4911 (do_test) Use libsupport test macros rather than hand-coded
4912 conditionals and error messages. Ensure that sem_init returns zero
4913 rather than not -1. Use <support/test-driver.c> rather than
4916 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4917 test macros rather than hand-coded conditionals and error messages.
4918 Use <support/test-driver.c> rather than test-skeleton.c.
4920 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4922 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4924 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4925 (NT_MIPS_MSA): Likewise.
4927 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4929 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4930 * benchtests/README: Update description.
4931 * benchtests/bench-timing.h: Default to hp-timing.
4932 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4933 HP_TIMING_PRINT): Remove.
4934 (HP_TIMING_NOW): Add generic implementation.
4935 (hp_timing_t): Change to uint64_t.
4937 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4939 * nptl/descr.h: Likewise.
4940 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4941 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4942 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4943 Abstract hp-timing usage with RTLD_* macros.
4944 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4945 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4946 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4947 HP_TIMING_NONAVAIL): Likewise.
4948 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4950 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4951 HP_SMALL_TIMING_AVAIL): Likewise.
4952 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4953 HP_SMALL_TIMING_AVAIL): Likewise.
4954 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4955 HP_SMALL_TIMING_AVAIL): Likewise.
4956 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4957 HP_SMALL_TIMING_AVAIL): Likewise.
4958 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4960 * sysdeps/generic/hp-timing-common.h: Update comment with
4961 HP_TIMING_AVAIL removal.
4963 * include/random-bits.h: New file.
4964 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4965 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4967 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4968 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4971 * include/libc-internal.h (__get_clockfreq): Remove prototype.
4972 * rt/Makefile (clock-routines): Remove get_clockfreq.
4973 * rt/get_clockfreq.c: Remove file.
4974 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
4975 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
4976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
4977 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
4978 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
4980 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
4981 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
4982 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
4983 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
4984 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
4986 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
4987 pthread_clock_settime.
4988 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
4989 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
4990 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
4991 * elf/rtld.c (_dl_start_final): Likewise.
4992 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
4993 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
4995 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
4996 (_dl_cpuclock_offset): Remove.
4997 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
4998 cpuclock_offset_ununsed.
4999 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5000 cpuclock_offset set.
5001 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5002 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5003 * nptl/pthread_clock_gettime.c: Remove file.
5004 * nptl/pthread_clock_settime.c: Likewise.
5005 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5006 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5007 and CLOCK_PROCESS_CPUTIME_ID support.
5008 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5009 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5010 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5011 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5012 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5014 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5016 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5018 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5019 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5020 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5022 * sysdeps/s390/memmem-arch13.S: New file.
5023 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5024 if it is only used as fallback.
5025 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5026 * sysdeps/s390/multiarch/ifunc-impl-list.c
5027 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5029 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5031 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5032 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5033 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5035 * sysdeps/s390/multiarch/ifunc-impl-list.c
5036 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5037 * sysdeps/s390/strstr-arch13.S: New file.
5038 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5039 if it is only used as fallback.
5040 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5042 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5044 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5045 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5046 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5047 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5049 * sysdeps/s390/multiarch/ifunc-impl-list.c
5050 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5051 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5052 S390_IS_ARCH13_MIE3): New defines.
5054 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5056 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5057 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5058 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5059 * sysdeps/s390/configure: Regenerated.
5061 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5063 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5064 Add vxe2, vxp, dflt, sort flags.
5065 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5066 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5068 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5069 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5070 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5071 HWCAP_S390_DFLT): Define.
5073 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5076 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5077 of compiler warning.
5078 * locale/programs/ld-collate.c (collate_output): Likewise.
5080 2019-03-21 DJ Delorie <dj@redhat.com>
5083 * iconv/iconvconfig.c (write_output): Replace floating point math
5084 with integer math to avoid imprecise results.
5085 * locale/programs/ld-collate.c (collate_output): Likewise.
5087 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5089 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5090 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5092 2019-03-20 mansayk <6688000@gmail.com>
5095 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5096 (abday): Likewise, but remove the trailing dots.
5098 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5100 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5102 (HWCAP_PACA): Likewise.
5103 (HWCAP_PACG): Likewise.
5104 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5106 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5108 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5110 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5113 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5115 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5117 (old_getpagesize): New syscall.
5119 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5122 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5123 * localedata/locales/cmn_TW (era): Likewise.
5124 * localedata/locales/hak_TW (era): Likewise.
5125 * localedata/locales/lzh_TW (era): Likewise.
5126 * localedata/locales/nan_TW (era): Likewise.
5128 2019-03-14 Adam Maris <amaris@redhat.com>
5130 * malloc/malloc.c (_int_malloc): Check for large bin list
5131 corruption when inserting unsorted chunk.
5133 2019-03-14 Florian Weimer <fweimer@redhat.com>
5135 Remove obsolete, never-implemented XSI STREAMS declarations.
5136 * manual/terminal.texi (Allocation): Remove portability note and
5138 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5140 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5141 * sysdeps/unix/inet/Subdirs (streams): Remove.
5142 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5143 (conformtest-headers-UNIX98): Likewise.
5144 (conformtest-headers-XOPEN2K): Likewise.
5145 (conformtest-headers-POSIX2008): Likewise.
5146 * posix/compat-streams.c: New file.
5147 * posix/Makefile (routines): Add it.
5148 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5149 getpmsg, isastream, putmsg, putpmsg.
5150 (GLIBC_2.30): New section.
5151 * bits/stropts.h: Remove file.
5152 * bits/xtitypes.h: Likewise.
5153 * conform/data/stropts.h-data: Likewise.
5154 * include/stropts.h: Likewise.
5155 * include/sys/stropts.h: Likewise.
5156 * include/xtitypes.h: Likewise.
5157 * streams/Makefile: Likewise.
5158 * streams/fattach.c: Likewise.
5159 * streams/fdetach.c: Likewise.
5160 * streams/getmsg.c: Likewise.
5161 * streams/getpmsg.c: Likewise.
5162 * streams/isastream.c: Likewise.
5163 * streams/putmsg.c: Likewise.
5164 * streams/putpmsg.c: Likewise.
5165 * streams/stropts.h: Likewise.
5166 * streams/sys/stropts.h: Likewise.
5167 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5168 * sysdeps/s390/bits/xtitypes.h: Likewise.
5169 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5170 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5171 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5172 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5173 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5174 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5175 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5176 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5177 * sysdeps/x86/bits/xtitypes.h: Likewise.
5179 2019-03-14 Florian Weimer <fweimer@redhat.com>
5181 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5183 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5184 but not with libnss_files.
5185 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5187 2019-03-14 Zack Weinberg <zackw@panix.com>
5189 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5190 Specify encoding="utf-8" when opening headers to check.
5192 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5194 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5196 (Context.checkout_tar): Handle variable major version for Linux
5199 2019-03-13 Florian Weimer <fweimer@redhat.com>
5202 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5204 2019-03-13 Zack Weinberg <zackw@panix.com>
5206 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5208 * include/inttypes.h: Adjust to match.
5209 * include/stdint.h: New wrapper.
5211 2019-03-13 Zack Weinberg <zackw@panix.com>
5213 * scripts/check-obsolete-constructs.py: New test script.
5214 * scripts/check-installed-headers.sh: Remove tests for
5215 obsolete typedefs, superseded by check-obsolete-constructs.py.
5216 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5217 as a special test. Update commentary.
5218 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5219 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5221 * posix/sys/types.h (__u_intN_t): Remove.
5222 (u_int8_t): Typedef using __uint8_t.
5223 (u_int16_t): Typedef using __uint16_t.
5224 (u_int32_t): Typedef using __uint32_t.
5225 (u_int64_t): Typedef using __uint64_t.
5227 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5229 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5231 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5232 Ignore types other than AT_HWCAP.
5233 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5234 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5236 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5237 in the case of falling back to generic output mechanism.
5238 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5241 2019-03-12 Florian Weimer <fweimer@redhat.com>
5243 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5245 2019-03-12 Florian Weimer <fweimer@redhat.com>
5248 resolv: Enable full ICMP errors for UDP DNS sockets
5249 * resolv/res_enable_icmp.c: New file.
5250 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5251 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5252 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5255 2019-03-11 Mao Han <han_mao@c-sky.com>
5257 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5258 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5260 2019-03-11 Mao Han <han_mao@c-sky.com>
5262 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5263 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5264 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5266 2019-03-11 Mao Han <han_mao@c-sky.com>
5268 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5270 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5273 2019-03-11 Mao Han <han_mao@c-sky.com>
5275 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5276 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5279 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5282 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5283 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5285 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5286 * localedata/unicode-gen/PropList.txt: Likewise.
5287 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5288 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5289 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5290 * localedata/charmaps/UTF-8: Regenerate.
5291 * localedata/locales/i18n_ctype: Likewise.
5292 * localedata/locales/tr_TR: Likewise.
5293 * localedata/locales/translit_circle: Likewise.
5294 * localedata/locales/translit_cjk_compat: Likewise.
5295 * localedata/locales/translit_combining: Likewise.
5296 * localedata/locales/translit_compat: Likewise.
5297 * localedata/locales/translit_font: Likewise.
5298 * localedata/locales/translit_fraction: Likewise.
5300 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5302 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5303 than after operators.
5304 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5305 (setitimer_locked): Likewise.
5306 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5307 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5308 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5309 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5310 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5311 (PPC_CPU_SUPPORTED): Likewise.
5312 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5313 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5314 (stat_overflow): Likewise.
5315 (statfs_overflow): Likewise.
5316 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5317 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5318 (eq_ttyname_r): Likewise.
5319 (run_chroot_tests): Likewise.
5321 2019-03-07 Florian Weimer <fweimer@redhat.com>
5323 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5326 2019-03-07 Martin Liska <mliska@suse.cz>
5328 * math/Makefile: Change location where math-vector-fortran.h is
5330 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5331 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5332 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5333 * scripts/check-installed-headers.sh: Skip Fortran header files.
5334 * scripts/check-wrapper-headers.py: Likewise.
5336 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5338 * nptl/nptl-init.c (__have_futex_clock_realtime,
5339 __have_futex_clock_realtime): Remove definition.
5340 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5341 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5342 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5343 __ASSUME_FUTEX_CLOCK_REALTIME support.
5344 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5345 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5346 * sysdeps/unix/sysv/linux/kernel-features.h
5347 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5348 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5351 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5353 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5354 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5355 __GI___wcscpy and wcscpy.
5357 2019-03-04 Florian Weimer <fweimer@redhat.com>
5359 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5361 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5364 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5366 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5367 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5369 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5372 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5373 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5375 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5377 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5379 (do_test): Likewise.
5380 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5381 (do_test_call_varg): Likewise.
5382 (do_test_call_rarg): Likewise.
5383 * sysdeps/ieee754/ldbl-opt/Makefile
5384 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5386 ($(objpfx)tst-nldbl-warn.c): New rule.
5387 ($(objpfx)tst-nldbl-error.c): Likewise.
5388 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5391 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5394 * include/bits/error-ldbl.h: New file.
5395 * include/error.h: Include stdarg.h. Declare internal functions
5396 __error_internal and __error_at_line_internal.
5397 * misc/Makefile (headers): Add bits/error-ldbl.h.
5398 * misc/bits/error-ldbl.h: New file.
5399 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5400 avoid the inclusion of bits/error.h.
5401 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5402 and __nldbl_error_at_line.
5403 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5404 (__nldbl_error, __ndlbl_error_at_line): New functions.
5405 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5406 Redirect error and error_at_line.
5407 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5416 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5417 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5418 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5420 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5423 * include/bits/err-ldbl.h: New file.
5424 * include/err.h: Add prototypes for the internal functions:
5425 __vwarnx_internal and __vwarn_internal.
5426 * misc/Makefile (headers): Add bits/err-ldbl.h.
5427 * misc/bits/err-ldbl.h: New file.
5428 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5429 defined, i.e.: when -mlong-double-64 is in use.
5430 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5431 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5432 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5433 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5434 (VA_CALL): New macro.
5435 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5436 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5438 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5439 declare prototypes for the new functions.
5440 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5449 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5450 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5451 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5453 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5455 * sysdeps/ieee754/ldbl-opt/Makefile
5456 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5457 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5458 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5460 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5463 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5464 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5465 * argp/bits/argp-ldbl.h: New file.
5466 * include/argp.h: Include stdarg.h. Add prototypes for internal
5467 functions: __argp_error_internal and __argp_failure_internal.
5468 * include/bits/argp-ldbl.h: New file.
5469 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5470 __nldbl_argp_error and __nldbl_argp_failure.
5471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5472 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5473 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5474 Redirect argp_error and argp_failure calls.
5475 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5484 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5485 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5486 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5488 2019-03-01 Florian Weimer <fweimer@redhat.com>
5491 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5492 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5493 code, to avoid creating an ABI tag note.
5494 (modules-names-nobuild): Add tst-big-note-lib.
5496 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5498 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5499 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5501 2019-03-01 Florian Weimer <fweimer@redhat.com>
5504 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5505 (__netlink_assert_response): Add additional missing newlines.
5507 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5509 * sysdeps/powerpc/powerpc32/dl-machine.c
5510 (__elf_machine_fixup_plt): Use space before '('.
5511 (__process_machine_rela): Likewise.
5512 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5514 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5516 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5518 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5519 (pattern): Likewise.
5521 (check_result): Likewise.
5522 (check_excepts): Likewise.
5523 (check_op): Likewise.
5524 (fail_xr): Likewise.
5525 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5526 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5528 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5531 (__makecontext): Likewise.
5532 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5535 2019-02-28 Florian Weimer <fweimer@redhat.com>
5538 elf: Add test with a local IFUNC resolver.
5539 * elf/ifuncmain9.c: New file.
5540 * elf/ifuncmain9pic.c: Likewise.
5541 * elf/ifuncmain9picstatic.c: Likewise.
5542 * elf/ifuncmain9pie.c: Likewise.
5543 * elf/ifuncmain9static.c: Likewise.
5544 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5545 ifuncmain9static, ifuncmain9picstatic.
5546 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5547 Add ifuncmain9, ifuncmain9pic.
5548 * elf/Makefile [multi-arch && build-shared && have-fpie]
5549 (ifunc-pie-tests): Add ifuncmain9pie.
5550 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5551 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5552 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5554 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5556 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5557 * configure: Regenerated.
5558 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5560 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5562 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5563 symbol as __wcspcy instead of wcscpy.
5565 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5567 * include/stdio.h (__renameat2): New hidden prototype.
5568 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5569 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5570 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5571 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5573 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5575 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5578 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5579 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5580 * benchtests/bench-strlen.c (do_test): Likewise.
5581 (test_main): Likewise.
5582 * catgets/gencat.c (read_old): Likewise.
5583 * elf/cache.c (load_aux_cache): Likewise.
5584 * iconvdata/bug-iconv8.c (do_test): Likewise.
5585 * math/test-tgmath-ret.c (do_test): Likewise.
5586 * nis/nis_call.c (rec_dirsearch): Likewise.
5587 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5588 * nptl/tst-audit-threads.c (do_test): Likewise.
5589 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5590 * nss/nss_test1.c (init): Likewise.
5591 * nss/test-netdb.c (test_hosts): Likewise.
5592 * posix/execvpe.c (maybe_script_execute): Likewise.
5593 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5594 * stdio-common/tst-printf.c (do_test): Likewise.
5595 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5596 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5597 * stdlib/qsort.c (STACK_SIZE): Likewise.
5598 * stdlib/test-canon.c (do_test): Likewise.
5599 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5600 * string/memcmp.c (OPSIZ): Likewise.
5601 * string/test-strcpy.c (do_test): Likewise.
5602 (do_random_tests): Likewise.
5603 * string/test-strlen.c (do_test): Likewise.
5604 (test_main): Likewise.
5605 * string/test-strrchr.c (do_test): Likewise.
5606 (do_random_tests): Likewise.
5607 * string/tester.c (test_memrchr): Likewise.
5608 (test_memchr): Likewise.
5609 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5610 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5611 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5612 (read_encoded_value_with_base): Likewise.
5613 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5614 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5615 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5616 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5617 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5618 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5620 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5622 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5623 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5624 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5626 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5628 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5630 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5632 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5633 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5634 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5635 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5636 * time/test_time.c (main): Likewise.
5638 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5640 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5642 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5645 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5648 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5650 * include/wchar.h (__wcscpy): New prototype.
5651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5652 (__wcscpy): Route internal symbol to generic implementation.
5653 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5654 Add internal __wcscpy alias.
5655 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5656 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5657 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5658 * wcsmbs/wcscpy.c (wcscpy): Add
5659 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5660 use generic implementation.
5661 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5663 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5666 * sysdeps/m68k/wcpcpy.c: Remove file.
5667 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5669 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5671 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5672 than after operators.
5673 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5674 * sysdeps/mach/hurd/getcwd.c
5675 (__hurd_canonicalize_directory_name_internal): Likewise.
5676 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5677 (pthread_mutex_consistent): Likewise.
5678 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5680 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5681 (__pthread_mutex_transfer_np): Likewise.
5682 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5683 (__pthread_mutex_unlock): Likewise.
5684 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5685 (mtx_owned_p): Likewise.
5686 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5687 (pthread_mutexattr_getrobust): Likewise.
5688 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5689 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5691 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5692 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5693 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5694 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5695 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5699 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5701 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5702 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5703 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5704 (____longjmp_chk): Likewise.
5705 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5708 (INTERNAL_SYSCALL): Likewise.
5709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5710 (INTERNAL_SYSCALL): Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5712 (__get_clockfreq_via_cpuinfo): Likewise.
5714 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5716 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5717 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5718 (WORD_COPY_BWD): Likewise.
5719 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5722 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5723 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5725 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5727 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5729 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5730 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5731 rather than after operators.
5732 * elf/cache.c (print_cache): Likewise.
5733 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5734 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5735 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5736 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5737 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5738 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5739 (reauth_proc): Likewise.
5740 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5741 (__file_name_split_at): Likewise.
5742 (__directory_name_split_at): Likewise.
5743 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5744 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5745 * iconv/gconv_dl.c (do_print): Likewise.
5746 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5747 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5748 * locale/setlocale.c (new_composite_name): Likewise.
5749 * malloc/memusagestat.c (main): Likewise.
5750 * misc/fstab.c (fstab_convert): Likewise.
5751 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5753 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5754 (getgrent_next_file): Likewise.
5755 (internal_getgrnam_r): Likewise.
5756 (internal_getgrgid_r): Likewise.
5757 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5759 (internal_getgrent_r): Likewise.
5760 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5761 (getpwent_next_nss): Likewise.
5762 (getpwent_next_file): Likewise.
5763 (internal_getpwnam_r): Likewise.
5764 (internal_getpwuid_r): Likewise.
5765 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5767 (getspent_next_nss): Likewise.
5768 (internal_getspnam_r): Likewise.
5769 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5770 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5771 * string/strchr.c (STRCHR): Likewise.
5772 * string/strchrnul.c (STRCHRNUL): Likewise.
5773 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5774 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5775 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5776 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5777 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5779 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5780 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5781 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5782 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5783 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5784 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5785 (open_file): Likewise.
5786 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5787 (pthread_mutexattr_setprotocol): Likewise.
5788 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5789 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5790 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5791 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5792 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5794 (elf_machine_rela): Likewise.
5795 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5796 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5797 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5798 * sysdeps/posix/rename.c (rename): Likewise.
5799 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5800 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5801 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5802 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5803 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5804 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5805 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5807 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5809 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5810 * time/tzfile.c (__tzfile_compute): Likewise.
5812 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5814 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5815 rather than after operators.
5816 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5817 * crypt/md5.c (md5_finish_ctx): Likewise.
5818 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5819 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5820 * elf/cache.c (load_aux_cache): Likewise.
5821 * elf/dl-load.c (open_verify): Likewise.
5822 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5823 * elf/readelflib.c (process_elf_file): Likewise.
5824 * elf/rtld.c (dl_main): Likewise.
5825 * elf/sprof.c (generate_call_graph): Likewise.
5826 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5827 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5828 * hurd/dtable.c (reauth_dtable): Likewise.
5829 * hurd/getdport.c (__getdport): Likewise.
5830 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5831 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5832 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5834 * hurd/hurdioctl.c (fioctl): Likewise.
5835 * hurd/hurdselect.c (_hurd_select): Likewise.
5836 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5837 (STOPSIGS): Likewise.
5838 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5839 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5840 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5841 * hurd/msgportdemux.c (msgport_server): Likewise.
5842 * hurd/setauth.c (_hurd_setauth): Likewise.
5843 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5844 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5845 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5846 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5847 * login/tst-utmp.c (do_check): Likewise.
5848 (simulate_login): Likewise.
5849 * mach/lowlevellock.h (lll_lock): Likewise.
5850 (lll_trylock): Likewise.
5851 * math/test-fenv.c (ALL_EXC): Likewise.
5852 * math/test-fenvinline.c (ALL_EXC): Likewise.
5853 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5854 * nis/nis_call.c (__do_niscall3): Likewise.
5855 * nis/nis_callback.c (cb_prog_1): Likewise.
5856 * nis/nis_defaults.c (searchaccess): Likewise.
5857 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5858 * nis/nis_ismember.c (internal_ismember): Likewise.
5859 * nis/nis_local_names.c (nis_local_principal): Likewise.
5860 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5861 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5863 * nis/ypclnt.c (yp_match): Likewise.
5864 (yp_first): Likewise.
5865 (yp_next): Likewise.
5866 (yp_master): Likewise.
5867 (yp_order): Likewise.
5868 * nscd/hstcache.c (cache_addhst): Likewise.
5869 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5870 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5871 (internal_getpwuid_r): Likewise.
5872 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5873 * posix/glob.h (__GLOB_FLAGS): Likewise.
5874 * posix/regcomp.c (peek_token): Likewise.
5875 (peek_token_bracket): Likewise.
5876 (parse_expression): Likewise.
5877 * posix/regexec.c (sift_states_iter_mb): Likewise.
5878 (check_node_accept_bytes): Likewise.
5879 * posix/tst-spawn3.c (do_test): Likewise.
5880 * posix/wordexp-test.c (testit): Likewise.
5881 * posix/wordexp.c (parse_tilde): Likewise.
5882 (exec_comm): Likewise.
5883 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5884 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5885 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5886 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5887 * stdio-common/tst-fileno.c (do_test): Likewise.
5888 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5889 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5890 * stdlib/strtod_l.c (round_and_return): Likewise.
5891 (____STRTOF_INTERNAL): Likewise.
5892 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5893 * string/strcspn.c (STRCSPN): Likewise.
5894 * string/test-memmem.c (simple_memmem): Likewise.
5895 * termios/tcsetattr.c (tcsetattr): Likewise.
5896 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5897 * time/asctime.c (asctime_internal): Likewise.
5898 * time/strptime_l.c (__strptime_internal): Likewise.
5899 * time/sys/time.h (timercmp): Likewise.
5900 * time/tzfile.c (__tzfile_compute): Likewise.
5902 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5905 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5907 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5909 * argp/argp-help.c (__argp_error_internal): New function,
5910 renamed from __argp_error, but that takes a 'mode_flags'
5911 parameter to control the format of long double parameters.
5912 (__argp_error): Converted into a call __argp_error_internal.
5913 (__argp_failure_internal): New function, renamed from
5914 __argp_failure, but that takes a 'mode_flags' parameter.
5915 (__argp_failure): Converted into a call __argp_failure_internal.
5916 * misc/err.c (__vwarnx_internal): New function, renamed from
5917 vwarnx, but that takes a 'mode_flags' parameter.
5918 (vwarnx): Converted into a call to __vwarnx_internal.
5919 (__vwarn_internal): New function, renamed from vwarn, but that
5920 takes a 'mode_flags' parameter.
5921 (vwarn): Converted into a call to __vwarn_internal.
5922 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5923 call to __vfxprintf with 'mode_flags'.
5924 (__error_internal): New function, renamed from error, but that
5925 takes a 'mode_flags' parameter.
5926 (error): Converted into a call to __error_internal.
5927 (__error_at_line_internal): New function, renamed from
5928 error_at_line, but that takes a 'mode_flags' parameter.
5929 (error_at_line): Converted into a call to
5930 __error_at_line_internal.
5931 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5932 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5935 2019-02-20 Martin Liska <mliska@suse.cz>
5937 * math/Makefile: Install math-vector-fortran.h.
5938 * bits/math-vector-fortran.h: New file.
5939 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5941 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5943 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5944 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5946 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5948 * nptl/pthread_mutex_trylock.c: Fix comment.
5950 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5952 * nptl/pthread_tryjoin.c: Fix comment.
5954 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5957 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5958 after R_SPARC_H34 case.
5960 2019-02-18 Florian Weimer <fweimer@redhat.com>
5962 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5963 (getanswer): Do not call Dprintf.
5964 (res_gethostbyname2_context): Likewise.
5965 (res_gethostbyaddr_context): Likewise.
5967 2019-02-18 Florian Weimer <fweimer@redhat.com>
5969 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5971 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
5973 * libio/stdfiles.c: Update comment.
5974 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
5975 set _IO_stdin, _IO_stdout, _IO_stderr.
5976 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
5977 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
5979 (_IO_deallocate_file): New inline function.
5980 * libio/iolibio.h (_IO_vprintf): Remove definition.
5981 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
5982 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5983 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
5985 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
5986 __builtin_expect. Use _IO_legacy_file.
5988 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
5990 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
5991 Initialize ctid with a known value and remove update of ctid
5993 (wait_tid): Adjust arguments and call futex_wait with ctid_val
5994 as assumed current value of ctid_ptr.
5996 2019-02-16 Florian Weimer <fweimer@redhat.com>
5998 Check that non-sysdeps headers have wrapper headers.
5999 * scripts/check-wrapper-headers.py: New file.
6000 * Makefile (tests-special): Add check-wrapper-headers.out.
6001 (check-wrapper-headers.out): New target.
6002 * Rules (tests-special): Add check-wrapper-headers.out.
6003 (check-wrapper-headers.out): New target.
6005 2019-02-16 Florian Weimer <fweimer@redhat.com>
6007 Add missing header wrappers under include/.
6008 * include/ar.h: New file.
6009 * include/bits/mqueue2.h: Likewise.
6010 * include/bits/stdio.h: Likewise.
6011 * include/bits/stdio2.h: Likewise.
6012 * include/fstab.h: Likewise.
6013 * include/fts.h: Likewise.
6014 * include/lastlog.h: Likewise.
6015 * include/netinet/icmp6.h: Likewise.
6016 * include/netinet/igmp.h: Likewise.
6017 * include/netinet/ip6.h: Likewise.
6018 * include/re_comp.h: Likewise.
6019 * include/regexp.h: Likewise.
6020 * include/rpcsvc/bootparam.h: Likewise.
6021 * include/rpcsvc/yp_prot.h: Likewise.
6022 * include/sys/random.h: Likewise.
6023 * include/sys/stropts.h: Likewise.
6024 * include/sys/ttychars.h: Likewise.
6025 * include/sys/vfs.h: Likewise.
6026 * include/wait.h: Likewise.
6028 2019-02-16 Florian Weimer <fweimer@redhat.com>
6030 * nptl_db/proc_service.h: Move to ...
6031 * sysdeps/nptl/proc_service.h: ... here.
6032 * nptl_db/thread_db.h: Move to ...
6033 * sysdeps/nptl/thread_db.h: ... here.
6034 * nptl/descr.h: Include <thread_db.h>.
6036 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6038 * io/Makefile (tests): Add tst-lockf.
6039 * io/lockf.c (lockf): Use __fcntl and only define for
6040 !__OFF_T_MATCHES_OFF64_T.
6041 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6042 __OFF_T_MATCHES_OFF64_T case.
6043 * io/tst-lockf.c: New file.
6044 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6045 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6046 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6047 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6048 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6050 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6051 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6052 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6054 2019-02-15 Florian Weimer <fweimer@redhat.com>
6057 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6058 pd->result after the thread descriptor has been freed.
6060 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6062 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6063 from function return type.
6065 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6067 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6069 * scripts/test_printers_common.py: Set TERM to a known harmless
6072 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6074 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6075 (xdr_u_int): Likewise.
6076 (xdr_enum): Likewise.
6077 (xdr_bytes): Reword fall-through comment.
6078 (xdr_string): Likewise.
6080 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6083 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6084 (tests): Add tst-join8 tst-join9.
6085 * nptl/lll_timedwait_tid.c: Remove file.
6086 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6087 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6088 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6089 * nptl/pthread_join_common.c (timedwait_tid): New function.
6090 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6092 * nptl/tst-join5.c (thread_join): New function.
6093 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6095 * nptl/tst-join8.c: New file.
6096 * nptl/tst-join9.c: Likewise.
6097 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6098 lll_futex_timed_wait_cancel): Add generic macros.
6099 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6101 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6102 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6103 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6104 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6106 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6108 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6109 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6110 (lll_futex_timed_wait_cancel): New macro.
6112 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6114 * benchtests/Makefile: Add malloc-simple benchmark.
6115 * benchtests/bench-malloc-simple.c: New benchmark.
6117 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6119 * benchtests/bench-memmove.c (do_one_test): Remove unused
6122 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6126 2019-01-13 Jim Wilson <jimw@sifive.com>
6129 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6130 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6132 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6134 * nptl/Makefile (tests): Add tst-unwind-thread.
6135 (CFLAGS-tst-unwind-thread.c): Define.
6136 * nptl/tst-unwind-thread.c: New file.
6137 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6140 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6142 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6144 * nis/nis_call.c (__do_niscall3): Likewise.
6146 * catgets/gencat.c (normalize_line): Use braces around empty
6148 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6149 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6150 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6151 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6152 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6153 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6154 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6157 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6160 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6162 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6163 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6164 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6165 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6166 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6167 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6168 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6169 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6170 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6171 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6172 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6173 * benchtests/bench-bcopy.c: Delete file.
6174 * benchtests/bench-bzero.c: Likewise.
6175 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6176 (simple_memccpy): Remove.
6177 (generic_memccpy): Add function.
6178 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6179 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6180 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6181 (generic_mempcpy): Add new function.
6182 * benchtests/bench-memset.c (simple_bzero): Remove.
6183 (builtin_bzero): Remove.
6184 (builtin_memset): Remove.
6185 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6186 (generic_rawmemchr): Add new function.
6188 2019-02-12 Florian Weimer <fweimer@redhat.com>
6190 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6192 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6195 * elf/Makefile (tests): Add tst-audit13.
6196 (modules-names): Add tst-audit13mod1.
6197 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6199 * elf/tst-audit13.c: New file.
6200 * elf/tst-audit13mod1.c: Likewise.
6202 2019-02-12 Florian Weimer <fweimer@redhat.com>
6205 * elf/rtld.c (unload_audit_module): New function.
6206 (report_audit_module_load_error): Likewise.
6207 (load_audit_module): Likewise. Extracted from dl_main. Call
6208 _dl_close if the laversion symbol cannot be found. Use early
6209 returns for error handling. Add malloc error check. Check for a
6210 zero return value from la_version. Remove spurious comment about
6211 static TLS initialization. Remove useless casts.
6212 (notify_audit_modules_of_loaded_object): New function. Extracted
6214 (load_audit_module): Likewise.
6215 (dl_main): Call load_audit_modules.
6217 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6219 * elf/dl-exception.c (_dl_exception_create_format): Add
6220 fall-through comments.
6221 * elf/ldconfig.c (parse_conf_include): Likewise.
6222 * elf/rtld.c (print_statistics): Likewise.
6223 * locale/programs/charmap.c (parse_charmap): Likewise.
6224 * misc/mntent_r.c (__getmntent_r): Likewise.
6225 * posix/wordexp.c (parse_arith): Likewise.
6226 (parse_backtick): Likewise.
6227 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6228 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6231 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6233 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6234 Use float instead of double.
6236 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6238 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6240 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6242 * sysdeps/powerpc/bits/mathinline.h: Remove.
6244 2019-02-08 Florian Weimer <fweimer@redhat.com>
6246 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6247 * math/bits/math-finite.h: Move to ...
6248 * bits/math-finite.h: ... here.
6250 2019-02-08 Florian Weimer <fweimer@redhat.com>
6252 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6253 * bits/unistd_ext.h: here.
6255 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6258 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6259 * nss/tst-nss-files-hosts-long.c: New file.
6260 * nss/tst-nss-files-hosts-long.root: New directory.
6261 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6262 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6264 2019-02-08 Florian Weimer <fweimer@redhat.com>
6266 * include/bits/unistd_ext.h: Remove file.
6267 * posix/bits/unistd_ext.h: Move to ...
6268 * sysdeps/generic/bits/unistd_ext.h: ... here.
6270 2019-02-08 Florian Weimer <fweimer@redhat.com>
6272 * include/bits/unistd_ext.h: New file.
6274 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6276 * time/tst-strftime2.c: Use array_length macros instead of magic
6279 2019-02-08 Florian Weimer <fweimer@redhat.com>
6282 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6284 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6285 locking if the new do_locking argument is true.
6286 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6287 __run_fork_handlers.
6289 2019-02-08 Florian Weimer <fweimer@redhat.com>
6292 Linux: Add gettid system call wrapper.
6293 * posix/Makefile (headers): Add bits/unistd_ext.h.
6294 * posix/bits/unistd_ext.h: New file.
6295 * posix/unistd.h: Include it.
6296 * manual/process.texi (Process Identification): Document gettid.
6297 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6298 tst-gettid, tst-gettid-kill.
6299 (tst-gettid): Link with $(shared-thread-library).
6300 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6301 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6302 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6303 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6304 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6305 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6307 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6309 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6310 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6312 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6314 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6316 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6318 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6320 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6324 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6325 (GLIBC_2.30): Likewise.
6326 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6327 (GLIBC_2.30): Likewise.
6328 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6329 (GLIBC_2.30): Likewise.
6330 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6331 (GLIBC_2.30): Likewise.
6332 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6335 (GLIBC_2.30): Likewise.
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6337 (GLIBC_2.30): Likewise.
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6339 (GLIBC_2.30): Likewise.
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6341 (GLIBC_2.30): Likewise.
6342 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6344 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6346 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6348 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6349 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6351 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6353 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6355 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6357 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6359 2019-02-08 Florian Weimer <fweimer@redhat.com>
6361 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6362 compatibility symbols.
6364 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6367 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6368 Add compiler barriers and comments.
6370 2019-02-07 Florian Weimer <fweimer@redhat.com>
6372 * include/array_length.h (array_length): Do not use a statement
6373 expression and _Static_assert, so that array_length can be used at
6374 file scope and as a constant expression.
6376 2019-02-07 Florian Weimer <fweimer@redhat.com>
6378 * support/xdlfcn.h (xdlmopen): Declare.
6379 * support/xdlmopen.c: New file.
6380 * support/Makefile (libsupport-routines): Add xdlmopen.
6382 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6384 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6385 before return type, without separate inline.
6386 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6387 * elf/dl-tunables.h (tunable_is_name): Likewise.
6388 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6389 (do_set_top_pad): Likewise.
6390 (do_set_mmap_threshold): Likewise.
6391 (do_set_mmaps_max): Likewise.
6392 (do_set_mallopt_check): Likewise.
6393 (do_set_perturb_byte): Likewise.
6394 (do_set_arena_test): Likewise.
6395 (do_set_arena_max): Likewise.
6396 (do_set_tcache_max): Likewise.
6397 (do_set_tcache_count): Likewise.
6398 (do_set_tcache_unsorted_limit): Likewise.
6399 * nis/nis_subr.c (count_dots): Likewise.
6400 * nptl/allocatestack.c (advise_stack_range): Likewise.
6401 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6403 (reduce_sincos): Likewise.
6404 (do_sincos): Likewise.
6405 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6406 (do_set_elision_enable): Likewise.
6407 (TUNABLE_CALLBACK_FNDECL): Likewise.
6409 2019-02-06 Florian Weimer <fweimer@redhat.com>
6411 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6412 (xdlsym): Use dlerror to detect a NULL symbol.
6414 2019-02-06 Florian Weimer <fweimer@redhat.com>
6416 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6418 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6420 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6422 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6424 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6426 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6427 __wmemcmp and weak alias to wmemcmp.
6429 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6432 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6433 TLS_TCB_AT_TP tls variant.
6434 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6435 Add alignment checks.
6436 * support/Makefile (libsupport-routines): Add xposix_memalign and
6438 * support/support.h: Add xposix_memalign.
6439 * support/xthread.h: Add xpthread_attr_setstack.
6440 * support/xposix_memalign.c: New File.
6441 * support/xpthread_attr_setstack.c: Likewise.
6443 2019-02-05 Florian Weimer <fweimer@redhat.com>
6446 arm: Use "nr" constraint for Systemtap probes, to avoid the
6447 compiler using memory operands for constants, due to the "o"
6448 alternative in the default "nor" constraint.
6449 * include/stap-probe.h [USE_STAP_PROBE]: Include
6450 <stap-probe-machine.h>
6451 * sysdeps/generic/stap-probe-machine.h: New file.
6452 * sysdeps/arm/stap-probe-machine.h: Likewise.
6454 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6456 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6457 with 0, not tcache->entries[tc_idx].
6459 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6462 2019-02-04 Andreas Schwab <schwab@suse.de>
6466 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6467 looking up collating elements match against (wide) character
6468 sequence instead of name. Correct alignment adjustment.
6469 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6470 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6471 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6472 (LOCALES): Add cs_CZ.ISO-8859-2.
6473 * posix/tst-fnmatch4.c: New file.
6474 * posix/tst-fnmatch5.c: New file.
6475 * include/wchar.h (__wmemcmp): Declare.
6476 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6477 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6478 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6479 * sysdeps/s390/wmemcmp.c: Likewise.
6481 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6485 * NEWS: Updated for CVE-2019-7309.
6486 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6487 upper 32 bits of RDX register for x32. Use unsigned Jcc
6488 instructions, instead of signed.
6489 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6490 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6492 2019-02-04 Florian Weimer <fweimer@redhat.com>
6494 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6495 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6496 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6498 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6499 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6500 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6501 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6503 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6505 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6507 (posix_spawn_file_actions_addopen): Likewise.
6508 (posix_spawn_file_actions_addclose): Likewise.
6509 (posix_spawn_file_actions_adddup2): Likewise.
6510 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6512 (posix_spawn_file_actions_addfchdir_np): Likewise.
6514 2019-02-04 David Newall <glibc@davidnewall.com>
6516 elf: Implement --preload option for the dynamic linker.
6517 * elf/rtld.c (preloadarg): New variable.
6518 (handle_preload_list): Pass through “where” argument to
6520 (dl_main): Handle "--preload" and add second call to
6521 handle_preload_list.
6522 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6523 (tst-rtld-preload-OBJS): Set variable.
6524 (tst-rtld-preload.out): New target.
6525 * elf/tst-rtld-preload.sh: New file.
6527 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6529 * Makefile (testrun.sh): Exit in case of incorrect argument.
6531 2019-02-04 Florian Weimer <fweimer@redhat.com>
6533 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6536 2019-02-03 Florian Weimer <fweimer@redhat.com>
6538 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6539 implicit overflow checks.
6541 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6543 * stdlib/isomac.c: Include <unistd.h>.
6545 2019-02-03 Florian Weimer <fweimer@redhat.com>
6547 * include/time.h (__tzfile_default): Use int, not long int, for
6549 * time/tzfile.c (struct ttinfo): Change type of the offset member
6551 (__tzfile_read): Remove useless cast.
6552 (__tzfile_default): Adjust prototype.
6553 * time/tzset.c (tz_rule): Change type of the offset member to int.
6554 (parse_offset): Change the type of the sign variable to int.
6556 2019-02-03 Florian Weimer <fweimer@redhat.com>
6559 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6560 * libio/getchar.c (getchar): Likewise.
6561 * libio/getchar_u.c (getchar_unlocked): Likewise.
6562 * libio/getwchar.c (getwchar): Likewise.
6563 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6564 * libio/iogets.c (_IO_gets): Likewise.
6565 * libio/vscanf.c (_IO_vscanf): Likewise.
6566 * libio/vwscanf.c (__vwscanf): Likewise.
6567 * libio/tst-bz24153.c: New file.
6568 * libio/Makefile (tests): Add it.
6570 2019-02-02 Florian Weimer <fweimer@redhat.com>
6573 * manual/resource.texi (Basic Scheduling Functions): Add
6574 portability note. Change process to task throughout the section.
6575 Remove incorrect comment about sched_yield as it affects
6576 tasks/threads, not entire processes.
6577 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6578 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6580 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6582 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6583 * configure: Regenerated.
6584 * manual/install.texi (Tools for Compilation): Update minimum GCC
6586 * INSTALL: Regenerated.
6588 2019-02-01 Florian Weimer <fweimer@redhat.com>
6590 * support/support_test_compare_string.c
6591 (support_test_compare_string): Use "string" in error message.
6592 * support/tst-test_compare_string.c (do_test): Adjust.
6594 2019-02-01 Florian Weimer <fweimer@redhat.com>
6596 * support/support_format_address_family.c
6597 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6599 2019-02-01 Florian Weimer <fweimer@redhat.com>
6601 * manual/socket.texi (Internet Address Formats): Clarify the byte
6602 order of struct sockaddr_in, struct sockaddr_in6. Document
6603 sin6_flowinfo and sin6_scope_id.
6605 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6607 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6608 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6609 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6610 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6611 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6612 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6614 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6616 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6617 [!MEMCHR](MEMCHR): Set to __memchr.
6618 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6619 Add memchr_generic and memchr_nosimd.
6620 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6621 (__libc_ifunc_impl_list): Add memchr ifuncs.
6622 * sysdeps/aarch64/multiarch/memchr.c: New file.
6623 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6624 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6626 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6628 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6630 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6631 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6632 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6633 Add IS_EMAG check for ifunc dispatch.
6634 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6635 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6637 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6639 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6640 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6642 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6645 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6647 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6649 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6651 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6652 syscall-template file.
6654 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6655 Torvald Riegel <triegel@redhat.com>
6656 Rik Prohaska <prohaska7@gmail.com>
6659 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6660 tst-rwlock-trywrlock-stall.
6661 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6662 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6663 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6664 Set __wrphase_fute to 1 only if we started the write phase.
6665 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6666 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6667 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6668 * support/xpthread_rwlock_destroy.c: New file.
6669 * support/xthread.h: Declare xpthread_rwlock_destroy.
6671 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6673 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6676 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6679 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6680 * libio/fileops.c (_IO_new_file_underflow): Likewise
6681 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6682 * libio/putchar.c (putchar): Likewise.
6683 * libio/putchar_u.c (putchar_unlocked): Likewise.
6684 * libio/putwchar.c (putchar): Likewise.
6685 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6686 * libio/tst-bz24051.c: New test.
6687 * libio/Makefile (tests): Add tst-bz24051
6689 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6692 regex: fix read overrun [BZ #24114]
6693 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6694 https://debbugs.gnu.org/34140
6695 * posix/regexec.c (proceed_next_node):
6696 Do not read past end of input buffer.
6698 2019-01-31 Florian Weimer <fweimer@redhat.com>
6701 * nss/nss_files/files-alias.c (get_next_alias): Handle
6702 continuation line without newline at the end.
6703 * nss/tst-nss-files-alias-truncated.c: New file.
6704 * nss/Makefile [$(build-shared)] (tests): Add
6705 tst-nss-files-alias-truncated.
6706 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6707 * support/namespace.h (struct support_chroot_configuration): Add
6709 (struct support_chroot): Add path_aliases member.
6710 * support/support_chroot.c (support_chroot_create): Handle
6712 (support_chroot_free): Free path_aliases.
6714 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6716 * version.h (RELEASE): Set to "development".
6717 (VERSION): Set to "2.29.9000".
6718 * NEWS: Add section for 2.30.
6720 * version.h (RELEASE): Set to "stable".
6721 (VERSION): Set to "2.29".
6722 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6724 * NEWS: Add the list of bugs fixed in 2.29.
6725 * manual/contrib.texi: Update contributors list with some more
6727 * manual/install.texi: Update latest versions of packages
6729 * INSTALL: Regenerated.
6731 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6733 * po/be.po: Update translations.
6734 * po/bg.po: Likewise.
6735 * po/ca.po: Likewise.
6736 * po/cs.po: Likewise.
6737 * po/da.po: Likewise.
6738 * po/de.po: Likewise.
6739 * po/el.po: Likewise.
6740 * po/eo.po: Likewise.
6741 * po/es.po: Likewise.
6742 * po/fi.po: Likewise.
6743 * po/fr.po: Likewise.
6744 * po/gl.po: Likewise.
6745 * po/hr.po: Likewise.
6746 * po/hu.po: Likewise.
6747 * po/ia.po: Likewise.
6748 * po/id.po: Likewise.
6749 * po/it.po: Likewise.
6750 * po/ja.po: Likewise.
6751 * po/ko.po: Likewise.
6752 * po/lt.po: Likewise.
6753 * po/nb.po: Likewise.
6754 * po/nl.po: Likewise.
6755 * po/pl.po: Likewise.
6756 * po/pt_BR.po: Likewise.
6757 * po/ru.po: Likewise.
6758 * po/rw.po: Likewise.
6759 * po/sk.po: Likewise.
6760 * po/sl.po: Likewise.
6761 * po/sv.po: Likewise.
6762 * po/tr.po: Likewise.
6763 * po/uk.po: Likewise.
6764 * po/vi.po: Likewise.
6765 * po/zh_CN.po: Likewise.
6766 * po/zh_TW.po: Likewise.
6768 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6771 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6772 of $f3 register on $y_is_neg path.
6774 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6777 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6778 sigaltstack.ss_flags.
6780 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6783 * manual/time.texi (strftime): Document "%Ey".
6784 * time/strftime_l.c (__strftime_internal): Set the default width
6785 padding with zero of "%Ey" to 2.
6788 * manual/time.texi (strftime): Document "%EC" and "%EY".
6789 * time/Makefile (tests): Add tst-strftime2.
6790 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6791 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6792 override padding for "%Ey".
6793 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6794 "%Ey" in the subformat as if decorated with that flag.
6795 * time/tst-strftime2.c: New file.
6797 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6799 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6803 * elf/Makefile (tests): Add tst-audit13.
6804 (modules-names): Add tst-audit13mod1.
6805 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6807 * elf/rtld.c (dl_main): Handle invalid audit module version.
6808 * elf/tst-audit13.c: New file.
6809 * elf/tst-audit13mod1.c: Likewise.
6811 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6813 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6814 returned by __hurd_at_flags.
6815 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6816 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6817 directly instead of __hurd_file_name_lookup.
6819 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6821 * scripts/build-many-glibcs.py (Context.checkout): Default
6822 binutils version to 2.32 branch.
6824 2019-01-21 Florian Weimer <fweimer@redhat.com>
6828 resolv: Reject trailing characters in host names
6829 * include/arpa/inet.h (__inet_aton_exact): Declare.
6830 (inet_aton): Remove hidden prototype. No longer used internally.
6831 * nscd/gai.c (__inet_aton): Do not define.
6832 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6833 * nss/digits_dots.c (__inet_aton): Likewise.
6834 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6835 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6836 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6837 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6838 (tst-resolv-trailing): Likewise.
6839 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6841 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6842 Make static. Add endp parameter.
6843 (__inet_aton_exact): New function.
6844 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6845 (__inet_addr): Call inet_aton_end.
6846 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6847 not just IPv6. Call __inet_aton_exact.
6848 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6849 (tests): Make const. Add additional test cases with trailing
6851 (do_test): Use array_length.
6852 * resolv/tst-inet_aton_exact.c: New file.
6853 * resolv/tst-resolv-trailing.c: Likewise.
6854 * resolv/tst-resolv-nondecimal.c: Likewise.
6855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6857 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6861 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6862 Clear the upper 32 bits of RSI register.
6863 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6864 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6865 and tst-size_t-wcsnlen.
6866 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6867 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6869 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6873 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6874 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6875 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6876 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6877 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6879 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6883 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6884 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6885 * sysdeps/x86_64/strcmp.S: Likewise.
6886 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6887 tst-size_t-strncmp and tst-size_t-wcsncmp.
6888 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6889 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6890 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6892 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6896 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6897 RDX_LP for length. Clear the upper 32 bits of RDX register.
6898 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6899 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6900 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6901 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6903 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6907 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6908 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6909 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6910 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6912 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6916 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6917 length. Clear the upper 32 bits of RDX register.
6918 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6919 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6921 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6923 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6925 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6927 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6931 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6932 length. Clear the upper 32 bits of RDX register.
6933 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6934 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6935 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6937 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6938 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6940 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6944 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6945 upper 32 bits of RDX register.
6946 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6947 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6949 * sysdeps/x86_64/x32/test-size_t.h: New file.
6950 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6951 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6953 2019-01-18 Florian Weimer <fweimer@redhat.com>
6956 resolv: Do not send queries for non-host-names in nss_dns.
6957 * resolv/nss_dns/dns-host.c (check_name): New function.
6958 (_nss_dns_gethostbyname2_r): Use it.
6959 (_nss_dns_gethostbyname_r): Likewise.
6960 (_nss_dns_gethostbyname4_r): Likewise.
6962 2019-01-21 Florian Weimer <fweimer@redhat.com>
6964 * resolv/inet_addr.c: Reformat to GNU style.
6965 (__inet_addr, __inet_aton): Update comment.
6967 2019-01-18 Florian Weimer <fweimer@redhat.com>
6969 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6970 ("malloc: Use current (C11-style) atomics for fastbin access").
6971 This commit introduces a substantial performance regression on
6973 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
6974 (REMOVE_FB): Define.
6975 (_int_malloc): Use it and reindent.
6976 (_int_free): Use CAS loop with
6977 catomic_compare_and_exchange_val_rel.
6978 (malloc_consolidate): Use atomic_exchange_acq.
6981 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
6983 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
6985 (LDFLAGS-tst-minsigstksz-2): Likewise.
6986 (LDFLAGS-tst-minsigstksz-3): Likewise.
6987 (LDFLAGS-tst-minsigstksz-3a): Likewise.
6988 (LDFLAGS-tst-minsigstksz-4): Likewise.
6990 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
6992 * manual/time.texi (strftime): Fix the wording to "alternative" rather
6995 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
6997 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
6999 2019-01-16 Zack Weinberg <zackw@panix.com>
7001 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7002 (xget_sigstack_location): New test support functions.
7003 * support/xsigstack.c: New file, implementing them.
7004 * support/tst-xsigstack.c: New test for them.
7005 * support/Makefile: Update.
7007 * signal/tst-minsigstksz-1.c
7008 * signal/tst-minsigstksz-2.c
7009 * signal/tst-minsigstksz-3.c
7010 * signal/tst-minsigstksz-3a.c
7011 * signal/tst-minsigstksz-4.c: New tests.
7012 * signal/Makefile: Run them.
7014 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7016 * po/libc.pot: Regenerate.
7018 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7020 * math/libm-test-fma.inc (fma_test_data): Set
7021 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7023 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7025 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7026 (do_test): Changed __vector __int128_t to __vector unsigned int.
7028 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7031 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7032 stpcpy-avx2 and stpncpy-avx2.
7033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7034 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7035 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7037 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7038 ifunc-strcpy.h}: rename header for a more generic name.
7039 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7040 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7041 AVX unaligned load is fast and vzeroupper is preferred.
7042 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7043 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7044 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7045 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7046 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7047 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7049 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7051 * argp/argp-help.c: Fix typo in comment.
7052 * misc/sys/cdefs.h: Likewise.
7053 * posix/regexec.c (sift_states_iter_mb): Likewise.
7054 * socket/sockatmark.c: Likewise.
7055 * socket/sys/socket.h: Likewise.
7056 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7057 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7058 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7060 * sysdeps/unix/sockatmark.c: Likewise.
7061 * time/strptime_l.c: Likewise.
7063 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7065 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7066 missing space after the cast of "_NL_CURRENT".
7068 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7070 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7071 ifdef to fix read of VSCR.
7072 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7073 tst-ucontext-ppc64-vscr.c to test list.
7074 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7076 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7078 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7081 2019-01-09 Jim Wilson <jimw@sifive.com>
7083 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7085 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7087 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7088 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7089 __memcpy_falkor for ares.
7090 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7092 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7095 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7098 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7099 4_FP_W_TYPEs are used for IEEE quad precision.
7100 * soft-fp/extendhftf2.c: Likewise.
7101 * soft-fp/extendsftf2.c: Likewise.
7102 * soft-fp/extendxftf2.c: Likewise.
7103 * soft-fp/trunctfdf2.c: Likewise.
7104 * soft-fp/trunctfhf2.c: Likewise.
7105 * soft-fp/trunctfsf2.c: Likewise.
7106 * soft-fp/trunctfxf2.c: Likewise.
7107 * sysdeps/alpha/ots_cvttx.c: Likewise.
7108 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7109 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7110 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7111 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7112 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7113 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7114 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7115 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7116 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7117 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7118 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7119 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7120 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7121 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7122 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7123 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7124 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7126 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7129 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7130 code with -fmath-errno.
7131 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7132 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7133 * string/test-strerror-errno.c: New file.
7135 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7138 * localedata/locales/en_US (date_fmt): Add, set to
7139 "%a %d %b %Y %r %Z".
7141 2019-01-07 Florian Weimer <fweimer@redhat.com>
7144 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7145 instead of @var{errno}.
7146 (Parsing of Integers): Likewise.
7147 (Parsing of Floats): Likewise.
7148 * manual/filesys.texi (Working with Directory Trees): Likewise.
7149 (Temporary Files): Likewise.
7150 * manual/job.texi (Terminal Access Functions): Likewise.
7151 * manual/llio.texi (Synchronizing I/O): Likewise.
7152 * manual/math.texi (SVID Random): Likewise.
7153 * manual/message.texi (The catgets Functions): Likewise.
7154 (Translation with gettext): Likewise.
7155 (Locating gettext catalog): Likewise.
7156 (Charset conversion in gettext): Likewise.
7157 * manual/nss.texi (NSS Module Function Internals): Likewise.
7158 * manual/search.texi (Hash Search Function): Likewise.
7159 * manual/setjmp.texi (System V contexts): Likewise.
7160 * manual/time.texi (Sleeping): Likewise.
7161 * manual/users.texi (Lookup User): Likewise.
7162 (Lookup Group): Likewise.
7164 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7166 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7169 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7172 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7173 __builtin_unreachable for default case in switch.
7174 (__ieee754_yn): Likewise.
7175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7176 (__ieee754_ynl): Likewise.
7177 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7178 (__ieee754_ynl): Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7180 (__ieee754_ynl): Likewise.
7182 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7184 * manual/maint.texi: Use @{ and @}.
7186 2019-01-04 Florian Weimer <fweimer@redhat.com>
7188 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7190 (do_in_chroot_1): Call it.
7192 Improve error reporting in case it is not possible to create a
7193 collision for the PTY name required by the test.
7195 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7197 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7198 lll_wait_tid with timeout.
7199 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7200 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7201 futex_reltimed_wait_cancelable for cancelabla mode.
7202 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7203 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7205 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7206 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7207 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7208 SYSCALL_CANCEL_NCS): New macro.
7209 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7210 (lll_timedwait_tid): Remove macro.
7211 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7213 (lll_timedwait_tid): Likewise.
7214 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7216 (lll_timedwait_tid): Likewise.
7217 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7219 (lll_timedwait_tid): Likewise.
7220 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7221 Use INTERNAL_SYSCALL_CANCEL.
7222 * sysdeps/unix/sysv/linux/futex-internal.h
7223 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7224 instead of __pthread_{enable,disable}_asynccancel.
7225 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7226 (lll_futex_wait_cancel): New macro.
7228 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7229 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7231 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7232 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7234 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7235 in backtrace analysis.
7236 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7238 (tf_send): Likewise.
7240 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7241 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7242 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7243 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7244 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7245 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7246 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7247 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7248 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7249 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7250 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7251 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7253 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7254 tst-cancel-wrappers.sh.
7255 (generated): Remove tst-cancel-wrappers.out.
7256 (tst-cancel-wrappers.out): Remove rule.
7257 * nptl/tst-cancel-wrappers.sh: Remove file.
7259 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7261 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7262 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7265 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7268 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7269 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7270 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7271 close-on-exec reset for adddup2 file action.
7272 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7274 2019-01-03 Zack Weinberg <zackw@panix.com>
7276 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7277 parameter. Only use deprecated scanf when __USE_GNU is defined
7278 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7279 than 201103L, whichever is relevant for the language being compiled.
7281 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7282 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7283 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7284 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7285 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7289 * libio/iovswscanf.c
7294 * stdio-common/fscanf.c
7295 * stdio-common/scanf.c
7296 * stdio-common/vfscanf.c
7297 * stdio-common/vfwscanf.c
7298 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7299 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7300 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7301 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7302 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7303 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7304 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7305 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7306 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7307 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7308 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7309 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7310 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7311 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7312 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7314 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7315 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7316 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7318 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7319 with a preprocessor macro.
7321 * stdio-common/bug21.c, stdio-common/scanf14.c:
7322 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7323 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7324 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7325 to xscanf, xfscanf, xsscanf.
7327 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7328 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7329 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7330 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7332 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7333 override feature selection macros or provide definitions of u_char etc.
7334 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7335 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7336 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7339 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7342 bits/termios-misc.h.
7343 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7344 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7345 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7346 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7347 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7348 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7350 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7352 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7353 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7354 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7355 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7357 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7358 (sysdep_headers): Add termios-misc.h.
7360 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7361 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7362 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7366 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7367 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7368 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7369 TCSAFLUSH): Move to termios-tcflow.h.
7370 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7371 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7373 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7377 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7378 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7379 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7380 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7381 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7382 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7383 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7384 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7386 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7387 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7388 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7389 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7393 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7394 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7395 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7396 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7397 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7399 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7400 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7401 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7402 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7405 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7407 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7408 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7409 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7410 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7411 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7412 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7413 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7414 __MAX_BAUD): Move to termios-baud.h.
7415 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7416 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7417 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7418 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7419 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7421 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7423 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7424 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7425 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7426 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7427 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7428 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7430 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7431 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7433 [USE_MISC] (XTABS): Likewise.
7434 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7435 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7436 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7437 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
7439 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7441 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7442 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7443 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7444 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7445 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7446 IUTF8): Move to termios-c_iflag.h.
7447 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7448 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7449 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7450 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7452 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7454 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7455 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7456 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7457 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7458 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7459 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7460 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7461 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7462 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7463 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7464 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7465 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7467 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7468 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7469 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7470 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7473 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7475 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7477 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7479 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7481 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7483 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7484 _HAVE_C_OSPEED): Define.
7485 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7486 _HAVE_C_OSPEED): Likewise.
7487 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7488 _HAVE_C_OSPEED): Likewise.
7489 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7490 (cfsetospeed): Check for define value instead of existence.
7491 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7492 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7493 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7494 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7495 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7498 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7500 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7501 (TIOCSER_TEMT): Likewise.
7502 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7503 (TEOCSER_TEMT): Likewise.
7505 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7508 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7510 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7514 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7516 * sysdeps/htl/pt-barrierattr-setpshared.c
7517 (pthread_barrierattr_setpshared): Add stub warning.
7518 * sysdeps/htl/pt-condattr-setpshared.c
7519 (pthread_condattr_setpshared): Likewise.
7520 * sysdeps/htl/pt-mutexattr-setpshared.c
7521 (pthread_mutexattr_setpshared): Likewise.
7522 * sysdeps/htl/pt-rwlockattr-setpshared.c
7523 (pthread_rwlockattr_setpshared): Likewise.
7524 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7525 (pthread_mutexattr_setpshared): Likewise.
7527 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7529 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7530 constants to match with Linux 4.20.
7532 * sysdeps/mips/mips32/libm-test-ulps: Update.
7533 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7535 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7538 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7539 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7540 than __typeof (...) for the a_ptr variable.
7542 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7544 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7545 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7546 * libio/Makefile (tests): Add tst-sprintf-ub and
7548 (CFLAGS-tst-sprintf-ub.c): New variable.
7549 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7550 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7551 destination buffer and check for overflows in fortified mode.
7552 * libio/libioP.h (PRINTF_CHK): New macro.
7553 * libio/tst-sprintf-chk-ub.c: New file.
7554 * libio/tst-sprintf-ub.c: Likewise.
7556 2019-01-02 Florian Weimer <fweimer@redhat.com>
7559 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7562 2019-01-02 Florian Weimer <fweimer@redhat.com>
7564 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7566 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7568 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7571 * sysdeps/unix/sysv/linux/netpacket/packet.h
7572 (PACKET_IGNORE_OUTGOING): New macro.
7574 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7577 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7579 (riscv_flush_icache): New syscall.
7581 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7582 trailing whitespace removed.
7583 * scripts/config.guess: Update to version 2019-01-01.
7584 * scripts/config.sub: Update to version 2019-01-01.
7585 * scripts/move-if-change: Update from gnulib.
7587 * NEWS: Update copyright dates.
7588 * catgets/gencat.c (print_version): Likewise.
7589 * csu/version.c (banner): Likewise.
7590 * debug/catchsegv.sh: Likewise.
7591 * debug/pcprofiledump.c (print_version): Likewise.
7592 * debug/xtrace.sh (do_version): Likewise.
7593 * elf/ldconfig.c (print_version): Likewise.
7594 * elf/ldd.bash.in: Likewise.
7595 * elf/pldd.c (print_version): Likewise.
7596 * elf/sotruss.sh: Likewise.
7597 * elf/sprof.c (print_version): Likewise.
7598 * iconv/iconv_prog.c (print_version): Likewise.
7599 * iconv/iconvconfig.c (print_version): Likewise.
7600 * locale/programs/locale.c (print_version): Likewise.
7601 * locale/programs/localedef.c (print_version): Likewise.
7602 * login/programs/pt_chown.c (print_version): Likewise.
7603 * malloc/memusage.sh (do_version): Likewise.
7604 * malloc/memusagestat.c (print_version): Likewise.
7605 * malloc/mtrace.pl: Likewise.
7606 * manual/libc.texinfo: Likewise.
7607 * nptl/version.c (banner): Likewise.
7608 * nscd/nscd.c (print_version): Likewise.
7609 * nss/getent.c (print_version): Likewise.
7610 * nss/makedb.c (print_version): Likewise.
7611 * posix/getconf.c (main): Likewise.
7612 * scripts/test-installation.pl: Likewise.
7613 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7615 * All files with FSF copyright notices: Update copyright dates
7616 using scripts/update-copyrights.
7617 * locale/programs/charmap-kw.h: Regenerated.
7618 * locale/programs/locfile-kw.h: Likewise.
7620 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7622 * timezone/zdump.c: Update from tzcode 2018i.
7623 * timezone/zic.c: Likewise.
7625 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7627 regex: improve Gnulib port to AIX
7628 From the glibc point of view, this removes duplicate macro
7629 definitions and is obviously safe.
7630 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7631 * posix/regex_internal.h:
7632 (__attribute__, __attribute_warn_unused_result__):
7633 Remove; already defined elsewhere.
7635 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7638 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7639 copying operation. (ncopies had the wrong type, resulting in an
7640 integer wraparound and too few elements being copied.)
7642 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7645 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7646 <asm/syscalls.h> exists with __has_include__ before including it.
7648 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7650 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7653 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7655 * hurd/lookup-retry: Include <unistd.h>.
7656 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7657 Release it on return. Handle "pid" magical lookup retry.
7659 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7662 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7663 (t_fmt_ampm): Likewise.
7664 * localedata/locales/aa_ER (t_fmt): Likewise.
7665 (t_fmt_ampm): Likewise.
7666 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7667 (t_fmt_ampm): Likewise.
7668 * localedata/locales/aa_ET (t_fmt): Likewise.
7669 (t_fmt_ampm): Likewise.
7670 * localedata/locales/am_ET (t_fmt): Likewise.
7671 (t_fmt_ampm): Likewise.
7672 * localedata/locales/byn_ER (t_fmt): Likewise.
7673 (t_fmt_ampm): Likewise.
7674 * localedata/locales/om_ET (t_fmt): Likewise.
7675 (t_fmt_ampm): Likewise.
7676 * localedata/locales/sid_ET (t_fmt): Likewise.
7677 (t_fmt_ampm): Likewise.
7678 * localedata/locales/so_DJ (t_fmt): Likewise.
7679 (t_fmt_ampm): Likewise.
7680 * localedata/locales/so_ET (t_fmt): Likewise.
7681 (t_fmt_ampm): Likewise.
7682 * localedata/locales/so_SO (t_fmt): Likewise.
7683 (t_fmt_ampm): Likewise.
7684 * localedata/locales/ti_ER (t_fmt): Likewise.
7685 (t_fmt_ampm): Likewise.
7686 * localedata/locales/ti_ET (t_fmt): Likewise.
7687 (t_fmt_ampm): Likewise.
7688 * localedata/locales/tig_ER (t_fmt): Likewise.
7689 (t_fmt_ampm): Likewise.
7690 * localedata/locales/wal_ET (t_fmt): Likewise.
7691 (t_fmt_ampm): Likewise.
7693 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7694 * localedata/locales/ar_IN (t_fmt): Likewise.
7695 * localedata/locales/bhb_IN (t_fmt): Likewise.
7696 * localedata/locales/bho_IN (t_fmt): Likewise.
7697 * localedata/locales/bi_VU (t_fmt): Likewise.
7698 * localedata/locales/bn_BD (t_fmt): Likewise.
7699 * localedata/locales/bn_IN (t_fmt): Likewise.
7700 * localedata/locales/brx_IN (t_fmt): Likewise.
7701 * localedata/locales/doi_IN (t_fmt): Likewise.
7702 * localedata/locales/en_HK (t_fmt): Likewise.
7703 (t_fmt_ampm): Likewise.
7704 * localedata/locales/en_IN (t_fmt): Likewise.
7705 * localedata/locales/en_PH (t_fmt): Likewise.
7706 * localedata/locales/gu_IN (t_fmt): Likewise.
7707 * localedata/locales/hi_IN (t_fmt): Likewise.
7708 * localedata/locales/hif_FJ (t_fmt): Likewise.
7709 * localedata/locales/hne_IN (t_fmt): Likewise.
7710 * localedata/locales/kn_IN (t_fmt): Likewise.
7711 * localedata/locales/kok_IN (t_fmt): Likewise.
7712 * localedata/locales/ks_IN (t_fmt): Likewise.
7713 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7714 * localedata/locales/mag_IN (t_fmt): Likewise.
7715 * localedata/locales/mai_IN (t_fmt): Likewise.
7716 * localedata/locales/mjw_IN (t_fmt): Likewise.
7717 * localedata/locales/ml_IN (t_fmt): Likewise.
7718 * localedata/locales/mni_IN (t_fmt): Likewise.
7719 * localedata/locales/mr_IN (t_fmt): Likewise.
7720 * localedata/locales/ms_MY (t_fmt): Likewise.
7721 * localedata/locales/pa_IN (t_fmt): Likewise.
7722 * localedata/locales/raj_IN (t_fmt): Likewise.
7723 * localedata/locales/sa_IN (t_fmt): Likewise.
7724 * localedata/locales/sat_IN (t_fmt): Likewise.
7725 * localedata/locales/sd_IN (t_fmt): Likewise.
7726 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7727 * localedata/locales/tcy_IN (t_fmt): Likewise.
7728 * localedata/locales/the_NP (t_fmt): Likewise.
7729 * localedata/locales/to_TO (t_fmt): Likewise.
7730 * localedata/locales/ur_IN (t_fmt): Likewise.
7732 * localedata/locales/hif_FJ (d_t_fmt): Set to
7733 "%A %d %b %Y %I:%M:%S %p".
7734 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7736 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7737 * localedata/locales/ar_BH (t_fmt): Likewise.
7738 * localedata/locales/ar_DZ (t_fmt): Likewise.
7739 * localedata/locales/ar_EG (t_fmt): Likewise.
7740 * localedata/locales/ar_IQ (t_fmt): Likewise.
7741 * localedata/locales/ar_JO (t_fmt): Likewise.
7742 * localedata/locales/ar_KW (t_fmt): Likewise.
7743 * localedata/locales/ar_LB (t_fmt): Likewise.
7744 * localedata/locales/ar_LY (t_fmt): Likewise.
7745 * localedata/locales/ar_OM (t_fmt): Likewise.
7746 * localedata/locales/ar_QA (t_fmt): Likewise.
7747 * localedata/locales/ar_SD (t_fmt): Likewise.
7748 * localedata/locales/ar_SS (t_fmt): Likewise.
7749 * localedata/locales/ar_SY (t_fmt): Likewise.
7750 * localedata/locales/ar_TN (t_fmt): Likewise.
7751 * localedata/locales/ar_YE (t_fmt): Likewise.
7753 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7754 (t_fmt_ampm): Likewise.
7755 * localedata/locales/gez_ET (t_fmt): Likewise.
7756 (t_fmt_ampm): Likewise.
7758 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7759 (t_fmt_ampm): Likewise.
7760 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7762 * localedata/locales/zh_HK (t_fmt):
7763 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7765 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7766 because this locale does not use the 12-hour clock.
7767 (t_fmt): Set to "%Z %H:%M:%S".
7768 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7770 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7771 because this locale does not use the 12-hour clock.
7772 (t_fmt): Set to "%H:%M:%S %Z".
7773 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7775 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7776 because this locale does not use the 12-hour clock.
7777 (t_fmt): Set to "%T".
7778 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7779 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7781 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7782 because this locale does not use the 12-hour clock.
7783 (t_fmt): Set to "%H:%M:%S %Z".
7784 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7786 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7787 because this locale does not use the 12-hour clock.
7788 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7789 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7791 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7795 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7796 (t_fmt_ampm): Likewise.
7797 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7798 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7799 (d_fmt): Set to "%-d.%-m.%y".
7801 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7803 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7804 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7805 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7807 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7808 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7809 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7811 * support/blob_repeat.c (check_mul_overflow_size_t,
7812 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7814 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7816 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7818 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7820 regex: simplify Gnulib port
7821 This simplifies the code, by removing stuff intended for porting
7822 to Gnulib but no longer needed there.
7823 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7824 uses of libc_hidden_def, weak_alias.
7825 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7826 _Restrict_ except for public-facing headers.
7827 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7828 Remove; already defined elsewhere.
7829 * posix/regex.c, posix/regex_internal.h:
7830 Use __GNUC_PREREQ instead of rolling our own.
7831 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7833 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7835 * benchtests/bench-strlen.c (generic_strlen): New function.
7836 (memchr_strlen): New function.
7838 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7840 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7841 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7842 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7844 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7848 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7850 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7851 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7852 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7853 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7854 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7855 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7856 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7858 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7861 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7862 PLT reference in libc.so.
7863 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7864 _Q_lltoq and _Q_qtod PLT references in libc.so.
7866 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7868 * benchtests/bench-memchr.c: Cleanup defines.
7869 * benchtests/bench-memcmp.c: Likewise.
7870 * benchtests/bench-memset.c: Likewise.
7871 * benchtests/bench-memset-large.c: Likewise.
7872 * benchtests/bench-memset-walk.c: Likewise.
7873 * benchtests/bench-stpcpy.c: Likewise.
7874 * benchtests/bench-stpncpy.c: Likewise.
7875 * benchtests/bench-strcat.c: Likewise.
7876 * benchtests/bench-strchr.c: Likewise.
7877 * benchtests/bench-strcmp.c: Likewise.
7878 * benchtests/bench-strcpy.c: Likewise.
7879 * benchtests/bench-strcspn.c: Likewise.
7880 * benchtests/bench-string.h: Likewise.
7881 * benchtests/bench-strlen.c: Likewise.
7882 * benchtests/bench-strncat.c: Likewise.
7883 * benchtests/bench-strncmp.c: Likewise.
7884 * benchtests/bench-strncpy.c: Likewise.
7885 * benchtests/bench-strnlen.c: Likewise.
7886 * benchtests/bench-strpbrk.c: Likewise.
7887 * benchtests/bench-strrchr.c: Likewise.
7888 * benchtests/bench-strspn.c: Likewise.
7890 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7892 * stdlib/longlong.h: Update from GCC.
7895 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7896 * configure: Regenerated.
7897 * manual/install.texi (Tools for Compilation): Update minimum GCC
7899 * INSTALL: Regenerated.
7901 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7903 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7905 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7907 * malloc/malloc.c (mremap_chunk): Additional checks.
7909 2018-12-21 Mao Han <han_mao@c-sky.com>
7911 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7912 * scripts/build-many-glibcs.py: Add C-SKY targets.
7913 * sysdeps/csky/Implies: New file.
7914 * sysdeps/csky/Makefile: Likewise.
7915 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7916 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7917 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7918 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7919 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7920 * sysdeps/csky/abiv2/memmove.S: Likewise.
7921 * sysdeps/csky/abiv2/memset.S: Likewise.
7922 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7923 * sysdeps/csky/abiv2/start.S: Likewise.
7924 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7925 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7926 * sysdeps/csky/abiv2/strlen.S: Likewise.
7927 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7928 * sysdeps/csky/abort-instr.h: Likewise.
7929 * sysdeps/csky/atomic-machine.h: Likewise.
7930 * sysdeps/csky/bits/endian.h: Likewise.
7931 * sysdeps/csky/bits/fenv.h: Likewise.
7932 * sysdeps/csky/bits/link.h: Likewise.
7933 * sysdeps/csky/bits/setjmp.h: Likewise.
7934 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7935 * sysdeps/csky/bsd-setjmp.S: Likewise.
7936 * sysdeps/csky/configure: Likewise.
7937 * sysdeps/csky/configure.ac: Likewise.
7938 * sysdeps/csky/dl-machine.h: Likewise.
7939 * sysdeps/csky/dl-procinfo.c: Likewise.
7940 * sysdeps/csky/dl-procinfo.h: Likewise.
7941 * sysdeps/csky/dl-sysdep.h: Likewise.
7942 * sysdeps/csky/dl-tls.h: Likewise.
7943 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7944 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7945 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7946 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7947 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7948 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7949 * sysdeps/csky/fpu/fegetround.c: Likewise.
7950 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7951 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7952 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7953 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7954 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7955 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7956 * sysdeps/csky/fpu/fesetround.c: Likewise.
7957 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7958 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7959 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7960 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7961 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7962 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7963 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7964 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7965 * sysdeps/csky/fpu_control.h: Likewise.
7966 * sysdeps/csky/gccframe.h: Likewise.
7967 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7968 * sysdeps/csky/ldsodefs.h: Likewise.
7969 * sysdeps/csky/libc-tls.c: Likewise.
7970 * sysdeps/csky/linkmap.h: Likewise.
7971 * sysdeps/csky/machine-gmon.h: Likewise.
7972 * sysdeps/csky/memusage.h: Likewise.
7973 * sysdeps/csky/nofpu/Implies: Likewise.
7974 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
7975 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
7976 * sysdeps/csky/nptl/Makefile: Likewise.
7977 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
7978 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
7979 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
7980 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
7981 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
7982 * sysdeps/csky/nptl/tls.h: Likewise.
7983 * sysdeps/csky/preconfigure: Likewise.
7984 * sysdeps/csky/sfp-machine.h: Likewise.
7985 * sysdeps/csky/sotruss-lib.c: Likewise.
7986 * sysdeps/csky/stackinfo.h: Likewise.
7987 * sysdeps/csky/sysdep.h: Likewise.
7988 * sysdeps/csky/tininess.h: Likewise.
7989 * sysdeps/csky/tst-audit.h: Likewise.
7990 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
7991 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
7992 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
7993 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
7994 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
7995 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
7996 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
7997 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
7998 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
7999 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8000 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8001 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8002 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8003 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8004 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8005 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8006 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8007 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8008 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8009 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8010 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8011 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8012 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8013 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8014 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8015 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8016 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8017 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8018 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8019 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8020 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8021 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8022 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8023 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8024 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8025 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8026 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8027 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8028 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8029 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8030 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8031 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8032 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8033 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8035 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8037 * include/time.h (__difftime64): Add.
8038 * time/difftime.c (subtract): convert to 64-bit time.
8039 * time/difftime.c (__difftime64): Add.
8040 * time/difftime.c (__difftime): Wrap around __difftime64.
8042 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8044 * manual/examples/add.c: Remove redundant "if not".
8045 * manual/examples/argp-ex1.c: Likewise.
8046 * manual/examples/argp-ex2.c: Likewise.
8047 * manual/examples/argp-ex3.c: Likewise.
8048 * manual/examples/argp-ex4.c: Likewise.
8049 * manual/examples/atexit.c: Likewise.
8050 * manual/examples/db.c: Likewise.
8051 * manual/examples/dir.c: Likewise.
8052 * manual/examples/dir2.c: Likewise.
8053 * manual/examples/execinfo.c: Likewise.
8054 * manual/examples/filecli.c: Likewise.
8055 * manual/examples/filesrv.c: Likewise.
8056 * manual/examples/fmtmsgexpl.c: Likewise.
8057 * manual/examples/genpass.c: Likewise.
8058 * manual/examples/inetcli.c: Likewise.
8059 * manual/examples/inetsrv.c: Likewise.
8060 * manual/examples/isockad.c: Likewise.
8061 * manual/examples/longopt.c: Likewise.
8062 * manual/examples/memopen.c: Likewise.
8063 * manual/examples/memstrm.c: Likewise.
8064 * manual/examples/mkdirent.c: Likewise.
8065 * manual/examples/mkfsock.c: Likewise.
8066 * manual/examples/mkisock.c: Likewise.
8067 * manual/examples/mygetpass.c: Likewise.
8068 * manual/examples/pipe.c: Likewise.
8069 * manual/examples/popen.c: Likewise.
8070 * manual/examples/rprintf.c: Likewise.
8071 * manual/examples/search.c: Likewise.
8072 * manual/examples/select.c: Likewise.
8073 * manual/examples/setjmp.c: Likewise.
8074 * manual/examples/sigh1.c: Likewise.
8075 * manual/examples/sigusr.c: Likewise.
8076 * manual/examples/stpcpy.c: Likewise.
8077 * manual/examples/strdupa.c: Likewise.
8078 * manual/examples/strftim.c: Likewise.
8079 * manual/examples/subopt.c: Likewise.
8080 * manual/examples/swapcontext.c: Likewise.
8081 * manual/examples/termios.c: Likewise.
8082 * manual/examples/testopt.c: Likewise.
8083 * manual/examples/testpass.c: Likewise.
8084 * manual/examples/timeval_subtract.c: Likewise.
8086 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8088 * sysdeps/x86/fpu/math_private.h: New file.
8089 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8091 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8096 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8098 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8099 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8100 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8101 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8103 (_dl_show_auxv): Give a special treatment to
8104 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8105 and AT_L3_CACHEGEOMETRY.
8106 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8107 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8108 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8109 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8111 2018-12-19 Andreas Schwab <schwab@suse.de>
8113 * nscd/connections.c (check_use): Don't abort on invalid len.
8115 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8117 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8118 values in the 64bit value cases.
8120 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8126 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8132 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8135 (__gmtime64_r): Add.
8137 (__gmtime64_r): Add.
8138 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8144 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8147 (__localtime64_r): Add.
8149 (__localtime64_r): Add.
8150 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8152 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8154 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8155 kernel_sigction definition.
8157 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8159 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8161 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8162 __syscall_rt_sigaction.
8163 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8164 (kernel_sigaction): Use Linux generic defintion.
8166 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8167 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8168 (__syscall_rt_sigaction): Remove implementation.
8169 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8171 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8172 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8173 INTERNAL_SYSCALL): Remove definitions.
8174 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8175 action and signal set size.
8176 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8177 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8179 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8180 James Clarke <jrtc27@jrtc27.com>
8183 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8184 Define if SA_RESTORER is defined.
8185 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8186 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8188 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8189 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8191 (HAS_SA_RESTORER): Define.
8192 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8193 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8194 (HAS_SA_RESTORER): Define.
8195 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8196 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8197 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8198 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8199 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8201 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8203 * sysdeps/unix/sysv/linux/kernel-features.h
8204 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8206 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8207 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8208 (__ASSUME_ST_INO_64_BIT): Likewise.
8209 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8210 <kernel-features.h>.
8211 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8212 Remove conditional code.
8213 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8214 <kernel-features.h>.
8215 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8216 Remove conditional code.
8217 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8218 <kernel-features.h>.
8219 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8220 Remove conditional code.
8221 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8222 <kernel-features.h>.
8223 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8224 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8226 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8228 * sysdeps/s390/multiarch/ifunc-resolve.h
8229 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8230 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8231 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8232 Delete macro definition.
8233 (s390_libc_ifunc_init): Rename to
8234 s390_libc_ifunc_expr_stfle_init.
8235 * sysdeps/s390/bzero: Use
8236 s390_libc_ifunc_expr_stfle_init instead of
8237 s390_libc_ifunc_init.
8238 * sysdeps/s390/memcmp.c: Likewise.
8239 * sysdeps/s390/memcpy.c: Likewise.
8240 * sysdeps/s390/mempcpy.c: Likewise.
8241 * sysdeps/s390/memset.c: Likewise.
8243 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8245 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8246 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8248 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8250 * sysdeps/s390/multiarch/Makefile
8251 (sysdep_routines): Remove wmemcmp variants.
8252 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8253 * sysdeps/s390/multiarch/ifunc-impl-list.c
8254 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8255 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8256 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8257 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8258 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8259 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8260 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8261 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8263 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8265 * sysdeps/s390/multiarch/Makefile
8266 (sysdep_routines): Remove wmemset variants.
8267 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8268 * sysdeps/s390/multiarch/ifunc-impl-list.c
8269 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8270 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8271 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8272 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8273 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8274 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8275 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8276 * sysdeps/s390/ifunc-wmemset.h: New file.
8278 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8280 * sysdeps/s390/multiarch/Makefile
8281 (sysdep_routines): Remove wmemchr variants.
8282 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8283 * sysdeps/s390/multiarch/ifunc-impl-list.c
8284 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8285 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8286 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8287 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8288 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8289 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8290 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8291 * sysdeps/s390/ifunc-wmemchr.h: New file.
8293 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8295 * sysdeps/s390/multiarch/Makefile
8296 (sysdep_routines): Remove wcscspn variants.
8297 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8298 * sysdeps/s390/multiarch/ifunc-impl-list.c
8299 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8300 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8301 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8302 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8303 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8304 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8305 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8306 * sysdeps/s390/ifunc-wcscspn.h: New file.
8308 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8310 * sysdeps/s390/multiarch/Makefile
8311 (sysdep_routines): Remove wcspbrk variants.
8312 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8313 * sysdeps/s390/multiarch/ifunc-impl-list.c
8314 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8315 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8316 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8317 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8318 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8319 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8320 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8321 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8323 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8325 * sysdeps/s390/multiarch/Makefile
8326 (sysdep_routines): Remove wcsspn variants.
8327 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8328 * sysdeps/s390/multiarch/ifunc-impl-list.c
8329 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8330 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8331 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8332 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8333 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8334 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8335 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8336 * sysdeps/s390/ifunc-wcsspn.h: New file.
8338 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8340 * sysdeps/s390/multiarch/Makefile
8341 (sysdep_routines): Remove wcsrchr variants.
8342 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8343 * sysdeps/s390/multiarch/ifunc-impl-list.c
8344 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8345 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8346 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8347 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8348 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8349 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8350 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8351 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8353 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8355 * sysdeps/s390/multiarch/Makefile
8356 (sysdep_routines): Remove wcschrnul variants.
8357 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8358 * sysdeps/s390/multiarch/ifunc-impl-list.c
8359 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8360 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8361 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8362 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8363 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8364 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8365 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8366 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8368 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8370 * sysdeps/s390/multiarch/Makefile
8371 (sysdep_routines): Remove wcschr variants.
8372 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8373 * sysdeps/s390/multiarch/ifunc-impl-list.c
8374 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8375 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8376 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8377 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8378 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8379 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8380 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8381 * sysdeps/s390/ifunc-wcschr.h: New file.
8383 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8385 * sysdeps/s390/multiarch/Makefile
8386 (sysdep_routines): Remove wcsncmp variants.
8387 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8388 * sysdeps/s390/multiarch/ifunc-impl-list.c
8389 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8390 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8391 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8392 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8393 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8394 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8395 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8396 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8398 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8400 * sysdeps/s390/multiarch/Makefile
8401 (sysdep_routines): Remove wcscmp variants.
8402 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8403 * sysdeps/s390/multiarch/ifunc-impl-list.c
8404 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8405 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8406 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8407 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8408 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8409 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8410 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8411 * sysdeps/s390/ifunc-wcscmp.h: New file.
8413 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8415 * sysdeps/s390/multiarch/Makefile
8416 (sysdep_routines): Remove wcsncat variants.
8417 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8418 * sysdeps/s390/multiarch/ifunc-impl-list.c
8419 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8420 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8421 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8422 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8423 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8424 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8425 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8426 * sysdeps/s390/ifunc-wcsncat.h: New file.
8428 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8430 * sysdeps/s390/multiarch/Makefile
8431 (sysdep_routines): Remove wcscat variants.
8432 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8433 * sysdeps/s390/multiarch/ifunc-impl-list.c
8434 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8435 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8436 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8437 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8438 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8439 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8440 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8441 * sysdeps/s390/ifunc-wcscat.h: New file.
8443 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8445 * sysdeps/s390/multiarch/Makefile
8446 (sysdep_routines): Remove wcpncpy variants.
8447 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8448 * sysdeps/s390/multiarch/ifunc-impl-list.c
8449 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8450 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8451 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8452 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8453 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8454 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8455 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8456 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8458 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8460 * sysdeps/s390/multiarch/Makefile
8461 (sysdep_routines): Remove wcsncpy variants.
8462 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8463 * sysdeps/s390/multiarch/ifunc-impl-list.c
8464 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8465 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8466 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8467 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8468 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8469 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8470 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8471 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8473 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8475 * sysdeps/s390/multiarch/Makefile
8476 (sysdep_routines): Remove wcpcpy variants.
8477 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8478 * sysdeps/s390/multiarch/ifunc-impl-list.c
8479 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8480 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8481 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8482 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8483 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8484 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8485 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8486 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8488 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8490 * sysdeps/s390/multiarch/Makefile
8491 (sysdep_routines): Remove wcscpy variants.
8492 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8493 * sysdeps/s390/multiarch/ifunc-impl-list.c
8494 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8495 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8496 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8497 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8498 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8499 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8500 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8501 * sysdeps/s390/ifunc-wcscpy.h: New file.
8503 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8505 * sysdeps/s390/multiarch/Makefile
8506 (sysdep_routines): Remove wcsnlen variants.
8507 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8508 * sysdeps/s390/multiarch/ifunc-impl-list.c
8509 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8510 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8511 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8512 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8513 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8514 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8515 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8516 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8518 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8520 * sysdeps/s390/multiarch/Makefile
8521 (sysdep_routines): Remove wcslen variants.
8522 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8523 * sysdeps/s390/multiarch/ifunc-impl-list.c
8524 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8525 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8526 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8527 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8528 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8529 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8530 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8531 * sysdeps/s390/ifunc-wcslen.h: New file.
8533 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8535 * sysdeps/s390/multiarch/Makefile
8536 (sysdep_routines): Remove memrchr variants.
8537 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8538 * sysdeps/s390/multiarch/ifunc-impl-list.c
8539 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8540 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8541 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8542 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8543 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8544 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8545 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8546 * sysdeps/s390/ifunc-memrchr.h: New file.
8548 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8550 * sysdeps/s390/multiarch/Makefile
8551 (sysdep_routines): Remove memccpy variants.
8552 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8553 * sysdeps/s390/multiarch/ifunc-impl-list.c
8554 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8555 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8556 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8557 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8558 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8559 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8560 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8561 * sysdeps/s390/ifunc-memccpy.h: New file.
8563 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8565 * sysdeps/s390/multiarch/Makefile
8566 (sysdep_routines): Remove rawmemchr variants.
8567 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8568 * sysdeps/s390/multiarch/ifunc-impl-list.c
8569 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8570 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8571 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8572 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8573 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8574 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8575 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8576 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8578 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8580 * sysdeps/s390/multiarch/Makefile
8581 (sysdep_routines): Remove memchr variants.
8582 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8583 * sysdeps/s390/multiarch/ifunc-impl-list.c
8584 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8585 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8586 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8587 * sysdeps/s390/multiarch/memchr.c: Move to ...
8588 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8589 * sysdeps/s390/ifunc-memchr.h: New file.
8590 * sysdeps/s390/s390-64/memchr.S: Move to ...
8591 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8592 for 31/64bit and ifunc handling.
8593 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8594 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8595 * sysdeps/s390/s390-32/memchr.S: Likewise.
8597 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8599 * sysdeps/s390/multiarch/Makefile
8600 (sysdep_routines): Remove strcspn variants.
8601 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8602 * sysdeps/s390/multiarch/ifunc-impl-list.c
8603 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8604 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8605 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8606 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8607 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8608 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8609 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8610 * sysdeps/s390/ifunc-strcspn.h: New file.
8612 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8614 * sysdeps/s390/multiarch/Makefile
8615 (sysdep_routines): Remove strpbrk variants.
8616 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8617 * sysdeps/s390/multiarch/ifunc-impl-list.c
8618 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8619 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8620 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8621 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8622 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8623 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8624 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8625 * sysdeps/s390/ifunc-strpbrk.h: New file.
8627 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8629 * sysdeps/s390/multiarch/Makefile
8630 (sysdep_routines): Remove strspn variants.
8631 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8632 * sysdeps/s390/multiarch/ifunc-impl-list.c
8633 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8634 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8635 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8636 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8637 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8638 * sysdeps/s390/multiarch/strspn.c: Move to ...
8639 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8640 * sysdeps/s390/ifunc-strspn.h: New file.
8642 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8644 * sysdeps/s390/multiarch/Makefile
8645 (sysdep_routines): Remove strrchr variants.
8646 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8647 * sysdeps/s390/multiarch/ifunc-impl-list.c
8648 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8649 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8650 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8651 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8652 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8653 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8654 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8655 * sysdeps/s390/ifunc-strrchr.h: New file.
8657 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8659 * sysdeps/s390/multiarch/Makefile
8660 (sysdep_routines): Remove strchrnul variants.
8661 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8662 * sysdeps/s390/multiarch/ifunc-impl-list.c
8663 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8664 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8665 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8666 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8667 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8668 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8669 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8670 * sysdeps/s390/ifunc-strchrnul.h: New file.
8672 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8674 * sysdeps/s390/multiarch/Makefile
8675 (sysdep_routines): Remove strchr variants.
8676 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8677 * sysdeps/s390/multiarch/ifunc-impl-list.c
8678 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8679 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8680 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8681 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8682 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8683 * sysdeps/s390/multiarch/strchr.c: Move to ...
8684 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8685 * sysdeps/s390/ifunc-strchr.h: New file.
8687 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8689 * sysdeps/s390/multiarch/Makefile
8690 (sysdep_routines): Remove strncmp variants.
8691 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8692 * sysdeps/s390/multiarch/ifunc-impl-list.c
8693 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8694 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8695 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8696 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8697 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8698 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8699 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8700 * sysdeps/s390/ifunc-strncmp.h: New file.
8702 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8704 * sysdeps/s390/multiarch/Makefile
8705 (sysdep_routines): Remove strcmp variants.
8706 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8707 * sysdeps/s390/multiarch/ifunc-impl-list.c
8708 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8709 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8710 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8711 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8712 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8713 * sysdeps/s390/ifunc-strcmp.h: New file.
8714 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8715 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8716 for 31/64bit and ifunc handling.
8717 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8718 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8719 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8721 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8723 * sysdeps/s390/multiarch/Makefile
8724 (sysdep_routines): Remove strncat variants.
8725 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8726 * sysdeps/s390/multiarch/ifunc-impl-list.c
8727 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8728 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8729 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8730 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8731 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8732 * sysdeps/s390/multiarch/strncat.c: Move to ...
8733 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8734 * sysdeps/s390/ifunc-strncat.h: New file.
8736 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8738 * sysdeps/s390/multiarch/Makefile
8739 (sysdep_routines): Remove strcat variants.
8740 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8741 * sysdeps/s390/multiarch/ifunc-impl-list.c
8742 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8743 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8744 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8745 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8746 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8747 * sysdeps/s390/multiarch/strcat.c: Move to ...
8748 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8749 * sysdeps/s390/ifunc-strcat.h: New file.
8751 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8753 * sysdeps/s390/multiarch/Makefile
8754 (sysdep_routines): Remove stpncpy variants.
8755 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8756 * sysdeps/s390/multiarch/ifunc-impl-list.c
8757 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8758 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8759 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8760 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8761 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8762 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8763 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8764 * sysdeps/s390/ifunc-stpncpy.h: New file.
8766 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8768 * sysdeps/s390/multiarch/Makefile
8769 (sysdep_routines): Remove strncpy variants.
8770 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8771 * sysdeps/s390/multiarch/ifunc-impl-list.c
8772 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8773 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8774 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8775 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8776 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8777 * sysdeps/s390/ifunc-strncpy.h: New file.
8778 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8779 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8780 and adjust ifunc handling.
8781 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8782 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8783 and adjust ifunc handling.
8784 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8785 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8787 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8789 * sysdeps/s390/multiarch/Makefile
8790 (sysdep_routines): Remove stpcpy variants.
8791 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8792 * sysdeps/s390/multiarch/ifunc-impl-list.c
8793 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8794 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8795 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8796 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8797 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8798 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8799 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8800 * sysdeps/s390/ifunc-stpcpy.h: New file.
8802 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8804 * sysdeps/s390/multiarch/Makefile
8805 (sysdep_routines): Remove strcpy variants.
8806 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8807 * sysdeps/s390/multiarch/ifunc-impl-list.c
8808 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8809 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8810 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8811 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8812 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8813 * sysdeps/s390/ifunc-strcpy.h: New file.
8814 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8815 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8816 for 31/64bit and ifunc handling.
8817 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8818 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8819 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8821 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8823 * sysdeps/s390/multiarch/Makefile
8824 (sysdep_routines): Remove strnlen variants.
8825 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8826 * sysdeps/s390/multiarch/ifunc-impl-list.c
8827 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8828 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8829 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8830 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8831 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8832 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8833 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8834 * sysdeps/s390/ifunc-strnlen.h: New file.
8836 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8838 * sysdeps/s390/multiarch/Makefile
8839 (sysdep_routines): Remove strlen variants.
8840 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8841 * sysdeps/s390/multiarch/ifunc-impl-list.c
8842 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8843 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8844 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8845 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8846 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8847 * sysdeps/s390/multiarch/strlen.c: Move to ...
8848 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8849 * sysdeps/s390/ifunc-strlen.h: New file.
8851 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8853 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8854 * sysdeps/s390/multiarch/ifunc-impl-list.c
8855 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8856 * sysdeps/s390/ifunc-memmem.h: New file.
8857 * sysdeps/s390/memmem.c: Likewise.
8858 * sysdeps/s390/memmem-c.c: Likewise.
8859 * sysdeps/s390/memmem-vx.c: Likewise.
8861 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8863 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8864 * sysdeps/s390/multiarch/ifunc-impl-list.c
8865 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8866 * sysdeps/s390/ifunc-strstr.h: New file.
8867 * sysdeps/s390/strstr.c: Likewise.
8868 * sysdeps/s390/strstr-c.c: Likewise.
8869 * sysdeps/s390/strstr-vx.c: Likewise.
8871 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8873 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8874 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8875 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8876 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8878 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8879 * sysdeps/s390/memmove-c.c: New file.
8880 * sysdeps/s390/memmove.c: Likewise.
8881 * sysdeps/s390/multiarch/ifunc-impl-list.c
8882 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8884 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8886 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8887 * sysdeps/s390/configure.ac: Add check for z13 support.
8888 * sysdeps/s390/configure: Regenerated.
8890 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8892 * sysdeps/s390/memcopy.h: New file.
8894 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8896 * sysdeps/s390/s390-32/bcopy.S: Remove.
8897 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8899 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8901 * sysdeps/s390/ifunc-memcpy.h: New File.
8902 * sysdeps/s390/memcpy.S: Move to ...
8903 * sysdeps/s390/memcpy-z900.S ... here.
8904 Move implementations from memcpy-s390x.s to here.
8905 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8906 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8907 Remove memcpy/mempcpy variants.
8908 * sysdeps/s390/Makefile (sysdep_routines):
8909 Add memcpy/mempcpy variants.
8910 * sysdeps/s390/multiarch/ifunc-impl-list.c
8911 (__libc_ifunc_impl_list): Adjust ifunc variants for
8913 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8915 * sysdeps/s390/memcpy.c: ... here.
8916 Adjust ifunc variants for memcpy.
8917 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8918 * sysdeps/s390/mempcpy.c: ... here.
8919 Adjust ifunc variants for mempcpy.
8920 * sysdeps/s390/mempcpy.S: Delete file.
8922 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8924 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8925 * sysdeps/s390/memcpy.S: ... here.
8926 Adjust to be usable for 31/64bit.
8927 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8928 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8929 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8930 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8931 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8932 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8933 Adjust to be usable for 31/64bit.
8934 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8935 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8936 * sysdeps/s390/multiarch/memcpy.c: ... here.
8937 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8939 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8941 * sysdeps/s390/ifunc-memcmp.h: New File.
8942 * sysdeps/s390/memcmp.S: Move to ...
8943 * sysdeps/s390/memcmp-z900.S ... here.
8944 Move implementations from memcmp-s390x.s to here.
8945 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8946 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8947 Remove memcmp variants.
8948 * sysdeps/s390/Makefile (sysdep_routines):
8949 Add memcmp variants.
8950 * sysdeps/s390/multiarch/ifunc-impl-list.c
8951 (__libc_ifunc_impl_list): Adjust ifunc variants for
8953 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8955 * sysdeps/s390/memcmp.c: ... here.
8956 Adjust ifunc variants for memcmp.
8958 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8960 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8961 * sysdeps/s390/memcmp.S: ... here.
8962 Adjust to be usable for 31/64bit.
8963 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8964 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8965 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8967 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8968 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8969 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8970 Adjust to be usable for 31/64bit.
8971 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
8972 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
8973 * sysdeps/s390/multiarch/memcmp.c: ... here.
8974 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
8976 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8978 * sysdeps/s390/s390-32/bzero.S: Delete file.
8979 * sysdeps/s390/s390-64/bzero.S: Likewise.
8980 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
8981 * sysdeps/s390/bzero.c: New file.
8982 * sysdeps/s390/memset-z900.S: Add bzero entry points.
8983 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
8984 * sysdeps/s390/multiarch/ifunc-impl-list.c
8985 (__libc_ifunc_impl_list): Add bzero ifunc variants.
8987 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8989 * sysdeps/s390/ifunc-memset.h: New File.
8990 * sysdeps/s390/memset.S: Move to ...
8991 * sysdeps/s390/memset-z900.S ... here.
8992 Move implementations from memset-s390x.s to here.
8993 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
8994 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8995 Remove memset variants.
8996 * sysdeps/s390/Makefile (sysdep_routines):
8997 Add memset variants.
8998 * sysdeps/s390/multiarch/ifunc-impl-list.c
8999 (__libc_ifunc_impl_list): Adjust ifunc variants for
9001 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9003 * sysdeps/s390/memset.c: ... here.
9004 Adjust ifunc variants for memset.
9006 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9008 * sysdeps/s390/s390-64/memset.S: Move to ...
9009 * sysdeps/s390/memset.S: ... here.
9010 Adjust to be usable for 31/64bit.
9011 * sysdeps/s390/s390-32/memset.S: Delete File.
9012 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9013 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9015 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9016 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9017 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9018 Adjust to be usable for 31/64bit.
9019 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9020 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9021 * sysdeps/s390/multiarch/memset.c: ... here.
9022 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9024 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9026 * sysdeps/s390/multiarch/ifunc-resolve.h
9027 (s390_libc_ifunc_init, s390_libc_ifunc,
9028 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9030 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9032 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9033 * sysdeps/s390/configure.ac: Add check for z10 support.
9034 * sysdeps/s390/configure: Regenerated.
9036 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9038 * sysdeps/i386/atomic-machine.h: Merged with ...
9039 * sysdeps/x86_64/atomic-machine.h: To ...
9040 * sysdeps/x86/atomic-machine.h: This. New file.
9042 2018-12-18 Florian Weimer <fweimer@redhat.com>
9044 Rewrite locale/gen-translit.pl in Python.
9045 * locale/Makefile (generated): Add C-translit.h.
9046 (before-compile): Add $(objpfx)C-translit.h.
9047 (C-translit.h): Move to $(objpfx). Create target directory.
9048 Build using Python script.
9049 * locale/gen-translit.py: New file.
9050 * locale/gen-translit.pl: Remove file.
9051 * locale/C-translit.h.in: Change comment character to '#' for
9052 easier parsing without a C preprocessor.
9053 * locale/C-translit.h: Remove generated file.
9054 * manual/install.texi (Tools for Compilation): Do not mention
9056 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9057 Remove locale/C-translit.h.
9058 * scripts/update-copyrights: Likewise.
9059 * INSTALL: Regenerate.
9061 2018-12-18 Florian Weimer <fweimer@redhat.com>
9064 * localedata/locales/bi_VU: Remove executable bit from file.
9066 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9069 (__localtime64): Add.
9070 * manual/maint.texi: Document Y2038 symbol handling.
9072 (__localtime64): Add.
9073 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9075 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9077 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9080 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9081 to allow extra macros from first or second sources.
9082 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9083 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9084 (tests-special): Add $(objpfx)tst-mman-consts.out.
9085 ($(objpfx)tst-mman-consts.out): New makefile target.
9087 2018-12-17 Mao Han <han_mao@c-sky.com>
9089 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9090 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9091 without stat64 system call support.
9092 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9093 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9094 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9095 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9096 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9097 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9098 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9099 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9100 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9101 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9102 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9104 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9106 regex: fix storage-exhaustion error
9108 * posix/regexec.c (get_subexp):
9109 Do not continue if storage is exhausted.
9111 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9113 regex: fix heap-use-after-free error
9115 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9116 https://debbugs.gnu.org/32592
9117 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9118 call extend_buffers which reallocates the re_string_t internal buffer.
9119 Local variable 'buf' was not updated in such case, resulting in
9121 * posix/regexec.c (get_subexp): Update 'buf' after call to
9124 2018-12-15 Florian Weimer <fweimer@redhat.com>
9126 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9127 (minimum_stride_size): Use it.
9128 (support_blob_repeat_allocate): Likewise.
9130 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9132 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9137 2018-12-14 Florian Weimer <fweimer@redhat.com>
9139 * manual/process.texi (Process Creation Concepts): Remove
9140 documentation of process (ID) lifetime. List more process
9141 creation functions. Reference Process Identification section.
9142 (Process Identification): Add information about process ID
9143 lifetime. Describe Linux thread/task IDs.
9144 * manual/signal.texi (Signaling Another Process): Mention that the
9145 signal is always sent to the process.
9147 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9149 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9150 and tst-ldbl-efgcvt.
9151 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9152 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9153 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9154 (fcvt_tests, output_error, output_r_error, do_test): Use the
9155 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9156 select the type of floating-point variables and arguments; to
9157 produce extra tests for double and conversion specifiers for
9158 printf; and to set the names of called functions.
9159 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9160 in tst-efgcvt-template.c.
9161 * misc/tst-ldbl-efgcvt.c: Likewise.
9163 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9165 * nss/Makefile (tst-nss-test3.out): New rule.
9167 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9169 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9172 2018-12-13 fanjinke <fanjinke@hygon.cn>
9174 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9177 2018-12-13 Andreas Schwab <schwab@suse.de>
9180 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9181 (__pthread_rwlock_rdlock_full): Update expected value for
9182 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9183 * nptl/tst-rwlock-pwn.c: New file.
9184 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9186 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9188 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9191 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9193 * benchtests/scripts/compare_bench.py (do_compare): write to
9194 stderr in casestat is not present.
9195 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9196 stderr in case timings field is not present. Also string showing
9197 the output filename goes into the stderr.
9199 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9201 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9202 and ZeroDivisorError exceptions.
9203 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9204 argument to loop through user provided statistics.
9205 * benchtests/scripts/compare_bench.py (main): Include the --stats
9208 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9210 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9213 2018-12-12 Florian Weimer <fweimer@redhat.com>
9215 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9216 clause to copyright header.
9218 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9221 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9222 registers saved in the stack frame.
9223 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9224 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9226 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9228 * include/bits/monetary-ldbl.h: New file.
9229 * include/bits/printf-ldbl.h: Likewise.
9230 * include/bits/stdio-ldbl.h: Likewise.
9231 * include/bits/stdlib-ldbl.h: Likewise.
9232 * include/bits/syslog-ldbl.h: Likewise.
9233 * include/bits/wchar-ldbl.h: Likewise.
9235 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9237 * libio/libio.h: Remove redirection for _IO_vfprintf.
9239 2018-12-11 Andreas Schwab <schwab@suse.de>
9241 * Makerules: Remove all references to abilist-pattern.
9242 (update-all-abi): Simplify find expression.
9244 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9247 * math/auto-libm-test-in: Add new test case.
9248 * math/auto-libm-test-out-pow: Regenerated.
9249 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9251 2018-12-10 DJ Delorie <dj@redhat.com>
9254 * support/test-container.c: Move postclean step to before we
9257 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9259 * scripts/gen-as-const.py (main): Handle --python option.
9260 * scripts/gen-py-const.awk: Remove.
9261 * Makerules (py-const-script): Use gen-as-const.py.
9262 ($(py-const)): Likewise.
9263 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9264 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9265 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9266 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9267 ~PTHREAD_MUTEX_NO_ELISION_NP.
9268 * manual/README.pretty-printers: Update reference to
9271 * scripts/glibcextract.py: New file.
9272 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9273 or tempfile. Import glibcexctract.
9274 (compute_c_consts): Remove. Moved to glibcextract.py.
9275 (gen_test): Update reference to compute_c_consts.
9277 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9278 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9279 * sysdeps/unix/sysv/linux/Makefile
9280 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9281 Redirect stderr as well as stdout.
9283 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9286 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9287 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9288 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9289 ALWAYS_USE_VSYSCALL.
9290 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9291 ALWAYS_USE_VSYSCALL.
9292 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9293 ALWAYS_USE_VSYSCALL.
9295 2018-12-10 Florian Weimer <fweimer@redhat.com>
9298 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9299 offset instead of count for clarity. Fix typo in comment.
9300 (__old_getdents64): Keep track of previous offset. Use it to call
9302 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9303 that d_off is never zero.
9305 2018-12-10 Andreas Schwab <schwab@suse.de>
9307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9308 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9310 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9311 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9313 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9315 * timezone/private.h: Update from tzcode 2018g.
9316 * timezone/tzfile.h: Likewise.
9317 * timezone/tzselect.ksh: Likewise.
9318 * timezone/zdump.c: Likewise.
9319 * timezone/zic.c: Likewise.
9321 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9324 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9325 (do_test): Adjust buffer size and fix format.
9327 2018-12-07 DJ Delorie <dj@redhat.com>
9330 * malloc/tst-tcfree3.c: New.
9331 * malloc/Makefile: Add it.
9333 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9335 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9337 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9339 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9340 used as a mask for the mode argument of __vfscanf_internal and
9341 __vfwscanf_internal.
9342 * stdio-common/vfscanf-internal.c
9343 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9344 (__strtof128_internal): Define to __wcstof128_internal.
9345 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9346 __strtof128_internal or __wcstof128_internal when the format of
9347 long double is the same as _Float128.
9349 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9351 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9352 * posix/confstr.c (confstr): Rename to __confstr.
9353 (__confstr): Add hidden def.
9354 (confstr): Add weak alias for __confstr.
9355 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9358 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9360 * NEWS: Mention getcpu.
9361 * include/sched.h (__getcpu): New libc_hidden_proto.
9362 * manual/resource.texi: Document getcpu.
9363 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9364 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9365 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9366 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9367 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9368 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9369 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9370 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9371 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9372 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9373 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9374 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9375 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9377 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9388 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9397 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9398 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9401 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9403 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9405 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9407 2018-12-07 Florian Weimer <fweimer@redhat.com>
9410 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9411 * posix/Versions (GLIBC_2.29): Export
9412 posix_spawn_file_actions_addfchdir_np.
9413 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9414 * posix/spawn_faction_destroy.c
9415 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9416 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9417 and the field action.fchdir_action.
9418 * posix/tst-spawn-chdir.c (add_chdir): New function.
9419 (do_test): Add do_fchdir loop. Call add_chdir.
9420 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9421 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9422 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9423 posix_spawn_file_actions_addfchdir_np.
9424 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9426 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9428 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9429 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9431 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9433 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9435 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9437 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9439 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9441 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9442 (GLIBC_2.29): Likewise.
9443 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9444 (GLIBC_2.29): Likewise.
9445 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9446 (GLIBC_2.29): Likewise.
9447 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9448 (GLIBC_2.29): Likewise.
9449 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9452 (GLIBC_2.29): Likewise.
9453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9454 (GLIBC_2.29): Likewise.
9455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9456 (GLIBC_2.29): Likewise.
9457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9458 (GLIBC_2.29): Likewise.
9459 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9463 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9465 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9466 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9468 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9470 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9472 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9475 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9477 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9478 trailing whitespace removed.
9479 * scripts/config.guess: Update to version 2018-11-28.
9480 * scripts/config.sub: Update to version 2018-11-28.
9481 * scripts/install-sh: Update to version 2018-03-11.20.
9482 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9483 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9485 2018-12-07 Florian Weimer <fweimer@redhat.com>
9489 * inet/tst-if_index-long.c: New file.
9490 * inet/Makefile (tests): Add tst-if_index-long.
9492 2018-12-07 Florian Weimer <fweimer@redhat.com>
9494 * support/check.h (support_record_failure_is_failed): Declare.
9495 * support/descriptors.h: New file.
9496 * support/support_descriptors.c: Likewise.
9497 * support/tst-support_descriptors.c: Likewise.
9498 * support/support_record_failure.c
9499 (support_record_failure_is_failed): New function.
9500 * support/Makefile (libsupport-routines): Add support_descriptors.
9501 (tests): Add tst-support_descriptors.
9503 2018-12-05 Zack Weinberg <zackw@panix.com>
9504 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9506 * stdio-common/vfprintf-internal.c
9507 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9508 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9509 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9510 and __no_long_double.
9511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9512 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9513 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9514 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9515 and __nldbl_*syslog* functions.
9516 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9517 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9518 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9519 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9520 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9521 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9522 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9523 (__nldbl_vwprintf, __nldbl_wprintf):
9524 Directly call the appropriate __v*printf_internal routine, passing
9525 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9527 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9528 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9529 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9530 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9531 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9532 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9533 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9534 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9535 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9536 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9537 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9538 (__nldbl_syslog, __nldbl_vsyslog):
9539 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9540 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9542 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9545 2018-12-05 Zack Weinberg <zackw@panix.com>
9546 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9549 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9550 Moved here from debug/vsprintf_chk.c.
9551 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9552 and completion logic for the strfile to match exactly what
9553 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9554 _IO_str_init_static_internal instead of maxlen-1.
9555 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9556 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9557 __vsprintf_internal.
9559 * debug/vsprintf_chk.c (__vsprintf_chk)
9560 * debug/sprintf_chk.c (__sprintf_chk):
9561 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9562 'flags' argument is positive, and slen as maxlen. No need to lock
9563 the FILE and/or construct a temporary FILE. Minimize and normalize
9564 header inclusions and variable names. Do not libc_hidden_def anything.
9566 * debug/asprintf_chk.c (__asprintf_chk)
9567 * debug/dprintf_chk.c (__dprintf_chk)
9568 * debug/fprintf_chk.c (__fprintf_chk)
9569 * debug/fwprintf_chk.c (__fwprintf_chk)
9570 * debug/printf_chk.c (__printf_chk)
9571 * debug/snprintf_chk.c (__snprintf_chk)
9572 * debug/swprintf_chk.c (__swprintf_chk)
9573 * debug/vasprintf_chk.c (__vasprintf_chk)
9574 * debug/vdprintf_chk.c (__vdprintf_chk)
9575 * debug/vfprintf_chk.c (__vfprintf_chk)
9576 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9577 * debug/vprintf_chk.c (__vprintf_chk)
9578 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9579 * debug/vswprintf_chk.c (__vswprintf_chk)
9580 * debug/vwprintf_chk.c (__vwprintf_chk)
9581 * debug/wprintf_chk.c (__wprintf_chk):
9582 Directly call the corresponding vxxprintf_internal function, passing
9583 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9584 the FILE and/or construct a temporary FILE. Minimize and normalize
9585 header inclusions and variable names. Do not libc_hidden_def anything.
9587 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9588 __obstack_vprintf_internal.
9589 (__obstack_vprintf_chk): Convert into a wrapper that calls
9590 __obstack_vprintf_internal (these two functions already had the
9591 same code) and move to new file...
9592 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9594 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9595 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9596 * debug/Makefile (routines): Add vobprintf_chk.
9598 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9599 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9600 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9601 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9602 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9603 (__nldbl___obstack_vfprintf_chk):
9604 Directly call the corresponding vxxprintf_internal function,
9605 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9606 duplicate comparison of slen with 0 or maxlen from the corresponding
9607 non-__nldbl function.
9609 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9610 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9611 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9612 Remove libc_hidden_proto.
9614 * stdio-common/vfprintf-internal.c
9615 (__vfprintf_internal, __vfwprintf_internal):
9616 Do not check _IO_FLAGS2_FORTIFY.
9617 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9618 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9619 a comment explaining why it has the maxlen argument.
9620 (_IO_acquire_lock_clear_flags2_fct): Remove.
9621 (_IO_acquire_lock_clear_flags2): Remove.
9622 (_IO_release_lock): Remove conditional statement which will
9624 (_IO_acquire_lock): Remove variable which is now unused.
9625 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9626 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9628 * stdio-common/Makefile (tests): Add tst-bz11319 and
9629 tst-bz11319-fortify2.
9630 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9631 * stdio-common/tst-bz11319-fortify2.c: New file.
9632 * stdio-common/tst-bz11319.c: Likewise.
9634 2018-12-05 Zack Weinberg <zackw@panix.com>
9635 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9637 * misc/syslog.c: Include libioP.h, not iolibio.h.
9638 (__vsyslog_internal): New function with the former body of
9639 __vsyslog_chk; takes mode_flags argument same as
9640 __v*printf_internal. Call __vfprintf_internal directly.
9642 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9643 Remove libc_hidden_def.
9644 (__syslog, __syslog_chk): Use __vsyslog_internal.
9645 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9647 * include/sys/syslog.h: Add multiple inclusion guard.
9648 Add prototype for __vsyslog_internal.
9649 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9651 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9652 Use __vsyslog_internal.
9654 2018-12-05 Zack Weinberg <zackw@panix.com>
9655 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9657 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9658 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9659 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9661 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9662 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9664 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9665 Include wctype.h here if COMPILE_WPRINTF is defined.
9666 Define __vfprintf_internal or __vfwprintf_internal, depending
9668 Temporarily, on entry to this function, update mode_flags
9669 according to the environmental settings corresponding to
9670 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9671 Throughout, check mode_flags instead of __ldbl_is_dbl and
9672 _IO_FLAGS2_FORTIFY on the destination FILE.
9673 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9674 Include vfprintf-internal.c. Don't include wctype.h.
9675 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9676 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9678 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9679 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9681 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9683 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9684 and add mode_flags argument; use __vfprintf_internal.
9685 (__vdprintf): New function. Alias vdprintf to this.
9686 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9687 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9688 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9689 (__obstack_printf): Use __obstack_printf_internal.
9690 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9691 public aliases __vsnprintf and vsnprintf.
9692 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9694 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9695 public aliases _IO_vsprintf and vsprintf.
9696 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9697 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9698 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9699 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9700 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9702 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9703 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9704 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9705 * stdio-common/printf.c: Use __vfprintf_internal.
9707 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9708 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9709 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9711 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9712 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9713 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9714 __vfwprintf_internal.
9716 * libio/libio.h: Remove libc_hidden_proto and declaration for
9718 Remove declaration of _IO_vfwprintf.
9719 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9721 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9723 * include/stdio.h: Add prototype for __vasprintf.
9724 (__vsnprintf): Remove declaration, because there are no more
9726 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9727 declaration, because there are no more internal calls.
9729 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9730 __vsnprintf_internal, instead of _IO_vsnprintf.
9731 * argp/argp-help.c (__argp_error, __argp_failure): Use
9732 __vasprintf_internal, instead of _IO_vasprintf.
9733 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9734 redefine, because there are no more internal calls.
9736 2018-12-05 Zack Weinberg <zackw@panix.com>
9737 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9739 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9740 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9741 Include libio/strfile.h instead of libioP.h.
9742 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9743 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9744 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9745 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9746 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9747 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9748 necessary. Do not set __no_long_double. Normalize variable names.
9749 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9750 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9751 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9752 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9753 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9754 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9755 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9756 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9757 Do not set __no_long_double. Normalize variable names.
9759 2018-12-05 Zack Weinberg <zackw@panix.com>
9760 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9762 * stdio-common/isoc99_scanf.c
9763 * stdio-common/isoc99_fscanf.c
9764 * stdio-common/isoc99_sscanf.c
9765 * stdio-common/isoc99_vscanf.c
9766 * stdio-common/isoc99_vfscanf.c
9767 * stdio-common/isoc99_vsscanf.c
9768 * wcsmbs/isoc99_wscanf.c
9769 * wcsmbs/isoc99_fwscanf.c
9770 * wcsmbs/isoc99_swscanf.c
9771 * wcsmbs/isoc99_vwscanf.c
9772 * wcsmbs/isoc99_vfwscanf.c
9773 * wcsmbs/isoc99_vswscanf.c:
9774 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9775 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9776 No need to lock and unlock the FILE passed to that function.
9778 * stdio-common/vfscanf-internal.c
9779 (__vfscanf_internal, __vfwscanf_internal):
9780 Don't look at _IO_FLAGS2_SCANF_STD.
9781 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9782 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9783 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9785 2018-12-05 Zack Weinberg <zackw@panix.com>
9786 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9788 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9789 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9790 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9791 * libio/strfile.h: Add multiple inclusion guard.
9792 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9794 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9795 consistency with the other version of this file.
9796 (ldbl_compat_symbol): New macro.
9797 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9800 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9801 Define __vfscanf_internal or __vfwscanf_internal, depending on
9802 COMPILE_WSCANF; don't define any other public symbols.
9803 Remove errval and code to set errp.
9804 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9805 as the mode_flags argument.
9806 (encode_error, conv_error, input_error): Don't set errval.
9807 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9808 Include vfscanf-internal.c.
9809 * stdio-common/vfscanf.c: New file defining the public entry
9810 point vfscanf, which calls __vfscanf_internal.
9811 * stdio-common/vfwscanf.c: New file defining the public entry
9812 point vfwscanf, which calls __vfwscanf_internal.
9814 * stdio-common/iovfscanf.c: New file.
9815 * stdio-common/iovfwscanf.c: Likewise.
9817 * stdio-common/Makefile (routines): Add vfscanf-internal,
9818 vfwscanf-internal, iovfscanf, iovfwscanf.
9819 * stdio-common/Versions: Mention GLIBC_2.29, so that
9820 it can be used in SHLIB_COMPAT expressions.
9821 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9822 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9823 Call __vfscanf_internal, instead of _IO_vfscanf.
9824 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9826 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9829 * libio/iovsscanf.c: Clean up includes, when possible. Use
9830 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9831 __vfscanf_internal or __vfwscanf_internal directly.
9832 * libio/iovswscanf.c: Likewise.
9833 * libio/swscanf.c: Likewise.
9834 * libio/vscanf.c: Likewise.
9835 * libio/vwscanf.c: Likewise.
9836 * libio/wscanf.c: Likewise.
9837 * stdio-common/isoc99_fscanf.c: Likewise.
9838 * stdio-common/isoc99_scanf.c: Likewise.
9839 * stdio-common/isoc99_sscanf.c: Likewise.
9840 * stdio-common/isoc99_vfscanf.c: Likewise.
9841 * stdio-common/isoc99_vscanf.c: Likewise.
9842 * stdio-common/isoc99_vsscanf.c: Likewise.
9843 * stdio-common/scanf.c: Likewise.
9844 * stdio-common/sscanf.c: Likewise.
9845 * wcsmbs/isoc99_fwscanf.c: Likewise.
9846 * wcsmbs/isoc99_swscanf.c: Likewise.
9847 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9848 * wcsmbs/isoc99_vswscanf.c: Likewise.
9849 * wcsmbs/isoc99_vwscanf.c: Likewise.
9850 * wcsmbs/isoc99_wscanf.c: Likewise.
9852 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9855 (__tz_compute): Replace time_t with __time64_t.
9856 (__tz_convert): Replace time_t* with __time64_t.
9857 (__offtime): Replace time_t* with __time64_t.
9859 (__gmtime_r): Adjust call to __tz_convert.
9862 (__localtime_r): Likewise.
9863 (localtime): Likewise.
9864 * time/offtime.c: Replace time_t with __time64_t.
9865 * time/tzset.c: Likewise.
9867 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9869 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9870 dynamic linker unless [$(run-built-tests) = yes].
9872 2018-12-03 DJ Delorie <dj@delorie.com>
9874 * support/test-container.c (check_for_unshare_hints): New.
9875 (main): Call it if unshare fails. Add support for "su" scriptlet
9878 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9880 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9881 'START' to indicate that start text should be output.
9882 (gen_test): Likewise.
9883 (main): Generate 'START' for first symbol or '--' line, or at end
9884 of input if not previously generated.
9886 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9889 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9890 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9891 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9892 ALWAYS_USE_VSYSCALL.
9894 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9897 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9900 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9903 * locale/programs/localedef.c: Declare boolean hard_links default true.
9904 (options): Add --no-hard-links option.
9905 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9906 * locale/programs/localedef.h: Declare prototype for hard_links.
9907 * locale/programs/locfile.c (write_locale_data): Don't use hard
9908 links if hard_links is false.
9910 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9912 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9914 (__cache_sysconf): Likewise.
9915 (init_cacheinfo): Likewise.
9916 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9917 populate COMMON_CPUID_INDEX_80000007 and
9918 COMMON_CPUID_INDEX_80000008.
9919 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9920 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9921 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9922 (init_cpu_features): Use _Static_assert on
9923 index_arch_Fast_Unaligned_Load.
9924 __get_cpuid_registers and __get_arch_feature. Updated for
9925 cpu_features_basic. Set stepping in cpu_features.
9926 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9927 (FEATURE_INDEX_2): New.
9928 (FEATURE_INDEX_MAX): Changed to enum.
9929 (COMMON_CPUID_INDEX_D_ECX_1): New.
9930 (COMMON_CPUID_INDEX_80000007): Likewise.
9931 (COMMON_CPUID_INDEX_80000008): Likewise.
9932 (cpuid_registers): Likewise.
9933 (cpu_features_basic): Likewise.
9934 (CPU_FEATURE_USABLE): Likewise.
9935 (bit_arch_XXX_Usable): Likewise.
9936 (cpu_features): Use cpuid_registers and cpu_features_basic.
9937 (bit_arch_XXX): Reweritten.
9938 (bit_cpu_XXX): Likewise.
9939 (index_cpu_XXX): Likewise.
9940 (reg_XXX): Likewise.
9941 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9943 (CHECK_CPU_FEATURE): New.
9944 (CHECK_CPU_FEATURE_USABLE): Likewise.
9945 (cpu_kinds): Likewise.
9946 (do_test): Print vendor, family, model and stepping. Check
9947 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9948 (TEST_FUNCTION): Removed.
9949 Include <support/test-driver.c> instead of
9950 "../../test-skeleton.c".
9951 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9952 Check POPCNT instead of POPCOUNT.
9953 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9955 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9957 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9958 there is no element in `consts'.
9960 2018-12-01 Florian Weimer <fweimer@redhat.com>
9962 * support/support_capture_subprocess.c
9963 (support_capture_subprocess): Check that pipe descriptors have
9964 expected values. Close original pipe descriptors in subprocess.
9966 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9969 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9970 attr with __pthread_default_barrierattr.
9971 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
9972 attr with __pthread_default_condattr.
9973 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
9974 attr with __pthread_default_mutexattr.
9975 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
9976 attr with __pthread_default_rwlockattr.
9978 2018-12-01 Kemi Wang <kemi.wang@intel.com>
9980 * manual/tunables.texi (POSIX Thread Tunables): New node.
9981 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
9982 * nptl/nptl-init.c: Include pthread_mutex_conf.h
9983 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
9984 __pthread_tunables_init.
9985 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
9986 (max_adaptive_count): Define.
9987 * nptl/pthread_mutex_conf.c: New file.
9988 * nptl/pthread_mutex_conf.h: New file.
9989 * sysdeps/generic/adaptive_spin_count.h: New file.
9990 * sysdeps/nptl/dl-tunables.list: New file.
9991 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9992 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
9993 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
9996 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
9999 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10000 * stdlib/on_exit.c (__on_exit): Likewise.
10001 * stdlib/Makefile (tests): Add tst-bz20544.
10002 * stdlib/tst-bz20544.c: New test.
10004 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10007 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10008 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10011 2018-11-30 Florian Weimer <fweimer@redhat.com>
10013 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10014 Extend error logging.
10015 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10018 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10020 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10021 __sigismember instead of sigismember.
10022 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10023 cancel_handler): New definitions.
10024 (do_system): Use posix_spawn instead of fork and execl and remove
10026 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10027 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10028 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10029 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10030 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10031 * sysdeps/unix/sysv/linux/system.c: Likewise.
10035 * NEWS: Add new semantic for atfork with popen and system.
10036 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10039 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10042 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10043 modification order when accessing reloc_result->addr.
10044 * include/link.h (reloc_result): Add field init.
10045 * nptl/Makefile (tests): Add tst-audit-threads.
10046 (modules-names): Add tst-audit-threads-mod1 and
10047 tst-audit-threads-mod2.
10048 Add rules to build tst-audit-threads.
10049 * nptl/tst-audit-threads-mod1.c: New file.
10050 * nptl/tst-audit-threads-mod2.c: Likewise.
10051 * nptl/tst-audit-threads.c: Likewise.
10052 * nptl/tst-audit-threads.h: Likewise.
10054 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10056 * scripts/gen-as-const.py: New file.
10057 * scripts/gen-as-const.awk: Remove.
10058 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10060 ($(objpfx)test-as-const-%.c): Likewise.
10062 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10064 * elf/dl-exception.c: Include <_itoa.h>.
10066 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10068 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10069 returned by __f_setlk.
10071 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10072 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10074 * elf/Makefile (tests-internal): Add tst-create_format1.
10075 * elf/dl-exception.c (_dl_exception_create_format): Support
10077 * elf/tst-create_format1.c: New file.
10079 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10081 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10082 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10084 * argp/argp-help.c (__argp_failure): Likewise.
10086 2018-11-29 Mao Han <han_mao@c-sky.com>
10088 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10089 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10090 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10091 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10092 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10093 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10094 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10095 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10096 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10097 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10098 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10099 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10100 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10101 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10102 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10103 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10104 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10105 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10106 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10107 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10108 (R_CKCORE_TLS_TPOFF32): New defines.
10110 2018-11-29 Florian Weimer <fweimer@redhat.com>
10112 * posix/Makefile (before-compile): Remove testcases.h and
10114 (generated): Add testcases.h and ptestcases.h.
10115 (testcases.h, ptestcases.h): Move to $(objpfx).
10116 (runtests.o): Add dependency on testcases.h.
10117 (runptests.o): Add dependency on ptestcases.h.
10118 * posix/testcases.h, posix/ptestcases.h: Remove files.
10119 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10120 not touch posix/testcases.h and posix/ptestcases.h.
10122 2018-11-28 Florian Weimer <fweimer@redhat.com>
10124 support: Add signal support to support_capture_subprocess_check.
10125 * support/capture_subprocess.h (support_capture_subprocess_check):
10126 Adjust comment and rename parameter.
10127 * support/support_capture_subprocess_check.c
10128 (print_actual_status): New function.
10129 (support_capture_subprocess_check): Support negative
10130 status_or_signal. Call print_actual_status.
10131 * support/tst-support_capture_subprocess.c (do_test): Call
10132 support_capture_subprocess_check.
10133 * libio/tst-vtables-common.c (termination_status)
10134 (init_termination_status): Remove.
10135 (check_for_termination): Adjust support_capture_subprocess_check
10137 (do_test): Remove call to init_termination_status.
10139 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10141 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10142 source directory instead of a copy.
10143 (CommandList.create_copy_dir): Remove.
10145 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10147 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10149 2018-11-28 Florian Weimer <fweimer@redhat.com>
10151 * support/support.h (support_quote_string): Do not use str
10154 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10156 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10157 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10159 2018-11-27 Florian Weimer <fweimer@redhat.com>
10161 * support/support.h (support_quote_string): Declare.
10162 * support/support_quote_string.c: New file.
10163 * support/tst-support_quote_string.c: Likewise.
10164 * support/Makefile (libsupport-routines): Add
10165 support_quote_string.
10166 (tests): Add tst-support_quote_string.
10168 2018-11-27 Florian Weimer <fweimer@redhat.com>
10172 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10173 descriptor leak in case of ENODEV error.
10175 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10178 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10179 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10180 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10182 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10184 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10185 Error for unknown lines.
10187 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10189 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10190 Touch additional files.
10192 2018-11-26 Florian Weimer <fweimer@redhat.com>
10195 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10198 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10201 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10202 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10203 SHARED. Include sysdep.h.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10205 ALWAYS_USE_VSYSCALL.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10207 ALWAYS_USE_VSYSCALL.
10209 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10212 * nptl/Makefile (tests-static): Add tst-cond11-static.
10214 * nptl/tst-cond11-static.c: New File.
10215 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10216 tst-affinity-static.
10218 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10220 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10221 (USE_VSYSCALL): Likewise.
10222 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10223 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10225 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10230 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10233 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10234 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10237 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10239 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10240 (tst-cet-legacy-1a-ARGS): New.
10241 ($(objpfx)tst-cet-legacy-1a): New target.
10242 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10244 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10246 * conform/conformtest.py (CompileSubTest.__init__): Set
10247 self.run_early to False.
10248 (ExecuteSubTest.__init__): Likewise.
10249 (HeaderTests.run): Try running all non-optional, non-XFAILed
10250 compilation tests in a single execution of the compiler.
10252 * conform/conformtest.py (CompileSubTest): New class.
10253 (ExecuteSubTest): Likewise.
10254 (ElementTest.run): Rename to gen_subtests. Append tests to
10255 self.subtests instead of running them.
10256 (ConstantTest.run): Likewise.
10257 (SymbolTest.run): Likewise.
10258 (TypeTest.run): Likewise.
10259 (TagTest.run): Likewise.
10260 (FunctionTest.run): Likewise.
10261 (VariableTest.run): Likewise.
10262 (MacroFunctionTest.run): Likewise.
10263 (MacroStrTest.run): Likewise.
10264 (HeaderTests.handle_test_line): Generate subtests for tests.
10265 (HeaderTests.run): Run subtests for tests.
10267 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10269 * math/Versions (GLIBC_2.29): Add pow.
10270 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10272 * math/w_pow.c: New file.
10273 * sysdeps/i386/fpu/w_pow.c: New file.
10274 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10275 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10276 and add necessary aliases.
10277 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10278 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10279 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10280 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10281 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10282 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10283 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10284 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10285 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10286 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10287 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10288 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10289 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10290 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10291 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10296 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10297 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10298 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10299 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10300 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10301 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10303 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10305 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10306 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10307 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10309 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10311 * math/Versions (GLIBC_2.29): Add log2.
10312 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10314 * math/w_log2.c: New file.
10315 * sysdeps/i386/fpu/w_log2.c: New file.
10316 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10317 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10318 and add necessary aliases.
10319 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10320 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10321 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10322 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10323 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10324 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10325 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10326 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10327 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10328 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10329 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10330 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10331 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10332 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10333 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10338 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10339 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10340 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10341 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10342 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10343 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10344 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10346 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10348 * math/Versions (GLIBC_2.29): Add log.
10349 * math/w_log_compat.c (__log_compat): Change to versioned compat
10351 * math/w_log.c: New file.
10352 * sysdeps/i386/fpu/w_log.c: New file.
10353 * sysdeps/ia64/fpu/e_log.S: Update.
10354 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10355 and add necessary aliases.
10356 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10357 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10358 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10359 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10360 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10361 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10362 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10363 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10364 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10365 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10366 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10367 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10368 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10369 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10370 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10375 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10376 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10377 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10378 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10379 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10380 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10381 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10382 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10384 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10385 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10386 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10387 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10389 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10391 * math/Versions (GLIBC_2.29): Add exp and exp2.
10392 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10393 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10394 * math/w_exp_compat.c (__exp_compat): Likewise.
10395 * math/w_exp.c: New file.
10396 * math/w_exp2.c: New file.
10397 * sysdeps/i386/fpu/w_exp.c: New file.
10398 * sysdeps/i386/fpu/w_exp2.c: New file.
10399 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10400 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10401 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10402 and add necessary aliases.
10403 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10404 and add necessary aliases.
10405 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10406 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10407 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10408 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10409 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10410 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10411 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10412 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10413 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10414 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10415 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10416 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10417 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10418 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10419 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10420 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10421 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10426 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10427 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10428 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10429 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10430 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10431 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10432 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10433 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10434 (__ieee754_exp): Rename to __exp.
10435 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10436 (__ieee754_exp): Rename to __exp.
10437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10438 (__ieee754_exp): Rename to __exp.
10439 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10441 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10443 2018-11-20 DJ Delorie <dj@redhat.com>
10445 * malloc/malloc.c (tcache_entry): Add key field.
10446 (tcache_put): Set it.
10447 (tcache_get): Likewise.
10448 (_int_free): Check for double free in tcache.
10449 * malloc/tst-tcfree1.c: New.
10450 * malloc/tst-tcfree2.c: New.
10451 * malloc/Makefile: Run the new tests.
10452 * manual/probes.texi: Document memory_tcache_double_free probe.
10454 * dlfcn/dlerror.c (check_free): Prevent double frees.
10456 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10458 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10460 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10462 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10463 in tests. Use names for format arguments.
10464 (ConstantTest.run): Likewise.
10465 (SymbolTest.run): Likewise.
10466 (TypeTest.run): Likewise.
10467 (TagTest.run): Likewise.
10468 (FunctionTest.run): Likewise.
10469 (VariableTest.run): Likewise.
10470 (MacroFunctionTest.run): Likewise.
10471 (MacroStrTest.run): Likewise.
10472 (HeaderTests.__init__): Set self.num_tests.
10473 (HeaderTests.handle_test_line): Set test.num. Increment
10476 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10478 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10479 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10482 2018-11-19 Mao Han <han_mao@c-sky.com>
10484 * scripts/config.guess: Update to version 2018-08-29.
10485 * scripts/config.sub: Update to version 2018-08-29.
10487 2018-11-19 Florian Weimer <fweimer@redhat.com>
10489 support: Print timestamps in timeout handler.
10490 * support/support_test_main.c (print_timestamp): New function.
10491 (signal_handler): Use it to print the termination time and the
10492 time of the last write to standard output.
10494 2018-11-16 Zack Weinberg <zackw@panix.com>
10495 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10497 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10498 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10500 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10501 and add flags argument. Check flags instead of __ldbl_is_dbl when
10502 deciding whether to set is_long_double.
10503 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10504 passing zero for flags argument.
10505 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10507 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10508 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10509 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10510 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10511 variable names. Remove libc_hidden_def/libc_hidden_proto from
10512 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10513 longer called from within the library.
10514 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10515 for __nldbl___vstrfmon_l, declare it explicitly.
10517 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10519 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10521 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10523 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10524 F_SETLK64, F_SETLKW64, respectively.
10525 * sysdeps/mach/hurd/f_setlk.c: New file.
10526 * sysdeps/mach/hurd/f_setlk.h: New file.
10527 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10529 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10530 (__libc_fcntl): Move non-flock operations to...
10531 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10532 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10534 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10536 mktime: DEBUG_MKTIME cleanup
10537 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10538 And it’s no longer needed now that glibc and Gnulib both have
10539 their own testing mechanisms for mktime.
10540 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10542 mktime: fix non-EOVERFLOW errno handling
10544 mktime was not properly reporting failures when the underlying
10545 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10546 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10547 The problem could happen on non-glibc platforms, with Gnulib.
10548 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10549 (tm_diff): ... this simpler function, which does not change errno.
10550 All callers changed to deal with errno themselves.
10551 (ranged_convert, __mktime_internal): Return failure immediately if
10552 the underlying function reports any failure other than EOVERFLOW.
10553 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10556 mktime: fix bug with Y2038 DST transition
10558 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10559 mishandle a DST transition that jumps over the Y2038 boundary.
10560 No such DST transitions are known so this is only a theoretical
10561 bug, but we might as well do things right.
10563 mktime: make more room for overflow
10565 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10566 This is so that we can add tm_diff results to a previous guess,
10567 which will be useful in a later patch.
10569 mktime: simplify offset guess
10571 * time/mktime.c (__mktime_internal): Omit excess precision.
10573 mktime: new test for mktime failure
10575 Based on a test suggested by Albert Aribaud in:
10576 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10577 * time/Makefile (tests): Add bug-mktime4.
10578 * time/bug-mktime4.c: New file.
10580 mktime: fix EOVERFLOW bug
10582 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10583 Include libc-config.h, not config.h, for __set_errno.
10584 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10586 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10588 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10589 __attribute_copy__ to copy attributes from name. Drop static qualifier
10590 to avoid warnings about leaf attribute not having effect on static
10593 2018-11-13 Florian Weimer <fweimer@redhat.com>
10595 * malloc/malloc.c (fastbin_push_entry): New function.
10596 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10597 (REMOVE_FB): Remove macro.
10598 (_int_malloc): Use fastbin_pop_entry and reindent.
10599 (_int_free): Use fastbin_push_entry.
10600 (malloc_consolidate): Use atomic_exchange_acquire.
10602 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10604 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10605 alias attribute, not with strong_alias.
10607 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10608 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10609 with additional parameter thread.
10610 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10611 in terms of __hidden_ver2.
10612 (hidden_tls_def): New macro.
10613 (libc_hidden_tls_def): Likewise.
10614 (rtld_hidden_tls_def): Likewise.
10615 (libm_hidden_tls_def): Likewise.
10616 (libmvec_hidden_tls_def): Likewise.
10617 (libresolv_hidden_tls_def): Likewise.
10618 (librt_hidden_tls_def): Likewise.
10619 (libdl_hidden_tls_def): Likewise.
10620 (libnss_files_hidden_tls_def): Likewise.
10621 (libnsl_hidden_tls_def): Likewise.
10622 (libnss_nisplus_hidden_tls_def): Likewise.
10623 (libutil_hidden_tls_def): Likewise.
10624 (libutil_hidden_tls_def): Likweise.
10625 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10626 libc_hidden_tls_def.
10627 (__sim_disabled_exceptions_thread): Likewise.
10628 (__sim_round_mode_thread): Likewise.
10630 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10631 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10632 copy attributes from name.
10634 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10636 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10637 Use __attribute_copy__ to copy attributes from name.
10639 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10640 with __hidden_ver1 call.
10641 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10642 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10643 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10644 (__cosf): Do not declare here.
10645 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10646 (__sincosf): Do not declare here.
10647 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10648 (__sinf): Do not declare here.
10650 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10651 (__BIG_ENDIAN): Likewise.
10652 (__BYTE_ORDER): Likewise.
10653 (strong_alias): Likewise.
10654 (_strong_alias): Likewise.
10656 2018-11-12 Florian Weimer <fweimer@redhat.com>
10658 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10659 function. Move after the definition of in_smallbin_range. Do not
10660 use __builtin_expect for paths that lead to a noreturn function.
10661 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10662 because it is unclear whether this is in fact an unlikely
10664 (_int_malloc, _int_free): Adjust.
10665 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10667 * malloc/arena.c (heap_trim): Likewise.
10669 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10671 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10672 it, free it if needed.
10673 (reauthenticate): Test and use ccwdir.
10674 (child_init_port): In non-resetids case, test and use ccwdir.
10675 (child_chdir): New nested function to set ccwdir.
10676 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10677 * hurd/hurd/port.h (_hurd_port_move): New function.
10678 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10679 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10680 * hurd/Versions (_hurd_port_move): Export function.
10681 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10683 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10684 of dtablesize for allocating dtable_cloexec.
10686 2018-11-09 Martin Sebor <msebor@redhat.com>
10688 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10689 it's already defined.
10690 (_strong_alias): Use __attribute_copy__.
10691 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10692 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10693 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10694 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10695 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10696 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10697 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10698 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10699 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10700 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10701 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10702 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10703 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10704 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10705 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10706 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10707 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10708 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10709 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10711 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10713 * misc/tst-efgcvt.c: Include support/check.h and
10714 support/test-driver.c. Do not include test-skeleton.c.
10715 (error_count): Remove.
10716 (output_error): Replace increments to error_count with calls to
10717 support_record_failure.
10718 (output_r_error): Likewise.
10719 (special): Likewise.
10720 (do_test): Unconditionally return zero.
10721 (TEST_FUNCTION): Remove.
10723 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10725 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10727 ($(linknamespace-header-tests)): Likewise.
10729 * conform/conformtest.py: New file.
10730 * conform/conformtest.pl: Remove.
10731 * conform/GlibcConform.pm: Likewise.
10732 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10733 (KEYWORDS_C99): Likewise.
10734 (KEYWORDS): Likewise.
10735 * conform/Makefile ($(conformtest-header-tests)): Use
10736 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10737 option. Use --header instead of --headers.
10738 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10740 * conform/data/spawn.h-data: Likewise.
10741 * conform/data/fcntl.h-data (openat): Add space after function
10743 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10744 (wcscasecmp_l): Likewise.
10745 * conform/data/termios.h-data (c_cc): Add space after element
10748 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10750 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10751 instead of manually comparing and reporting mismatching strings.
10752 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10753 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10755 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10757 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10758 __ASSUME_SOCKETCALL.
10759 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10760 (__ASSUME_SOCKETCALL): Remove.
10761 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10762 (__ASSUME_SOCKETCALL): Likewise.
10763 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10764 (__ASSUME_SOCKETCALL): Likewise.
10765 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10766 (__ASSUME_SOCKETCALL): Likewise.
10767 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10768 (__ASSUME_SOCKETCALL): Likewise.
10769 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10770 (__ASSUME_SOCKETCALL): Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10772 (__ASSUME_SOCKETCALL): Likewise.
10774 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10777 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10778 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10779 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10780 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10781 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10784 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10787 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10789 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10792 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10793 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10794 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10795 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10797 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10799 * support/support_test_compare_string.c
10800 (support_test_compare_string): Fix printf format.
10802 2018-11-07 Florian Weimer <fweimer@redhat.com>
10804 Implement TEST_COMPARE_STRING.
10805 * support/check.h (TEST_COMPARE_STRING): Define.
10806 (support_test_compare_string): Declare.
10807 * support/Makefile (libsupport-routines): Add
10808 support_test_compare_string.
10809 (tests): Add tst-test_compare_string.
10810 * support/support_test_compare_string.c: New file.
10811 * support/tst-test_compare_string.c: Likewise.
10813 2018-11-07 Andreas Schwab <schwab@suse.de>
10816 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10817 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10820 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10823 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10824 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10825 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10826 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10829 2018-11-06 Florian Weimer <fweimer@redhat.com>
10832 * posix/Makefile (routines): Add spawn_faction_addchdir.
10833 (tests): Add tst-spawn-chdir.
10834 * posix/Versions (GLIBC_2.29): Add
10835 posix_spawn_file_actions_addchdir_np.
10836 * posix/spawn_faction_addchdir.c: New file.
10837 * posix/spawn_faction_destroy.c
10838 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10839 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10840 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10842 * posix/tst-spawn-chdir.c: New file.
10843 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10844 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10845 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10846 posix_spawn_file_actions_addchdir_np.
10847 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10849 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10851 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10852 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10854 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10856 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10858 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10860 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10862 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10864 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10865 (GLIBC_2.29): Likewise.
10866 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10867 (GLIBC_2.29): Likewise.
10868 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10869 (GLIBC_2.29): Likewise.
10870 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10871 (GLIBC_2.29): Likewise.
10872 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10875 (GLIBC_2.29): Likewise.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10877 (GLIBC_2.29): Likewise.
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10879 (GLIBC_2.29): Likewise.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10881 (GLIBC_2.29): Likewise.
10882 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10884 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10886 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10888 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10889 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10893 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10895 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10898 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10900 * misc/Makefile (tests): Add tst-ldbl-error.
10901 * misc/tst-ldbl-error.c: New file.
10903 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10905 * misc/Makefile (tests): Add tst-ldbl-warn.
10906 * misc/tst-ldbl-warn.c: New file.
10908 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10910 * argp/Makefile (tests): Add tst-ldbl-argp.
10911 * argp/tst-ldbl-argp.c: New file.
10913 2018-11-05 Arjun Shankar <arjun@redhat.com>
10915 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10916 __gconv_path_elem and call __gconv_get_path unconditionally.
10918 2018-11-05 Andreas Schwab <schwab@suse.de>
10921 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10922 creating the first helper thread failed.
10924 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10926 * sysdeps/mach/hurd/msync.c: New file.
10928 2018-11-02 Florian Weimer <fweimer@redhat.com>
10930 * support/shell-container.c (copy_func): Call
10931 support_copy_file_range instead of copy_file_range to support
10932 cross-device copies.
10934 2018-11-02 Florian Weimer <fweimer@redhat.com>
10936 * support/test-container.c: Include <libc-pointer-arith.h> for
10939 2018-11-01 Zong Li <zong@andestech.com>
10941 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10942 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10943 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10944 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10946 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10947 variable to avoid overlap arguments.
10949 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10951 * posix/bug-regex22.c (main): Use puts with distinct error
10952 messages for unexpected success of re_compile_pattern, not printf
10953 with NULL argument to %s.
10955 * stdio-common/bug22.c: Include <libc-diag.h>.
10956 (do_test): Disable -Wformat-overflow= warnings around fprintf
10957 calls outputting more than INT_MAX characters.
10958 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10959 around printf call with NULL %s argument.
10962 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10963 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10965 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10966 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10967 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10968 (__ASSUME_SENDTO_SYSCALL): Likewise.
10969 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10970 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
10972 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10973 (__ASSUME_CONNECT_SYSCALL): Likewise.
10974 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10975 (__ASSUME_RECVFROM_SYSCALL): Likewise.
10976 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
10978 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
10980 [__LINUX_KERNEL_VERSION >= 0x040400]
10981 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10982 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
10984 (listen): Likewise.
10985 (setsockopt): Likewise.
10987 2018-11-01 Fredrik Noring <noring@nocrew.org>
10989 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
10990 with the ISA override.
10992 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
10994 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
10997 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10999 * manual/errno.texi (EIEIO): Document how translators should
11000 translate the error message.
11001 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11002 printing trailing whitespaces refused by git.
11003 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11004 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11005 * hurd/Makefile (user-interfaces): Add pci.
11007 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11009 * conform/linknamespace.py: New file.
11010 * conform/linknamespace.pl: Remove file.
11011 * conform/Makefile ($(linknamespace-header-tests)): Use
11012 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11015 2018-10-30 Florian Weimer <fweimer@redhat.com>
11017 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11020 2018-10-30 Florian Weimer <fweimer@redhat.com>
11022 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11024 2018-10-30 Florian Weimer <fweimer@redhat.com>
11026 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11027 support_blob_repeat.
11029 2018-10-30 Florian Weimer <fweimer@redhat.com>
11031 Avoid spurious test failures in stdlib/test-bz22786.
11032 * support/Makefile (libsupport-routines): Add blob_repeat.
11033 (tests): Add tst-support_blob_repeat.
11034 * support/blob_repeat.h: New file.
11035 * support/blob_repeat.c: Likewise.
11036 * support/tst-support_blob_repeat.c: Likewise.
11037 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11038 support_blob_repeat_allocate.
11040 2018-10-30 Andreas Schwab <schwab@suse.de>
11043 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11044 Don't use tail call.
11045 * elf/tst-unwind-main.c: New file.
11046 * elf/Makefile (tests): Add tst-unwind-main.
11047 (CFLAGS-tst-unwind-main.c): Define.
11049 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11052 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11053 n_cs_precedes to 0.
11054 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11056 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11058 * conform/glibcconform.py: Do not import shutil.
11059 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11062 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11063 critic_missing for versions before 3.4.
11064 * configure: Regenerated.
11065 * manual/install.texi (Tools for Compilation): Document
11066 requirement for Python to build glibc.
11067 * INSTALL: Regenerated.
11068 * Rules [PYTHON]: Make code unconditional.
11069 * benchtests/Makefile [PYTHON]: Likewise.
11070 * conform/Makefile [PYTHON]: Likewise.
11071 * manual/Makefile [PYTHON]: Likewise.
11072 * math/Makefile [PYTHON]: Likewise.
11074 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11076 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11077 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11078 answer to interrupt_operation, return EIEIO instead of EINTR.
11079 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11080 _hurd_intr_rpc_msg_about_to global point to start of controlled
11081 assembly snippet. Make it check canceled flag.
11082 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11083 the _hurd_intr_rpc_msg_about_to point.
11084 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11085 issue, remove cancel flag check.
11087 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11089 * scripts/build-many-glibcs.py: Remove compatibility for missing
11090 os.cpu_count and re.fullmatch.
11092 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11095 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11096 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11097 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11099 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11101 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11104 2018-10-25 Florian Weimer <fweimer@redhat.com>
11108 XFAIL siginfo_t si_band conform test on sparc64.
11109 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11110 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11111 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11112 (conformtest-xfail-conds): Add sparc64-linux.
11113 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11115 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11117 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11119 * elf/elf.h (NT_MIPS_DSP): New macro.
11120 (NT_MIPS_FP_MODE): Likewise.
11122 2018-10-25 Zong Li <zong@andestech.com>
11124 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11125 name by adding the file extension (.so).
11127 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11129 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11130 (test-xfail-ISO11/threads.h/linknamespace,
11131 test-xfail-ISO11/threads.h/conform): Add.
11133 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11135 * math/gen-libm-test.py: Import os.
11136 (ALL_FLOATS_MANUAL): New constant.
11137 (ALL_FLOATS_SUFFIX): Likewise.
11138 (Ulps.all_functions): New function.
11139 (real_all_ulps): Likewise.
11140 (generate_err_table_sub): Likewise.
11141 (generate_err_table): Likewise.
11142 (main): Handle -s and -m options.
11143 * manual/libm-err-tab.pl: Remove.
11144 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11145 instead of libm-err-tab.pl.
11146 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11148 * manual/install.texi (Tools for Compilation): Document
11149 requirement for Python to build manual.
11150 * INSTALL: Regenerated.
11152 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11154 * bits/time64.h: New file.
11155 * include/time.h: Replace internal_time_t with __time64_t.
11156 * posix/bits/types (__time64_t): Add.
11157 * stdlib/Makefile: Add bits/time64.h to includes.
11158 * time/tzfile.c: Replace internal_time_t with __time64_t.
11160 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11162 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11163 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11164 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11165 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11166 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11168 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11169 * posix/spawn_faction_addclose.c
11170 (__posix_spawn_file_actions_addclose): Add hidden definition.
11171 * posix/spawn_faction_adddup2.c
11172 (__posix_spawn_file_actions_adddup2): Likewise.
11173 * posix/spawn_faction_destroy.c
11174 (__posix_spawn_file_actions_destroy): Likewise.
11175 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11177 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11178 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11179 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11181 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11182 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11185 2018-10-24 Andreas Schwab <schwab@suse.de>
11188 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11190 * elf/cache.c (print_cache): Likewise.
11192 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11194 * bits/timesize.h: New file.
11195 * stdlib/Makefile (headers): Add bits/timesize.h.
11196 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11197 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11198 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11199 (__SEM_PAD_AFTER_TIME): Likewise.
11200 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11201 (__SHM_PAD_AFTER_TIME): Likewise.
11202 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11203 (__MSQ_PAD_BEFORE_TIME): Likewise.
11204 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11205 (__SEM_PAD_BEFORE_TIME): Likewise.
11206 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11207 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11208 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11209 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11210 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11211 (__MSQ_PAD_BEFORE_TIME): Likewise.
11212 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11213 (__SEM_PAD_BEFORE_TIME): Likewise.
11214 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11215 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11216 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11217 (__MSQ_PAD_BEFORE_TIME): Likewise.
11218 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11219 (__SEM_PAD_BEFORE_TIME): Likewise.
11220 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11221 (__SHM_PAD_BEFORE_TIME): Likewise.
11222 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11223 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11224 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11226 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11228 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11229 USE_RDTSCP is defined.
11230 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11231 USE_RDTSCP is defined.
11233 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11235 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11239 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11240 independently of other flags.
11242 2018-10-23 Florian Weimer <fweimer@redhat.com>
11244 * time/tst-mktime2.c (N_STRINGS): Remove.
11245 (set_timezone): New function.
11246 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11247 (mktime_test1): Report localtime failure and check errno value.
11249 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11250 (do_test): Remove alarm call. Use set_timezone and array_length.
11252 2018-10-23 Andreas Schwab <schwab@suse.de>
11254 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11255 (__start_context): Use END instead of PSEUDO_END.
11257 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11259 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11262 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11266 * wcsmbs/c32rtomb.c: New file.
11267 * wcsmbs/mbrtoc32.c: Likewise.
11268 * wcsmbs/tst-c32-state.c: Likewise.
11269 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11270 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11271 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11272 (tests): Add tst-c32-state.
11273 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11276 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11278 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11279 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11281 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11284 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11285 pair and return 0 in that case, and use saved character to
11286 interpret following character.
11287 * wcsmbs/tst-c16-surrogate.c: New file.
11288 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11289 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11290 Depend on $(gen-locales)
11292 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11295 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11296 (struct siginfo_t): Use correct type for si_band.
11298 2018-10-19 Florian Weimer <fweimer@redhat.com>
11301 * resource/bits/types/struct_rusage.h (struct rusage): Update
11302 comment on struct. Remove extraneous field comment.
11304 2018-10-18 David S. Miller <davem@davemloft.net>
11306 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11307 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11308 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11309 sysdep_routines in subdir elf.
11310 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11311 version for __vdso_clock_gettime.
11312 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11314 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11315 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11317 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11319 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11321 * sysdeps/i386/init-arch.h: Removed.
11322 * sysdeps/i386/i586/init-arch.h: Likewise.
11323 * sysdeps/i386/i686/init-arch.h: Likewise.
11324 * sysdeps/i386/i686/hp-timing.h: Likewise.
11325 * sysdeps/x86_64/hp-timing.h: Likewise.
11326 * sysdeps/i386/isa.h: New file.
11327 * sysdeps/i386/i586/isa.h: Likewise.
11328 * sysdeps/i386/i686/isa.h: Likewise.
11329 * sysdeps/x86_64/isa.h: Likewise.
11330 * sysdeps/x86/hp-timing.h: New file.
11331 * sysdeps/x86/init-arch.h: Include <isa.h>.
11333 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11335 * math/libm-test-pow.inc (pow_test_data): Do not allow
11336 divide-by-zero exception for pow(+/- 0, -Inf).
11338 2018-10-17 Zack Weinberg <zackw@panix.com>
11340 * manual/job.texi (Job Control is Optional): Remove node, as
11341 job control has not been optional in quite some time.
11342 (Job Control): Mention briefly that systems older than
11343 POSIX.1-2001 might not support job control.
11344 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11345 defined on systems conforming to POSIX.1-2001.
11347 2018-10-17 Arjun Shankar <arjun@redhat.com>
11350 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11352 * (__gconv_read_conf): Mark function static.
11353 * (once): New static variable.
11354 * (__gconv_load_conf): New function.
11355 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11356 * iconv/gconv_db.c (once): Remove static variable.
11357 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11359 * (__gconv_find_transform): Likewise.
11360 * iconv/tst-iconv-mt.c: New test.
11361 * iconv/Makefile: Add tst-iconv_mt.
11363 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11367 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11368 (shmatt_t): Define as __syscall_ulong_t.
11369 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11370 and [__SHM_PAD_AFTER_TIME].
11371 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11372 Define shm_segsz and associated padding based on
11373 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11374 Use __syscall_ulong_t instead of unsigned long int.
11375 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11377 [__USE_MISC] (struct shm_info): Likewise.
11378 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11379 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11380 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11381 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11382 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11383 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11384 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11385 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11386 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11388 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11392 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11393 (SHMLBA): Remove macro.
11394 (__getpagesize): Remove function declaration.
11395 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11397 (SHMLBA): Remove macro.
11398 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11400 (SHMLBA): Remove macro.
11401 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11403 (SHMLBA): Remove macro.
11404 (__getpagesize): Remove function declaration.
11405 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11407 (SHMLBA): Remove macro.
11408 (__getshmlba): Remove function declaration.
11409 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11410 (SHMLBA): Remove macro.
11411 (__getpagesize): Remove function declaration.
11412 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11413 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11414 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11415 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11416 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11417 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11418 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11419 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11420 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11423 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11426 * nptl/tst-mutex10.c: New File.
11427 * nptl/Makefile (tests): Add tst-mutex10.
11428 (tst-mutex10-ENV): New variable.
11429 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11430 Ensure that elision path is used if elision is available.
11431 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11433 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11435 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11436 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11437 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11438 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11440 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11441 (__pthread_mutex_cond_lock_adjust): Likewise.
11442 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11444 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11445 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11446 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11447 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11449 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11450 Use atomic_load_relaxed and atomic_store_relaxed.
11451 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11452 Use atomic_store_relaxed.
11454 2018-10-17 Andreas Schwab <schwab@suse.de>
11456 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11457 * crypt/badsalttest.c (TIMEOUT): Likewise.
11458 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11459 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11460 * io/test-lfs.c (TIMEOUT): Likewise.
11461 * libio/tst-atime.c (TIMEOUT): Likewise.
11462 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11463 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11464 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11465 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11466 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11467 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11468 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11469 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11470 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11471 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11472 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11473 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11474 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11475 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11476 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11477 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11478 * nptl/tst-once2.c (TIMEOUT): Likewise.
11479 * nptl/tst-once3.c (TIMEOUT): Likewise.
11480 * nptl/tst-once4.c (TIMEOUT): Likewise.
11481 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11482 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11483 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11484 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11485 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11486 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11487 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11488 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11489 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11490 * posix/tst-chmod.c (TIMEOUT): Likewise.
11491 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11492 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11493 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11494 * posix/tst-regex2.c (TIMEOUT): Likewise.
11495 * posix/tst-waitid.c (TIMEOUT): Likewise.
11496 * rt/tst-aio.c (TIMEOUT): Likewise.
11497 * rt/tst-aio10.c (TIMEOUT): Likewise.
11498 * rt/tst-aio4.c (TIMEOUT): Likewise.
11499 * rt/tst-aio5.c (TIMEOUT): Likewise.
11500 * rt/tst-aio6.c (TIMEOUT): Likewise.
11501 * rt/tst-aio64.c (TIMEOUT): Likewise.
11502 * rt/tst-aio7.c (TIMEOUT): Likewise.
11503 * rt/tst-aio9.c (TIMEOUT): Likewise.
11504 * rt/tst-clock.c (TIMEOUT): Likewise.
11505 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11506 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11507 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11508 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11509 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11510 * rt/tst-timer4.c (TIMEOUT): Likewise.
11511 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11512 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11513 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11514 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11515 * time/tst-ftime.c (TIMEOUT): Likewise.
11516 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11518 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11520 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11521 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11524 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11528 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11529 instead of <bits/wordsize.h>.
11530 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11531 and [__SEM_PAD_AFTER_TIME].
11532 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11533 __syscall_ulong_t instead of unsigned long int.
11534 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11535 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11536 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11537 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11538 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11539 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11540 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11541 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11542 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11543 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11544 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11546 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11548 regex: simplify by using intprops.h
11550 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11551 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11552 intprops.h defines them.
11554 regex: __builtin_expect → __glibc_unlikely
11556 This refactoring was prompted by a problem when the regex code is
11557 used as part of Gnulib and when the builder’s compiler does not grok
11558 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11559 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11560 Although this refactoring does not fix the problem directly,
11561 we might as well have Gawk use the now-preferred glibc style for when
11562 __builtin_expect is unavailable.
11563 * posix/regex_internal.h (BE): Remove.
11564 All uses replaced by __glibc_unlikely or __glibc_likely.
11566 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11570 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11571 instead of <bits/wordsize.h>.
11572 (msgqnum_t): Define as __syscall_ulong_t.
11573 (msglen_t): Likewise.
11574 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11575 and [__MSQ_PAD_AFTER_TIME].
11576 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11577 __syscall_ulong_t instead of unsigned long int.
11578 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11579 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11580 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11581 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11582 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11583 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11584 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11585 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11586 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11587 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11588 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11590 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11592 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11593 (struct shmid_ds): Condition padding after time fields on
11594 [__WORDSIZE == 32].
11595 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11596 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11597 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11599 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11600 (struct semid_ds): Condition padding after time fields on
11601 [__WORDSIZE == 32].
11602 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11603 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11604 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11605 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11607 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11608 (struct msqid_ds): Condition padding after time fields on
11609 [__WORDSIZE == 32].
11610 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11611 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11612 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11613 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11615 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11617 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11619 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11621 * libio/tst-readline.c (TIMEOUT): Define.
11623 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11625 mktime fix for Gnulib + coreutils
11627 This fix affects only Gnulib. Problem discovered when
11628 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11630 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11631 Do not define since it is not used. Defining an unused static
11632 function prompts a warning from GCC when Coreutils is configured
11633 with --enable-gcc-warnings.
11635 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11637 * benchtests/scripts/compare_bench.py (main): set float type on
11638 threshold argument.
11640 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11643 * localedata/locales/kl_GL (mon): Update, the relative case.
11644 (alt_mon): Add, fill with month names in the nominative case.
11645 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11646 (d_fmt): Set to "%b %d %Y".
11648 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11650 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11651 <bits/mman-linux.h>.
11652 (PROT_READ): Don't define here.
11653 (PROT_WRITE): Likewise.
11654 (PROT_EXEC): Likewise.
11655 (PROT_NONE): Likewise.
11656 (PROT_GROWSDOWN): Likewise.
11657 (PROT_GROWSUP): Likewise.
11658 (MAP_SHARED): Likewise.
11659 (MAP_PRIVATE): Likewise.
11660 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11661 [__USE_MISC] (MAP_FILE): Likewise.
11662 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11663 [__USE_MISC] (MAP_ANON): Likewise.
11664 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11665 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11666 (MCL_CURRENT): Likewise.
11667 (MCL_FUTURE): Likewise.
11668 (MCL_ONFAULT): Likewise.
11669 [__USE_MISC] (MADV_NORMAL): Likewise.
11670 [__USE_MISC] (MADV_RANDOM): Likewise.
11671 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11672 [__USE_MISC] (MADV_WILLNEED): Likewise.
11673 [__USE_MISC] (MADV_DONTNEED): Likewise.
11674 [__USE_MISC] (MADV_FREE): Likewise.
11675 [__USE_MISC] (MADV_REMOVE): Likewise.
11676 [__USE_MISC] (MADV_DONTFORK): Likewise.
11677 [__USE_MISC] (MADV_DOFORK): Likewise.
11678 [__USE_MISC] (MADV_HWPOISON): Likewise.
11679 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11680 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11681 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11682 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11683 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11684 (__MAP_ANONYMOUS): New macro.
11685 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11686 <bits/mman-linux.h> inclusion.
11687 (MAP_FIXED): Likewise.
11688 (MS_SYNC): Likewise.
11689 (MS_ASYNC): Likewise.
11690 (MS_INVALIDATE): Likewise.
11691 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11692 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11693 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11694 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11695 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11696 [__USE_MISC] (MADV_DODUMP): Likewise.
11697 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11698 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11701 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11703 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11704 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11705 Add test-nldbl-redirect.
11706 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11707 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11708 $(objpfx)libnldbl_nonshared.a.
11710 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11712 * support/support.h (support_objdir_elf_ldso): New variable.
11713 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11714 * support/Makefile (CFLAGS-support_paths.c): Add definition
11715 for OBJDIR_ELF_LDSO_PATH.
11716 * support/test-container.c (main): Search for the ld.so
11717 which is also used by the testsuite.
11719 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
11722 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11723 should be "sap" rather than "sab".
11724 (day): Fix spelling of Sunday, should be "sapaat" rather than
11727 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11729 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11731 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11734 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11735 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11736 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11738 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11740 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11742 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11744 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11746 (CFLAGS-elision-unlock.c): Likewise.
11747 (CFLAGS-elision-timed.c): Likewise.
11748 (CFLAGS-elision-trylock.c): Likewise.
11749 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11751 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11754 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11755 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11756 new fd_to_filename interface.
11757 * libio/freopen64.c (freopen64): Likewise.
11758 * libio/tst-memstream.h: New file.
11759 * libio/tst-memstream4.c: Likewise.
11760 * libio/tst-wmemstream4.c: Likewise.
11761 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11762 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11763 and remove internal dynamic allocation.
11765 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11767 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11768 (MREMAP_MAYMOVE): Do not define here.
11769 [__USE_GNU] (MREMAP_FIXED): Likewise.
11770 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11771 (MREMAP_MAYMOVE): Define here instead.
11772 [__USE_GNU] (MREMAP_FIXED): Likewise.
11773 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11774 (MREMAP_MAYMOVE): Remove.
11775 [__USE_GNU] (MREMAP_FIXED): Likewise.
11777 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11779 * math/fromfp.h: Do not include <math_private.h>.
11780 * math/s_cacosh_template.c: Likewise.
11781 * math/s_casin_template.c: Likewise.
11782 * math/s_casinh_template.c: Likewise.
11783 * math/s_ccos_template.c: Likewise.
11784 * math/s_cproj_template.c: Likewise.
11785 * math/s_fdim_template.c: Likewise.
11786 * math/s_fmaxmag_template.c: Likewise.
11787 * math/s_fminmag_template.c: Likewise.
11788 * math/s_iseqsig_template.c: Likewise.
11789 * math/s_ldexp_template.c: Likewise.
11790 * math/s_nextdown_template.c: Likewise.
11791 * math/w_log1p_template.c: Likewise.
11792 * math/w_scalbln_template.c: Likewise.
11793 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11794 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11795 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11796 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11797 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11798 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11799 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11800 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11801 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11802 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11803 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11804 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11805 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11806 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11807 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11808 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11809 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11810 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11811 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11812 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11813 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11814 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11815 * sysdeps/ieee754/k_standardf.c: Likewise.
11816 * sysdeps/ieee754/k_standardl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11819 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11822 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11823 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11824 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11825 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11826 * sysdeps/ieee754/s_signgam.c: Likewise.
11827 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11828 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11829 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11830 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11831 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11832 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11833 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11834 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11835 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11836 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11837 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11838 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11839 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11840 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11841 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11842 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11843 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11844 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11845 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11846 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11847 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11848 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11849 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11850 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11851 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11852 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11853 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11854 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11855 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11856 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11857 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11858 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11859 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11860 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11861 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11862 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11863 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11865 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11867 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11870 * sysdeps/i386/dl-cet.c: Removed.
11871 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11873 (_dl_runtime_profile_shstk): Likewise.
11874 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11875 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11877 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11880 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11881 do_test_with_invalid_iov): New tests.
11882 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11883 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11884 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11886 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11887 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11888 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11890 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11892 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11893 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11894 (MATH_REDIRECT_BINARY_ARGS): New macro.
11895 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11896 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11897 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11899 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11901 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11902 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11912 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11913 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11918 * sysdeps/generic/math_private_calls.h
11919 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11920 Do not declare and define as an inline function.
11921 * math/divtc3.c (__divtc3): Use copysign functions instead of
11922 __copysign variants.
11923 * math/multc3.c (__multc3): Likewise.
11924 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11925 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11926 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11927 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11929 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11930 (__ieee754_yn): Likewise.
11931 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11932 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11933 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11934 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11935 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11937 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11938 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11940 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11944 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11945 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11947 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11948 (__ieee754_ynf): Likewise.
11949 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11950 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11951 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11952 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11954 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11955 (__ieee754_ynl): Likewise.
11956 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11957 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11958 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11961 (__ieee754_ynl): Likewise.
11962 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11963 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11964 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11965 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11967 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11969 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11970 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11971 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
11972 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
11973 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11975 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11976 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
11977 using MATH_REDIRECT.
11978 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
11980 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
11981 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11982 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11983 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
11984 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11985 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11986 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
11988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
11989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
11990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
11991 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11992 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11993 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11994 (round): Redirect to __round.
11995 (__roundl): Call round instead of __round.
11996 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
11998 [_ARCH_PWR5X] (__roundf): Likewise.
11999 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12000 functions instead of __round variants.
12001 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12002 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12004 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12006 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12008 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12011 (__ieee754_expl): Call roundl instead of __roundl.
12013 2018-09-27 Andreas Schwab <schwab@suse.de>
12016 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12017 (do_test): Make st1 static.
12019 2018-09-26 Andreas Schwab <schwab@suse.de>
12022 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12023 * elf/Makefile (tests): Add tst-unwind-ctor.
12024 (modules-names): Add tst-unwind-ctor-lib.
12025 ($(objpfx)tst-unwind-ctor): Depend on
12026 $(objpfx)tst-unwind-ctor-lib.so.
12028 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12030 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12031 file. Most contents moved from ....
12032 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12033 and include <bits/mman-map-flags-generic.h>.
12034 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12035 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12036 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12037 <bits/mman-map-flags-generic.h>.
12038 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12039 macros defined in <bits/mman-map-flags-generic.h>.
12040 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12041 <bits/mman-map-flags-generic.h>.
12042 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12043 defined in <bits/mman-map-flags-generic.h>.
12045 2018-09-26 Andreas Schwab <schwab@suse.de>
12047 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12050 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12051 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12052 Fangrui Song <maskray@google.com>
12055 * config.make.in (have-textrel_ifunc): New define.
12056 * configure.ac: Add check if linker supports textrel relocation with
12058 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12060 (CFLAGS-tst-ifunc-textrel.c): New rule.
12061 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12062 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12063 * elf/tst-ifunc-textrel.c: New file.
12065 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12067 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12068 <bits/procfs-prregset.h>.
12069 (prgregset_t): Define using __prgregset_t.
12070 (prfpregset_t): Define using __prfpregset_t.
12071 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12072 (sysdep_headers): Add bits/procfs-prregset.h.
12073 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12074 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12075 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12076 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12078 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12079 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12080 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12082 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12083 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12084 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12085 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12086 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12087 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12088 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12089 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12090 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12091 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12092 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12093 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12094 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12095 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12096 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12097 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12098 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12099 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12100 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12101 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12102 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12103 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12104 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12105 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12107 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12108 AArch64 version. Include <bits/procfs.h>.
12109 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12110 (sysdep_headers): Add bits/procfs.h.
12111 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12112 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12113 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12114 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12115 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12116 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12117 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12118 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12119 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12120 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12121 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12122 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12123 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12124 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12125 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12126 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12127 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12129 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12131 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12134 2018-09-25 Arjun Shankar <arjun@redhat.com>
12136 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12137 (__gconv_max_path_elem_len): Likewise.
12138 (__gconv_nmodules): Likewise.
12139 (__gconv_get_path): Likewise.
12140 (path_elem): Move to ...
12141 * iconv/gconv_conf.c: ... here.
12142 (__gconv_get_path): Mark function static.
12143 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12144 * iconv/gconv_open.c: ... here.
12146 2018-09-24 Andreas Schwab <schwab@suse.de>
12148 * scripts/haveversions.awk: New file.
12149 * Makerules ($(common-objpfx)Versions.def)
12150 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12151 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12153 * Makeconfig ($(common-objpfx)Versions.def)
12154 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12155 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12157 ($(common-objpfx)Versions.mk): New rule. Include it.
12158 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12159 Emit error if build-obsolete-nsl = yes.
12160 * manual/install.texi (Configuring and compiling): Describe
12161 --enable-obsolete-nsl as unavaiable after version 2.28.
12162 * INSTALL: Regenerate.
12164 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12166 * NEWS: Add note about new TLE support on powerpc64le.
12167 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12168 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12170 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12171 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12172 * sysdeps/powerpc/powerpc32/sysdep.h,
12173 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12174 ABORT_TRANSACTION): Remove macros.
12175 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12176 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12177 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12179 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12180 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12182 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12184 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12187 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12188 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12189 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12190 which is the same as in it_IT.
12191 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12192 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12194 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12196 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12197 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12198 using MATH_REDIRECT.
12199 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12201 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12202 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12203 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12204 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12205 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12206 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12211 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12212 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12213 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12214 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12215 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12216 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12217 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12218 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12219 (ceil): Redirect to __ceil.
12220 (floor): Redirect to __floor.
12221 (trunc): Redirect to __trunc.
12222 (__truncl): Call trunc instead of __trunc.
12223 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12225 [_ARCH_PWR5X] (__truncf): Likewise.
12226 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12227 trunc functions instead of __trunc variants.
12228 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12230 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12232 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12234 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12237 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12238 [__i586__ || __pentium__].
12239 [__i486__]: Handle explicitly.
12240 (HAS_CPUID): Define to 1 if above macros are undefined.
12241 (HAS_I586): Likewise.
12242 (HAS_I686): Likewise.
12244 2018-09-20 Florian Weimer <fweimer@redhat.com>
12246 * misc/tst-gethostid.c: New file.
12247 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12248 (tst-gethostid): Link with -ldl.
12250 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12252 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12253 value from gethostbyname_r.
12255 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12257 * stdlib/tst-setcontext9.c (f1): Rename to...
12259 (f1b): New function implementing lower half of f1 in alternate stack.
12261 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12263 Fix mktime localtime offset confusion
12265 * include/time.h (__mktime_internal): The localtime offset is now
12266 of type long int instead of time_t. This is the longstanding type
12267 in glibc, and it is more than enough to represent difference
12268 between localtime and gmtime even if it is 32 bits and time_t is
12269 64. Changing it now will let us avoid an unnecessary change when
12270 time_t is widened to 64 bits on 32-bit platforms.
12271 * time/mktime-internal.h (mktime_offset_t): Now long int.
12273 Merge mktime, timegm from upstream Gnulib
12274 [BZ #23603][BZ #16346]
12275 This fixes some obscure problems with integer overflow.
12276 Although it looks scary, it is almost all a byte-for-byte copy
12277 from Gnulib, and the Gnulib code has been tested reasonably well.
12278 * include/intprops.h: New file, copied from Gnulib.
12279 * include/verify.h, time/mktime-internal.h:
12280 New tiny files, simplified from Gnulib.
12281 * time/mktime.c: Copy from Gnulib. This has the following changes:
12282 Do not include config.h if DEBUG_MKTIME is nonzero.
12283 Include stdbool.h, intprops.h, verify.h.
12284 Include string.h only if needed.
12285 Include stdlib.h on MS-Windows.
12286 Include mktime-internal.h.
12287 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12288 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12289 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12290 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12291 simplify later conditionals; default the others to zero. Use
12292 these conditionals to express only the code needed on the current
12293 platform. In uses of these conditionals, explicitly spell out how
12294 _LIBC affects things, so it’s easier to review from a glibc
12296 (WRAPV): Remove; no longer needed now that we have
12297 systematic overflow checking.
12298 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12299 compartmentalize tzset issues. Move system-dependent tzsettish
12300 code here from mktime.
12301 (verify): Remove; now done by verify.h. All uses changed.
12302 (long_int): Use a more-conservative definition, to avoid
12304 (SHR): Remove, replacing with ...
12305 (shr): New function, which means we needn’t worry about side
12306 effects in args, and conversion analysis is simpler.
12307 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12308 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12309 (time_t_avg, time_t_add_ok): Remove.
12310 (mktime_min, mktime_max): New constants.
12311 (leapyear, isdst_differ): Use bool for booleans.
12312 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12313 Use long_int, not time_t, for mktime differences.
12314 (long_int_avg): New function, replacing time_t_avg.
12315 INT_ADD_WRAPV replaces time_t_add_ok.
12316 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12318 (convert_time): New function.
12319 (ranged_convert): Use it.
12320 (__mktime_internal): Last arg now points to mktime_offset_t, not
12321 time_t. All uses changed. This is a no-op on glibc, where
12322 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12323 offset guess. Directly check for integer overflow instead of
12324 using a heuristic that works only 99.9...% of the time.
12325 Access *OFFSET only once, to avoid an unlikely race if the
12326 compiler delays a load and if this cascades into a signed integer
12328 (mktime): Move tzsettish code to my_tzset, and move
12329 localtime_offset to within mktime so that it doesn’t
12330 need a separate ifdef.
12331 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12332 instead of localtime.
12333 * time/timegm.c: Copy from Gnulib. This has the following changes:
12334 Include mktime-internal.h.
12335 [!_LIBC]: Include config.h and time.h. Do not include
12336 timegm.h or time_r.h. Make __mktime_internal a macro,
12337 and include mktime-internal.h to get its declaration.
12338 (timegm): Temporary is now mktime_offset_t, not time_t.
12339 This affects only Gnulib.
12341 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12344 * string/test-strstr.c (pr23637): New function.
12345 (test_main): Add tests with longer needles.
12346 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12347 * string/strstr.c (AVAILABLE): Likewise.
12349 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12351 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12353 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12355 * NEWS: Mention pow improvements.
12356 * math/Makefile (type-double-routines): Add e_pow_log_data.
12357 * sysdeps/generic/math_private.h (__exp1): Remove.
12358 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12359 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12360 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12362 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12363 (exp_inline): Remove.
12364 (__ieee754_exp): Only single double input is handled.
12365 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12366 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12367 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12368 (__pow_log_data): Define.
12369 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12370 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12371 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12372 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12374 (CFLAGS-e_pow-fma4.c): Likewise.
12376 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12378 Simplify tzfile fstat failure code
12380 * time/tzfile.c (__tzfile_read): Simplify slightly.
12382 Fix tzfile low-memory assertion failure
12384 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12385 when registering time zone abbreviations.
12387 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12389 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12390 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12391 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12392 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12393 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12394 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12395 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12396 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12397 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12399 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12401 (__ceill): Call ceil instead of __ceil.
12402 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12404 (__floorl): Call floor instead of __floor.
12406 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12408 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12409 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12410 using MATH_REDIRECT.
12411 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12413 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12414 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12415 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12416 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12417 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12418 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12419 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12420 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12425 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12426 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12429 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12430 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12431 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12433 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12434 functions instead of __ceil variants.
12435 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12436 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12438 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12440 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12441 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12443 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12444 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12447 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12449 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12450 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12451 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12452 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12453 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12454 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12455 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12456 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12457 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12458 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12459 (ILL_BADIADDR): Remove constant.
12460 (TRAP_BRANCH): Likewise.
12461 (TRAP_HWBKPT): Likewise.
12463 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12466 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12467 Remove [_MIPS_SIM = _ABIN32] conditional case.
12468 (struct elf_prpsinfo): Likewise.
12471 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12472 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12473 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12475 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12476 elf_prpsinfo): Likewise.
12477 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12478 elf_prpsinfo): Likewise.
12479 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12482 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12483 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12484 using MATH_REDIRECT.
12485 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12487 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12488 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12489 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12490 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12491 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12492 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12493 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12494 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12497 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12498 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12499 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12500 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12501 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12502 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12503 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12504 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12505 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12508 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12510 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12511 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12512 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12513 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12515 * math/e_scalbf.c (invalid_fn): Likewise.
12516 * math/e_scalbl.c (invalid_fn): Likewise.
12517 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12519 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12521 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12522 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12523 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12525 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12527 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12529 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12530 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12532 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12533 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12535 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12536 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12537 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12538 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12539 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12540 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12541 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12542 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12543 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12544 && !NO_MATH_REDIRECT] (floor): Likewise.
12545 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12547 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12548 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12549 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12550 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12551 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12552 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12553 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12554 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12559 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12560 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12563 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12564 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12565 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12567 [_ARCH_PWR5X] (__floorf): Likewise.
12568 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12570 [__SSE4_1__] (__floorf): Likewise.
12571 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12572 instead of __floor variants.
12573 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12574 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12575 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12576 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12577 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12578 * math/w_tgamma_compat.c (__tgamma): Likewise.
12579 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12580 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12581 * math/w_tgammal_compat.c (__tgammal): Likewise.
12582 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12585 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12586 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12587 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12588 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12590 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12591 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12593 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12599 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12600 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12601 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12602 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12603 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12604 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12606 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12608 * elf/Makefile (modules-names-tests): New variable.
12610 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12612 * NEWS: Mention log2 improvements.
12613 * math/Makefile (type-double-routines): Add e_log2_data.
12614 * sysdeps/i386/fpu/e_log2_data.c: New file.
12615 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12616 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12617 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12618 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12619 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12620 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12622 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12624 * NEWS: Mention log improvement.
12625 * math/Makefile (type-double-routines): Add e_log_data.
12626 * sysdeps/i386/fpu/e_log_data.c: New file.
12627 * sysdeps/ia64/fpu/e_log_data.c: New file.
12628 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12629 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12630 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12631 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12632 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12633 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12635 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12636 Xuepeng Guo <xuepeng.guo@intel.com>
12639 * sysdeps/i386/start.S: Include <sysdep.h>
12640 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12641 enabled. Add cfi_undefined (eip).
12643 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12645 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12647 (EXTRACT_WORDS64): Likewise.
12648 (INSERT_WORDS64): Likewise.
12649 (GET_FLOAT_WORD): Likewise.
12650 (SET_FLOAT_WORD): Likewise.
12652 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12654 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12655 build, but not for second build if --full-gcc. Use
12656 --enable-languages=all for second build if --full-gcc.
12657 (get_parser): Add --full-gcc option.
12658 (main): Update call to Context.
12660 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12663 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12664 Single Quotation Mark).
12665 (thousands_sep): Likewise.
12666 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12667 * localedata/locales/it_IT (thousands_sep): Use ".".
12668 (grouping): Use "3;3".
12670 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12672 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12673 x86_64 and i686 configs using --enable-obsolete-rpc
12674 --enable-obsolete-nsl.
12676 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12678 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12680 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12682 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12683 Increment size of new_argv by one.
12685 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12688 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12689 * localedata/locales/ar_IN (d_fmt): Likewise.
12690 * localedata/locales/bhb_IN (d_fmt): Likewise.
12691 * localedata/locales/bho_IN (d_fmt): Likewise.
12692 * localedata/locales/bn_BD (d_fmt): Likewise.
12693 * localedata/locales/bn_IN (d_fmt): Likewise.
12694 * localedata/locales/doi_IN (d_fmt): Likewise.
12695 * localedata/locales/gu_IN (d_fmt): Likewise.
12696 * localedata/locales/hi_IN (d_fmt): Likewise.
12697 * localedata/locales/hne_IN (d_fmt): Likewise.
12698 * localedata/locales/kn_IN (d_fmt): Likewise.
12699 * localedata/locales/mag_IN (d_fmt): Likewise.
12700 * localedata/locales/mai_IN (d_fmt): Likewise.
12701 * localedata/locales/mjw_IN (d_fmt): Likewise.
12702 * localedata/locales/ml_IN (d_fmt): Likewise.
12703 * localedata/locales/mni_IN (d_fmt): Likewise.
12704 * localedata/locales/mr_IN (d_fmt): Likewise.
12705 * localedata/locales/pa_IN (d_fmt): Likewise.
12706 * localedata/locales/raj_IN (d_fmt): Likewise.
12707 * localedata/locales/sat_IN (d_fmt): Likewise.
12708 * localedata/locales/sd_IN (d_fmt): Likewise.
12709 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12710 * localedata/locales/ta_IN (d_fmt): Likewise.
12711 * localedata/locales/ta_LK (d_fmt): Likewise.
12712 * localedata/locales/tcy_IN (d_fmt): Likewise.
12713 * localedata/locales/ur_IN (d_fmt): Likewise.
12715 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12716 * localedata/locales/ks_IN (d_fmt): Likewise.
12717 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12719 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12720 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12721 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12722 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12724 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12726 * NEWS: Mention exp and exp2 improvements.
12727 * math/Makefile (libm-support): Remove t_exp.
12728 (type-double-routines): Add math_err and e_exp_data.
12729 * sysdeps/aarch64/libm-test-ulps: Update.
12730 * sysdeps/arm/libm-test-ulps: Update.
12731 * sysdeps/i386/fpu/e_exp_data.c: New file.
12732 * sysdeps/i386/fpu/math_err.c: New file.
12733 * sysdeps/i386/fpu/t_exp.c: Remove.
12734 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12735 * sysdeps/ia64/fpu/math_err.c: New file.
12736 * sysdeps/ia64/fpu/t_exp.c: Remove.
12737 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12738 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12739 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12741 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12742 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12743 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12744 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12745 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12746 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12747 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12748 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12749 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12750 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12754 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12756 * sysdeps/alpha/fpu/math_private.h: Remove.
12758 * sysdeps/generic/math_private.h
12759 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12760 Move this inline function ....
12761 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12762 * include/math.h [!_ISOMAC]: To here....
12764 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12766 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12768 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12769 * include/fenv.h [!_ISOMAC]: ... to here.
12770 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12771 (feraiseexcept): Likewise.
12772 * math/fromfp.h: Do not include <fenv_private.h>.
12773 * math/s_cexp_template.c: Likewise.
12774 * math/s_csin_template.c: Likewise.
12775 * math/s_csinh_template.c: Likewise.
12776 * math/s_ctan_template.c: Likewise.
12777 * math/s_ctanh_template.c: Likewise.
12778 * math/s_iseqsig_template.c: Likewise.
12779 * math/w_acos_compat.c: Likewise.
12780 * math/w_acosf_compat.c: Likewise.
12781 * math/w_acosl_compat.c: Likewise.
12782 * math/w_asin_compat.c: Likewise.
12783 * math/w_asinf_compat.c: Likewise.
12784 * math/w_asinl_compat.c: Likewise.
12785 * math/w_j0_compat.c: Likewise.
12786 * math/w_j0f_compat.c: Likewise.
12787 * math/w_j0l_compat.c: Likewise.
12788 * math/w_j1_compat.c: Likewise.
12789 * math/w_j1f_compat.c: Likewise.
12790 * math/w_j1l_compat.c: Likewise.
12791 * math/w_jn_compat.c: Likewise.
12792 * math/w_jnf_compat.c: Likewise.
12793 * math/w_log10_compat.c: Likewise.
12794 * math/w_log10f_compat.c: Likewise.
12795 * math/w_log10l_compat.c: Likewise.
12796 * math/w_log2_compat.c: Likewise.
12797 * math/w_log2f_compat.c: Likewise.
12798 * math/w_log2l_compat.c: Likewise.
12799 * math/w_log_compat.c: Likewise.
12800 * math/w_logf_compat.c: Likewise.
12801 * math/w_logl_compat.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12807 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12808 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12809 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12810 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12811 * sysdeps/ieee754/k_standardl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12824 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12825 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12829 * math/w_ilogb_template.c: Include <fenv.h> instead of
12831 * math/w_llogb_template.c: Likewise.
12832 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12833 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12835 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12837 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12838 * math/fromfp.h: Include <fenv_private.h>.
12839 * math/math-narrow.h: Likewise.
12840 * math/s_cexp_template.c: Likewise.
12841 * math/s_csin_template.c: Likewise.
12842 * math/s_csinh_template.c: Likewise.
12843 * math/s_ctan_template.c: Likewise.
12844 * math/s_ctanh_template.c: Likewise.
12845 * math/s_iseqsig_template.c: Likewise.
12846 * math/w_acos_compat.c: Likewise.
12847 * math/w_acosf_compat.c: Likewise.
12848 * math/w_acosl_compat.c: Likewise.
12849 * math/w_asin_compat.c: Likewise.
12850 * math/w_asinf_compat.c: Likewise.
12851 * math/w_asinl_compat.c: Likewise.
12852 * math/w_ilogb_template.c: Likewise.
12853 * math/w_j0_compat.c: Likewise.
12854 * math/w_j0f_compat.c: Likewise.
12855 * math/w_j0l_compat.c: Likewise.
12856 * math/w_j1_compat.c: Likewise.
12857 * math/w_j1f_compat.c: Likewise.
12858 * math/w_j1l_compat.c: Likewise.
12859 * math/w_jn_compat.c: Likewise.
12860 * math/w_jnf_compat.c: Likewise.
12861 * math/w_llogb_template.c: Likewise.
12862 * math/w_log10_compat.c: Likewise.
12863 * math/w_log10f_compat.c: Likewise.
12864 * math/w_log10l_compat.c: Likewise.
12865 * math/w_log2_compat.c: Likewise.
12866 * math/w_log2f_compat.c: Likewise.
12867 * math/w_log2l_compat.c: Likewise.
12868 * math/w_log_compat.c: Likewise.
12869 * math/w_logf_compat.c: Likewise.
12870 * math/w_logl_compat.c: Likewise.
12871 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12872 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12873 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12874 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12894 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12895 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12896 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12897 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12898 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12899 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12900 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12901 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12902 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12903 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12904 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12905 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12906 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12907 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12908 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12909 * sysdeps/ieee754/k_standardl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12925 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12927 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12928 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12929 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12930 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12932 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12933 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12934 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12935 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12936 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12939 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12940 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12941 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12946 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12947 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12948 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12949 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12950 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12951 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12952 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12953 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12954 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12955 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12956 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12957 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12958 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12959 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12960 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12961 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12962 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12963 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12964 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12965 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12966 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12967 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12968 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12969 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12970 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12971 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
12972 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
12973 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
12974 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
12975 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
12976 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
12977 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
12978 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
12979 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12980 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12982 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12985 * include/stdio.h (__libc_fatal): Mention newline in comment.
12986 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
12987 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
12988 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12989 * nss/nsswitch.c (__nss_next2): Likewise.
12990 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
12991 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
12992 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
12993 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12994 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
12995 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
12996 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
12997 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
12998 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
12999 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13000 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13001 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13002 (__netlink_assert_response): Likewise.
13004 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13006 * conform/glibcconform.py: New file.
13007 * conform/list-header-symbols.py: Likewise.
13008 * conform/list-header-symbols.pl: Remove.
13009 * conform/Makefile (tests-special): Only add linknamespace tests
13011 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13013 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13016 * support/Makefile (libsupport-routines): Add
13017 support_copy_file_range and xcopy_file_range.
13018 * support/support.h: Include <sys/types.h>.
13019 (support_copy_file_range): New prototype.
13020 * support/support_copy_file_range.c: New file. Copied and
13021 modified from io/copy_file_range-compat.c.
13022 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13023 instead of copy_file_range.
13024 * support/xcopy_file_range.c: New file.
13025 * support/xunistd.h (xcopy_file_range): New prototype.
13027 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13029 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13030 xpthread_create and xpthread_join.
13032 2018-08-30 Florian Weimer <fweimer@redhat.com>
13034 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13036 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13038 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13041 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13043 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13044 and minus_oflow as non-finite.
13046 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13048 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13049 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13050 moved to fenv_private.h except for ...
13051 (TOINT_INTRINSICS): Kept in math_private.h.
13052 (roundtoint): Likewise.
13053 (converttoint): Likewise.
13054 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13055 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13056 * sysdeps/arm/math_private.h: Remove.
13057 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13059 * sysdeps/generic/math_private.h: ... this file. Include
13060 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13061 Include <fenv_private.h>. Remove functions and macros moved to
13063 * sysdeps/i386/fpu/math_private.h: Remove.
13064 * sysdeps/mips/math_private.h: Move to ....
13065 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13066 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13067 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13068 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13069 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13070 * sysdeps/powerpc/fpu/math_private.h: Do not include
13072 * sysdeps/riscv/rvf/math_private.h: Move to ....
13073 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13074 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13076 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13077 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13078 * sysdeps/sparc/fpu/math_private.h: Remove.
13079 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13080 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13081 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13083 * sysdeps/x86_64/fpu/math_private.h: Do not include
13084 <sysdeps/i386/fpu/fenv_private.h>.
13086 2018-08-28 Florian Weimer <fweimer@redhat.com>
13089 * posix/tst-regcomp-truncated.c: New file.
13090 * posix/Makefile (tests): Add it.
13091 (tst-regcomp-truncated.out): Depend on generated locales.
13093 2018-08-28 Florian Weimer <fweimer@redhat.com>
13095 * support/test-container.c (main): Treat unshare failure with
13096 EPERM as an unsupported test.
13098 2018-08-28 Florian Weimer <fweimer@redhat.com>
13101 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13102 * nscd/netgroupcache.c
13103 (addgetnetgrentX): Add tofreep parameter. Do not free
13104 heap-allocated buffer.
13105 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13106 (addgetnetgrentX_ignore): New function.
13107 (addgetnetgrent): Call it.
13108 (readdgetnetgrent): Likewise.
13110 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13112 * string/memmem.c: Use memcmp for first match.
13114 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13117 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13119 2018-08-27 DJ Delorie <dj@redhat.com>
13121 * support/Makefile (others): Don't list programs explicitly as a
13122 dependency of "others".
13124 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13126 * sysdeps/generic/math-tests-trap-force.h: New file.
13127 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13128 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13129 * sysdeps/powerpc/math-tests.h: Remove file.
13130 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13132 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13133 Torvald Riegel <triegel@redhat.com>
13136 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13137 Update r to include the set wake-request flag if waiters are
13138 remaining after spinning.
13140 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13142 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13144 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13147 regex: fix uninitialized memory access
13148 I introduced this bug into gnulib in commit
13149 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13150 eventually it was merged into glibc. The bug was found by
13151 project-repo <bugs@feusi.co> and reported here:
13152 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13153 Diagnosis and draft fix reported by Assaf Gordon here:
13154 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13155 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13156 * posix/regex_internal.c (build_wcs_upper_buffer):
13157 Fix bug when mbrtowc returns 0.
13159 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13161 * po/be.po: Update translation.
13163 2018-08-24 DJ Delorie <dj@delorie.com>
13165 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13168 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13171 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13172 create temporary files in source tree.
13174 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13176 * sysdeps/generic/math-tests-trap.h: New file.
13177 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13178 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13179 * sysdeps/aarch64/math-tests.h: Remove file.
13180 * sysdeps/arm/math-tests.h: Likewise.
13181 * sysdeps/riscv/math-tests.h: Likewise.
13182 * sysdeps/aarch64/math-tests-trap.h: New file.
13183 * sysdeps/arm/math-tests-trap.h: Likewise.
13184 * sysdeps/riscv/math-tests-trap.h: Likewise.
13186 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13188 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13189 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13190 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13191 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13192 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13193 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13197 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13198 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13200 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13201 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13202 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13203 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13204 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13205 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13207 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13209 * sysdeps/generic/math-tests-exceptions.h: New file.
13210 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13211 (EXCEPTION_TESTS_float): Do not define here.
13212 (EXCEPTION_TESTS_double): Likewise.
13213 (EXCEPTION_TESTS_long_double): Likewise.
13214 (EXCEPTION_TESTS_float128): Likewise.
13215 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13217 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13218 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13219 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13220 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13221 * sysdeps/mips/math-tests.h: Likewise.
13222 * sysdeps/nios2/math-tests.h: Likewise.
13223 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13224 (EXCEPTION_TESTS_float): Do not define here.
13225 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13226 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13227 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13229 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13231 * NEWS: Move optimized sinf entry to 2.29.
13233 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13235 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13237 2018-08-22 DJ Delorie <dj@redhat.com>
13239 * Makefile (testroot.pristine): New rules to initialize the
13240 test-in-container "testroot".
13241 * Makerules (all-testsuite): Add tests-container.
13242 * Rules (tests-expected): Add tests-container.
13243 (binaries-all-tests): Likewise.
13244 (tests-container): New, run these tests in the testroot container.
13245 * support/Makefile (others): Add *-container, support_paths.c,
13246 xmkdirp, and links-dso-program.
13247 * support/links-dso-program-c.c: New.
13248 * support/links-dso-program.cc: New.
13249 * support/test-container.c: New.
13250 * support/shell-container.c: New.
13251 * support/echo-container.c: New.
13252 * support/true-container.c: New.
13253 * support/xmkdirp.c: New.
13254 * support/xsymlink.c: New.
13255 * support/support_paths.c: New.
13256 * support/support.h: Add support paths prototypes.
13257 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13259 * nss/tst-nss-test3.c: Convert to test-in-container.
13260 * nss/tst-nss-test3.root/: New.
13262 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13264 regex: port Gnulib code to z/OS POSIX environment
13265 Problem reported by Arnold Robbins in:
13266 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13267 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13270 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13272 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13273 (ROUNDING_TESTS_double): Remove.
13274 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13275 (ROUNDING_TESTS_double): Remove.
13276 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13277 (ROUNDING_TESTS_double): Remove.
13278 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13279 (ROUNDING_TESTS_float): Remove.
13280 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13281 (ROUNDING_TESTS_float): Remove.
13282 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13283 (ROUNDING_TESTS_float): Remove.
13284 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13285 !TEST_MATHVEC here.
13286 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13287 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13289 * sysdeps/generic/math-tests-rounding.h: New file.
13290 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13291 (ROUNDING_TESTS_float): Do not define here.
13292 (ROUNDING_TESTS_double): Likewise.
13293 (ROUNDING_TESTS_long_double): Likewise.
13294 (ROUNDING_TESTS_float128): Likewise.
13295 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13296 (ROUNDING_TESTS_double): Undefine before defining.
13297 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13298 (ROUNDING_TESTS_double): Undefine before defining.
13299 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13300 (ROUNDING_TESTS_double): Undefine before defining.
13301 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13302 (ROUNDING_TESTS_float): Undefine before defining.
13303 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13304 (ROUNDING_TESTS_float): Undefine before defining.
13305 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13306 (ROUNDING_TESTS_float): Undefine before defining.
13307 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13308 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13310 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13311 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13312 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13313 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13314 (ROUNDING_TESTS_float): Do not define here.
13315 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13316 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13317 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13318 (ROUNDING_TESTS_float): Likewise.
13319 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13320 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13321 * sysdeps/mips/math-tests.h [__mips_soft_float]
13322 (ROUNDING_TESTS_float): Likewise.
13323 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13324 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13325 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13326 (ROUNDING_TESTS_double): Likewise.
13327 (ROUNDING_TESTS_long_double): Likewise.
13329 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13331 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13332 (PF_XDP): New macro.
13333 (AF_XDP): New macro.
13334 (SOL_XDP): New macro.
13336 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13338 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13339 (TCP_INQ): Likewise.
13340 (TCP_CM_INQ): Likewise.
13341 (TCP_REPAIR_ON): Likewise.
13342 (TCP_REPAIR_OFF): Likewise.
13343 (TCP_REPAIR_OFF_NO_WP): Likewise.
13344 (struct tcp_zerocopy_receive): New type.
13346 2018-08-21 Florian Weimer <fweimer@redhat.com>
13348 * support/support.h (support_descriptor_supports_holes): Declare.
13349 * support/Makefile (libsupport-routines): Add
13350 support_descriptor_supports_holes.
13351 * support/support_descriptor_supports_holes.c: New file.
13352 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13353 and stop testing if holes are not supported.
13354 * io/test-lfs.c (do_prepare): Likewise.
13355 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13357 * timezone/tst-tzset.c (create_tz_file): Likewise.
13358 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13360 (do_prepare): Set it.
13361 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13363 2018-08-21 Florian Weimer <fweimer@redhat.com>
13366 * Makeconfig (+cflags): Do not sort (and deduplicate).
13368 2018-08-21 Florian Weimer <fweimer@redhat.com>
13370 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13371 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13373 2018-08-20 Florian Weimer <fweimer@redhat.com>
13375 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13376 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13378 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13380 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13381 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13382 and ssi_arch members.
13384 * elf/elf.c (NT_VMCOREDD): New macro.
13385 (AT_MINSIGSTKSZ): Likewise.
13387 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13389 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13390 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13391 s_cosf-ppc64 and s_cosf-power8.
13392 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13393 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13394 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13395 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13402 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13403 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13405 2018-08-17 Florian Weimer <fweimer@redhat.com>
13407 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13409 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13411 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13413 2018-08-16 Florian Weimer <fweimer@redhat.com>
13415 * configure.ac: Add --with-nonshared-cflags option.
13416 * config.make.in (extra-nonshared-cflags): Set variable.
13417 * Makeconfig (CFLAGS-.oS): Use it.
13418 * manual/install.texi (Configuring and compiling): Document
13419 --with-nonshared-cflags.
13420 * configure: Regenerate.
13421 * INSTALL: Likewise.
13423 2018-08-16 Florian Weimer <fweimer@redhat.com>
13425 * Makeconfig (ASFLAGS): Always append required assembler flags.
13427 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13429 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13430 (malloc_consolidate): Likewise.
13432 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13434 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13436 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13438 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13441 * benchtests/bench-strlen.c: Print performance numbers in json.
13443 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13445 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13446 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13447 only for little endian.
13448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13449 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13450 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13451 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13452 Add check for little endian.
13453 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13454 (__strcmp_power9): Add check for little endian.
13455 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13456 Add check for little endian.
13457 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13458 (__strncmp_power9): Add check for little endian.
13459 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13460 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13461 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13462 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13463 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13465 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13467 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13468 [!STRLEN](STRLEN): Set to __strlen.
13469 * sysdeps/aarch64/multiarch/strlen.c: New file.
13470 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13471 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13472 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13473 (__libc_ifunc_impl_list): Add strlen.
13474 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13475 strlen_generic and strlen_asimd.
13477 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13479 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13480 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13481 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13483 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13485 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13487 2018-08-14 Florian Weimer <fweimer@redhat.com>
13490 * include/stdio.h (__vfxprintf): Declare.
13491 * stdio-common/fxprintf.c (__vfxprintf): New function.
13492 (__fxprintf): Call it.
13493 * misc/err.c (convert_and_print): Remove function.
13494 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13495 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13496 * misc/Makefile (tests): Add tst-warn-wide.
13497 * misc/tst-warn-wide.c: New file.
13499 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13500 Szabolcs Nagy <szabolcs.nagy@arm.com>
13502 * NEWS: Mention sinf, cosf, sincosf.
13503 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13504 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13505 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13506 constants rather than including generic sincosf.h.
13507 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13508 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13509 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13510 (reduced_cos): Remove.
13511 (sinf_poly): New function.
13512 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13514 2018-08-14 Florian Weimer <fweimer@redhat.com>
13518 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13519 processing, bail out if no room, and close the stream before
13521 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13522 (tst-nss-files-alias-leak): Link with libdl.
13523 (tst-nss-files-alias-leak.out): Depend on nss_files.
13525 * nss/tst-nss-files-alias-leak.c: New file.
13527 2018-08-14 Florian Weimer <fweimer@redhat.com>
13529 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13530 server_user, stat_user.
13532 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13534 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13536 (io_pgetevents): New syscall.
13539 * manual/install.texi (Configuring and compiling): Do not list
13540 tools used for testing pretty printers here.
13541 (Tools for Compilation): List Python, PExpect and GDB here.
13542 Update descriptions of uses of Perl and Python.
13543 * INSTALL: Regenerate.
13545 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13548 2018-08-13 Florian Weimer <fweimer@redhat.com>
13550 * misc/error.c (error): Add missing va_end call.
13551 (error_at_line): Likewise.
13553 2018-08-13 Florian Weimer <fweimer@redhat.com>
13555 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13557 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13559 * benchtests/scripts/benchout.schema.json (properties): Add
13562 * benchtests/bench-skeleton.c (main): Add duration and
13563 iterations attributes.
13565 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13567 regex: Gnulib unibyte RRI uses bytes not chars
13568 Adjust the non-glibc code to agree with what Gawk needs for
13569 rational range interpretation (RRI) for regular expression ranges.
13570 In unibyte locales, Gawk wants ranges to use the underlying byte
13571 rather than the character code point. This change does not affect
13573 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13574 In unibyte locales, use the byte value rather than
13575 running it through btowc.
13577 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13579 * sysdeps/generic/math-tests-snan.h: New file.
13580 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13581 (SNAN_TESTS_float): Do not define here.
13582 (SNAN_TESTS_double): Likewise.
13583 (SNAN_TESTS_long_double): Likewise.
13584 (SNAN_TESTS_float128): Likewise.
13585 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13586 * sysdeps/i386/fpu/math-tests.h: Remove file.
13587 * sysdeps/ia64/math-tests-snan.h: New file.
13588 * sysdeps/ia64/math-tests.h: Remove file.
13589 * sysdeps/x86/math-tests.h: Likewise.
13590 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13592 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13593 Szabolcs Nagy <szabolcs.nagy@arm.com>
13595 * math/Makefile: Add s_sincosf_data.c.
13596 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13597 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13598 (sincosf_poly): Likewise.
13599 (reduce_small): Likewise.
13600 (reduce_large): Likewise.
13601 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13602 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13603 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13604 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13606 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13607 Szabolcs Nagy <szabolcs.nagy@arm.com>
13609 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13610 (converttoint): Use lround.
13611 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13612 document the semantics when TOINT_INTRINSICS is set.
13613 (converttoint): Likewise.
13614 (TOINT_RINT): Remove.
13615 (TOINT_SHIFT): Remove.
13616 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13619 2018-08-10 Florian Weimer <fweimer@redhat.com>
13622 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13624 (__old_getdents64): Use getdents64. Convert entries without
13626 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13627 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13628 tst-readdir64-compat.
13630 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13632 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13635 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13637 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13638 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13639 code to s390x-mcount.h and #include it.
13640 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13641 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13644 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13646 * stdlib/Versions: Remove __fentry__.
13647 * sysdeps/i386/Versions: Add __fentry__.
13648 * sysdeps/x86_64/Versions: Add __fentry__.
13650 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13652 * sysdeps/s390/Makefile: Register the new tests.
13653 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13654 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13655 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13656 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13657 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13658 * sysdeps/s390/tst-dl-runtime.c: New file.
13660 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13662 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13665 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13667 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13670 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13672 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13675 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13677 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13680 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13682 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13683 Use symbolic offsets for stack variables.
13685 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13687 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13688 Use symbolic offsets for stack variables.
13690 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13692 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13693 Use symbolic offsets for stack variables.
13695 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13697 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13698 Use symbolic offsets for stack variables.
13700 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13702 * math/gen-libm-test.py: New file.
13703 * math/gen-libm-test.pl: Remove.
13704 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13705 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13707 ($(libm-test-c-noauto-obj)): Likewise.
13708 ($(libm-test-c-auto-obj)): Likewise.
13709 ($(libm-test-c-narrow-obj)): Likewise.
13710 (regen-ulps): Likewise.
13711 * math/README.libm-test: Update references to gen-libm-test.pl.
13712 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13713 referencing gen-libm-test.pl.
13714 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13715 * math/libm-test-support.c: Likewise.
13716 * math/libm-test-support.h: Likewise.
13717 * sysdeps/generic/libm-test-ulps: Likewise.
13719 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13721 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13724 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13726 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13727 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13729 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13731 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13733 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13734 __pthread_setspecific): Add hidden proto.
13735 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13736 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13738 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13740 * benchtests/bench-string.h (buf1_size, buf2_size): New
13742 (init_sizes): New function.
13743 (test_init): Use it.
13744 (alloc_buf, exit_error): New functions.
13745 (alloc_bufs): Use ALLOC_BUF.
13746 (realloc_bufs): Remove.
13747 * benchtests/bench-memcmp.c (do_test): Adjust.
13748 * benchtests/bench-memset-large.c (do_test): Likewise.
13749 * benchtests/bench-memset-walk.c (do_test): Likewise.
13750 * benchtests/bench-memset.c (do_test): Likewise.
13751 * benchtests/bench-strncmp.c (do_test): Likewise.
13753 2018-08-06 Andreas Schwab <schwab@suse.de>
13755 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13756 of CONST_THREAD_AREA.
13758 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13760 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13761 (STATE_SAVE_MASK): Likewise.
13762 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13763 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13764 (STATE_SAVE_MASK): Likewise.
13765 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13766 instead of <cpu-features.h>.
13768 2018-08-03 DJ Delorie <dj@redhat.com>
13770 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13771 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13773 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13775 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13777 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13778 after TEST_* calls.
13779 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13780 * math/libm-test-logb.inc (logb_test_data): Likewise.
13782 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13784 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13785 * string/strstr.c (AVAILABLE): Likewise.
13787 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13789 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13791 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13792 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13793 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13795 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13797 * po/be.po: Update translation.
13799 * po/be.po: Update translation.
13801 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13803 * sysdeps/x86/cpu-features-offsets.sym
13804 (rtld_global_ro_offsetof): Removed.
13805 (CPU_FEATURES_SIZE): Likewise.
13806 (CPUID_OFFSET): Likewise.
13807 (CPUID_SIZE): Likewise.
13808 (CPUID_EAX_OFFSET): Likewise.
13809 (CPUID_EBX_OFFSET): Likewise.
13810 (CPUID_ECX_OFFSET): Likewise.
13811 (CPUID_EDX_OFFSET): Likewise.
13812 (FAMILY_OFFSET): Likewise.
13813 (MODEL_OFFSET): Likewise.
13814 (FEATURE_OFFSET): Likewise.
13815 (FEATURE_SIZ): Likewise.
13816 (COMMON_CPUID_INDEX_1): Likewise.
13817 (COMMON_CPUID_INDEX_7): Likewise.
13818 (FEATURE_INDEX_1): Likewise.
13819 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13821 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13823 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13824 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13825 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13826 (install-locales): Depend on install-locale-archive.
13827 (install-locale-archive): Define.
13828 (install-locale-files): Define.
13829 (build-one-locale): Define macro.
13830 * manual/install.texi (Running make install): Document.
13831 * manual/INSTALL: Regenerate.
13833 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13835 * benchtests/scripts/compare_strings.py: Import traceback.
13836 (parse_file): Pretty-print error.
13838 * NEWS: Mention the change.
13839 * elf/dl-tunables.list: Rename tune namespace to cpu.
13840 * sysdeps/powerpc/dl-tunables.list: Likewise.
13841 * sysdeps/x86/dl-tunables.list: Likewise.
13842 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13844 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13845 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13846 * manual/README.tunables: Likewise.
13847 * manual/tunables.texi: Likewise.
13848 * sysdeps/powerpc/cpu-features.c: Likewise.
13849 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13850 (init_cpu_features): Likewise.
13851 * sysdeps/x86/cpu-features.c: Likewise.
13852 * sysdeps/x86/cpu-features.h: Likewise.
13853 * sysdeps/x86/cpu-tunables.c: Likewise.
13854 * sysdeps/x86_64/Makefile: Likewise.
13855 * sysdeps/x86/dl-cet.c: Likewise.
13857 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13860 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13861 [__mips_hard_float].
13862 (FE_UNDERFLOW): Likewise.
13863 (FE_OVERFLOW): Likewise.
13864 (FE_DIVBYZERO): Likewise.
13865 (FE_INVALID): Likewise.
13866 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13867 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13868 (FE_UPWARD): Likewise.
13869 (FE_DOWNWARD): Likewise.
13870 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13871 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13872 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13873 [__mips_hard_float].
13874 (FP_ROUNDMODE): Likewise.
13875 (FP_RND_NEAREST): Likewise.
13876 (FP_RND_ZERO): Likewise.
13877 (FP_RND_PINF): Likewise.
13878 (FP_RND_MINF): Likewise.
13879 (FP_EX_INVALID): Likewise.
13880 (FP_EX_OVERFLOW): Likewise.
13881 (FP_EX_UNDERFLOW): Likewise.
13882 (FP_EX_DIVZERO): Likewise.
13883 (FP_EX_INEXACT): Likewise.
13884 (FP_INIT_ROUNDMODE): Likewise.
13885 * sysdeps/mips/nofpu/fesetenv.c: New file.
13886 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13888 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13890 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13891 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13892 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13893 conditional on [FE_UPWARD].
13895 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13897 regex: fix memory leak in Gnulib
13898 Problem and fix reported by Assaf Gordon in:
13899 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13900 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13901 range_ends members too, as they are defined in 'struct
13902 re_charset_t' even if not _LIBC. This affects only Gnulib.
13904 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13906 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13908 (get_common_indices): This.
13909 (init_cpu_features): Updated.
13911 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13913 * sysdeps/generic/math-tests-snan-payload.h: New file.
13914 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13915 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13916 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13917 * sysdeps/generic/math-tests.h: Include
13918 <math-tests-snan-payload.h>.
13919 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13920 * sysdeps/hppa/math-tests.h: Remove file.
13921 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13922 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13923 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13926 * sysdeps/generic/math-tests-snan-cast.h: New file.
13927 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13928 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13929 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13930 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13932 2018-08-01 Carlos O'Donell <carlos@redhat.com>
13934 * version.h (RELEASE): Set to "development".
13935 (VERSION): Set to "2.28.9000".
13936 * NEWS (2.29): New section.
13938 * version.h (RELEASE): Set to "stable".
13939 (VERSION): Set to "2.28".
13940 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13941 * NEWS: Add the list of bugs fixed in 2.28.
13943 * po/ca.po: Update to latest version.
13944 * po/cs.po: Likewise
13945 * po/da.po: Likewise
13946 * po/el.po: Likewise
13947 * po/eo.po: Likewise
13948 * po/es.po: Likewise
13949 * po/fi.po: Likewise
13950 * po/fr.po: Likewise
13951 * po/gl.po: Likewise
13952 * po/hu.po: Likewise
13953 * po/ia.po: Likewise
13954 * po/id.po: Likewise
13955 * po/it.po: Likewise
13956 * po/ja.po: Likewise
13957 * po/ko.po: Likewise
13958 * po/lt.po: Likewise
13959 * po/nb.po: Likewise
13960 * po/nl.po: Likewise
13961 * po/pt_BR.po: Likewise
13962 * po/ru.po: Likewise
13963 * po/rw.po: Likewise
13964 * po/sk.po: Likewise
13965 * po/sl.po: Likewise
13966 * po/tr.po: Likewise
13967 * po/zh_CN.po: Likewise
13968 * po/zh_TW.po: Likewise
13970 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13972 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
13974 (init): ... before initializing libpthread.
13976 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
13977 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
13978 (__mach_setup_tls): ... new function.
13979 (mach_setup_tls): New alias.
13980 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
13981 __mach_setup_thread.
13982 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
13983 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
13984 * mach/Versions [libc] (mach_setup_tls): Add symbol.
13985 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
13987 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13989 * manual/install.texi: Update versions.
13990 * INSTALL: Regenerate.
13992 * manual/contrib.texi (Contributors): Update contributions.
13994 2018-07-31 Carlos O'Donell <carlos@redhat.com>
13996 * po/be.po: Update translations.
13998 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14000 * sysdeps/sh/libm-test-ulps: Update.
14002 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14004 * po/bg.po: Update translations.
14005 * po/de.po: Likewise.
14006 * po/hr.po: Likewise.
14007 * po/pt_BR.po: Likewise.
14008 * po/sv.po: Likewise.
14009 * po/vi.po: Likewise.
14011 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14014 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14015 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14016 (CFLAGS-tst-cet-property-1.o): New.
14017 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14018 ($(objpfx)tst-cet-property-2): Likewise.
14019 ($(objpfx)tst-cet-property-2.out): Likewise.
14020 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14021 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14022 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14023 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14024 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14026 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14029 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14031 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14033 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14034 __sbrk): Do not set attribute_hidden.
14035 * sysdeps/mach/hurd/not-errno.h: New file.
14036 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14037 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14039 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14041 * po/uk.po: Update translations.
14042 * po/cs.po: Likewise.
14043 * po/pl.po: Likewise.
14045 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14047 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14048 parse beyond the note end.
14050 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14052 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14053 kernel does not support OFD locks.
14054 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14056 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14058 * sysdeps/mach/hurd/Versions (libc): Make __access and
14059 __access_noerrno external so they can override the ld symbols.
14060 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14061 __writev, __open64, __access_noerrno extern so they can be overrided.
14062 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14063 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14065 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14067 * po/libc.pot: Regenerate.
14069 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14071 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14073 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14076 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14078 (init_cpu_features): Call get_extended_indices for both Intel
14080 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14081 Remove "for AMD" comment.
14083 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14086 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14087 COMMON_CPUID_INDEX_80000001.
14089 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14091 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14092 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14094 2018-07-26 Florian Weimer <fweimer@redhat.com>
14096 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14097 aliases for symbols not in the implementation namespace.
14099 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14102 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14103 lowercase in LATIN script.
14104 * localedata/Makefile (test-input): Add en_US.UTF-8.
14105 * localedata/en_US.UTF-8.in: New file.
14106 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14107 and restore old tests.
14108 * posix/tst-regexloc.c (do_test): Add back range expression test.
14110 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14112 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14114 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14116 * nptl/threads.h: Move to ...
14117 * sysdeps/nptl/threads.h: ... here.
14118 * sysdeps/hurd/stdc-predef.h: New file.
14120 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14122 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14123 tst-cet-setcontext-1 if CET is enabled.
14124 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14125 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14127 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14129 * include/threads.h: Move to ...
14130 * sysdeps/nptl/threads.h: ... here.
14131 * sysdeps/htl/threads.h: New file.
14132 * conform/Makefile (linknamespace-libs-ISO11): Use
14133 static-thread-library instead of linking libpthread.
14134 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14136 2018-07-25 Florian Weimer <fweimer@redhat.com>
14138 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14139 nanoseconds into seconds.
14140 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14141 (do_test): Likewise.
14142 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14143 (do_test): Likewise. Avoid nanosecond overflow and spurious
14144 timeouts due to system load.
14145 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14146 (child_wait): Increment it.
14147 (do_test): Wait as long as necessary until all expected threads
14150 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14151 H.J. Lu <hongjiu.lu@intel.com>
14153 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14155 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14156 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14157 (__push___start_context): New.
14158 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14160 (__getcontext): Record the current shadow stack base. Save the
14161 caller's shadow stack pointer and base.
14162 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14163 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14164 (__push___start_context): New prototype.
14165 (__makecontext): Call __push___start_context to allocate a new
14166 shadow stack, push __start_context onto the new stack as well
14167 as the new shadow stack.
14168 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14170 (__setcontext): Restore the target shadow stack.
14171 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14173 (__swapcontext): Record the current shadow stack base. Save
14174 the caller's shadow stack pointer and base. Restore the target
14176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14177 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14178 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14180 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14182 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14183 tst-setcontext8 and tst-setcontext9.
14184 * stdlib/tst-setcontext6.c: New file.
14185 * stdlib/tst-setcontext7.c: Likewise.
14186 * stdlib/tst-setcontext8.c: Likewise.
14187 * stdlib/tst-setcontext9.c: Likewise.
14189 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14191 * stdlib/Makefile ((tests): Add tst-setcontext5.
14192 * stdlib/tst-setcontext5.c: New file.
14194 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14196 * stdlib/Makefile (tests): Add tst-setcontext4.
14197 * stdlib/tst-setcontext4.c: New file.
14199 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14201 * stdlib/Makefile (tests): Add tst-swapcontext1.
14202 * stdlib/tst-swapcontext1.c: New test.
14204 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14206 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14207 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14208 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14209 and tst-cet-legacy-4c.
14210 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14211 and tst-cet-legacy-mod-4.
14212 (CFLAGS-tst-cet-legacy-2.c): New.
14213 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14214 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14215 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14216 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14217 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14218 ($(objpfx)tst-cet-legacy-1): Likewise.
14219 ($(objpfx)tst-cet-legacy-2): Likewise.
14220 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14221 ($(objpfx)tst-cet-legacy-2a): Likewise.
14222 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14223 ($(objpfx)tst-cet-legacy-4): Likewise.
14224 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14225 ($(objpfx)tst-cet-legacy-4a): Likewise.
14226 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14227 (tst-cet-legacy-4a-ENV): Likewise.
14228 ($(objpfx)tst-cet-legacy-4b): Likewise.
14229 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14230 (tst-cet-legacy-4b-ENV): Likewise.
14231 ($(objpfx)tst-cet-legacy-4c): Likewise.
14232 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14233 (tst-cet-legacy-4c-ENV): Likewise.
14234 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14235 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14236 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14237 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14238 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14239 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14240 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14241 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14242 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14243 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14244 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14246 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14248 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14249 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14251 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14252 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14255 2018-07-25 Andreas Schwab <schwab@suse.de>
14258 * locale/weightwc.h (findidx): Handle the case where usrc is a
14259 prefix of cp but one character too short.
14261 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14263 * NEWS: Add ISO C threads addition.
14265 2018-07-24 Florian Weimer <fweimer@redhat.com>
14267 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14268 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14269 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14272 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14274 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14275 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14276 <sys/prctl.h> and <asm/prctl.h>.
14277 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14278 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14280 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14281 ARCH_CET_LEGACY_BITMAP.
14282 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14283 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14284 * sysdeps/x86/libc-start.c: Include <startup.h>.
14286 2018-07-24 Florian Weimer <fweimer@redhat.com>
14288 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14289 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14291 2018-07-24 Rical Jasan <rj@2c3t.io>
14292 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14293 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14296 * manual/debug.texi: Update adjacent chapter name.
14297 * manual/probes.texi: Likewise.
14298 * manual/threads.texi (ISO C Threads): New section.
14299 (POSIX Threads): Convert to a section.
14301 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14302 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14305 * nptl/Makefile (tests): Add new test files.
14306 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14307 * nptl/tst-cnd-basic.c: Likewise.
14308 * nptl/tst-cnd-broadcast.c: Likewise.
14309 * nptl/tst-cnd-timedwait.c: Likewise.
14310 * nptl/tst-mtx-basic.c: Likewise.
14311 * nptl/tst-mtx-recursive.c: Likewise.
14312 * nptl/tst-mtx-timedlock.c: Likewise.
14313 * nptl/tst-mtx-trylock.c: Likewise.
14314 * nptl/tst-thrd-basic.c: Likewise.
14315 * nptl/tst-thrd-detach.c: Likewise.
14316 * nptl/tst-thrd-sleep.c: Likewise.
14317 * nptl/tst-tss-basic.c: Likewise.
14319 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14322 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14323 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14325 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14329 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14330 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14331 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14332 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14333 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14334 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14335 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14336 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14344 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14345 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14346 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14347 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14348 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14349 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14350 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14351 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14352 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14353 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14354 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14355 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14356 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14358 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14366 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14367 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14368 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14369 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14376 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14381 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14382 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14383 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14386 * conform/data/threads.h-data (thread_local): New macro.
14387 (TSS_DTOR_ITERATIONS): Likewise.
14389 (tss_dtor_t): Likewise.
14390 (tss_create): New function.
14391 (tss_get): Likewise.
14392 (tss_set): Likewise.
14393 (tss_delete): Likewise.
14394 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14395 tss_get, and tss_set objects.
14396 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14397 * nptl/tss_create.c: New file.
14398 * nptl/tss_delete.c: Likewise.
14399 * nptl/tss_get.c: Likewise.
14400 * nptl/tss_set.c: Likewise.
14401 * sysdeps/nptl/threads.h (thread_local): New define.
14402 (TSS_DTOR_ITERATIONS): Likewise.
14403 (tss_t): New typedef.
14404 (tss_dtor_t): Likewise.
14405 (tss_create): New prototype.
14406 (tss_get): Likewise.
14407 (tss_set): Likewise.
14408 (tss_delete): Likewise.
14411 * conform/data/threads.h-data (cnd_t): New type.
14412 (cnd_init): New function.
14413 (cnd_signal): Likewise.
14414 (cnd_broadcast): Likewise.
14415 (cnd_wait): Likewise.
14416 (cnd_timedwait): Likewise.
14417 (cnd_destroy): Likewise.
14418 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14419 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14421 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14422 * nptl/cnd_broadcast.c: New file.
14423 * nptl/cnd_destroy.c: Likewise.
14424 * nptl/cnd_init.c: Likewise.
14425 * nptl/cnd_signal.c: Likewise.
14426 * nptl/cnd_timedwait.c: Likewise.
14427 * nptl/cnd_wait.c: Likewise.
14428 * sysdeps/nptl/threads.h (cnd_t): New type.
14429 (cnd_init): New prototype.
14430 (cnd_signa): Likewise.
14431 (cnd_broadcast): Likewise.
14432 (cnd_wait): Likewise.
14433 (cnd_timedwait): Likewise.
14434 (cnd_destroy): Likewise.
14437 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14438 (once_flag): New type.
14439 (call_once): New function.
14440 * nptl/Makefile (libpthread-routines): Add call_once object.
14441 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14442 * nptl/call_once.c: New file.
14443 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14444 (once_flag): New type.
14445 (call_once): New prototype.
14448 * conform/data/threads.h-data (mtx_plain): New constant.
14449 (mtx_recursive): Likewise.
14450 (mtx_timed): Likewise.
14452 (mtx_init): New function.
14453 (mtx_lock): Likewise.
14454 (mtx_timedlock): Likewise.
14455 (mtx_trylock): Likewise.
14456 (mtx_unlock): Likewise.
14457 (mtx_destroy): Likewise.
14458 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14459 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14460 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14461 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14462 * nptl/mtx_destroy.c: New file.
14463 * nptl/mtx_init.c: Likewise.
14464 * nptl/mtx_lock.c: Likewise.
14465 * nptl/mtx_timedlock.c: Likewise.
14466 * nptl/mtx_trylock.c: Likewise.
14467 * nptl/mtx_unlock.c: Likewise.
14468 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14469 (mtx_recursive): Likewise.
14470 (mtx_timed): Likewise.
14472 (mtx_init): New prototype.
14473 (mtx_lock): Likewise.
14474 (mtx_timedlock): Likewise.
14475 (mtx_trylock): Likewise.
14476 (mtx_unlock): Likewise.
14477 (mtx_destroy): Likewise.
14480 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14481 (linknamespace-libs-ISO11): Add libpthread.a.
14482 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14484 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14485 * nptl/Makefile (headers): Add threads.h.
14486 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14487 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14489 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14490 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14491 thrd_join, thrd_sleep, and thrd_yield symbols.
14492 * nptl/descr.h (struct pthread): Add c11 field.
14493 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14494 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14495 routine with expected function prototype.
14496 (__pthread_create_2_1): Add C11 threads check based on attribute
14498 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14499 * nptl/thrd_create.c: New file.
14500 * nptl/thrd_current.c: Likewise.
14501 * nptl/thrd_detach.c: Likewise.
14502 * nptl/thrd_equal.c: Likewise.
14503 * nptl/thrd_exit.c: Likewise.
14504 * nptl/thrd_join.c: Likewise.
14505 * nptl/thrd_priv.h: Likewise.
14506 * nptl/thrd_sleep.c: Likewise.
14507 * nptl/thrd_yield.c: Likewise.
14508 * include/threads.h: Likewise.
14510 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14512 * bits/indirect-return.h: New file.
14513 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14514 * sysdeps/x86/bits/indirect-return.h: Likewise.
14515 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14516 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14517 (swapcontext): Add __INDIRECT_RETURN.
14518 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14519 (prepare_test_buffer): Use it.
14521 2018-07-24 Andreas Schwab <schwab@suse.de>
14524 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14525 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14527 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14529 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14530 Redefine if shadow stack is enabled.
14531 (SYSCALL_ERROR_LABEL): Likewise.
14532 (__vfork): Pop shadow stack and jump back to to caller directly
14533 when shadow stack is in use.
14534 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14535 Redefine if shadow stack is enabled.
14536 (SYSCALL_ERROR_LABEL): Likewise.
14537 (__vfork): Pop shadow stack and jump back to to caller directly
14538 when shadow stack is in use.
14540 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14542 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14545 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14548 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14550 * scripts/build-many-glibcs.py (Context.checkout): Default
14551 binutils version to 2.31 branch.
14553 2018-07-20 Zong Li <zong@andestech.com>
14555 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14556 URL of gcc's tarball.
14558 2018-07-20 Florian Weimer <fweimer@redhat.com>
14561 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14562 not compare an extra byte after the end of the weights.
14564 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14566 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14568 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14570 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14571 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14572 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14573 list of libraries whose stack executability is expected.
14574 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14575 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14577 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14578 libc.so libpthread.so.
14580 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14582 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14584 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14586 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14588 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14590 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14592 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14593 library to improve command line parsing.
14594 (__main__): make schema file as optional parameter (--schema),
14595 defaulting to benchtests/scripts/benchout.schema.json.
14596 (main): move out of the parsing stuff to __main_ and leave it
14597 only as caller of main comparison functions.
14599 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14601 * NEWS: Add a note for Intel CET status.
14602 * manual/install.texi: Likewise.
14603 * INSTALL: Regenerated.
14605 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14608 * localedata/locales/oc_FR (mon): Rename to...
14609 (alt_mon): This, then update October (typo fix).
14610 (mon): New content (genitive case, month names preceded by
14614 * localedata/locales/oc_FR (abday): Update all items.
14615 (day): Update Wednesday and Saturday (typo fixes).
14616 (abmon): Update all items, except May.
14617 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14618 (LC_IDENTIFICATION): Bump the revision number and date.
14619 Keep the "category" entries in alphabetic order.
14620 (LC_ADDRESS): Remove no longer needed comment.
14621 (LC_COLLATE): Use “copy "ca_ES"”.
14622 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14625 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14627 * grp/tst_fgetgrent.c: Include <unistd.h>.
14628 (main): Use mkstemp instead of tmpnam.
14629 * io/test-utime.c (main): Likewise.
14630 * posix/annexc.c (macrofile): Change to modifiable array.
14631 (main): Remove macrofile here.
14632 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14634 (check_header): Do not remove macrofile here.
14635 * posix/bug-getopt1.c: Include <stdlib.h>.
14636 (do_test): Use mkstemp instead of tmpnam.
14637 * posix/bug-getopt2.c: Include <stdlib.h>.
14638 (do_test): Use mkstemp instead of tmpnam.
14639 * posix/bug-getopt3.c: Include <stdlib.h>.
14640 (do_test): Use mkstemp instead of tmpnam.
14641 * posix/bug-getopt4.c: Include <stdlib.h>.
14642 (do_test): Use mkstemp instead of tmpnam.
14643 * posix/bug-getopt5.c: Include <stdlib.h>.
14644 (do_test): Use mkstemp instead of tmpnam.
14645 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14646 (main): Use mkstemp instead of tmpnam.
14647 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14648 (main): Use mkstemp instead of tmpnam.
14649 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14650 (main): use mkstemp instead of tmpnam.
14651 * stdlib/isomac.c (macrofile): Change to modifiable array.
14652 (main): Remove macrofile here.
14653 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14655 (check_header): Do not remove macrofile here.
14657 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14659 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14660 glibc.tune.x86_shstk.
14662 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14664 * NEWS: Mention --enable-cet.
14665 * manual/install.texi: Document --enable-cet.
14666 * INSTALL: Regenerated.
14668 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14670 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14671 Add _CET_NOTRACK before indirect jump to jump table.
14673 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14675 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14676 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14679 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14681 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14682 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14685 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14688 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14691 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14694 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14697 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14699 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14700 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14702 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14704 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14706 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14707 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14710 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14712 * sysdeps/i386/i686/multiarch/memset-sse2.S
14713 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14716 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14718 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14719 indirect jump to jump table.
14721 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14723 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14724 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14726 (MEMCPY): Likewise.
14728 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14730 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14731 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14733 (MEMCPY): Likewise.
14735 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14737 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14738 _CET_NOTRACK before indirect jump to jump table.
14740 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14742 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14743 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14746 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14748 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14749 indirect jump to jump table.
14751 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14754 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14755 (LOCALES): Likewise.
14756 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14757 * localedata/locales/sah_RU: New file.
14758 * localedata/sah_RU.UTF-8.in: New file.
14760 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14762 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14764 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14765 _CET_ENDBR to indirect jump targets and adjust jump destination
14767 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14769 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14770 _CET_ENDBR to indirect jump targets and adjust jump destination
14772 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14774 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14775 _CET_ENDBR to indirect jump targets and adjust jump destination
14778 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14780 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14783 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14785 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14787 (_dl_tlsdesc_undefweak): Likewise.
14788 (_dl_tlsdesc_dynamic): Likewise.
14789 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14790 (_dl_tlsdesc_resolve_rel): Likewise.
14791 (_dl_tlsdesc_resolve_rela): Likewise.
14792 (_dl_tlsdesc_resolve_hold): Likewise.
14793 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14794 (_dl_tlsdesc_undefweak): Likewise.
14795 (_dl_tlsdesc_dynamic): Likewise.
14796 (_dl_tlsdesc_resolve_rela): Likewise.
14797 (_dl_tlsdesc_resolve_hold): Likewise.
14799 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14801 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14803 * sysdeps/x86_64/crti.S (_init): Likewise.
14806 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
14809 * localedata/locales/os_RU (mon): Rename to...
14811 (mon): Import from CLDR (genitive case).
14813 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14815 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14816 cet-tunables.h> when CET is enabled.
14818 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14821 * configure.ac: Add --enable-cet.
14822 * configure: Regenerated.
14823 * elf/Makefille (all-built-dso): Add a comment.
14824 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14825 Include <dl-prop.h>.
14826 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14828 * elf/dl-open.c: Include <dl-prop.h>.
14829 (dl_open_worker): Call _dl_open_check.
14830 * elf/rtld.c: Include <dl-prop.h>.
14831 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14833 * sysdeps/generic/dl-prop.h: New file.
14834 * sysdeps/i386/dl-cet.c: Likewise.
14835 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14836 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14837 * sysdeps/x86/cet-tunables.h: Likewise.
14838 * sysdeps/x86/check-cet.awk: Likewise.
14839 * sysdeps/x86/configure: Likewise.
14840 * sysdeps/x86/configure.ac: Likewise.
14841 * sysdeps/x86/dl-cet.c: Likewise.
14842 * sysdeps/x86/dl-procruntime.c: Likewise.
14843 * sysdeps/x86/dl-prop.h: Likewise.
14844 * sysdeps/x86/libc-start.h: Likewise.
14845 * sysdeps/x86/link_map.h: Likewise.
14846 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14848 (_dl_runtime_profile): Likewise.
14849 (_dl_runtime_resolve_shstk): New.
14850 (_dl_runtime_profile_shstk): Likewise.
14851 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14853 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14854 (CFLAGS-.os): Likewise.
14855 (CFLAGS-.op): Likewise.
14856 (CFLAGS-.oS): Likewise.
14857 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14859 (tests-special): Add $(objpfx)check-cet.out.
14860 (cet-built-dso): New.
14861 (+$(cet-built-dso:=.note)): Likewise.
14862 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14863 ($(objpfx)check-cet.out): New.
14864 (generated): Add check-cet.out.
14865 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14867 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14868 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14869 (init_cpu_features): Call get_cet_status to check CET status
14870 and update dl_x86_feature_1 with CET status. Call
14871 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14872 (set_x86_shstk). Disable and lock CET in libc.a.
14873 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14874 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14875 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14876 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14877 (_CET_ENDBR): Define if not defined.
14878 (ENTRY): Add _CET_ENDBR.
14879 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14881 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14883 (_dl_runtime_profile): Likewise.
14885 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14888 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14889 restore r2 on longjmp.
14890 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14892 Added rules to build test tst-setjmp-bug21895-static.
14893 Added module setjmp-bug21895 and rules to build a shared object from it.
14894 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14895 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14897 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14899 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14900 * benchtests/bench-strstr.c: Likewise.
14901 * string/memmem.c (FASTSEARCH): Define.
14902 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14903 Add support for FASTSEARCH.
14904 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14905 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14906 (FASTSEARCH): Define.
14907 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14908 * string/test-strstr.c: Likewise.
14910 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14912 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14913 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14915 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14916 H.J. Lu <hongjiu.lu@intel.com>
14918 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14919 (__longjmp): Restore shadow stack pointer if shadow stack is
14920 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14921 isn't defined for __longjmp_cancel.
14922 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14923 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14924 and SHADOW_STACK_POINTER_OFFSET is defined.
14925 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14926 (setjmp): Save shadow stack pointer if shadow stack is enabled
14927 and SHADOW_STACK_POINTER_OFFSET is defined.
14928 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14929 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14930 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14931 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14933 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14934 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14935 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14936 Remove jmp_buf-ssp.sym.
14937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14939 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14940 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14941 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14943 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14944 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14945 (__longjmp): Restore shadow stack pointer if shadow stack is
14946 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14947 isn't defined for __longjmp_cancel.
14948 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14949 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14950 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14952 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14955 * nptl/pthread_create.c: Include <tls-setup.h>.
14956 (__pthread_create_2_1): Call tls_setup_tcbhead.
14957 * sysdeps/generic/tls-setup.h: New file.
14958 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14959 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14960 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14962 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14964 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14965 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14966 (X86_FEATURE_1_SHSTK): Likewise.
14967 (CET_ENABLED): Likewise.
14968 (IBT_ENABLED): Likewise.
14969 (SHSTK_ENABLED): Likewise.
14971 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
14974 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
14975 (LOCALES): Likewise.
14976 * localedata/dsb_DE.UTF-8.in: New file.
14977 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
14979 2018-07-12 Florian Weimer <fweimer@redhat.com>
14981 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
14982 __mprotect, not mprotect.
14984 2018-07-11 Florian Weimer <fweimer@redhat.com>
14986 * io/Makefile (headers): Add bits/statx.h.
14988 2018-07-10 Mike FABIAN <mfabian@redhat.com>
14990 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
14991 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
14993 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
14994 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
14997 2018-07-10 Florian Weimer <fweimer@redhat.com>
14999 * io/Makefile (routines): Add statx.
15000 (tests-internal): Add tst-statx.
15001 * io/Versions (GLIBC_2.28): Export statx.
15002 * io/bits/statx.h: New file.
15003 * io/sys/stat.h [__USE_GNU]: Include it.
15004 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15005 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15007 * io/statx.c: New file.
15008 * io/statx_generic.: Likewise.
15009 * io/tst-statx.: Likewise.
15010 * include/bits/statx.h: Likewise.
15011 * sysdeps/unix/sysv/linux/kernel-features.h
15012 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15014 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15015 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15018 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15019 * sysdeps/unix/sysv/linux/statx.c: New file.
15020 * manual/filesys.texi: Note that statx is undocumented.
15021 * sysdeps/**/libc*.abilist: Update.
15023 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15025 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15026 a kernel issue which lead to test failure in some cases.
15028 2018-07-10 Florian Weimer <fweimer@redhat.com>
15031 * posix/regexec.c (check_node_accept_bytes): When comparing
15032 weights, do not compare an extra byte after the end of the
15035 2018-07-10 Florian Weimer <fweimer@redhat.com>
15037 * libio/readline.c: Fix copyright year.
15038 * libio/tst-readline.c Likewise.
15039 * nss/tst-nss-files-hosts-getent.c: Likewise.
15041 2018-07-06 Florian Weimer <fweimer@redhat.com>
15044 * nss/nss_files/files-XXX.c (internal_getent): Use
15045 __libc_readline_unlocked. Seek back to the start of the line if
15046 parsing failes with ERANGE.
15047 (get_contents_ret, get_contents): Remove.
15048 * nss/tst-nss-files-hosts-getent.c: New file.
15049 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15050 (tst-nss-files-hosts-getent): Link with -ldl.
15052 2018-07-06 Florian Weimer <fweimer@redhat.com>
15054 * include/stdio.h (__libc_readline_unlocked): Declare.
15055 (__ftello64, __fseeko64): Declare aliases.
15056 * libio/readline.c: New file.
15057 * libio/tst-readline.c: Likewise.
15058 (routines): Add readline.
15059 (tests-internal): Add tst-readlime.
15060 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15061 __libc_readline_unlocked.
15062 * libio/fseeko.c (__fseeko): Rename from fseeko.
15063 (fseeko): Add alias.
15064 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15065 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15066 (fseeko64): Add alias.
15067 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15068 * libio/ftello64.c (__ftello64): Rename from ftello64.
15069 (ftello64): Add alias.
15071 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15073 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15076 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15078 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15079 Use dl_hwcap without masking.
15080 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15081 Remove HWCAP_CPUID.
15083 2018-07-06 Florian Weimer <fweimer@redhat.com>
15085 * conform/conformtest.pl (checknamespace): Escape literal braces
15086 in regular expressions.
15088 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15090 * sysdeps/x86/cpu-features.c (get_common_indeces):
15091 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15092 * sysdeps/x86/cpu-features.c (init_cpu_features):
15093 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15095 2018-07-05 Florian Weimer <fweimer@redhat.com>
15097 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15099 (CFLAGS-elf-init.oS): Likewise.
15101 2018-07-05 Florian Weimer <fweimer@redhat.com>
15102 Carlos O'Donell <carlos@redhat.com>
15104 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15105 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15106 with stack protector enabled because there is no risk of infinite
15109 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15113 * libc-abis (ABSOLUTE): New ABI.
15114 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15115 * NEWS: Mention the new ABI.
15117 2018-07-05 Florian Weimer <fweimer@redhat.com>
15120 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15121 (RENAME_WHITEOUT): Define.
15122 [__USE_GNU] (renameat2): Declare.
15123 * stdio-common/Makefile (routines): Add renameat2.
15124 (tests): Add tst-renameat2.
15125 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15126 * stdio-common/renameat2.c: New file.
15127 * stdio-common/tst-renameat2.c: Likewise.
15128 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15129 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15131 * sysdeps/unix/sysv/linux/kernel-features.h
15132 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15134 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15135 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15136 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15137 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15138 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15139 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15140 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15141 * include/stdio.h (__renameat): Add alias for renameat.
15142 * stdio-common/renameat.c (__renameat): Rename from renameat.
15143 Add hidden definition and alias.
15144 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15145 * sysdeps/mach/hurd/renameat.c: Likewise.
15146 * sysdeps/**/libc*.abilist: Add renameat2.
15148 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15150 * posix/bug-regex33.c: Fix build after regex sync.
15152 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15155 * localedata/tst-langinfo-setlocale.c: New file.
15156 * localedata/tst-langinfo-setlocale-static.c: New file.
15157 * localedata/tst-langinfo-newlocale.c: New file.
15158 * localedata/tst-langinfo-newlocale-static.c: New file.
15159 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15160 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15161 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15162 (tests-static): Remove tst-langinfo-static. Add
15163 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15164 (tests-special): Remove $(objpfx)tst-langinfo.out,
15165 $(objpfx)tst-langinfo-static.out. Add
15166 $(objpfx)tst-langinfo-setlocale.out,
15167 $(objpfx)tst-langinfo-newlocale.out,
15168 $(objpfx)tst-langinfo-setlocale-static.out,
15169 $(objpfx)tst-langinfo-newlocale-static.out.
15170 ($(objpfx)tst-langinfo.out): Remove.
15171 ($(objpfx)tst-langinfo-static.out): Remove.
15172 ($(objpfx)tst-langinfo-newlocale.out): New target.
15173 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15174 (test-xfail-tst-langinfo-newlocale-static): Add.
15175 ($(objpfx)tst-langinfo-setlocale.out): New target.
15176 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15177 * localedata/tst-langinfo.c: Call test_locale.
15178 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15181 2018-07-04 Florian Weimer <fweimer@redhat.com>
15183 testrun.sh: Implement --tool=strace, --tool=valgrind
15184 * Makefile (testrun-script): Define variable.
15185 (testrun.sh): Use variable.
15186 * manual/install.texi (Tools for Compilation): make 4.0 or later
15188 * configure.ac: Check for make 4.0 or later.
15189 * INSTALL: Regenerate.
15190 * configure: Likewise.
15192 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15198 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15199 * posix/PCRE.tests: Remove invalid test.
15200 * posix/bug-regex28.c: Fix expected values for used syntax.
15201 * posix/bug-regex37.c: New file.
15202 * posix/bug-regex38.c: Likewise.
15203 * posix/regcomp.c: Sync with gnulib.
15204 * posix/regex.c: Likewise.
15205 * posix/regex.h: Likewise.
15206 * posix/regex_internal.c: Likewise.
15207 * posix/regex_internal.h: Likewise.
15208 * posix/regexec.c: Likewise.
15210 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15213 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15214 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15215 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15216 * localedata/unicode-gen/PropList.txt: likewise.
15217 * localedata/unicode-gen/UnicodeData.txt: likewise.
15218 * localedata/charmaps/UTF-8: Regenerate.
15219 * localedata/locales/i18n_ctype: likewise.
15220 * localedata/locales/tr_TR: likewise.
15221 * localedata/locales/translit_circle: likewise.
15222 * localedata/locales/translit_cjk_compat: likewise.
15223 * localedata/locales/translit_combining: likewise.
15224 * localedata/locales/translit_compat: likewise.
15225 * localedata/locales/translit_font: likewise.
15226 * localedata/locales/translit_fraction: likewise.
15228 2018-07-03 Florian Weimer <fweimer@redhat.com>
15231 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15232 * stdio-common/tst-printf.sh: Adjust expected output.
15233 * LICENSES: Update.
15235 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15237 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15240 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15242 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15243 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15244 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15245 * stdio-common/tst-printfsz-islongdouble.c: New file.
15246 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15247 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15248 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15249 [subdir == stdio-common] (tests-internal): Add
15250 test-printf-size-ieee128, and test-printf-size-ibm128.
15251 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15252 (CFLAGS-test-printf-size-ibm128.c): New variables.
15253 [subdir == stdio-common] (tests-special): Add
15254 $(objpfx)test-printf-size-ieee128.out and
15255 $(objpfx)test-printf-size-ibm128.out.
15256 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15257 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15258 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15259 __printf_sizeieee128.
15260 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15262 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15264 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15267 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15269 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15270 (exp2f_inline): Likewise.
15271 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15272 (__math_uflowf): Likewise.
15273 (__math_may_uflowf): Likewise.
15274 (__math_divzerof): Likewise.
15275 (__math_invalidf): Likewise.
15276 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15277 (__math_oflowf): Likewise.
15278 (__math_uflowf): Likewise.
15279 (__math_may_uflowf): Likewise.
15280 (__math_divzerof): Likewise.
15281 (__math_invalidf): Likewise.
15283 2018-06-29 DJ Delorie <dj@redhat.com>
15284 Carlos O'Donell <carlos@redhat.com>
15287 * include/libc-symbols.h: Comment the freeres framework.
15288 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15289 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15290 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15291 * dlfcn/dlerror.c: Include libc-symbols.h
15292 (__dlerror_main_freeres): New function.
15293 * dlfcn/dlfreeres.c: New file.
15294 * dlfcn/sdlfreeres.c: New file.
15295 * include/dlfcn.h: Declare __dlerror_main_freeres.
15296 * malloc/set-freeres.c: Declare __libdl_freeres, and
15297 __libpthread_freeres.
15298 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15299 the releavant libraries are loaded.
15300 * malloc/thread-freeres.c: Add comments.
15301 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15302 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15303 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15304 (__free_stacks): Rename to...
15305 (free_stacks): ...this. Mark static.
15306 (queue_stack): Call free_stacks.
15307 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15308 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15309 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15310 ptr_freeres element from struct.
15311 (pthread_functions): Remove .ptr_freeres from struct initializer.
15312 [SHARED] (nptl_freeres): Remove.
15313 * nptl/nptlfreeres.c: New file.
15315 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15316 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15318 (__free_stacks): Rename to...
15319 (__nptl_stacks_freeres): ...this.
15320 (__shm_directory_freeres): Declare.
15321 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15322 (__nptl_unwind_freeres): ...this.
15323 * resolv/res-close.c: Add comment.
15324 * resolv/resolv_conf.c: Include libc-symbols.h.
15325 * string/strerror_l.c: Include libc-symbols.h.
15326 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15327 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15328 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15329 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15331 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15333 * stdlib/tst-strfmon_l.c: Add tests for long double.
15335 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15338 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15339 * localedata/locales/dsb_DE: New file.
15341 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15344 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15346 (alt_mon): New entry, import from CLDR (nominative case).
15348 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15351 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15353 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15355 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15356 Use vector registers.
15358 * sysdeps/aarch64/multiarch/memmove_falkor.S
15359 (__memcpy_falkor): Use vector registers.
15361 2018-06-29 Martin Sebor <msebor@redhat.com>
15363 * manual/stdio.texi (Customizing Printf): Mention interaction
15364 with GCC built-ins.
15366 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15369 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15370 `st_value' is 0 if `st_shndx' is SHN_ABS.
15371 * elf/tst-absolute-zero.c: New file.
15372 * elf/tst-absolute-zero-lib.c: New file.
15373 * elf/tst-absolute-zero-lib.lds: New file.
15374 * elf/Makefile (tests): Add `tst-absolute-zero'.
15375 (modules-names): Add `tst-absolute-zero-lib'.
15376 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15377 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15378 ($(objpfx)tst-absolute-zero: New dependency.
15380 2018-06-29 Zack Weinberg <zackw@panix.com>
15382 * configure.ac: New command-line option --disable-crypt.
15383 Force --disable-nss-crypt when --disable-crypt is given, with a
15384 warning if it was explicitly enabled.
15385 * configure: Regenerate.
15386 * config.make.in: New boolean substitution variable $(build-crypt).
15387 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15388 when $(build-crypt).
15389 * manual/install.texi: Document --disable-crypt.
15390 * INSTALL: Regenerate.
15392 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15393 which is never set.
15394 * conform/Makefile: Only include libcrypt.a in
15395 linknamespace-libs-xsi and linknamespace-libs-XPG4
15396 when $(build-crypt).
15397 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15398 USE_CRYPT to 1 when $(build-crypt).
15399 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15400 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15401 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15403 2018-06-29 Zack Weinberg <zackw@panix.com>
15405 * crypt/crypt.h, posix/unistd.h: Update comments and
15406 prototypes for crypt and crypt_r.
15408 * manual/crypt.texi (Cryptographic Functions): New initial
15410 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15411 (Unpredictable Bytes): Improve initial exposition. Clarify error
15412 behavior of getentropy and getrandom.
15413 * manual/examples/genpass.c: Generate a salt using getentropy
15414 instead of the current time. Use hash $5$ (SHA-2-256).
15415 * manual/examples/testpass.c: Demonstrate validation against
15416 hashes generated with three different one-way functions.
15418 * manual/intro.texi: crypt.texi does not need an overview
15421 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15422 * manual/terminal.texi: Consistently refer to "passphrases"
15423 * instead of "passwords", and to the "user database" instead
15424 * of the "password database".
15425 * manual/users.texi: Similarly. Add notes about how actual
15426 passphrase hashes are now stored in the shadow database.
15427 Remove 20-year-old junk todo note.
15429 2018-06-29 Zack Weinberg <zackw@panix.com>
15431 * manual/crypt.texi: Use a normal top-level @node declaration.
15432 Move most of the introductory text to the 'crypt' section.
15433 Move the example programs below the @deftypefun for 'crypt_r'.
15434 Move the 'getpass' section...
15435 * manual/terminal.texi: ...here.
15437 2018-06-29 Zack Weinberg <zackw@panix.com>
15438 Florian Weimer <fweimer@redhat.com>
15440 * posix/unistd.h: Do not declare encrypt.
15441 (_XOPEN_CRYPT): Remove macro definition.
15442 (crypt): Declare only for _USE_MISC.
15443 * stdlib/stdlib.h: Do not declare setkey.
15444 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15445 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15447 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15448 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15449 into compat symbols. Don't define initial_perm if it's not
15451 * crypt/cert.c: Link explicitly with the expected versions for
15452 setkey and encrypt. If they are not available at all, mark
15453 the test as unsupported.
15455 * sunrpc/des_crypt.c: Unconditionally block linkage with
15456 cbc_crypt and ecb_crypt for new binaries.
15457 * sunrpc/des_soft.c: Unconditionally block linkage with
15458 des_setparity for new binaries.
15460 * manual/crypt.texi: Remove the entire "DES Encryption"
15461 section. Also remove the paragraph talking about FIPS 140-2
15462 from the introduction.
15463 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15464 of libgcrypt for "real" encryption, not DES.
15465 * manual/conf.texi (Constants for Sysconf): Mention that
15466 _XOPEN_CRYPT is no longer impelemented.
15468 * conform/data/unistd.h-data: Remove crypt function declaration.
15470 2018-06-29 Florian Weimer <fweimer@redhat.com>
15473 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15474 (disallow_malloc_check): Remove variable.
15475 (__malloc_check_init): Adjust.
15476 (malloc_set_state): Update comment.
15477 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15480 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15483 * localedata/locales/ast_ES (mon): Rename to...
15485 (mon): Import from CLDR (genitive case).
15487 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15488 Jakub Sitnicki <jkbs@redhat.com>
15491 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15492 on NLM_F_DUMP_INTR.
15494 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15496 * manual/llio.texi: Remove spurious space.
15498 2018-06-28 Florian Weimer <fweimer@redhat.com>
15501 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15504 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15506 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15507 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15508 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15509 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15510 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15511 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15512 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15514 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15517 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15518 Copy and null-terminate entries that are not terminated, in
15519 addition to empty ones.
15521 2018-06-27 Florian Weimer <fweimer@redhat.com>
15524 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15525 (extend_alloca_account): Remove.
15526 * manual/stdio.texi (Variable Arguments Output): Update comment.
15528 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15530 * nptl/sockperf.c: Remove file.
15532 2018-06-27 Florian Weimer <fweimer@redhat.com>
15535 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15536 scratch_buffer instead of extend_alloca.
15538 2018-06-27 Florian Weimer <fweimer@redhat.com>
15541 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15542 scratch_buffer instead of extend_alloca. Update comments.
15544 2018-06-27 Florian Weimer <fweimer@redhat.com>
15547 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15548 instead of extend_alloca.
15550 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15553 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15554 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15556 * scripts/test-installation.pl: Put temporary files in build
15557 directory, not /tmp.
15558 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15559 (CFLAGS-bug4.c): Likewise.
15560 (CFLAGS-bug5.c): Likewise.
15561 (CFLAGS-test-fseek.c): Likewise.
15562 (CFLAGS-test-popen.c): Likewise.
15563 (CFLAGS-test_rdwr.c): Likewise.
15564 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15566 * stdio-common/bug4.c (main): Likewise.
15567 * stdio-common/bug5.c (main): Likewise.
15568 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15569 * stdio-common/test-popen.c (do_test): Likewise.
15570 * stdio-common/test_rdwr.c (main): Likewise.
15572 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15574 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15575 (sem_open): Set sem.newsem.pad to zero for valgrind.
15577 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15580 * NEWS: Mention fcntl64 addition.
15581 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15582 * login/utmp_file.c: Likewise.
15583 * sysdeps/posix/fdopendir.c: Likewise.
15584 * sysdeps/posix/opendir.c: Likewise.
15585 * sysdeps/unix/pt-fcntl.c: Likewise.
15586 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15587 __fcntl64_nocancel_adjusted): New prototype.
15588 (__fcntl_nocancel_adjusted): Remove prototype.
15589 * io/Makefile (routines): Add fcntl64.
15590 (CFLAGS-fcntl64.c): New rule.
15591 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15592 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15593 * io/fcntl.h (fcntl64): Add prototype and redirect if
15594 __USE_FILE_OFFSET64 is defined.
15595 * io/fcntl64.c: New file.
15596 * manual/llio.text: Add a note for which commands fcntl acts a
15597 cancellation point.
15598 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15599 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15600 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15602 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15603 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15605 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15606 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15607 to __fcntl64_nocancel.
15608 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15609 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15610 to __fcntl64_nocancel.
15611 * sysdeps/generic/not-cancel.h: Likewise.
15612 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15613 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15614 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15615 (fcntl64): New symbol.
15616 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15617 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15621 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15622 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15623 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15624 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15625 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15626 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15627 fcntl64): Likewise.
15628 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15629 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15630 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15631 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15632 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15633 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15634 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15635 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15636 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15641 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15642 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15643 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15645 2018-06-26 Florian Weimer <fweimer@redhat.com>
15647 Run thread shutdown functions in an explicit order.
15648 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15650 (__libc_thread_freeres): Call thread shutdown functions
15652 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15653 * include/string.h (__strerror_thread_freeres): Declare.
15654 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15655 arena_thread_freeres. No longer static. Remove thread shutdown
15657 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15659 * resolv/res-close.c (__res_thread_freeres): Renamed from
15660 res_thread_freeres. No longer static. Remove thread shutdown
15662 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15663 * resolv/resolv_conf.c (freeres): Remove incorrect section
15664 attribute and use libc_freeres_fn.
15665 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15666 strerror_thread_freeres. No longer static. Remove thread
15667 shutdown hook registration.
15668 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15669 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15670 shutdown hook registration.
15671 * Makerules (shlib.lds): Do not provide section boundary symbols
15672 for __libc_thread_subfreeres.
15673 * manual/memory.texi (Basic Allocation): Update comment.
15675 2018-06-26 Florian Weimer <fweimer@redhat.com>
15677 Remove always-defined _RPC_THREAD_SAFE_ macro.
15678 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15679 Do not define _RPC_THREAD_SAFE_.
15680 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15682 * sunrpc/clnt_perr.c: Likewise.
15683 * sunrpc/clnt_raw.c: Likewise.
15684 * sunrpc/clnt_simp.c: Likewise.
15685 * sunrpc/key_call.c: Likewise.
15686 * sunrpc/rpc_common.c: Likewise.
15687 * sunrpc/rpc_main.c: Likewise.
15688 * sunrpc/rpc_thread.c: Likewise.
15689 * sunrpc/svc.c: Likewise.
15690 * sunrpc/svc_raw.c: Likewise.
15691 * sunrpc/svc_simple.c: Likewise.
15692 * sumrpc/svcauth_des.c: Likewise.
15694 2018-06-26 Florian Weimer <fweimer@redhat.com>
15696 * libio/Makefile (tests-internal): Add tst-vtables,
15697 tst-vtables-interposed.
15698 * libio/tst-vtables.c: New file.
15699 * libio/tst-vtables-common.c: Likewise.
15700 * libio/tst-vtables-interposed.c: Likewise.
15702 2018-06-26 Florian Weimer <fweimer@redhat.com>
15704 * support/support_test_main.c (support_test_main): Only call
15705 setvbuf if not disables.
15706 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15707 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15709 2018-06-26 Florian Weimer <fweimer@redhat.com>
15712 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15714 2018-06-25 Florian Weimer <fweimer@redhat.com>
15717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15718 Use struct scratch_buffer instead of extend_alloca.
15720 2018-06-25 Florian Weimer <fweimer@redhat.com>
15723 * nss/getent.c (initgroups_keys): Use dynarray instead of
15726 2018-06-25 Florian Weimer <fweimer@redhat.com>
15729 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15730 Use struct scratch_buffer instead of extend_alloca.
15732 2018-06-25 Florian Weimer <fweimer@redhat.com>
15735 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15736 back to malloc directly, without stack allocations.
15738 2018-06-25 Florian Weimer <fweimer@redhat.com>
15741 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15744 2018-06-25 Florian Weimer <fweimer@redhat.com>
15747 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15749 * nscd/hstcache.c (addhstbyX): Likewise.
15750 * nscd/pwdcache.c (addpwbyX): Likewise.
15751 * nscd/servicescache.c (addservbyX): Likewise.
15753 2018-06-25 Florian Weimer <fweimer@redhat.com>
15756 * nscd/connections.c (read_cmdline): New function.
15757 (restart): Use it. Update comment.
15759 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15762 * localedata/locales/csb_PL (mon): Rename to...
15764 (abmon): Rename to...
15765 (ab_alt_mon): This.
15766 (mon): Add with proper genitive forms, copy from Wikipedia.
15769 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15772 * localedata/locales/csb_PL (mon): Fix typos:
15773 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15774 (yesstr): Add, value is "jo".
15775 (nostr): Add, value is "nié".
15777 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15779 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15780 all log1p and significand functions on m680x0.
15781 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15782 of s_significand.c..
15783 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15784 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15785 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15786 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15787 s_log1p.c and include it..
15789 2018-06-21 Vincent Chen <vincentc@andestech.com>
15791 * elf/elf.h (R_NDS32_NONE): New define.
15792 (R_NDS32_32_RELA): Likewise.
15793 (R_NDS32_COPY): Likewise.
15794 (R_NDS32_GLOB_DAT): Likewise.
15795 (R_NDS32_JUMP_SLOT): Likewise.
15796 (R_NDS32_RELATIVE): Likewise.
15797 (R_NDS32_TLS_TPOFF): Likewise.
15798 (R_NDS32_TLS_DESC): Likewise.
15800 2018-06-21 Mark Wielaard <mark@klomp.org>
15802 * elf/elf.h (R_BPF_MAP_FD): Removed.
15803 (R_BPF_64_64, R_BPF_64_32): New.
15805 2018-06-21 Florian Weimer <fweimer@redhat.com>
15808 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15809 Renamed from libc_feholdsetround_ctx.
15810 (default_libc_feresetround_ctx): Renamed from
15811 libc_feresetround_ctx.
15812 (default_libc_feholdsetround_noex_ctx): Renamed from
15813 libc_feholdsetround_noex_ctx.
15814 (default_libc_feresetround_noex_ctx): Renamed from
15815 libc_feresetround_noex_ctx.
15816 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15817 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15818 forwardning to the old implementations under the new names.
15819 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15820 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15821 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15822 (libc_feresetround_ctx): Forward to default implements for i386
15823 and MATH_SET_BOTH_ROUNDING_MODES.
15824 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15825 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15827 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15829 * string/tst-cmp.c: Include <libc-diag.h>.
15830 (strncmp_max): Disable -Wstringop-overflow= around call to
15832 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15835 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15836 (main): Disable -Wunused-value around call to strpbrk.
15837 * string/bug-strspn1.c: Include <libc-diag.h>.
15838 (main): Disable -Wunused-value around call to strspn.
15840 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15841 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15843 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15844 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15846 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15848 * math/Makefile (libm-calls): Move s_significandF to...
15849 (gen-libm-calls): ... here.
15850 * math/s_significand_template.c: New file.
15851 * math/s_significand.c: Removed.
15852 * math/s_significandf.c: Removed.
15853 * math/s_significandl.c: Removed.
15854 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15855 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15857 * math/e_exp2_template.c (declare_mgen_finite_alias,
15858 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15859 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15860 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15862 2018-06-20 Florian Weimer <fweimer@redhat.com>
15864 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15866 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15869 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15870 floating-point number to strtod functions rather than possibly
15871 negating result of those functions.
15872 * stdio-common/tst-scanf-round.c: New file.
15873 * stdio-common/Makefile (tests): Add tst-scanf-round.
15874 ($(objpfx)tst-scanf-round): Depend on $(libm).
15876 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15878 * sysdeps/mach/hurd/localplt.data: Move to...
15879 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15880 R_386_GLOB_DAT like on Linux i386.
15882 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15884 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15885 (SHM_STAT_ANY): New macro.
15886 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15887 (SHM_STAT_ANY): Likewise.
15888 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15889 (SHM_STAT_ANY): Likewise.
15890 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15891 (SHM_STAT_ANY): Likewise.
15892 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15893 (SHM_STAT_ANY): Likewise.
15894 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15895 (SHM_STAT_ANY): Likewise.
15896 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15897 (SHM_STAT_ANY): Likewise.
15898 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15899 (SHM_STAT_ANY): Likewise.
15900 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15901 (SHM_STAT_ANY): Likewise.
15902 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15903 (SHM_STAT_ANY): Likewise.
15904 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15905 (SHM_STAT_ANY): Likewise.
15906 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15907 (SHM_STAT_ANY): Likewise.
15909 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15910 (SEM_STAT_ANY): New macro.
15911 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15912 (SEM_STAT_ANY): Likewise.
15913 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15914 (SEM_STAT_ANY): Likewise.
15915 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15916 (SEM_STAT_ANY): Likewise.
15917 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15918 (SEM_STAT_ANY): Likewise.
15919 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15920 (SEM_STAT_ANY): Likewise.
15921 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15922 (SEM_STAT_ANY): Likewise.
15923 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15924 (SEM_STAT_ANY): Likewise.
15925 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15926 (SEM_STAT_ANY): Likewise.
15927 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15928 (SEM_STAT_ANY): Likewise.
15930 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15931 (MSG_STAT_ANY): New macro.
15932 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15933 (MSG_STAT_ANY): Likewise.
15934 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15935 (MSG_STAT_ANY): Likewise.
15936 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15937 (MSG_STAT_ANY): Likewise.
15938 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15939 (MSG_STAT_ANY): Likewise.
15940 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15941 (MSG_STAT_ANY): Likewise.
15942 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15943 (MSG_STAT_ANY): Likewise.
15944 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15945 (MSG_STAT_ANY): Likewise.
15946 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15947 (MSG_STAT_ANY): Likewise.
15948 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15949 (MSG_STAT_ANY): Likewise.
15951 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15952 (MAP_TYPE): Change value to 0x2b.
15954 2018-06-18 Florian Weimer <fweimer@redhat.com>
15957 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15958 socket with SOCK_CLOEXEC.
15960 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15963 * sysdeps/powerpc/powerpc64/le/Makefile
15964 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15965 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15966 (gnulib-tests): Also add $(f128-loader-link) for
15967 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15969 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15971 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
15972 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
15974 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
15975 (sendfile64): New strong alias.
15976 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
15977 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
15978 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
15979 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
15981 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
15982 ___pthread_get_cleanup_stack.
15983 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
15984 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
15985 * mach/shortcut.awk: Make syscall stubs include
15986 <mach-shortcuts-hidden.h> and add hidden definition.
15987 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
15988 (__mach_msg): Add hidden prototype.
15989 * mach/msg.c: Include <mach.h>.
15990 (__mach_msg): Add hidden definition.
15991 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
15992 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
15993 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
15994 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
15995 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
15996 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
15997 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
15998 prototype and definition.
15999 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16000 hidden target for _hurd_self_sigstate.
16002 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16005 * stdlib/tst-strtod-nan-sign-main.c: New file.
16006 * stdlib/tst-strtod-nan-sign.c: Likewise.
16007 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16008 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16009 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16010 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16011 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16013 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16016 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16019 2018-06-14 Florian Weimer <fweimer@redhat.com>
16022 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16023 that the result stays within the ISO-8859-1 range.
16024 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16025 characters are defined in IBM273.
16027 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16029 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16030 __mach_task_self): Remove attribute_hidden.
16032 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16034 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16035 ignore -Wrestrict for one test.
16037 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16038 Szabolcs Nagy <szabolcs.nagy@arm.com>
16040 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16042 2018-06-14 Florian Weimer <fweimer@redhat.com>
16044 * scripts/update-abilist.sh: Accept empty list of files to patch.
16046 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16048 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16049 test-xfail-check-abi-libmachuser): Add.
16050 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16051 __libc_read and __libc_write to __read and __write.
16052 * sysdeps/hurd/include/hurd/port.h: New file.
16053 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16054 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16055 __thread_switch, __evc_wait): Move declarations to...
16056 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16058 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16059 use PLT to call _hurd_self_sigstate.
16061 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16064 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16065 MAX_EXP as overflowing.
16066 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16068 (round_str): Output also whether result overflows in each rounding
16070 * stdlib/tst-strtod-round-data: Add more tests.
16071 * stdlib/tst-strtod-round-data.h: Regenerated.
16072 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16073 (TEST): Handle extra arguments for overflow flags.
16074 (struct test_overflow): New type.
16075 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16076 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16077 (test_in_one_mode): Take argument with overflow information.
16078 (do_test): Update calls to test_in_one_mode.
16080 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16082 * elf/dl-load (_dl_dst_substitute): Correct comment.
16083 (_dl_dst_count): Likewise.
16085 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16086 lll_futex_timed_wait.
16088 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16091 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16093 * math/test-nan-const.c: New file.
16094 * math/Makefile (tests): Add test-nan-const.
16095 (CFLAGS-test-nan-const.c): New variable.
16097 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16099 * benchtests/scripts/compare_strings.py (process_results): Add
16100 funcs argument. Compare only functions which are selected.
16101 (main): Check if base function is among selected functions.
16102 Pass selected functions to process_results.
16103 (__main__): Add -f/--functions argument.
16105 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16106 Hongbo Zhang <hongbo.zhang@linaro.org>
16108 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16109 __memcpy_falkor for phecda core.
16110 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16111 __memmove_falkor for phecda core.
16112 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16113 __memset_falkor for phecda core.
16114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16116 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16117 macro to identify phecda core.
16119 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16120 Andreas Schwab <schwab@suse.de>
16121 Dmitry V. Levin <ldv@altlinux.org>
16122 Florian Weimer <fweimer@redhat.com>
16129 * elf/dl-dst.h: Remove DL_DST_COUNT.
16130 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16131 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16132 (is_dst): Comment. Support ELF gABI.
16133 (_dl_dst_count): Comment. Simplify and count DSTs.
16134 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16135 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16138 2018-06-12 Zack Weinberg <zackw@panix.com>
16140 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16141 * sysdeps/unix/sysv/linux/dl-sysdep.c
16142 Include not-cancel.h. Use __close_nocancel instead of __close,
16143 __open64_nocancel instead of __open, __read_nocancel instead of
16144 __libc_read, and __write_nocancel instead of __libc_write.
16146 * csu/check_fds.c (check_one_fd)
16147 * sysdeps/posix/fdopendir.c (__fdopendir)
16148 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16149 instead of __fcntl and/or __libc_fcntl.
16151 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16152 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16153 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16154 Use __open64_nocancel instead of __open_nocancel.
16156 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16157 hidden_proto declarations to the end and issue them if either
16158 IS_IN(libc) or IS_IN(rtld).
16159 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16160 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16161 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16162 read_nocancel, waitpid_nocancel, write_nocancel.
16164 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16165 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16166 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16168 * nptl/pt-fcntl.c: New file.
16169 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16170 (libpthread-routines): Add pt-fcntl.
16171 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16172 (__libc_fcntl): Remove attribute_hidden.
16173 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16174 __fcntl_nocancel_adjusted, not fcntl_common.
16175 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16176 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16177 to fcntl_nocancel.c.
16178 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16181 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16183 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16184 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16185 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16186 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16187 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16188 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16189 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16190 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16191 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16192 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16193 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16194 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16195 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16196 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16197 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16198 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16199 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16200 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16201 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16202 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16204 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16205 libpthread-routines.
16206 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16209 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16210 __libc_read, and __write instead of __libc_write. Define
16211 __open64 in addition to __open.
16213 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16217 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16218 to _private_tm[3] and add __glibc_reserved2.
16219 Add _Static_assert of offset of __private_ss == 0x30.
16220 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16221 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16223 2018-06-12 Florian Weimer <fweimer@redhat.com>
16225 x86: Make strncmp usable from rtld.
16226 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16227 __strncmp_ia32 if in libc (and not in rtld).
16228 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16229 strncmp if not in libc (and not to __strncmp_sse2).
16231 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16234 * localedata/locales/gd_GB (mon): Rename to...
16236 (mon): Import from CLDR (genitive case).
16237 * localedata/locales/hsb_DE (mon): Rename to...
16239 (mon): Import from CLDR (genitive case).
16240 * localedata/locales/wa_BE (mon): Rename to...
16242 (mon): Add, fill with the proper genitive forms, but CLDR data
16243 is incomplete; completed according to the comments in this file.
16244 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16246 * localedata/locales/wa_BE (country_name): Reword
16247 "Beljike" -> "Beldjike".
16249 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16252 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16253 cases of non-finite arguments.
16254 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16256 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16259 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16261 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16264 * include/unistd.h (__execvpex): New prototype.
16265 * posix/Makefile (tests): Add tst-spawn4.
16266 (tests-internal): Add tst-spawn4-compat.
16267 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16268 * posix/tst-spawn4-compat.c: New file.
16269 * posix/tst-spawn4.c: Likewise.
16270 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16271 binaries as shell scripts.
16272 * sysdeps/posix/spawni.c (__spawni): Likewise.
16274 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16277 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16278 ($(all-built-dso:=.dynsym): New target.
16279 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16280 ($(objpfx)check-initfini.out): New target.
16281 (generated): Add check-initfini.out.
16282 * scripts/check-initfini.awk: New file.
16283 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16285 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16287 * sysdeps/arm/crti.S (_init): Mark as hidden.
16289 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16291 * sysdeps/i386/crti.S (_init): Mark as hidden.
16293 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16295 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16297 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16299 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16301 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16303 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16305 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16307 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16309 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16311 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16313 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16315 * sysdeps/sh/crti.S (_init): Mark as hidden.
16317 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16319 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16322 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16324 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16325 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16326 and TF redirection to KFtype and KF only when the default
16327 long double type is not the IEEE 128-bit floating point type.
16329 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16331 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16333 (HWCAP_USCAT): Likewise.
16334 (HWCAP_ILRCPC): Likewise.
16335 (HWCAP_FLAGM): Likewise.
16336 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16338 (_dl_aarch64_cap_flags): Add new flag names.
16340 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16341 (MAP_FIXED_NOREPLACE): New macro.
16342 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16343 (MAP_FIXED_NOREPLACE): Likewise.
16344 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16345 (MAP_FIXED_NOREPLACE): Likewise.
16346 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16347 (MAP_FIXED_NOREPLACE): Likewise.
16348 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16349 (MAP_FIXED_NOREPLACE): Likewise.
16350 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16351 (MAP_FIXED_NOREPLACE): Likewise.
16352 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16353 (MAP_FIXED_NOREPLACE): Likewise.
16354 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16355 (MAP_FIXED_NOREPLACE): Likewise.
16356 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16357 (MAP_FIXED_NOREPLACE): Likewise.
16358 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16359 (MAP_FIXED_NOREPLACE): Likewise.
16360 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16361 (MAP_FIXED_NOREPLACE): Likewise.
16362 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16363 (MAP_FIXED_NOREPLACE): Likewise.
16364 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16365 (MAP_FIXED_NOREPLACE): Likewise.
16366 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16367 (MAP_FIXED_NOREPLACE): Likewise.
16368 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16369 (MAP_FIXED_NOREPLACE): Likewise.
16371 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16374 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16376 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16379 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16381 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16383 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16385 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16387 * benchtests/scripts/compare_string.py: (process_results) Catch
16388 exception in non-existent base_func and catch exception in
16389 non-existent attribute.
16390 (parse_file) Catch exception if input file does not exist.
16392 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16394 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16395 options to avoid diff calculation and omit header, respectively.
16396 (main): process --no-diff and --no-header
16398 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16399 H.J. Lu <hongjiu.lu@intel.com>
16401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16402 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16405 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16406 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16407 and __wcsncmp_sse2.
16408 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16409 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16410 AVX unaligned load is fast and vzeroupper is preferred.
16411 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16412 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16413 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16414 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16415 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16416 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16417 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16418 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16419 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16420 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16423 2018-06-01 Florian Weimer <fweimer@redhat.com>
16425 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16426 configuring with --disable-multi-arch, building with
16427 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16430 2018-06-01 Florian Weimer <fweimer@redhat.com>
16432 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16433 results from building with “-march=x86-64 -mtune=generic
16434 -mfpmath=sse” and running on a Haswell-era CPU.
16436 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16439 * soft-fp/sqrttf2.c: Remove file.
16440 * soft-fp/sqrtdf2.c: Move to ....
16441 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16443 (__sqrtdf2): Make conditional on
16444 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16446 * soft-fp/sqrtsf2.c: Move to ....
16447 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16449 (__sqrtsf2): Make conditional on
16450 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16452 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16453 (gcc-double-routines): Remove sqrtdf2.
16454 (gcc-quad-routines): Remove sqrttf2.
16455 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16456 Do not filter out sqrtsf2 and sqrtdf2.
16457 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16458 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16460 2018-06-01 Florian Weimer <fweimer@redhat.com>
16462 * sysdeps/generic/libcidn.abilist: Remove file.
16464 2018-06-01 Florian Weimer <fweimer@redhat.com>
16467 * libio/strfile.h (struct _IO_str_fields): Rename members to
16468 discourage their use and add comment.
16469 (_IO_STR_DYNAMIC): Remove unused macro.
16470 * libio/strops.c (_IO_str_init_static_internal): Do not use
16471 callback pointers. Call malloc and free.
16472 (_IO_str_overflow): Do not use callback pointers. Call malloc
16474 (enlarge_userbuf): Likewise.
16475 (_IO_str_finish): Call free.
16476 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16477 _allocate_buffer_unused.
16478 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16480 (enlarge_userbuf): Likewise.
16481 (_IO_wstr_finish): Call free.
16482 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16483 _allocate_buffer_unused, _free_buffer_unused.
16484 * libio/memstream.c (__open_memstream): Likewise.
16485 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16486 * libio/wmemstream.c (open_wmemstream): Likewise.
16488 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16490 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16493 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16495 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16496 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16497 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16499 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16501 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16503 2018-05-29 Florian Weimer <fweimer@redhat.com>
16505 * support/Makefile (libsupport-routines): Add
16506 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16507 xpthread_barrierattr_setpshared.
16508 * support/xpthread_barrierattr_destroy.c: New file.
16509 * support/xpthread_barrierattr_init.c: Likewise.
16510 * support/xpthread_barrierattr_setpshared.c: Likewise.
16512 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16515 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16516 _r_debug and update DT_DEBUG for debugger.
16518 2018-05-29 Florian Weimer <fweimer@redhat.com>
16520 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16521 (tst-strtod5i.out): Likewise.
16523 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16525 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16526 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16527 (sparc64-quad-routines): New variable. Moved from ....
16528 [$(subdir) = soft-fp] (sysdep_routines): Add
16529 $(sparc64-quad-routines). Moved from ....
16530 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16531 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16532 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16534 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16535 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16536 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16537 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16538 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16539 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16540 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16541 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16542 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16543 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16544 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16545 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16546 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16547 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16548 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16549 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16550 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16551 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16552 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16553 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16554 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16555 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16556 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16557 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16558 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16559 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16560 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16561 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16562 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16563 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16564 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16565 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16566 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16567 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16568 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16569 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16570 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16571 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16572 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16573 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16574 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16575 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16576 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16577 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16578 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16579 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16580 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16581 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16582 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16583 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16584 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16585 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16586 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16587 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16588 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16589 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16590 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16591 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16593 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16594 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16595 (sparc32-quad-routines): New variable. Moved from ....
16596 [$(subdir) = soft-fp] (sysdep_routines): Add
16597 $(sparc32-quad-routines). Moved from ....
16598 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16599 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16601 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16602 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16603 * sysdeps/sparc/sparc32/q_add.c: ... here.
16604 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16605 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16606 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16607 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16608 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16609 * sysdeps/sparc/sparc32/q_div.c: ... here.
16610 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16611 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16612 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16613 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16614 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16615 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16616 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16617 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16618 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16619 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16620 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16621 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16622 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16623 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16624 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16625 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16626 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16627 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16628 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16629 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16630 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16631 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16632 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16633 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16634 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16635 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16636 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16637 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16638 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16639 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16640 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16641 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16642 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16643 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16644 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16645 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16646 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16647 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16648 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16649 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16650 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16651 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16652 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16653 * sysdeps/sparc/sparc32/q_util.c: ... here.
16654 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16655 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16656 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16657 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16659 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16660 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16662 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16663 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16664 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16665 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16667 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16673 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16674 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16676 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16679 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16682 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16684 * sysdeps/sh/Implies: Remove sh/soft-fp.
16685 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16686 * sysdeps/sh/sfp-machine.h: ... here.
16688 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16690 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16691 (__mempcpy_erms): Skip zero length.
16692 (__memmove_erms): Likewise.
16693 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16694 (__memset_erms): Likewise.
16696 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16698 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16699 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16700 Add functions moved from ....
16701 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16702 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16703 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16705 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16706 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16707 * sysdeps/alpha/e_sqrtl.c: ... here.
16708 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16709 * sysdeps/alpha/local-soft-fp.h: ... here.
16710 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16711 * sysdeps/alpha/ots_add.c: ... here.
16712 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16713 * sysdeps/alpha/ots_cmp.c: ... here.
16714 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16715 * sysdeps/alpha/ots_cmpe.c: ... here.
16716 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16717 * sysdeps/alpha/ots_cvtqux.c: ... here.
16718 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16719 * sysdeps/alpha/ots_cvtqx.c: ... here.
16720 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16721 * sysdeps/alpha/ots_cvttx.c: ... here.
16722 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16723 * sysdeps/alpha/ots_cvtxq.c: ... here.
16724 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16725 * sysdeps/alpha/ots_cvtxt.c: ... here.
16726 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16727 * sysdeps/alpha/ots_div.c: ... here.
16728 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16729 * sysdeps/alpha/ots_mul.c: ... here.
16730 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16731 * sysdeps/alpha/ots_nintxq.c: ... here.
16732 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16733 * sysdeps/alpha/ots_sub.c: ... here.
16734 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16735 * sysdeps/alpha/sfp-machine.h: ... here.
16737 2018-05-23 Florian Weimer <fweimer@redhat.com>
16745 Switch to extern IDNA implementation (libidn2).
16746 * libidn: Remove subdirectory.
16747 * LICENSES: Do not mention licensing conditions for the removed
16749 * config.h.in (HAVE_LIBIDN): Remove.
16750 * include/dlfcn.h (__libc_dlopen): Update comment.
16751 * include/idna.h: Remove file.
16752 * inet/Makefile (routines): Add idna.
16753 (tests-static, tests-internal): Add tst-idna_name_classify.
16754 (LOCALES): Generate locales for tests.
16755 (tst-idna_name_classify.out): Depend on generated locales.
16756 * inet/idna_name_classify.c: New file.
16757 * inet/tst-idna_name_classify.c: Likewise.
16758 * inet/net-internal.h (__idna_to_dns_encoding)
16759 (__idna_from_dns_encoding): Declare.
16760 * inet/net-internal.h (enum idna_name_classification): Define.
16761 (__idna_name_classify): Declare.
16762 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16763 __idna_from_dns_encoding.
16764 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16765 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16766 name as a fallback in case of encoding errors.
16767 (getnameinfo): Use DEPRECATED_NI_IDN.
16768 * inet/idna.c: New file.
16769 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16770 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16771 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16772 (modules-names): Add tst-no-libidn2.
16773 (extra-test-objs): Add tst-no-libidn2.os.
16774 (LDFLAGS-tst-no-libidn2.so): Set soname.
16775 (LOCALES): Set, and generate locales.
16776 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16777 (tst-resolv-ai_idn-latin1): Likewise.
16778 (tst-resolv-ai_idn-nolibidn2): Likewise.
16779 (tst-resolv-ai_idn.out): Depend on locales.
16780 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16781 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16783 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16784 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16785 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16786 * resolv/tst-resolv-ai_idn.c: New file.
16787 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16788 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16789 * resolv/tst-no-libidn2.c: Likewise.
16790 * support/support_format_addrinfo.c (format_ai_flags): Do not
16791 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16792 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16793 (gaih_inet): Call __idna_to_dns_encoding and
16794 __idna_from_dns_encoding, and use the original (punycode) name if
16795 __idna_from_dns_encoding fails due to an encoding error.
16796 (getaddrinfo): Use DEPRECATED_AI_IDN.
16797 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16798 * sysdeps/unix/inet/configure: Remove file.
16799 * sysdeps/unix/inet/configure.ac: Likewise.
16801 2018-05-23 Florian Weimer <fweimer@redhat.com>
16803 Implement allocate_once.
16804 * include/allocate_once.h: New file.
16805 * misc/allocate_once.c: Likewise.
16806 * misc/tst-allocate_once.c: Likewise.
16807 * misc/Makefile (routines): Add allocate_once.
16808 (tests-internal): Add tst-allocate_once.
16809 (generated): Add tst-allocate_once.mtrace,
16810 tst-allocate_once-mem.out.
16811 (tests-special): Add tst-allocate_once-mem.out.
16812 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16813 (tst-allocate_once-mem.out): Call mtrace.
16814 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16816 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16819 * string/test-memcpy.c (do_test1): New function.
16820 (test_main): Call it.
16822 2018-05-23 Andreas Schwab <schwab@suse.de>
16826 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16827 (L(preloop_large)): Save initial destination pointer in %r11 and
16828 use it instead of %rax after the loop.
16829 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16831 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16834 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16835 -I../soft-fp. Moved from ....
16836 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16837 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16838 * sysdeps/aarch64/e_sqrtl.c: ... here.
16839 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16840 * sysdeps/aarch64/sfp-machine.h: ... here.
16842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16843 -Wmaybe-uninitialized around access to fq[0].
16844 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16848 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16849 aliases for non-libc case of versioned symbols.
16850 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16851 (llseek): Define as compat symbol if
16852 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16854 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16855 Make into a compat symbol, disabled for minimum symbol version
16856 GLIBC_2.28 and later.
16857 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16859 2018-05-22 Florian Weimer <fweimer@redhat.com>
16861 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16862 not add -mpreferred-stack-boundary=4.
16863 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16864 (stack-align-test-flags): Likewise.
16865 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16867 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16868 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16869 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16870 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16871 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16872 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16873 (CFLAGS-tst-align2.c): Likewise.
16875 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16877 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16878 (index_arch_Prefer_FSRM): Likewise.
16879 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16880 Also check Prefer_FSRM.
16881 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16882 Also return OPTIMIZE (erms) for Prefer_FSRM.
16884 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16886 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16887 (index_cpu_FSRM): Likewise.
16888 (reg_FSRM): Likewise.
16890 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16892 * math/gen-tgmath-tests.py: Import sys.
16893 (Tests.__init__): Initialize macros_seen.
16894 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16895 if requested to do so for this macro.
16896 (Tests.add_all_tests): Take argument for macro for which to
16898 (Tests.check_macro_list): New function.
16899 (main): Handle check-list argument and argument specifying macro
16900 for which to generate tests.
16901 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16902 [PYTHON] (tgmath3-macro-tests): Likewise.
16903 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16904 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16905 not test-tgmath3.c.
16906 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16907 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16909 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16910 [PYTHON] ($(foreach
16911 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16913 [PYTHON] (tests-special): Add
16914 $(objpfx)test-tgmath3-macro-list.out.
16915 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16917 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16918 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16922 * time/tzset.c (SECSPERDAY): Cast to time_t.
16923 * time/tst-y2039.c: New file.
16924 * time/Makefile (tests): Add tst-y2039.
16926 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16928 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16929 (PREFETCH_ONE_SET): Remove duplicate line.
16931 2018-05-17 Florian Weimer <fweimer@redhat.com>
16933 * sysdeps/generic/math-type-macros-double.h: Include
16934 <math-nan-payload-double.h> after <libm-alias-double.h>.
16935 * sysdeps/generic/math-type-macros-float.h: Include
16936 <math-nan-payload-float.h> after <libm-alias-float.h>.
16937 * sysdeps/generic/math-type-macros-float128.h: Include
16938 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16939 * sysdeps/generic/math-type-macros-ldouble.h: Include
16940 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16942 2018-05-17 Andreas Schwab <schwab@suse.de>
16944 * resolv/res_send.c (__res_context_send): Don't set errno when
16945 returing error after malloc failure.
16947 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16949 * nptl/allocatestack.c (allocate_stack): Remove the
16950 !__ASSUME_PRIVATE_FUTEX paths.
16951 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16952 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16954 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16955 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16956 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16957 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16958 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16959 !__ASSUME_PRIVATE_FUTEX path.
16960 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16961 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16962 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16963 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16964 !__ASSUME_PRIVATE_FUTEX macros.
16965 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16966 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16967 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16968 * sysdeps/unix/sysv/linux/kernel-features.h
16969 (__ASSUME_PRIVATE_FUTEX): Removed.
16971 2018-05-17 Joseph Myers <joseph@codesourcery.com>
16973 * math/Makefile (libm-narrow-fns): Add div.
16974 (libm-test-funcs-narrow): Likewise.
16975 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
16976 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
16977 * math/gen-auto-libm-tests.c (test_functions): Add div.
16978 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
16979 (NARROW_DIV_ROUND_TO_ODD): Likewise.
16980 (NARROW_DIV_TRIVIAL): Likewise.
16981 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
16983 (__ddivl): Likewise.
16984 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
16986 (CFLAGS-nldbl-ddiv.c): New variable.
16987 (CFLAGS-nldbl-fdiv.c): Likewise.
16988 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16990 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
16992 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
16993 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
16994 * math/auto-libm-test-in: Add tests of div.
16995 * math/auto-libm-test-out-narrow-div: New generated file.
16996 * math/libm-test-narrow-div.inc: New file.
16997 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17000 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17001 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17002 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17004 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17009 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17011 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17012 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17013 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17014 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17016 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17017 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17018 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17024 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17025 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17026 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17027 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17028 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17033 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17034 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17035 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17036 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17037 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17038 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17039 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17040 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17042 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17045 * nscd/nscd-client.h (sendfileall): Remove prototype.
17046 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17047 (handle_request): Use writeall instead of sendfileall.
17048 * nscd/aicache.c (addhstaiX): Likewise.
17049 * nscd/grpcache.c (cache_addgr): Likewise.
17050 * nscd/hstcache.c (cache_addhst): Likewise.
17051 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17052 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17053 * nscd/pwdcache.c (cache_addpw): Likewise.
17054 * nscd/servicescache.c (cache_addserv): Likewise.
17055 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17056 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17060 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17062 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17063 Include <string/strncat.c>.
17064 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17066 (__GI___strncat): New hidden alias.
17068 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17070 * sysdeps/mips/mips32/libm-test-ulps: Update.
17071 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17073 2018-05-16 Florian Weimer <fweimer@redhat.com>
17075 * support/Makefile (libsupport-routines): Add support_quote_blob,
17076 support_test_compare_blob.
17077 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17078 * support/check.h (TEST_COMPARE_BLOB): Define.
17079 (support_test_compare_blob): Declare.
17080 * support/support.h (support_quote_blob): Declare.
17081 * support/support_quote_blob.c: New file.
17082 * support/support_test_compare_blob.c: Likewise.
17083 * support/tst-support_quote_blob.c: Likewise.
17084 * support/tst-test_compare_blob.c: Likewise.
17086 2018-05-16 Florian Weimer <fweimer@redhat.com>
17088 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17089 of <strtod_nan_double.h>.
17090 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17091 instead of SET_MANTISSA.
17092 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17093 of include <strtod_nan_float.h>.
17094 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17095 instead of <strtod_nan_ldouble.h>.
17096 * stdlib/strtod_nan_double.h: Move to ...
17097 * sysdeps/generic/math-nan-payload-double.h: ... here.
17098 (FLOAT): Remove definition.
17099 (SET_MANTISSA): Rename to ...
17100 (SET_NAN_PAYLOAD): ... this.
17101 * stdlib/strtod_nan_float.h: Move to ...
17102 * sysdeps/generic/math-nan-payload-float.h: ... here.
17103 (FLOAT): Remove definition.
17104 (SET_MANTISSA): Rename to ...
17105 (SET_NAN_PAYLOAD): ... this.
17106 * sysdeps/generic/math-type-macros-double.h: Include
17107 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17108 instead of <math-svid-compat.h>.
17109 * sysdeps/generic/math-type-macros-float.h: Include
17110 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17111 instead of <math-svid-compat.h>.
17112 * sysdeps/generic/math-type-macros-float128.h: Include
17113 <math-nan-payload-float128.h>.
17114 * sysdeps/generic/math-type-macros-ldouble.h: Include
17115 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17116 instead of <math-svid-compat.h>.
17117 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17118 check for definition.
17119 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17120 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17121 Include <ieee754_float128.h>.
17122 (FLOAT): Remove definition.
17123 (SET_MANTISSA): Rename to ...
17124 (SET_NAN_PAYLOAD): ... this.
17125 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17126 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17127 Do not include <float128_private.h>.
17128 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17129 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17130 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17131 (FLOAT): Remove definition.
17132 (SET_MANTISSA): Rename to ...
17133 (SET_NAN_PAYLOAD): ... this.
17134 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17135 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17136 (FLOAT): Remove definition.
17137 (SET_MANTISSA): Rename to ...
17138 (SET_NAN_PAYLOAD): ... this.
17139 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17140 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17141 (FLOAT): Remove definition.
17142 (SET_MANTISSA): Rename to ...
17143 (SET_NAN_PAYLOAD): ... this.
17144 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17145 of "../stdlib/strtod_nan_double.h".
17146 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17147 of "../stdlib/strtod_nan_float.h".
17148 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17149 instead of "../stdlib/strtod_nan_ldouble.h".
17150 * manual/arith.texi (Parsing of Floats): Adjust comment.
17152 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17154 * math/Makefile (libm-narrow-fns): Add mul.
17155 (libm-test-funcs-narrow): Likewise.
17156 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17157 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17158 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17159 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17160 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17161 (NARROW_MUL_TRIVIAL): Likewise.
17162 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17163 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17165 (__dmull): Likewise.
17166 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17168 (CFLAGS-nldbl-dmul.c): New variable.
17169 (CFLAGS-nldbl-fmul.c): Likewise.
17170 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17172 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17174 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17175 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17176 * math/auto-libm-test-in: Add tests of mul.
17177 * math/auto-libm-test-out-narrow-mul: New generated file.
17178 * math/libm-test-narrow-mul.inc: New file.
17179 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17182 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17183 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17184 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17185 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17186 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17187 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17188 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17189 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17190 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17191 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17192 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17193 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17194 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17195 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17196 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17198 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17199 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17201 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17202 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17204 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17206 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17207 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17208 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17210 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17215 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17216 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17217 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17218 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17219 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17220 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17221 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17222 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17224 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17226 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17227 with *%eax in call.
17229 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17231 * sysdeps/i386/ldsodefs.h: Removed.
17232 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17233 * sysdeps/x86/ldsodefs.h: This.
17234 (La_i86_regs): New.
17235 (La_i86_retval): Likewise.
17236 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17237 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17239 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17241 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17244 2018-05-13 Alan Modra <amodra@gmail.com>
17246 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17247 R_PARISC_TLS_DTPOFF32 reloc addend.
17249 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17251 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17252 * math/math.h: Restrict the prototype definition for the functions
17253 issignaling(_Float128) and iszero(_Float128); and template
17254 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17255 __HAVE_FLOAT128_UNLIKE_LDBL.
17256 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17257 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17258 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17259 __f128() constants; define the type _Float128 as long double;
17260 and reuse long double in __CFLOAT128.
17262 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17264 * sysdeps/generic/math_private.h: Do not include
17266 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17268 * math/fromfp.h: Include <math-barriers.h>.
17269 * math/math-narrow.h: Likewise.
17270 * math/s_nextafter.c: Likewise.
17271 * math/s_nexttowardf.c: Likewise.
17272 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17273 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17274 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17275 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17276 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17277 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17278 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17281 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17284 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17285 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17287 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17288 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17289 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17290 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17291 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17292 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17293 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17294 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17295 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17296 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17297 * sysdeps/ieee754/k_standardl.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17314 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17315 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17316 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17317 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17318 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17319 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17321 2018-05-11 Florian Weimer <fweimer@redhat.com>
17323 Use 64-bit epoch values in the time zone file parser.
17324 * include/time.h (internal_time_t): Define.
17325 (__tzfile_compute): Use it.
17326 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17328 (transitions): Switch to internal_time_t.
17329 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17331 (__tzfile_compute): Use internal_time_t for timer argument. Check
17332 for truncation before calling __offtime.
17334 2018-05-11 Florian Weimer <fweimer@redhat.com>
17337 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17338 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17340 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17341 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17342 export without --enable-obsolete-rpc.
17343 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17344 symbol. This should not have been exported, ever.
17346 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17349 * localedata/locales/gd_GB (abmon): Fix typo in May:
17350 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17352 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17354 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17355 Use multiple registers to copy data in loop tail.
17357 * sysdeps/aarch64/multiarch/memmove_falkor.S
17358 (__memmove_falkor): Use multiple registers to move data in
17361 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17363 * math/math-underflow.h: New file.
17364 * sysdeps/generic/math_private.h: Do not include <float.h>.
17365 (fabs_tg): Remove macro. Moved to math-underflow.h.
17366 (min_of_type_f): Likewise.
17367 (min_of_type_): Likewise.
17368 (min_of_type_l): Likewise.
17369 (min_of_type_f128): Likewise.
17370 (min_of_type): Likewise.
17371 (math_check_force_underflow): Likewise.
17372 (math_check_force_underflow_nonneg): Likewise.
17373 (math_check_force_underflow_complex): Likewise.
17374 * math/e_exp2_template.c: Include <math-underflow.h>.
17375 * math/k_casinh_template.c: Likewise.
17376 * math/s_catan_template.c: Likewise.
17377 * math/s_catanh_template.c: Likewise.
17378 * math/s_ccosh_template.c: Likewise.
17379 * math/s_cexp_template.c: Likewise.
17380 * math/s_clog10_template.c: Likewise.
17381 * math/s_clog_template.c: Likewise.
17382 * math/s_csin_template.c: Likewise.
17383 * math/s_csinh_template.c: Likewise.
17384 * math/s_csqrt_template.c: Likewise.
17385 * math/s_ctan_template.c: Likewise.
17386 * math/s_ctanh_template.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17405 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17407 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17408 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17409 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17410 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17411 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17412 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17413 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17414 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17415 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17416 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17417 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17418 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17433 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17434 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17441 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17455 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17457 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17464 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17465 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17466 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17467 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17472 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17474 * sysdeps/generic/math-barriers.h: New file.
17475 * sysdeps/generic/math_private.h [!math_opt_barrier]
17476 (math_opt_barrier): Move to math-barriers.h.
17477 [!math_opt_barrier] (math_force_eval): Likewise.
17478 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17479 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17481 (math_force_eval): Likewise.
17482 * sysdeps/alpha/fpu/math-barriers.h: New file.
17483 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17485 (math_force_eval): Likewise.
17486 * sysdeps/x86/fpu/math-barriers.h: New file.
17487 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17489 (math_force_eval): Likewise.
17490 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17491 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17492 multiple-include guard for rename.
17493 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17494 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17496 (math_force_eval): Likewise.
17498 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17502 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17504 * stdlib/Makefile (test-bz22786): New test.
17505 * stdlib/test-bz22786.c: New test.
17507 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17509 * include/math-narrow-eval.h: New file. Contents moved from ....
17510 * sysdeps/generic/math_private.h: ... here.
17511 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17512 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17513 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17514 * stdlib/strtod_l.c: Likewise.
17515 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17516 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17517 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17521 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17522 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17523 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17524 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17530 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17531 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17532 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17533 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17534 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17535 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17536 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17537 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17538 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17539 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17540 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17541 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17542 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17543 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17545 2018-05-08 Andreas Schwab <schwab@suse.de>
17547 * sysdeps/nptl/internaltypes.h: Fix comment.
17549 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17551 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17552 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17555 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17557 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17558 of I into loop header.
17559 * benchtests/bench-memmove-walk.c
17560 (test_main): Likewise.
17562 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17565 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17566 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17568 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17571 * elf/dl-load.c (open_verify): Fix stack overflow.
17572 * elf/Makefile (tst-big-note): New test.
17573 * elf/tst-big-note-lib.S: New.
17574 * elf/tst-big-note.c: New.
17576 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17578 * scripts/abilist.awk: Ignore absolute symbols.
17579 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17580 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17581 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17582 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17583 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17584 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17585 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17586 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17587 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17588 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17589 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17590 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17591 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17592 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17593 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17594 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17595 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17596 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17597 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17598 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17599 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17600 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17601 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17603 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17604 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17605 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17606 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17608 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17609 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17610 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17611 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17612 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17613 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17614 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17615 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17616 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17617 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17618 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17622 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17629 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17631 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17632 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17634 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17635 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17636 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17637 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17642 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17643 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17644 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17645 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17647 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17648 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17649 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17650 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17651 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17652 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17653 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17655 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17656 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17657 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17658 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17661 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17664 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17665 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17669 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17670 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17672 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17673 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17674 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17675 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17676 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17677 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17678 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17679 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17680 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17681 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17682 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17683 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17684 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17686 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17687 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17688 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17689 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17690 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17691 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17692 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17693 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17694 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17695 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17696 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17697 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17698 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17699 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17700 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17701 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17702 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17703 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17704 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17705 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17706 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17707 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17708 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17709 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17711 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17712 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17714 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17715 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17716 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17717 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17718 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17719 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17720 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17721 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17722 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17723 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17724 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17725 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17726 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17727 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17728 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17729 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17730 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17731 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17732 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17735 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17737 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17738 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17739 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17740 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17741 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17742 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17743 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17744 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17749 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17751 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17752 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17754 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17757 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17758 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17760 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17761 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17762 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17825 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17831 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17832 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17834 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17835 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17837 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17838 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17840 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17841 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17844 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17845 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17846 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17847 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17848 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17853 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17867 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17868 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17879 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17881 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17893 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17920 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17932 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17935 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17936 Use atomic_load_acquire to load __tid.
17938 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17940 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17941 Restore the pointer into %rdx, after syscall and use %rdx,
17942 instead of %rsi, to restore context.
17944 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17946 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17947 Pop the pointer into %rdx after syscall and use %rdx, instead
17948 of %rsi, to restore context.
17950 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17952 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17953 handlers after setjmp.
17954 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17956 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17957 <libc-pointer-arith.h>.
17958 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17959 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17960 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17961 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17962 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17963 * sysdeps/x86/__longjmp_cancel.S: New file.
17964 * sysdeps/x86/longjmp.c: Likewise.
17965 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17967 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17969 * NEWS: Add ustat.h deprecation entry.
17970 * bits/ustat.h: Remove file.
17971 * misc/sys/ustat.h: Likewise.
17972 * misc/ustat.h: Likewise.
17973 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
17974 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
17975 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
17976 compatibility mode.
17977 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
17978 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
17979 generic Linux implementation.
17981 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17983 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
17984 * math/w_expl_compat.c: Likewise.
17985 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
17987 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17989 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17991 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17993 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
17994 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
17995 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
17997 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
17998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17999 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18000 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18001 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18004 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18006 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18008 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18009 * math/w_asin_template.c: Likewise.
18010 * math/w_atanh_template.c: Likewise.
18012 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18014 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18015 to powerpc/powerpc64/be for big-endian.
18016 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18019 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18020 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18021 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18022 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18023 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18024 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18025 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18026 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18027 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18028 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18029 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18030 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18031 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18032 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18033 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18034 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18035 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18036 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18037 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18038 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18039 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18040 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18041 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18042 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18043 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18044 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18045 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18046 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18047 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18048 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18049 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18050 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18052 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18053 adjusted to imply powerpc64 and older processors on powerpc64/be.
18054 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18055 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18056 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18057 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18058 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18059 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18060 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18061 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18062 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18063 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18064 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18065 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18066 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18067 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18068 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18069 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18070 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18071 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18072 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18073 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18074 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18075 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18076 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18077 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18078 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18079 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18080 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18081 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18082 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18083 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18084 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18086 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18087 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18088 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18089 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18091 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18092 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18093 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18094 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18096 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18097 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18098 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18099 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18100 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18101 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18102 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18103 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18104 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18105 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18106 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18108 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18109 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18110 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18111 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18112 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18113 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18114 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18115 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18116 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18117 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18118 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18120 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18121 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18122 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18123 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18124 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18125 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18126 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18127 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18128 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18129 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18130 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18131 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18133 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18134 and adjusted to imply olders processors.
18135 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18136 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18137 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18138 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18139 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18140 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18141 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18142 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18143 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18144 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18145 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18164 powerpc64 and adjusted.
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18170 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18172 * sysdeps/tile: Remove.
18173 * sysdeps/unix/sysv/linux/tile: Likewise.
18174 * README (tilegx-*-linux-gnu): Remove from list of supported
18176 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18177 contribution of support for generic Linux kernel syscall
18179 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18180 tilegx configurations.
18181 (Config.install_linux_headers): Do not handle tile.
18182 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18184 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18185 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18186 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18187 conditional undefine and redefine.
18188 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18190 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18191 conditional undefine and redefine.
18193 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18195 * signal/tst-sigaction.c: New file to test BZ #23069.
18196 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18198 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18201 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18202 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18203 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18204 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18206 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18208 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18209 _DIRENT_MATCHES_DIRENT64 is not defined.
18210 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18211 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18213 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18214 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18216 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18218 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18219 version to GCC 8 branch.
18221 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18223 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18224 (check_no_hidden): Use type of original function when declaring
18227 * sysdeps/unix/sysv/linux/sys/ptrace.h
18228 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18229 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18230 (struct __ptrace_seccomp_metadata): New type.
18231 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18232 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18233 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18234 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18235 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18236 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18237 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18238 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18240 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18241 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18242 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18243 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18244 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18245 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18246 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18248 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18250 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18252 * dirent/versionsort.c (versionsort): Likewise.
18253 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18254 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18255 * dirent/versionsort64.c (versionsort64): Likewise.
18256 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18257 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18258 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18259 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18260 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18261 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18262 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18263 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18264 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18265 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18268 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18269 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18271 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18273 * elf/elf.h (NT_PPC_PKEY): New macro.
18275 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18278 * localedata/locales/hr_HR: fix thousands_sep and
18281 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18283 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18284 (XTABS): Define to TAB3.
18286 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18288 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18290 * dirent/scandir-tail-common.c: New file.
18291 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18292 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18293 * dirent/scandir.c: Use scandir-tail-common.c.
18294 * dirent/scandirat.c: Likewise.
18295 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18296 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18297 if _DIRENT_MATCHES_DIRENT64 is defined.
18298 * dirent/scandirat64.c (scandirat64): Likewise.
18299 * include/dirent.h (__scandir_tail): Only define iff
18300 _DIRENT_MATCHES_DIRENT64 is not defined.
18301 (__scandir64_tail): Define regardless.
18302 (__scandirat, scandirat64): Remove libc_hidden_proto.
18303 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18304 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18306 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18307 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18308 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18309 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18311 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18313 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18315 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18317 (_dl_aarch64_cap_flags): Add asimdfhm.
18319 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18321 * sysdeps/nios2/libm-test-ulps: Update.
18323 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18325 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18326 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18328 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18330 (_DIRENT_MATCHES_DIRENT64): Undef
18331 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18332 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18333 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18334 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18335 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18336 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18337 use getdents64 syscalls as base.
18338 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18339 symbol if required.
18340 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18341 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18342 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18343 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18344 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18345 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18346 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18347 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18349 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18350 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18352 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18354 * scripts/test_printers_common.py (init_test): Disable lock elision.
18356 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18358 * math/test-tgmath.c (count_double, count_float,
18359 count_ldouble, count_cdouble, count_cfloat,
18360 count_cldouble): Use volatile int.
18362 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18364 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18365 (conformtest-xfail-conds): Add i386-gnu.
18366 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18368 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18369 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18370 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18371 msqid_ds.msg_lrpid): Likewise.
18372 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18374 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18375 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18376 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18377 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18379 (struct statvfs64): Likewise.
18380 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18382 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18383 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18384 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18385 instead of wait_queue.
18386 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18387 instead of vm_area_struct.
18388 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18389 struct sched_param definition to it.
18390 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18391 * bits/types/struct_sched_param.h: New file.
18392 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18393 <bits/types/struct_sched_param.h> instead of <sched.h>.
18394 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18395 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18396 generic version but include <bits/pthreadtypes.h> to make struct
18397 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18398 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18400 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18401 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18402 [__USE_XOPEN] (OFDEL): New macro.
18403 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18404 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18405 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18407 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18408 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18409 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18411 * sysdeps/i386/sys/ucontext.h: Likewise.
18412 * sysdeps/m68k/sys/ucontext.h: Likewise.
18413 * sysdeps/mips/sys/ucontext.h: Likewise.
18414 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18415 * sysdeps/mach/hurd/i386/Makefile
18416 (test-xfail-POSIX/fcntl.h/conform): Add.
18417 (test-xfail-POSIX/signal.h/conform): Add.
18418 (test-xfail-POSIX/semaphore.h/conform): Add.
18419 (test-xfail-POSIX/regex.h/conform): Add.
18420 (test-xfail-POSIX/aio.h/conform): Add.
18421 (test-xfail-POSIX/mqueue.h/conform): Add.
18422 (test-xfail-POSIX/sys/types.h/conform): Add.
18423 (test-xfail-UNIX98/fcntl.h/conform): Add.
18424 (test-xfail-UNIX98/netdb.h/conform): Add.
18425 (test-xfail-UNIX98/signal.h/conform): Add.
18426 (test-xfail-UNIX98/semaphore.h/conform): Add.
18427 (test-xfail-UNIX98/regex.h/conform): Add.
18428 (test-xfail-UNIX98/aio.h/conform): Add.
18429 (test-xfail-UNIX98/ftw.h/conform): Add.
18430 (test-xfail-UNIX98/mqueue.h/conform): Add.
18431 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18432 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18433 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18434 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18435 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18436 (test-xfail-UNIX98/sys/types.h/conform): Add.
18437 (test-xfail-UNIX98/stdlib.h/conform): Add.
18438 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18439 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18440 (test-xfail-POSIX2008/netdb.h/conform): Add.
18441 (test-xfail-POSIX2008/signal.h/conform): Add.
18442 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18443 (test-xfail-POSIX2008/regex.h/conform): Add.
18444 (test-xfail-POSIX2008/aio.h/conform): Add.
18445 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18446 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18447 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18448 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18449 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18450 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18451 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18452 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18453 (test-xfail-XOPEN2K/signal.h/conform): Add.
18454 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18455 (test-xfail-XOPEN2K/regex.h/conform): Add.
18456 (test-xfail-XOPEN2K/aio.h/conform): Add.
18457 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18458 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18459 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18460 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18461 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18462 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18463 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18464 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18465 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18466 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18467 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18468 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18469 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18470 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18471 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18472 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18473 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18474 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18475 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18476 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18477 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18478 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18479 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18480 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18481 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18482 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18483 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18485 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18486 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18488 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18490 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18491 --enable-obsolete for powerpc-linux-gnuspe.
18493 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18495 * conform/data/sys/un.h-data: Allow sun_ prefix.
18496 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18498 * sysdeps/mach/include/mach.h: Likewise.
18499 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18500 * sysdeps/mach/include/mach_error.h: Likewise.
18502 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18504 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18505 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18506 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18507 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18509 2018-04-16 Andreas Schwab <schwab@suse.de>
18512 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18514 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18516 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18517 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18519 2018-04-12 DJ Delorie <dj@redhat.com>
18521 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18524 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18526 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18527 (struct kernel_sigaction): Use the same definition on 31bit as is used
18530 2018-04-09 Florian Weimer <fweimer@redhat.com>
18533 * resolv/res_send.c (send_dg): Use designated initializers instead
18534 of assignment to zero-initialize other fields of struct mmsghdr.
18536 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18538 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18539 __READDIR_ALIAS): Undefine after usage.
18540 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18541 __READDIR_R_ALIAS): Likewise.
18542 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18543 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18544 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18545 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18546 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18547 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18548 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18549 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18551 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18552 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18553 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18554 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18555 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18556 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18557 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18558 * sysdeps/unix/sysv/linux/readdir.c: New file.
18559 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18560 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18561 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18563 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18565 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18567 * manual/charset.texi (Converting a Character): Fix typo.
18569 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18573 * sysdeps/arm/libm-test-ulps: Update.
18575 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18576 as base implementation.
18577 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18578 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18579 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18580 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18581 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18582 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18583 remove unrequired definitions and update comments.
18584 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18585 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18586 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18587 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18588 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18589 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18591 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18592 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18593 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18594 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18595 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18596 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18597 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18598 and RESET_SA_RESTORER hooks.
18600 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18602 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18604 2018-04-05 Florian Weimer <fweimer@redhat.com>
18606 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18607 integer overflow, memory leak on error, and indeterminate errno
18608 value. Add a null wide character to terminate the result string.
18609 * manual/charset.texi (Converting a Character): Mention embedded
18610 null bytes in the mbrtowc input string. Explain what happens in
18611 the -2 result case. Do not claim that mbrtowc is simple or
18612 obvious to use. Adjust the description of the code example. Use
18613 @code, not @var, for concrete variables.
18615 2018-04-05 Florian Weimer <fweimer@redhat.com>
18617 * manual/examples/mbstouwcs.c: New file.
18618 * manual/charset.texi (Converting a Character): Include it.
18620 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18622 * include/dirent.h (dirfd): Add hidden proto.
18623 * dirent/dirfd.c (dirfd): Add hidden def.
18624 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18625 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18627 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18629 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18630 sin, cos and sincos to 1 ULP.
18632 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18635 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18637 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18638 * elf/tst-absolute-sym.c: New file.
18639 * elf/tst-absolute-sym-lib.c: New file.
18640 * elf/tst-absolute-sym-lib.lds: New file.
18641 * elf/Makefile (tests): Add `tst-absolute-sym'.
18642 (modules-names): Add `tst-absolute-sym-lib'.
18643 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18644 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18645 ($(objpfx)tst-absolute-sym): New dependency.
18648 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18650 (SYMBOL_ADDRESS): New macro.
18651 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18652 SYMBOL_ADDRESS for symbol address calculation.
18653 * elf/dl-runtime.c (_dl_fixup): Likewise.
18654 (_dl_profile_fixup): Likewise.
18655 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18656 * elf/rtld.c (dl_main): Likewise.
18657 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18658 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18659 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18660 (elf_machine_rela): Likewise.
18661 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18662 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18663 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18664 (elf_machine_rela): Likewise.
18665 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18666 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18667 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18668 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18670 (elf_machine_reloc): Likewise.
18671 (elf_machine_got_rel): Likewise.
18672 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18673 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18674 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18678 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18681 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18688 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18691 2018-04-04 Zack Weinberg <zackw@panix.com>
18693 * sysdeps/generic/internal-signals.h: Include signal.h,
18694 sigsetops.h, and stdbool.h.
18695 (__libc_signal_block_all): Actually block all signals.
18696 (__libc_signal_block_app): Likewise.
18697 (__libc_signal_restore_set): Actually restore the signal mask.
18699 2018-04-04 Florian Weimer <fweimer@redhat.com>
18701 inet: Actually build and run tst-deadline.
18702 * inet/Makefile (tests-internal): Add tst-deadline and do not
18703 overwrite the variable.
18704 (tests-static-internal): Remove variable.
18706 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18709 * bits/uio-ext.h (RWF_APPEND): New.
18710 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18711 * manual/llio.texi: Document RWF_APPEND.
18712 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18713 (RWF_SUPPORTED): Add RWF_APPEND.
18715 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18718 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18719 check for internal nptl signals.
18720 * nptl/sigaction.c (__sigaction): Likewise.
18721 * signal/sigaddset.c (sigaddset): Likewise.
18722 * signal/sigdelset.c (sigdelset): Likewise.
18723 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18724 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18726 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18727 to filter out internal nptl signals.
18728 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18729 also check realtime signals using standard macros.
18730 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18731 __is_internal_signal, __libc_signal_block_all,
18732 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18733 * sysdeps/nptl/sigfillset.c: Remove file.
18734 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18735 Change return to bool.
18736 (__clear_internal_signals): Remove SIGTIMER clean since it is
18737 equal to SIGCANEL on Linux.
18738 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18739 signal set was constructed using standard functions.
18741 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18743 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18744 ifname is too long.
18745 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18746 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18747 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18749 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18750 * signal/sigaddset.c: Include <sigsetopts.h>.
18751 * signal/sigdelset.c: Likewise.
18753 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18755 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18757 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18758 logic as sin and cos.
18760 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18762 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18763 inputs. Return correct sign.
18764 (do_sincos): Remove small input check before do_sin, let do_sin set
18769 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18771 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18772 (do_cos_slow): Likewise.
18773 (do_sin_slow): Likewise.
18774 (reduce_and_compute): Likewise.
18779 (sloww1): Likewise.
18780 (sloww2): Likewise.
18782 (bslow1): Likewise.
18783 (bslow2): Likewise.
18784 (cslow2): Likewise.
18786 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18788 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18789 (do_cos): Remove corp parameter and calculations.
18790 (do_sin): Likewise.
18791 (do_sincos): Remove cor variable.
18792 (__sin): Use do_sincos for huge inputs.
18794 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18795 (reduce_and_compute_sincos): Remove unused function.
18797 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18799 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18800 reduce_sincos, improve accuracy to 136 bits.
18801 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18802 (__sin): Use improved reduction and simplified do_sincos calculation.
18804 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18806 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18808 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18809 (do_sincos_2): Likewise.
18810 (__sin): Remove middle range reduction case.
18812 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18815 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18817 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18818 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18821 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18823 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18825 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18828 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18830 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18831 Remove definitions.
18832 (opendir_oflags): Use O_DIRECTORY regardless.
18833 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18834 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18836 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18838 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18839 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18841 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18842 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18843 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18844 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18845 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18846 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18848 * htl/Makefile: Bump licence to LGPL 2.1+.
18849 * htl/alloca_cutoff.c: Likewise.
18850 * htl/cthreads-compat.c: Likewise.
18851 * htl/lockfile.c: Likewise.
18852 * htl/pt-alloc.c: Likewise.
18853 * htl/pt-cancel.c: Likewise.
18854 * htl/pt-cleanup.c: Likewise.
18855 * htl/pt-create.c: Likewise.
18856 * htl/pt-dealloc.c: Likewise.
18857 * htl/pt-detach.c: Likewise.
18858 * htl/pt-exit.c: Likewise.
18859 * htl/pt-getattr.c: Likewise.
18860 * htl/pt-initialize.c: Likewise.
18861 * htl/pt-internal.h: Likewise.
18862 * htl/pt-join.c: Likewise.
18863 * htl/pt-self.c: Likewise.
18864 * htl/pt-setcancelstate.c: Likewise.
18865 * htl/pt-setcanceltype.c: Likewise.
18866 * htl/pt-sigmask.c: Likewise.
18867 * htl/pt-spin-inlines.c: Likewise.
18868 * htl/pt-testcancel.c: Likewise.
18869 * htl/pt-yield.c: Likewise.
18870 * htl/tests/test-1.c: Likewise.
18871 * htl/tests/test-10.c: Likewise.
18872 * htl/tests/test-11.c: Likewise.
18873 * htl/tests/test-12.c: Likewise.
18874 * htl/tests/test-13.c: Likewise.
18875 * htl/tests/test-14.c: Likewise.
18876 * htl/tests/test-15.c: Likewise.
18877 * htl/tests/test-16.c: Likewise.
18878 * htl/tests/test-17.c: Likewise.
18879 * htl/tests/test-2.c: Likewise.
18880 * htl/tests/test-3.c: Likewise.
18881 * htl/tests/test-4.c: Likewise.
18882 * htl/tests/test-5.c: Likewise.
18883 * htl/tests/test-6.c: Likewise.
18884 * htl/tests/test-7.c: Likewise.
18885 * htl/tests/test-8.c: Likewise.
18886 * htl/tests/test-9.c: Likewise.
18887 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18888 * sysdeps/htl/bits/cancelation.h: Likewise.
18889 * sysdeps/htl/bits/pthread-np.h: Likewise.
18890 * sysdeps/htl/bits/pthread.h: Likewise.
18891 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18892 * sysdeps/htl/bits/semaphore.h: Likewise.
18893 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18894 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18895 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18896 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18897 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18898 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18899 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18900 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18901 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18902 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18903 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18904 * sysdeps/htl/old_pt-atfork.c: Likewise.
18905 * sysdeps/htl/pt-atfork.c: Likewise.
18906 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18907 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18908 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18909 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18910 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18911 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18912 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18913 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18914 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18915 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18916 * sysdeps/htl/pt-attr-init.c: Likewise.
18917 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18918 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18919 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18920 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18921 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18922 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18923 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18924 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18925 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18926 * sysdeps/htl/pt-attr.c: Likewise.
18927 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18928 * sysdeps/htl/pt-barrier-init.c: Likewise.
18929 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18930 * sysdeps/htl/pt-barrier.c: Likewise.
18931 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18932 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18933 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18934 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18935 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18936 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18937 * sysdeps/htl/pt-cond-init.c: Likewise.
18938 * sysdeps/htl/pt-cond-signal.c: Likewise.
18939 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18940 * sysdeps/htl/pt-cond-wait.c: Likewise.
18941 * sysdeps/htl/pt-cond.c: Likewise.
18942 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18943 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18944 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18945 * sysdeps/htl/pt-condattr-init.c: Likewise.
18946 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18947 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18948 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18949 * sysdeps/htl/pt-equal.c: Likewise.
18950 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18951 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18952 * sysdeps/htl/pt-getschedparam.c: Likewise.
18953 * sysdeps/htl/pt-getspecific.c: Likewise.
18954 * sysdeps/htl/pt-init-specific.c: Likewise.
18955 * sysdeps/htl/pt-key-create.c: Likewise.
18956 * sysdeps/htl/pt-key-delete.c: Likewise.
18957 * sysdeps/htl/pt-key.h: Likewise.
18958 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18959 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18960 * sysdeps/htl/pt-mutex-init.c: Likewise.
18961 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18962 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18963 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18964 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18965 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18966 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18967 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18968 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18969 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18970 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18971 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
18972 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
18973 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
18974 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
18975 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
18976 * sysdeps/htl/pt-mutexattr.c: Likewise.
18977 * sysdeps/htl/pt-once.c: Likewise.
18978 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
18979 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
18980 * sysdeps/htl/pt-rwlock-init.c: Likewise.
18981 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
18982 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
18983 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
18984 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
18985 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
18986 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
18987 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
18988 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
18989 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
18990 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
18991 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
18992 * sysdeps/htl/pt-setconcurrency.c: Likewise.
18993 * sysdeps/htl/pt-setschedparam.c: Likewise.
18994 * sysdeps/htl/pt-setschedprio.c: Likewise.
18995 * sysdeps/htl/pt-setspecific.c: Likewise.
18996 * sysdeps/htl/pt-spin.c: Likewise.
18997 * sysdeps/htl/pt-startup.c: Likewise.
18998 * sysdeps/htl/pthread.h: Likewise.
18999 * sysdeps/htl/sem-close.c: Likewise.
19000 * sysdeps/htl/sem-destroy.c: Likewise.
19001 * sysdeps/htl/sem-getvalue.c: Likewise.
19002 * sysdeps/htl/sem-init.c: Likewise.
19003 * sysdeps/htl/sem-open.c: Likewise.
19004 * sysdeps/htl/sem-post.c: Likewise.
19005 * sysdeps/htl/sem-timedwait.c: Likewise.
19006 * sysdeps/htl/sem-trywait.c: Likewise.
19007 * sysdeps/htl/sem-unlink.c: Likewise.
19008 * sysdeps/htl/sem-wait.c: Likewise.
19009 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19010 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19011 * sysdeps/mach/htl/pt-block.c: Likewise.
19012 * sysdeps/mach/htl/pt-spin.c: Likewise.
19013 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19014 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19015 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19016 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19017 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19018 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19019 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19020 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19021 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19022 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19023 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19024 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19025 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19026 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19027 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19028 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19029 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19030 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19031 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19032 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19033 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19034 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19035 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19036 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19037 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19038 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19039 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19040 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19041 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19042 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19043 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19044 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19045 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19046 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19047 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19048 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19049 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19050 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19051 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19052 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19053 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19054 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19055 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19057 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19058 * README: Remove the mention of out-of-tree patches needed for
19061 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19062 (UTIME_NOW, UTIME_OMIT): Define macros.
19064 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19065 instead of pthread_detach.
19066 (__cthread_fork): Call __pthread_create instead of pthread_create.
19067 (__cthread_keycreate): Call __pthread_key_create instead of
19068 pthread_key_create.
19069 (__cthread_getspecific): Call __pthread_getspecific instead of
19070 pthread_getspecific.
19071 (__cthread_setspecific): Call __pthread_setspecific instead of
19072 pthread_setspecific.
19073 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19074 __pthread_mutex_unlock instead of pthread_mutex_lock and
19075 pthread_mutex_unlock.
19076 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19077 ___pthread_get_cleanup_stack.
19078 (__pthread_get_cleanup_stack): New strong alias.
19079 * htl/pt-create.c: Include <pthreadP.h>.
19080 (entry_point): Call __pthread_exit instead of pthread_exit.
19081 (pthread_create): Rename to __pthread_create.
19082 (pthread_create): New strong alias.
19083 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19084 (pthread_detach): New strong alias.
19085 (__pthread_detach): Call __pthread_cond_broadcast instead of
19086 pthread_cond_broadcast.
19087 * htl/pt-exit.c: Include <pthreadP.h>.
19088 (__pthread_exit): Call __pthread_setcancelstate and
19089 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19090 __pthread_get_cleanup_stack.
19091 * htl/pt-testcancel.c: Include <pthreadP.h>.
19092 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19093 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19094 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19095 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19096 pthread_attr_getstacksize.
19097 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19098 Rename to __pthread_attr_getstackaddr.
19099 (pthread_attr_getstackaddr): New strong alias.
19100 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19101 Rename to __pthread_attr_getstacksize.
19102 (pthread_attr_getstacksize): New strong alias.
19103 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19104 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19105 (pthread_attr_setstack): New strong alias.
19106 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19107 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19108 pthread_attr_getstacksize, pthread_attr_setstacksize and
19109 pthread_attr_setstackaddr.
19110 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19111 Rename to __pthread_attr_setstackaddr.
19112 (pthread_attr_setstackaddr): New strong alias.
19113 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19114 Rename to __pthread_attr_setstacksize.
19115 (pthread_attr_setstacksize): New strong alias.
19116 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19117 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19119 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19120 (__pthread_key_create): New hidden def.
19121 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19122 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19123 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19124 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19125 __pthread_setspecific, __pthread_setcancelstate,
19126 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19127 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19128 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19130 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19131 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19132 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19133 (pthread_attr_setstackaddr): New strong alias.
19134 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19135 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19136 (pthread_attr_setstacksize): New strong alias.
19137 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19138 (call_exit): Call __pthread_exit instead of pthread_exit.
19139 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19140 (_pthread_mutex_init): New hidden definition.
19141 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19142 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19143 instead of pthread_attr_init and pthread_attr_setstack.
19145 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19146 __vm_deallocate instead of vm_allocate and vm_deallocate.
19147 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19149 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19151 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19153 * hurd/siginfo.c: Include <libioP.h>.
19154 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19155 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19157 * mach/devstream.c: Include <libioP.h>.
19158 (dealloc_ref): Call __mach_port_deallocate instead of
19159 mach_port_deallocate.
19160 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19161 Call __mach_port_deallocate instead of mach_port_deallocate.
19162 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19164 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19166 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19167 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19168 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19170 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19172 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19173 instead of sysconf.
19174 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19175 __clock_gettime instead of clock_gettime.
19176 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19177 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19178 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19179 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19180 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19182 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19183 __clock_gettime and __nanosleep instead of clock_gettime and
19185 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19186 __hurd_catch_signal.
19187 (hurd_catch_signal): New strong alias.
19188 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19189 __hurd_catch_signal instead of hurd_catch_signal.
19190 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19191 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19192 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19193 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19194 (_hurd_thread_sigstate): Add hidden def.
19195 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19197 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19198 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19199 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19200 __hurd_file_name_path_lookup.
19201 (hurd_file_name_path_lookup): New strong alias.
19202 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19203 hurd_file_name_path_lookup.
19204 * mach/errstring.c (mach_error_type): Add hidden def.
19205 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19206 * mach/mutex-init.c (__mutex_init): Add hidden def.
19207 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19208 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19209 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19210 * sysdeps/mach/hurd/getcwd.c
19211 (_hurd_canonicalize_directory_name_internal): Rename to
19212 __hurd_canonicalize_directory_name_internal.
19213 (_hurd_canonicalize_directory_name_internal): New strong alias.
19214 (__canonicalize_directory_name_internal, __getcwd): Call
19215 __hurd_canonicalize_directory_name_internal instead of
19216 _hurd_canonicalize_directory_name_internal.
19217 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19218 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19220 * sysdeps/hurd/include/hurd.h: New file.
19221 * sysdeps/hurd/include/hurd/fd.h: New file.
19222 * sysdeps/hurd/include/hurd/signal.h: New file.
19223 * sysdeps/mach/include/lock-intern.h: New file.
19224 * sysdeps/mach/include/mach.h: New file.
19225 * sysdeps/mach/include/mach/mig_support.h: New file.
19226 * sysdeps/mach/include/mach_error.h: New file.
19227 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19229 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19230 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19231 _HEADER_H_HIDDEN_DEF macro.
19232 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19233 _hurd_fd_error_signal): Add hidden prototype.
19234 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19236 * libio/iolibio.h (_IO_puts): New hidden prototype.
19237 * libio/ioputs.c (_IO_puts): New hidden def.
19238 * sysdeps/mach/hurd/localplt.data: New file.
19240 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19241 Amos Jeffries <squid3@treenet.co.nz>
19242 David Michael <fedora.dm0@gmail.com>
19243 Marco Gerards <marco@gnu.org>
19244 Marcus Brinkmann <marcus@gnu.org>
19245 Neal H. Walfield <neal@gnu.org>
19246 Pino Toscano <toscano.pino@tiscali.it>
19247 Richard Braun <rbraun@sceen.net>
19248 Roland McGrath <roland@gnu.org>
19249 Samuel Thibault <samuel.thibault@ens-lyon.org>
19250 Thomas DiModica <ricinwich@yahoo.com>
19251 Thomas Schwinge <tschwinge@gnu.org>
19253 * htl: New directory.
19254 * sysdeps/htl: New directory.
19255 * sysdeps/hurd/htl: New directory.
19256 * sysdeps/i386/htl: New directory.
19257 * sysdeps/mach/htl: New directory.
19258 * sysdeps/mach/hurd/htl: New directory.
19259 * sysdeps/mach/hurd/i386/htl: New directory.
19260 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19261 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19262 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19264 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19266 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19267 signals in thread created for runing timers.
19269 2018-04-01 Florian Weimer <fweimer@redhat.com>
19271 * support/support_format_addrinfo.c (support_format_addrinfo):
19272 Include unknown error number in formatted result.
19274 2018-03-29 Florian Weimer <fweimer@redhat.com>
19276 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19279 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19281 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19282 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19283 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19284 (__ASSUME_CLONE_BACKWARDS): Define.
19286 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19289 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19290 early when linux sentinel value is set.
19292 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19294 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19296 2018-03-27 Andreas Schwab <schwab@suse.de>
19299 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19300 allocation of private copy of nsaddr_list fails.
19302 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19305 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19306 * sysdeps/unix/sysv/linux/umount.c: ... here.
19307 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19308 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19309 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19310 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19312 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19313 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19315 2018-03-26 Andreas Schwab <schwab@suse.de>
19317 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19318 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19319 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19320 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19321 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19322 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19323 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19324 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19325 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19326 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19327 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19328 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19329 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19330 (R_RISCV_NUM): Define.
19332 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19334 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19335 TLS declaration of errno.
19336 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19338 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19339 (ARCH_SETUP_TLS): Likewise.
19340 * sysdeps/mach/hurd/libc-start.h: New file copied from
19341 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19342 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19343 instead of __libc_setup_tls.
19344 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19345 __libc_setup_tls before initializing libpthread and running _hurd_init
19346 which starts the signal thread.
19347 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19349 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19351 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19354 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19355 after it is defined.
19357 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19358 Max Horn <max@quendi.de>
19362 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19364 * string/test-memmove.c (do_test2): New testcase.
19366 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19368 * sysdeps/generic/frame.h: Remove file.
19369 * sysdeps/arm/frame.h: Likewise.
19370 * sysdeps/hppa/frame.h: Likewise.
19371 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19373 (GET_FRAME): Likewise.
19374 (GET_STACK): Likewise.
19375 (CALL_SIGHANDLER): Likewise.
19376 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19378 (GET_FRAME): Likewise.
19379 (GET_STACK): Likewise.
19380 (CALL_SIGHANDLER): Likewise.
19381 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19382 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19383 (GET_FRAME): Likewise.
19384 (GET_STACK): Likewise.
19385 (CALL_SIGHANDLER): Likewise.
19386 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19387 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19388 (GET_FRAME): Likewise.
19389 (GET_STACK): Likewise.
19390 (ADVANCE_STACK_FRAME): Likewise.
19391 (CALL_SIGHANDLER): Likewise.
19392 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19393 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19394 (GET_FRAME): Likewise.
19395 (GET_STACK): Likewise.
19396 (CALL_SIGHANDLER): Likewise.
19397 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19398 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19399 (GET_FRAME): Likewise.
19400 (GET_STACK): Likewise.
19401 (CALL_SIGHANDLER): Likewise.
19402 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19403 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19404 (GET_FRAME): Likewise.
19405 (GET_STACK): Likewise.
19406 (CALL_SIGHANDLER): Likewise.
19407 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19408 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19409 (GET_FRAME): Likewise.
19410 (GET_STACK): Likewise.
19411 (CALL_SIGHANDLER): Likewise.
19412 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19413 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19414 (GET_FRAME): Likewise.
19415 (GET_STACK): Likewise.
19416 (CALL_SIGHANDLER): Likewise.
19417 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19418 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19419 (GET_FRAME): Likewise.
19420 (GET_STACK): Likewise.
19421 (CALL_SIGHANDLER): Likewise.
19422 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19423 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19424 (GET_FRAME): Likewise.
19425 (GET_STACK): Likewise.
19426 (CALL_SIGHANDLER): Likewise.
19427 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19428 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19429 (GET_FRAME): Likewise.
19430 (GET_STACK): Likewise.
19431 (CALL_SIGHANDLER): Likewise.
19432 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19433 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19434 (GET_FRAME): Likewise.
19435 (GET_STACK): Likewise.
19436 (CALL_SIGHANDLER): Likewise.
19437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19438 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19439 (FIRST_FRAME_POINTER): Likewise.
19440 (ADVANCE_STACK_FRAME): Likewise.
19441 (GET_STACK): Likewise.
19442 (GET_FRAME): Likewise.
19443 (CALL_SIGHANDLER): Likewise.
19444 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19445 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19446 (ADVANCE_STACK_FRAME): Likewise.
19447 (GET_STACK): Likewise.
19448 (GET_FRAME): Likewise.
19449 (CALL_SIGHANDLER): Likewise.
19450 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19451 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19452 (GET_FRAME): Likewise.
19453 (GET_STACK): Likewise.
19454 (CALL_SIGHANDLER): Likewise.
19455 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19456 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19457 (GET_FRAME): Likewise.
19458 (GET_STACK): Likewise.
19459 (CALL_SIGHANDLER): Likewise.
19461 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19463 * sysdeps/x86_64/backtrace.c: Move to ....
19464 * debug/backtrace.c: ... here.
19465 * sysdeps/aarch64/backtrace.c: Remove file.
19466 * sysdeps/alpha/backtrace.c: Likewise.
19467 * sysdeps/hppa/backtrace.c: Likewise.
19468 * sysdeps/ia64/backtrace.c: Likewise.
19469 * sysdeps/mips/backtrace.c: Likewise.
19470 * sysdeps/nios2/backtrace.c: Likewise.
19471 * sysdeps/riscv/backtrace.c: Likewise.
19472 * sysdeps/sh/backtrace.c: Likewise.
19473 * sysdeps/tile/backtrace.c: Likewise.
19475 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19478 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19481 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19484 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19485 possibly overflowing computations.
19487 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19489 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19490 values from Linux-specific section now that it is in the GNU section.
19491 * sysdeps/gnu/errlist.c: Regenerate.
19493 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19495 * math/Makefile (libm-narrow-fns): Add sub.
19496 (libm-test-funcs-narrow): Likewise.
19497 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19498 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19499 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19500 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19501 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19502 (NARROW_SUB_TRIVIAL): Likewise.
19503 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19505 (__dsubl): Likewise.
19506 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19508 (CFLAGS-nldbl-dsub.c): New variable.
19509 (CFLAGS-nldbl-fsub.c): Likewise.
19510 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19512 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19514 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19515 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19516 * math/auto-libm-test-in: Add tests of sub.
19517 * math/auto-libm-test-out-narrow-sub: New generated file.
19518 * math/libm-test-narrow-sub.inc: New file.
19519 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19522 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19523 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19524 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19533 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19534 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19535 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19536 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19538 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19539 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19540 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19541 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19542 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19543 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19544 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19545 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19546 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19547 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19548 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19555 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19557 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19558 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19560 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19561 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19562 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19563 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19564 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19566 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19569 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19571 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19573 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19575 2018-03-18 Richard Braun <rbraun@sceen.net>
19577 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19580 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19582 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19583 (__libc_cleanup_fct): Define function.
19584 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19585 __libc_cleanup_end): Rewrite implementation using
19586 __attribute__ ((__cleanup__)).
19587 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19588 * hurd/Makefile (routines): Add hurdlock.
19589 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19591 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19592 * hurd/hurdpid.c: Include <lowlevellock.h>
19593 (_S_msg_proc_newids): Use lll_wait to synchronize.
19594 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19595 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19596 * mach/Makefile (lock-headers): Remove machine-lock.h.
19597 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19599 (__spin_lock_t): New type.
19600 (__SPIN_LOCK_INITIALIZER): New macro.
19601 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19602 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19603 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19604 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19605 (__mutex_init): Initialize with lll.
19606 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19607 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19609 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19610 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19611 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19612 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19613 (__setpgid): Use lll for synchronization.
19614 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19615 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19616 instead of <cthreads.h>.
19617 (_IO_lock_inexpensive): New macro
19618 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19619 (__libc_lock_self0): New declaration.
19620 (__libc_lock_owner_self): New macro.
19621 (__libc_key_t): Remove type.
19622 (_LIBC_LOCK_INITIALIZER): New macro.
19623 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19624 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19625 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19626 __libc_lock_define_initialized_recursive,
19627 __rtld_lock_define_initialized_recursive,
19628 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19629 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19630 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19631 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19632 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19633 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19634 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19636 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19637 * hurd/hurdlock.c: New file.
19638 * hurd/hurdlock.h: New file.
19639 * mach/lowlevellock.h: New file
19641 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19643 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19644 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19645 when opening a symlink with O_NOFOLLOW.
19646 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19647 path when flags contains O_NOFOLLOW.
19648 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19649 if flags contains O_DIRECTORY and the result is a directory.
19650 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19651 oneself when the pointer given in D is nul (as set by ext2fs).
19652 * sysdeps/mach/hurd/mlockall.c: New file.
19653 * sysdeps/mach/hurd/munlockall.c: New file.
19655 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19657 * hurd/hurdsig.c: Include <pthread.h>.
19658 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19659 get the signal thread stack layout.
19660 * hurd/Makefile (headers): Remove threadvar.h.
19661 (inline-headers): Remove threadvar.h.
19662 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19663 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19664 __hurd_threadvar_max, __hurd_errno_location.
19665 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19666 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19667 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19668 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19669 unless TLS is not initialized yet, in which case we do not need a
19670 critical section yet anyway.
19671 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19673 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19675 (__hurd_threadvar_index): Remove enum.
19676 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19677 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19679 (__hurd_reply_port0): New variable declaration.
19680 (__hurd_local_reply_port): New macro.
19681 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19682 (interrupted_reply_port_location): Add thread_t parameter. Use it
19683 with THREAD_TCB to access thread-local variables.
19684 (_hurdsig_abort_rpcs): Pass ss->thread to
19685 interrupted_reply_port_location.
19686 (_hurd_internal_post_signal): Likewise.
19687 (_hurdsig_init): Use presence of cthread_fork instead of
19688 __hurd_threadvar_stack_mask to start signal thread by hand.
19689 Remove signal thread threadvar initialization.
19690 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19691 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19692 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19694 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19696 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19697 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19698 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19699 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19700 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19701 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19702 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19704 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19705 <hurd/threadvar.h>.
19706 [IS_IN(rtld)] (rtld_errno): New variable.
19707 [IS_IN(rtld)] (__errno_location): New weak function.
19708 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19709 * sysdeps/mach/hurd/errno.c: Remove file.
19710 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19711 (__fork): Remove THREADVAR_SPACE macro and its use.
19712 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19714 (init): Do not initialize threadvar.
19715 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19717 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19718 __hurd_local_reply_port instead of threadvar.
19719 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19720 _hurd_sigstate fields.
19721 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19722 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19723 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19724 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19725 instead of threadvar.
19726 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19727 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19728 (use_threadvar, global_reply_port): Remove variables.
19729 (__hurd_reply_port0): New variable.
19730 (__mig_get_reply_port): Use __hurd_local_reply_port and
19731 __hurd_reply_port0 instead of threadvar.
19732 (__mig_dealloc_reply_port): Likewise.
19733 (__mig_init): Do not initialize threadvar.
19734 * sysdeps/mach/hurd/profil.c: Fix comment.
19735 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19736 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19737 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19738 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19739 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19740 __cthread_setspecific.
19741 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19742 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19743 __cthread_t instead of cthread_fork, cthread_detach,
19744 pthread_getattr_np, pthread_attr_getstack.
19745 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19746 __cthread_keycreate.
19747 (cthread_getspecific): Rename to __cthread_getspecific.
19748 (cthread_setspecific): Rename to __cthread_setspecific.
19749 (__libc_getspecific): Use __cthread_getspecific instead of
19750 cthread_getspecific.
19751 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19752 __cthread_keycreate instead of cthread_keycreate.
19753 (__libc_setspecific): Use __cthread_setspecific instead of
19754 cthread_setspecific.
19755 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19758 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19759 testing whether it is defined.
19761 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19763 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19765 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19766 * sysdeps/mach/i386/thread_state.h
19767 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19769 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19771 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19773 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19774 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19776 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19778 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19779 descriptor instead of creating a new one.
19780 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19782 * mach/setup-thread.c: Include <ldsodefs.h>.
19783 (__mach_setup_thread): Call _dl_allocate_tls, pass
19784 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19785 MACHINE_THREAD_STATE_FLAVOR, before getting
19786 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19787 MACHINE_THREAD_STATE_FLAVOR with the result.
19788 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19789 MACHINE_THREAD_STATE_FIX_NEW.
19790 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19791 too. Add original thread parameter.
19793 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19795 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19796 Remove inline function.
19798 * sysdeps/i386/fpu/libm-test-ulps: Update.
19799 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19801 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19803 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19806 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19808 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19809 (__sincos_code): Remove define and undefine.
19810 [__FAST_MATH__] (__sincos): Remove inline function.
19811 [__FAST_MATH__] (__sincosf): Remove inline function.
19812 [__FAST_MATH__] (__sincosl): Remove inline function.
19813 (__atan2l): Remove inline functions.
19814 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19815 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19817 (floor): Remove inline function.
19819 [__FAST_MATH__] (__ldexp_code): Remove macro.
19820 [__FAST_MATH__] (ldexp): Remove inline function.
19821 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19822 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19823 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19824 [__USE_ISOC99] (__lrint_code): Remove macro.
19825 [__USE_ISOC99] (__llrint_code): Likewise.
19826 [__USE_ISOC99] (lrintf): Remove inline function.
19827 [__USE_ISOC99] (lrint): Likewise.
19828 [__USE_ISOC99] (lrintl): Likewise.
19829 [__USE_ISOC99] (llrint): Likewise.
19830 [__USE_ISOC99] (llrintf): Likewise.
19831 [__USE_ISOC99] (llrintl): Likewise.
19833 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19835 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19836 (__ieee754_sqrtf): Remove.
19837 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19838 (__ieee754_sqrtf): Remove.
19839 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19840 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19841 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19842 (__ieee754_sqrtf): Remove.
19843 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19844 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19847 (__ieee754_sqrt): Remove.
19848 (__ieee754_sqrtf): Remove.
19849 (__ieee754_sqrtl): Remove.
19850 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19851 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19852 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19853 (__ieee754_sqrtf): Remove.
19854 (__ieee754_sqrtl): Remove.
19856 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19858 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19859 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19860 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19861 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19862 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19863 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19864 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19865 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19867 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19868 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19869 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19870 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19871 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19872 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19873 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19874 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19875 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19876 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19877 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19878 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19879 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19880 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19881 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19882 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19883 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19884 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19885 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19886 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19888 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19889 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19890 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19891 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19892 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19894 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19895 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19896 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19897 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19898 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19899 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19900 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19901 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19902 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19903 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19904 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19905 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19906 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19908 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19910 * include/math.h (sqrt): Declare with asm redirect.
19913 (sqrtf128): Likewise.
19914 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19915 nonlib and libnldbl with -fmath-errno.
19916 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19917 * math/w_sqrt_template.c: Likewise.
19918 * math/w_sqrtf_compat.c: Likewise.
19919 * math/w_sqrtl_compat.c: Likewise.
19920 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19921 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19922 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19925 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19927 * benchtests/Makefile: Define _ISOMAC.
19928 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19929 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19930 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19931 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19932 * benchtests/bench-timing.h: Define attribute_hidden.
19934 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19936 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19939 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19942 * localedata/locales/cs_CZ (mon): Rename to...
19944 (mon): Import from CLDR (genitive case).
19946 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19949 * localedata/locales/el_CY (abmon): Rename to...
19950 (ab_alt_mon): This.
19951 (abmon): Import from CLDR (abbreviated genitive case).
19952 * localedata/locales/el_GR (abmon): Rename to...
19953 (ab_alt_mon): This.
19954 (abmon): Import from CLDR (abbreviated genitive case).
19956 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19959 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19961 2018-03-15 Robert Buj <robert.buj@gmail.com>
19964 * localedata/locales/ca_ES (abmon): Rename to...
19965 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19966 (mon): Rename to...
19968 (abmon): Import from CLDR (genitive case, month names preceded by
19971 (abday): Synchronize with CLDR.
19972 (d_t_fmt): Likewise.
19976 (LC_TIME): Improve indentation.
19977 (LC_TELEPHONE): Likewise.
19978 (LC_NAME): Likewise.
19979 (LC_ADDRESS): Likewise.
19981 2018-03-14 Joseph Myers <joseph@codesourcery.com>
19983 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
19984 (lrintf): Remove definitions used only with old GCC.
19985 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
19986 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
19987 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
19988 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
19989 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
19990 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
19991 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
19992 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
19993 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
19994 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
19995 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
19996 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
19997 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
19998 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
19999 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20000 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20001 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20002 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20003 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20004 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20005 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20006 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20007 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20008 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20009 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20010 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20011 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20012 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20014 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20016 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20017 instruction to unbreak builds with binutils 2.26 and older.
20019 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20021 * sysdeps/aarch64/strncmp.S (count): New macro.
20022 (strncmp): Store misaligned length in SRC1 in COUNT.
20023 (mutual_align): Adjust.
20024 (misaligned8): Load dword at a time when it is safe.
20026 2018-03-12 Zack Weinberg <zackw@panix.com>
20030 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20031 if the _IO_EOF_SEEN bit is already set; update commentary.
20032 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20033 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20035 * support/support_openpty.c, support/tty.h: New files.
20036 * support/Makefile (libsupport-routines): Add support_openpty.
20038 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20040 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20041 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20043 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20045 * po/pt_BR.po: Update translations.
20047 2018-03-12 David Michael <fedora.dm0@gmail.com>
20049 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20050 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20051 get a port to the startup server.
20053 2018-03-11 Zack Weinberg <zackw@panix.com>
20055 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20056 before nldbl-compat.h.
20058 2018-03-10 Zack Weinberg <zackw@panix.com>
20060 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20061 math.h or math_private.h.
20063 * sysdeps/alpha/fpu/s_isnan.c
20064 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20065 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20066 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20067 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20068 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20069 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20070 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20071 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20072 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20076 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20078 Include math_private.h.
20080 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20081 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20082 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20083 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20084 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20085 * sysdeps/powerpc/power7/fpu/s_logb.c:
20086 Include math.h and math_private.h.
20088 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20089 uses of $at in .set noat / .set at.
20091 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20093 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20094 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20095 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20096 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20099 2018-03-09 Florian Weimer <fweimer@redhat.com>
20101 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20104 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20107 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20108 Add nop before __startcontext, add explaining comments.
20110 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20113 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20115 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20116 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20117 Do not build hardware transactional code for __SPE__.
20118 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20119 (__lll_trylock_elision): Likewise.
20120 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20121 (__lll_unlock_elision): Likewise.
20123 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20124 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20125 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20126 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20127 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20128 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20129 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20130 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20131 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20132 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20133 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20134 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20135 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20136 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20137 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20138 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20139 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20140 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20141 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20142 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20143 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20144 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20145 (__ASSUME_CLONE_BACKWARDS): Define.
20146 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20147 __clone2 if __NR_clone2 is defined.
20148 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20149 (__ASSUME_CLONE_BACKWARDS): Likewise.
20150 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20151 (__ASSUME_CLONE_BACKWARDS): Likewise.
20152 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20153 (__ASSUME_CLONE2): Likewise.
20154 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20155 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20156 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20157 variants and the define architecture can use.
20158 (__ASSUME_CLONE_DEFAULT): Define as default.
20159 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20160 (__ASSUME_CLONE_BACKWARDS): Likewise.
20161 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20162 (__ASSUME_CLONE_BACKWARDS): Likewise.
20163 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20164 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20166 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20168 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20170 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20173 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20174 (do_test_limit): Likewise.
20176 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20177 for every implementation.
20178 (do_test): Likewise.
20180 * benchtests/bench-strncmp.c: Convert output to json.
20182 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20184 * io/futimens.c: Add missing start-of-file descriptive comment.
20185 * io/utime.c: Likewise.
20186 * misc/futimesat.c: Likewise.
20187 * misc/utimes.c: Likewise.
20188 * sysdeps/mach/hurd/futimesat.c: Likewise.
20189 * sysdeps/mach/hurd/utimes.c: Likewise.
20190 * sysdeps/posix/utime.c: Likewise.
20191 * sysdeps/posix/utimes.c: Likewise.
20192 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20193 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20194 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20195 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20197 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20199 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20201 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20202 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20203 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20204 (__futimens): Move implementation to...
20205 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20206 utime_tvalue_from_tspec): ... new helper functions.
20207 (hurd_futimens): New function.
20208 * sysdeps/mach/hurd/futimesat.c: New file.
20209 * sysdeps/mach/hurd/utimensat.c: New file.
20211 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20213 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20214 UTIME_OMIT): New macros.
20215 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20216 before reverting to converting time spec to time value and calling
20218 * sysdeps/mach/hurd/utime-helper.c: New file.
20219 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20220 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20221 reverting to utime_tvalue_from_tval and __file_utimes.
20222 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20223 (__lutimes): Just call hurd_futimens after lookup.
20224 * sysdeps/mach/hurd/utimes.c: Likewise.
20226 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20228 * bits/sigaction.h: Add include guard.
20229 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20230 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20231 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20232 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20233 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20234 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20235 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20236 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20237 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20239 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20241 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20242 -Wmaybe-uninitialized for -Os.
20243 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20246 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20248 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20249 __INO_T_MATCHES_INO64_T is defined.
20250 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20251 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20253 * dirent/alphasort64.c: Likewise.
20254 * dirent/scandir.c: Likewise.
20255 * dirent/scandir64-tail.c: Likewise.
20256 * dirent/scandir64.c: Likewise.
20257 * dirent/scandirat.c: Likewise.
20258 * dirent/scandirat64.c: Likewise.
20259 * dirent/versionsort.c: Likewise.
20260 * dirent/versionsort64.c: Likewise.
20261 * include/dirent.h: Likewise.
20263 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20264 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20265 for socketpair endpoint.
20266 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20267 WRITE_BUFFER_SIZE as buffer size for sending socket.
20268 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20269 issue on system where send is implemented with sendto syscall.
20270 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20271 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20272 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20273 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20276 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20277 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20278 sa_restorer for vDSO case.
20279 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20281 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20283 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20284 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20285 * hurd/hurd/ioctl.h: Include <mach/port.h>
20286 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20287 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20288 <mach/mach_types.h> and <mach/message.h>.
20289 (headers): Move mach/param.h to bits/mach/param.h.
20290 * sysdeps/mach/i386/mach/param.h: Move file to ...
20291 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20292 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20294 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20295 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20296 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20297 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20298 trivial, for C++ conformity.
20299 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20300 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20301 Process mig output through $(migheadersed).
20302 * hurd/Makefile (migheadersed): Define variable.
20303 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20304 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20306 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20307 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20308 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20309 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20310 <bits/types/sigset_t.h>.
20311 [!defined __USE_GNU]: Do not #error out.
20312 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20313 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20314 Include <stddef.h> and <bits/types/sigset_t.h>
20315 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20316 instead of sighandler_t.
20317 * stdlib/errno.h (error_t): Move definition to...
20318 * bits/types/error_t.h: ... new header.
20319 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20320 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20321 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20322 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20323 * hurd/hurd.h: Include <bits/types/error_t.h>
20324 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20325 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20326 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20327 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20328 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20329 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20330 * sysdeps/mach/hurd/futimens.c: New file.
20332 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20335 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20336 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20337 * nscd/gai.c (__nss_hosts_database): Readd definition.
20338 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20339 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20340 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20342 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20344 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20345 (ifunc_one): Likewise.
20347 2018-03-01 DJ Delorie <dj@delorie.com>
20350 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20353 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20355 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20356 `match_pid' parameter.
20357 (td_ta_thr_iter): Update accordingly.
20359 2018-03-01 Florian Weimer <fweimer@redhat.com>
20361 * nptl/Makefile (install-lib-ldscripts): Remove.
20362 (install): Remove rule.
20363 ($(inst_libdir)/libpthread.so): Likewise.
20365 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20368 * localedata/locales/an_ES: update month and day names,
20369 improve d_fmt, improve postal_fmt, add country_post,
20372 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20374 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20375 Ukrainian instead of Bulgarian.
20377 2018-03-01 Florian Weimer <fweimer@redhat.com>
20379 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20382 2018-03-01 Florian Weimer <fweimer@redhat.com>
20384 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20385 * nptl/Makefile (routines): Add pthread_atfork.
20386 (static-only-routines): Set to pthread_atfork.
20387 (libpthread-routines): Remove pthread_atfork.
20388 (libpthread-static-only-routines): Remove.
20389 (install): Update comment.
20390 (libpthread.so): Do not install libpthread_nonshared.a.
20391 (tests): Do not link with libpthread_nonshared.a.
20392 (generated): Remove libpthread_nonshared.a.
20393 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20394 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20395 with libpthread_nonshared.a.
20397 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20400 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20401 (libc_feholdexcept_setroundf128): New macro.
20402 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20405 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20407 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20408 * include/inttypes.h: New file.
20410 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20412 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20413 -Os in two more places.
20415 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20417 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20418 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20419 be sorted correctly at the moment because of a bug.
20421 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20423 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20424 treat ñ as a primary different character, sync the collation
20425 for Spanish with CLDR.
20426 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20427 * localedata/Makefile: Add new test files.
20428 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20429 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20431 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20432 * localedata/am_ET.UTF-8.in: New test file.
20433 * localedata/az_AZ.UTF-8.in: Likewise.
20434 * localedata/be_BY.UTF-8.in: Likewise.
20435 * localedata/ber_DZ.UTF-8.in: Likewise.
20436 * localedata/ber_MA.UTF-8.in: Likewise.
20437 * localedata/bg_BG.UTF-8.in: Likewise.
20438 * localedata/br_FR.UTF-8.in: Likewise.
20439 * localedata/cmn_TW.UTF-8.in: Likewise.
20440 * localedata/crh_UA.UTF-8.in: Likewise.
20441 * localedata/csb_PL.UTF-8.in: Likewise.
20442 * localedata/cv_RU.UTF-8.in: Likewise.
20443 * localedata/cy_GB.UTF-8.in: Likewise.
20444 * localedata/dz_BT.UTF-8.in: Likewise.
20445 * localedata/eo.UTF-8.in: Likewise.
20446 * localedata/es_ES.UTF-8.in: Likewise.
20447 * localedata/fa_IR.UTF-8.in: Likewise.
20448 * localedata/fi_FI.UTF-8.in: Likewise.
20449 * localedata/fil_PH.UTF-8.in: Likewise.
20450 * localedata/fur_IT.UTF-8.in: Likewise.
20451 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20452 * localedata/ha_NG.UTF-8.in: Likewise.
20453 * localedata/ig_NG.UTF-8.in: Likewise.
20454 * localedata/ik_CA.UTF-8.in: Likewise.
20455 * localedata/kk_KZ.UTF-8.in: Likewise.
20456 * localedata/ku_TR.UTF-8.in: Likewise.
20457 * localedata/ky_KG.UTF-8.in: Likewise.
20458 * localedata/ln_CD.UTF-8.in: Likewise.
20459 * localedata/mi_NZ.UTF-8.in: Likewise.
20460 * localedata/ml_IN.UTF-8.in: Likewise.
20461 * localedata/mn_MN.UTF-8.in: Likewise.
20462 * localedata/mr_IN.UTF-8.in: Likewise.
20463 * localedata/mt_MT.UTF-8.in: Likewise.
20464 * localedata/nb_NO.UTF-8.in: Likewise.
20465 * localedata/om_KE.UTF-8.in: Likewise.
20466 * localedata/os_RU.UTF-8.in: Likewise.
20467 * localedata/ps_AF.UTF-8.in: Likewise.
20468 * localedata/ro_RO.UTF-8.in: Likewise.
20469 * localedata/ru_RU.UTF-8.in: Likewise.
20470 * localedata/sc_IT.UTF-8.in: Likewise.
20471 * localedata/se_NO.UTF-8.in: Likewise.
20472 * localedata/sq_AL.UTF-8.in: Likewise.
20473 * localedata/sv_SE.UTF-8.in: Likewise.
20474 * localedata/szl_PL.UTF-8.in: Likewise.
20475 * localedata/tg_TJ.UTF-8.in: Likewise.
20476 * localedata/tk_TM.UTF-8.in: Likewise.
20477 * localedata/tt_RU.UTF-8.in: Likewise.
20478 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20479 * localedata/ug_CN.UTF-8.in: Likewise.
20480 * localedata/uz_UZ.UTF-8.in: Likewise.
20481 * localedata/vi_VN.UTF-8.in: Likewise.
20482 * localedata/yi_US.UTF-8.in: Likewise.
20483 * localedata/yo_NG.UTF-8.in: Likewise.
20484 * localedata/zh_CN.UTF-8.in: Likewise.
20485 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20486 file and fix bugs in the collation.
20487 * localedata/locales/az_AZ: Likewise.
20488 * localedata/locales/be_BY: Likewise.
20489 * localedata/locales/ber_DZ: Likewise.
20490 * localedata/locales/ber_MA: Likewise.
20491 * localedata/locales/bg_BG: Likewise.
20492 * localedata/locales/br_FR: Likewise.
20493 * localedata/locales/br_FR@euro: Likewise.
20494 * localedata/locales/ca_ES: Likewise.
20495 * localedata/locales/cns11643_stroke: Likewise.
20496 * localedata/locales/crh_UA: Likewise.
20497 * localedata/locales/cs_CZ: Likewise.
20498 * localedata/locales/csb_PL: Likewise.
20499 * localedata/locales/cv_RU: Likewise.
20500 * localedata/locales/cy_GB: Likewise.
20501 * localedata/locales/da_DK: Likewise.
20502 * localedata/locales/dz_BT: Likewise.
20503 * localedata/locales/en_CA: Likewise.
20504 * localedata/locales/eo: Likewise.
20505 * localedata/locales/es_CU: Likewise.
20506 * localedata/locales/es_EC: Likewise.
20507 * localedata/locales/es_ES: Likewise.
20508 * localedata/locales/es_US: Likewise.
20509 * localedata/locales/et_EE: Likewise.
20510 * localedata/locales/fa_IR: Likewise.
20511 * localedata/locales/fi_FI: Likewise.
20512 * localedata/locales/fil_PH: Likewise.
20513 * localedata/locales/fur_IT: Likewise.
20514 * localedata/locales/gez_ER@abegede: Likewise.
20515 * localedata/locales/ha_NG: Likewise.
20516 * localedata/locales/hr_HR: Likewise.
20517 * localedata/locales/hsb_DE: Likewise.
20518 * localedata/locales/hu_HU: Likewise.
20519 * localedata/locales/ig_NG: Likewise.
20520 * localedata/locales/ik_CA: Likewise.
20521 * localedata/locales/is_IS: Likewise.
20522 * localedata/locales/iso14651_t1_pinyin: Likewise.
20523 * localedata/locales/kk_KZ: Likewise.
20524 * localedata/locales/ku_TR: Likewise.
20525 * localedata/locales/ky_KG: Likewise.
20526 * localedata/locales/ln_CD: Likewise.
20527 * localedata/locales/lt_LT: Likewise.
20528 * localedata/locales/lv_LV: Likewise.
20529 * localedata/locales/mi_NZ: Likewise.
20530 * localedata/locales/ml_IN: Likewise.
20531 * localedata/locales/mn_MN: Likewise.
20532 * localedata/locales/mr_IN: Likewise.
20533 * localedata/locales/mt_MT: Likewise.
20534 * localedata/locales/nb_NO: Likewise.
20535 * localedata/locales/om_KE: Likewise.
20536 * localedata/locales/os_RU: Likewise.
20537 * localedata/locales/pl_PL: Likewise.
20538 * localedata/locales/ps_AF: Likewise.
20539 * localedata/locales/ro_RO: Likewise.
20540 * localedata/locales/ru_RU: Likewise.
20541 * localedata/locales/ru_UA: Likewise.
20542 * localedata/locales/sc_IT: Likewise.
20543 * localedata/locales/se_NO: Likewise.
20544 * localedata/locales/si_LK: Likewise.
20545 * localedata/locales/sq_AL: Likewise.
20546 * localedata/locales/sv_FI: Likewise.
20547 * localedata/locales/sv_FI@euro: Likewise.
20548 * localedata/locales/sv_SE: Likewise.
20549 * localedata/locales/szl_PL: Likewise.
20550 * localedata/locales/tg_TJ: Likewise.
20551 * localedata/locales/ti_ER: Likewise.
20552 * localedata/locales/tk_TM: Likewise.
20553 * localedata/locales/tl_PH: Likewise.
20554 * localedata/locales/tr_TR: Likewise.
20555 * localedata/locales/tt_RU: Likewise.
20556 * localedata/locales/tt_RU@iqtelif: Likewise.
20557 * localedata/locales/ug_CN: Likewise.
20558 * localedata/locales/uk_UA: Likewise.
20559 * localedata/locales/uz_UZ: Likewise.
20560 * localedata/locales/uz_UZ@cyrillic: Likewise.
20561 * localedata/locales/vi_VN: Likewise.
20562 * localedata/locales/yi_US: Likewise.
20563 * localedata/locales/yo_NG: Likewise.
20565 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20567 * gen-locales.mk: Make test files which contain @ modifiers in their
20569 * localedata/gen-locale.sh: Likewise.
20571 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20573 * posix/tst-fnmatch.input: Fix results for range expressions
20575 * posix/tst-regexloc.c: Do not use a range expression for
20576 de_DE.ISO-8859-1 locale.
20578 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20580 * posix/bug-regex5.c: Fix test case because with the new
20581 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20582 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20585 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20587 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20588 downloaded from ISO, the collation order of @-. and space has changed.
20589 Therefore, this test file needed to be adapted.
20590 * localedata/fr_CA.UTF-8.in: Likewise.
20591 * localedata/fr_FR.UTF-8.in: Likewise.
20592 * localedata/uk_UA.UTF-8.in: Likewise.
20594 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20596 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20597 order of ȥ in the new iso14651_t1_common file.
20598 * localedata/pl_PL.UTF-8.in: Likewise.
20600 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20602 * localedata/locales/iso14651_t1_common: Add sections for various
20603 scripts to the iso14651_t1_common file.
20605 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20607 * localedata/locales/iso14651_t1_common: Use the code point of a
20608 character in the fourth collation level instead of IGNORE for all
20609 entries which have IGNORE on all 4 levels.
20611 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20613 * localedata/locales/iso14651_t1_common: Add some convenient collation
20614 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20615 rules similar to those in CLDR.
20617 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20619 * localedata/locales/iso14651_t1_common: The new version of this
20620 file downloaded from ISO contained several syntax errors which
20621 are fixed by this patch.
20623 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20625 * localedata/locales/iso14651_t1_common: replace all <U.....>
20626 with <U000.....> because glibc understands only 4 digit or 8 digit
20628 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20630 * localedata/locales/iso14651_t1_common: Necessary changes
20631 to make the file downloaded from ISO usable by glibc.
20633 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20636 * localedata/locales/iso14651_t1_common: Update file to
20637 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20639 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20641 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20642 of <nptl/pthreadP.h>
20643 (thread_attr_compare): Move function to...
20644 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20645 * sysdeps/nptl/timer_routines.h: ... new header.
20646 * sysdeps/mach/hurd/gai_misc.h: New file.
20648 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20650 * string/strcoll_l.c: Include <libc-diag.h>.
20651 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20652 declarations of seq1 and seq2.
20655 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20656 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20658 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20662 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20663 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20664 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20665 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20666 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20667 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20669 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20671 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20672 macros used in __ptrace_request.
20674 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20677 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20679 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20680 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20681 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20684 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20687 * ctype/ctype.c (tolower): Use libc_hidden_def.
20688 (toupper): Likewise.
20689 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20690 [!_ISOMAC] (toupper): Likewise.
20692 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20694 * localedata/Makefile: Remove --quiet argument when
20697 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20700 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20702 * localedata/locales/pt_PT (LC_TIME): likewise
20704 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20707 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20708 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20709 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20711 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20715 * nptl/Makefile (routines): Remove unregister-atfork.
20716 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20717 (fork_handler_alloc): Remove function.
20718 (fork_handlers, fork_handler_init): New variables.
20719 (__fork_lock): Rename to atfork_lock.
20720 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20721 to use a dynamic array to add/remove atfork handlers.
20722 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20723 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20724 Remove declaration.
20725 (fork_handler): Remove next, refcntr, and need_signal member.
20726 (__run_fork_handler_type): New enum.
20727 (__run_fork_handlers): New prototype.
20728 * nptl/register-atfork.c: Remove file.
20729 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20731 * sysdeps/nptl/nptl-signals.h: Move to ...
20732 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20734 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20735 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20736 unnecessary check for SIGTIMER.
20737 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20738 remove unnecessary removal of SIGTIMER.
20739 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20740 include-signals.h rename.
20741 * nptl/pthreadP.h: Likewise.
20742 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20743 __is_internal_signal instead of __nptl_is_internal_signal.
20745 2018-02-22 Andrew Waterman <andrew@sifive.com>
20748 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20749 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20750 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20751 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20753 2018-02-22 DJ Delorie <dj@delorie.com>
20755 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20757 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20759 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20760 do_misaligned, not misaligned8.
20762 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20764 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20765 Add memcpy_thunderx2.
20766 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20768 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20769 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20770 and IS_THUNDERX2PA checks.
20771 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20772 Use macro to set name appropriately.
20773 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20774 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20775 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20777 (IS_THUNDERX2): New macro.
20779 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20781 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20783 2018-02-21 Zack Weinberg <zackw@panix.com>
20785 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20786 Define here, unconditionally.
20787 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20788 * libio/libioP.h: Remove #if 0 blocks.
20789 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20790 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20791 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20793 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20794 Assume weak_alias is always defined.
20796 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20797 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20798 Remove #if 0 and #ifdef TODO blocks.
20799 Assume text_set_element is always defined.
20801 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20802 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20803 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20805 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20806 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20807 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20808 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20809 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20810 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20811 Reformat bit flags for _flags field to make occupancy clearer.
20813 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20814 Keep definitions consistent with those in libio/libio.h.
20816 * libio/libio.h (_IO_file_flags): Remove macro.
20817 All uses changed to _flags.
20819 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20820 (__HAVE_COLUMN, _IO_BE): Don't define.
20821 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20822 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20823 * libio/libioP.h (EOF): Don't define.
20824 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20825 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20826 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20827 testing _IO_UNIFIED_JUMPTABLES.
20829 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20830 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20831 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20832 (_IO_size_t): Delete; all uses changed to size_t.
20833 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20834 (_IO_off_t): Delete; all uses changed to off_t.
20835 (_IO_off64_t): Delete; all uses changed to off64_t.
20836 (_IO_pid_t): Delete; all uses changed to pid_t.
20837 (_IO_uid_t): Delete; all uses changed to uid_t.
20838 (_IO_wint_t): Delete; all uses changed to wint_t.
20839 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20840 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20841 (_IO_cookie_io_functions_t): Delete; all uses changed to
20842 cookie_io_functions_t.
20843 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20844 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20845 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20846 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20848 * libio/iofopncook.c: Remove unnecessary forward declarations.
20849 * libio/iolibio.h: Correct outdated commentary.
20850 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20851 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20852 Remove unnecessary casts.
20853 * stdio-common/getline.c: Use _IO_getdelim directly.
20854 Don't redefine ssize_t.
20855 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20856 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20857 Remove outdated comments.
20858 * stdio-common/vfscanf.c: Don't redefine va_list.
20860 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20861 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20862 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20863 which are always true, and __cplusplus, which is always false.
20865 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20869 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20870 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20871 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20872 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20874 [!_ISOMAC] (putc_unlocked): Likewise.
20875 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20876 define inline if [__USE_EXTERN_INLINES].
20877 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20882 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20883 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20884 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20885 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20886 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20888 * time/tzfile.c (__tzfile_read): Likewise.
20890 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20893 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20895 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20897 * io/fcntl.h: Fix a typo in a comment.
20899 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20902 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20903 define _DEFAULT_SOURCE.
20904 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20906 2018-02-21 Florian Weimer <fweimer@redhat.com>
20909 * elf/cache.c (save_cache): Call fsync on temporary file before
20911 (save_aux_cache): Call fdatasync on temporary file before renaming
20914 2018-02-21 Florian Weimer <fweimer@redhat.com>
20917 * include/caller.h: Remove file.
20918 * elf/dl-caller.c: Likewise.
20919 * elf/Makefile (dl-routines): Remove dl-caller.
20920 (shared-only-routines): Do not add dl-caller.
20921 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20923 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20925 (dl_open_worker): Do not call __check_caller.
20926 (_dl_open): Do not set caller_dl_open member.
20927 * elf/rtld.c (_rtld_global_ro): Do not initialize
20928 _dl_check_caller member.
20929 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20930 _dl_check_caller member.
20931 (_dl_check_caller): Remove declaration.
20932 * sysdeps/unix/sysv/linux/dl-execstack.c
20933 (_dl_make_stack_executable): Do not call __check_caller.
20935 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20937 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20938 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20940 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20942 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20945 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20948 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20949 of 199606L, 200112L, and 200809L.
20950 (_XOPEN_SOURCE): Document special values of 600 and 700.
20951 (_ISOC11_SOURCE): Document macro.
20952 (_ATFILE_SOURCE): Likewise.
20953 (_FORTIFY_SOURCE): Likewise.
20955 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20959 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20960 and define as weak alias of __ferror_unlocked. Use
20962 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20964 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20965 function if [__USE_EXTERN_INLINES].
20966 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20969 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
20972 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
20974 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20977 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
20978 the GLIBC_2.1 version.
20980 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
20983 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
20984 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
20985 intl/tst-gettext-de.po from po/de.po by removing the
20986 POT-Creation-Date line.
20987 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
20989 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
20992 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
20994 * mach/Makefile (headers): Add mach/param.h.
20995 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
20996 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
20997 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
20998 (__ptsname_r): Move implementation to...
20999 (__ptsname_internal): ... new function. Add filling the STP
21002 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21004 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21007 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21009 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21012 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21014 * nptl/Makefile (tst-mutex8-ENV): Delete.
21015 * nptl/tst-mutex8.c (check_type):
21016 Add runtime check if mutex will be elided.
21018 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21022 * manual/install.texi (Configuring and compiling): Describe
21023 passing CC and CFLAGS on configure command line, not as
21024 environment variables. Use @code markup on those variables.
21025 Specify what options go in CC and what go in CFLAGS. Note the
21026 requirement to compile with optimization.
21027 * INSTALL: Regenerated.
21030 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21031 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21032 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21033 __sigprocmask instead of sigprocmask.
21034 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21036 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21037 __sigsetjmp and sigprocmask.
21040 * include/argz.h (argz_next): Use libc_hidden_proto.
21041 (__argz_next): Likewise.
21042 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21043 (argz_next): Use libc_hidden_weak.
21046 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21048 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21052 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21054 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21058 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21059 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21060 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21061 (__feof_unlocked): New declaration, and inline function if
21062 [__USE_EXTERN_INLINES].
21063 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21064 instead of feof_unlocked.
21065 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21066 * nss/nsswitch.c (nss_parse_file): Likewise.
21067 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21069 * time/getdate.c (__getdate_r): Likewise.
21070 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21071 Define as macro to call __feof_unlocked.
21073 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21075 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21077 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21079 * math/Makefile: Remove mpexp.c and mplog.c
21080 * sysdeps/i386/fpu/mpexp.c: Delete file.
21081 * sysdeps/i386/fpu/mplog.c: Likewise.
21082 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21083 * sysdeps/ia64/fpu/mplog.c: Likewise.
21084 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21085 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21086 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21087 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21088 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21089 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21090 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21091 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21092 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21093 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21094 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21095 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21096 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21097 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21098 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21099 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21101 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21103 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21105 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21107 * sysdeps/sh/libm-test-ulps: Update.
21109 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21111 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21114 2018-02-12 Zack Weinberg <zackw@panix.com>
21117 * posix/sys/types.h: Don't include sys/sysmacros.h.
21118 * misc/sys/sysmacros.h: Remove the conditional deprecation
21119 warnings for the macros defined by this header.
21121 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21123 * manual/probes.texi: Remove slowexp probes.
21124 * math/Makefile: Remove slowexp.
21125 * sysdeps/generic/math_private.h (__slowexp): Remove.
21126 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21127 document error bounds.
21128 * sysdeps/i386/fpu/slowexp.c: Remove.
21129 * sysdeps/ia64/fpu/slowexp.c: Remove.
21130 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21131 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21132 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21133 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21134 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21135 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21136 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21137 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21138 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21139 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21140 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21142 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21145 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21146 * benchtests/pow-inputs: Update comment for slow path cases.
21147 * manual/probes.texi (slowpow_p10): Delete removed probe.
21148 (slowpow_p10): Likewise.
21149 * math/Makefile: Remove halfulp.c and slowpow.c.
21150 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21151 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21152 (__halfulp): Remove.
21153 (__slowpow): Remove.
21154 * sysdeps/i386/fpu/halfulp.c: Delete file.
21155 * sysdeps/i386/fpu/slowpow.c: Likewise.
21156 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21157 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21159 improve comments and add error analysis.
21160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21161 (power1): Remove function:
21162 (log1): Remove error argument, add error analysis.
21163 (my_log2): Remove function.
21164 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21165 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21166 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21167 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21168 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21169 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21170 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21171 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21173 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21174 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21175 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21176 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21177 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21179 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21181 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21182 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21184 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21187 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21188 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21189 and PTRACE_SETHBPREGS.
21191 2018-02-10 Zack Weinberg <zackw@panix.com>
21194 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21196 * malloc/tst-malloc-stats-cancellation.c: New test case.
21197 * malloc/Makefile: Add new test case.
21199 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21201 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21203 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21205 * math/Makefile (libm-narrow-fns): Add add.
21206 (libm-test-funcs-narrow): Likewise.
21207 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21208 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21209 * math/gen-auto-libm-tests.c (test_functions): Add add.
21210 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21211 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21212 (NARROW_ADD_TRIVIAL): Likewise.
21213 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21215 (__daddl): Likewise.
21216 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21218 (CFLAGS-nldbl-dadd.c): New variable.
21219 (CFLAGS-nldbl-fadd.c): Likewise.
21220 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21222 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21224 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21225 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21226 * math/auto-libm-test-in: Add tests of add.
21227 * math/auto-libm-test-out-narrow-add: New generated file.
21228 * math/libm-test-narrow-add.inc: New file.
21229 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21230 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21231 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21232 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21233 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21234 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21235 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21236 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21237 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21239 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21243 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21244 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21245 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21246 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21248 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21249 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21250 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21251 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21252 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21253 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21254 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21255 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21256 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21257 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21258 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21259 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21260 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21265 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21266 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21267 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21268 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21269 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21270 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21271 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21272 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21273 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21274 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21276 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21277 (f128-pairs): New variable.
21278 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21279 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21281 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21282 Also make tests add $(f128-loader-link) to gnulib-tests.
21284 2018-02-09 DJ Delorie <dj@redhat.com>
21287 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21288 64-bit ELF type for 64-bit ELF objects.
21290 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21292 * math/libm-test-driver.c (snan_tests_arg): New variable.
21293 * math/libm-test-support.h (snan_tests_arg): New declaration.
21294 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21296 * math/Makefile (test-type-pairs): New variable.
21297 (test-type-pairs-f64xf128-yes): Likewise.
21298 (tests): Add test-narrow-macros.
21299 (libm-test-funcs-narrow): New variable.
21300 (libm-test-c-narrow): Likewise.
21301 (generated): Add $(libm-test-c-narrow).
21302 (libm-tests-base-narrow): New variable.
21303 (libm-tests-narrow): Likewise.
21304 (libm-tests): Add $(libm-tests-narrow).
21305 (libm-tests-for-type): Handle $(libm-tests-narrow).
21306 (libm-test-c-narrow-obj): New variable.
21307 ($(libm-test-c-narrow-obj)): New rule.
21308 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21309 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21310 $(o-iterator) to set dependencies and CFLAGS.
21311 * math/gen-auto-libm-tests.c: Document use for narrowing
21313 (output_for_one_input_case): Take argument NARROW.
21314 (generate_output): Likewise. Update call to
21315 output_for_one_input_case.
21316 (main): Take --narrow option. Update call to generate_output.
21317 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21318 (apply_lit): Update call to _apply_lit.
21319 (apply_arglit): New function.
21320 (parse_args): Handle "a" arguments.
21321 (parse_auto_input): Handle format names using ":".
21322 * math/README.libm-test: Document "a" parameter type.
21323 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21324 (ARG_TYPE_TRUE_MIN): Likewise.
21325 (ARG_TYPE_MAX): Likwise.
21326 (ARG_MIN_EXP): Likewise.
21327 (ARG_MAX_EXP): Likewise.
21328 (ARG_MANT_DIG): Likewise.
21329 (TEST_COND_arg_ibm128): Likewise.
21330 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21331 (TEST_COND_arg_fmt): New macro.
21332 (init_max_error): Update prototype.
21333 * math/libm-test-support.c (test_ibm128): New variable.
21334 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21335 instead of using [TEST_COND_ibm128] conditional.
21336 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21337 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21338 [TEST_NARROW] (TEST_MSG): New definition.
21339 (arg_plus_zero): New macro.
21340 (arg_minus_zero): Likewise.
21341 (arg_plus_infty): Likewise.
21342 (arg_minus_infty): Likewise.
21343 (arg_qnan_value_pl): Likewise.
21344 (arg_qnan_value): Likewise.
21345 (arg_snan_value_pl): Likewise.
21346 (arg_snan_value): Likewise.
21347 (arg_max_value): Likewise.
21348 (arg_min_value): Likewise.
21349 (arg_min_subnorm_value): Likewise.
21350 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21351 (RUN_TEST_LOOP_aa_f): New macro.
21352 (TEST_SUFF): New macro.
21353 (TEST_SUFF_STR): Likewise.
21354 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21355 (TEST_COND_any_ibm128): New macro.
21356 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21357 this_func. Update call to init_max_error.
21358 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21359 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21360 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21361 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21362 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21363 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21364 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21365 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21366 * math/test-math-vector.h (TEST_NARROW): Likewise.
21367 * math/test-arg-double.h: New file.
21368 * math/test-arg-float128.h: Likewise.
21369 * math/test-arg-float32x.h: Likewise.
21370 * math/test-arg-float64.h: Likewise.
21371 * math/test-arg-float64x.h: Likewise.
21372 * math/test-arg-ldouble.h: Likewise.
21373 * math/test-math-narrow.h: Likewise.
21374 * math/test-narrow-macros.c: Likewise.
21375 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21376 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21377 test-narrow-macros-ldbl-64.
21378 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21380 * math/bits/mathcalls-narrow.h: New file.
21381 * include/bits/mathcalls-narrow.h: Likewise.
21382 * math/math-narrow.h: Likewise.
21383 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21384 (__MATHCALL_NARROW_ARGS_2): Likewise.
21385 (__MATHCALL_NARROW_ARGS_3): Likewise.
21386 (__MATHCALL_NARROW_NORMAL): Likewise.
21387 (__MATHCALL_NARROW_REDIR): Likewise.
21388 (__MATHCALL_NARROW): Likewise.
21389 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21390 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21392 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21393 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21394 (libm-narrow-fns): New variable.
21395 (libm-narrow-types-basic): Likewise.
21396 (libm-narrow-types-ldouble-yes): Likewise.
21397 (libm-narrow-types-float128-yes): Likewise.
21398 (libm-narrow-types-float128-alias-yes): Likewise.
21399 (libm-narrow-types): Likewise.
21400 (libm-routines): Add narrowing functions.
21401 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21402 (libc_feholdexcept_setroundf128): New macro.
21403 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21404 * sysdeps/ieee754/float128/float128_private.h: Include
21405 <math/math-narrow.h>.
21406 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21407 Undefine and redefine.
21408 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21409 (libm_alias_float_ldouble): Undefine and redefine.
21410 (libm_alias_double_ldouble): Likewise.
21412 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21414 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21416 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21419 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21421 * manual/creature.texi: Convert references to gcc.info to gcc.
21422 * manual/stdio.texi: Likewise.
21423 * manual/string.texi: Likewise.
21425 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21428 * posix/bits/types.h (__int_least8_t): New typedef.
21429 (__uint_least8_t): Likewise.
21430 (__int_least16_t): Likewise.
21431 (__uint_least16_t): Likewise.
21432 (__int_least32_t): Likewise.
21433 (__uint_least32_t): Likewise.
21434 (__int_least64_t): Likewise.
21435 (__uint_least64_t): Likewise.
21436 * sysdeps/generic/stdint.h (int_least8_t): Define using
21438 (int_least16_t): Define using __int_least16_t.
21439 (int_least32_t): Define using __int_least32_t.
21440 (int_least64_t): Define using __int_least64_t.
21441 (uint_least8_t): Define using __uint_least8_t.
21442 (uint_least16_t): Define using __uint_least16_t.
21443 (uint_least32_t): Define using __uint_least32_t.
21444 (uint_least64_t): Define using __uint_least64_t.
21445 * wcsmbs/uchar.h: Include <bits/types.h>.
21446 (char16_t): Define using __uint_least16_t conditional only on
21448 (char32_t): Define using __uint_least32_t conditional only on
21450 * wcsmbs/test-char-types.c: New file.
21451 * wcsmbs/Makefile (tests): Add test-char-types.
21453 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21456 2018-02-07 Zack Weinberg <zackw@panix.com>
21458 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21459 Delete all contents except for definitions of _G_HAVE_MMAP and
21460 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21461 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21462 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21465 * libio/libio.h: Don't include bits/_G_config.h here.
21466 Include stddef.h with __need_wchar_t defined. Include
21467 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21468 Define _IO_iconv_t here, directly.
21469 Don't define _IO_HAVE_ST_BLKSIZE.
21470 * libio/libioP.h: Include _G_config.h here. Move include of
21471 shlib-compat.h up with rest of includes. Simplify conditionals
21472 controlling definition of _IO_JUMPS_OFFSET.
21474 * csu/init.c: Remove always-true #if around entire file.
21475 Don't include stdio.h. Set _IO_stdin_used to hardwired
21476 constant 0x20001, and update commentary.
21477 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21478 Replace all uses of _G_va_list with __gnuc_va_list.
21479 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21480 instead of #if _IO_HAVE_ST_BLKSIZE.
21481 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21482 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21485 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21486 multiple-include guard to match.
21487 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21489 Remove preprocessor conditionals that are always true and/or
21490 redundant to other preprocessor conditionals in the same nest.
21491 Include shlib-compat.h unconditionally.
21492 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21493 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21494 defined after including stdio.h.
21495 Use __BEGIN_DECLS/__END_DECLS.
21497 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21498 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21499 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21501 2018-02-07 Zack Weinberg <zackw@panix.com>
21503 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21504 New single-type headers split from _G_config.h.
21505 * libio/bits/types/cookie_io_functions_t.h
21506 * libio/bits/types/struct_FILE.h
21507 New single-type headers split from libio.h.
21509 * libio/Makefile: Install the above new headers. Don't install
21510 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21512 * libio/_G_config.h, libio/libio.h: Delete file.
21514 * libio/bits/libio.h: Remove improper-inclusion guard.
21515 Include stdio.h and don't repeat anything that it does.
21516 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21517 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21518 __io_read_fn as cookie_read_function_t,
21519 __io_write_fn as cookie_write_function_t,
21520 __io_seek_fn as cookie_seek_function_t,
21521 __io_close_fn as cookie_close_function_t,
21522 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21523 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21524 here, in the "compatibility defines" section. Remove an #if 0
21525 block. Use the "body" macros from bits/types/struct_FILE.h to
21526 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21527 and _IO_ferror_unlocked.
21528 Move prototypes of __uflow and __overflow...
21530 * libio/stdio.h: ...here. Don't include bits/libio.h.
21531 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21532 directly from stdarg.h. Include bits/types/__fpos_t.h,
21533 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21534 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21535 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21536 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21537 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21538 __ssize_t, not _IO_ssize_t. Unconditionally define
21539 BUFSIZ as 8192 and EOF as (-1).
21541 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21542 macros from bits/types/struct_FILE.h instead of _IO_* macros
21543 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21544 instead of _IO_ssize_t.
21545 * libio/bits/stdio2.h: Similarly.
21547 * libio/iolibio.h: Add multiple-include guard.
21548 Include bits/libio.h after stdio.h.
21549 * libio/libioP.h: Add multiple-include guard.
21550 Include stdio.h and bits/libio.h before iolibio.h.
21552 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21553 * include/bits/types/cookie_io_functions_t.h
21554 * include/bits/types/struct_FILE.h: New wrappers.
21556 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21557 Get definitions of _G_fpos_t and _G_fpos64_t from
21558 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21559 respectively. Remove improper-inclusion guards.
21561 * conform/data/stdio.h-data: Update expectations of va_list.
21562 * scripts/check-installed-headers.sh: Remove special case for
21563 libio.h and _G_config.h.
21565 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21569 * include/sys/sysmacros.h [!_ISOMAC]
21570 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21571 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21572 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21573 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21575 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21576 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21578 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21579 Undefine and redefine to add use __gnu_dev_ prefix.
21580 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21582 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21583 and define as hidden inline function.
21584 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21586 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21588 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21589 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21590 (gnu_dev_minor): Likewise.
21591 (gnu_dev_makedev): Likewise.
21592 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21594 * posix/wordexp.c (exec_comm_child): Likewise.
21595 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21596 instead of minor and __gnu_dev_major instead of major.
21597 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21598 __gnu_dev_major instead of major.
21599 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21600 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21601 instead of gnu_dev_minor.
21602 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21603 (SLAVE_P): Likewise.
21604 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21605 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21609 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21611 * locale/weightwc.h (findidx): Likewise.
21613 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21615 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21616 (slowlog_inexact): Likewise
21617 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21618 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21620 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21623 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21624 missing second underscore to parameter name.
21626 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21632 * bits/byteswap.h: Update file comment. Do not include
21633 <bits/byteswap-16.h>.
21634 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21636 (__bswap_16): Define as inline function.
21637 (__bswap_constant_32): Reformat definition.
21638 (__bswap_32): Always define as inline function, not macro, using
21639 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21640 otherwise __bswap_constant_32.
21641 (__bswap_constant_64): Reformat definition. Do not use
21642 __extension__ here.
21643 (__bswap_64): Always define as inline function, not macro. Use
21644 __extension__ on function definition. Use __builtin_bswap64 if
21645 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21646 * string/test-endian-file-scope.c: New file.
21647 * string/test-endian-sign-conversion.c: Likewise.
21648 * string/Makefile (headers): Remove bits/byteswap-16.h.
21649 (tests): Add test-endian-file-scope and
21650 test-endian-sign-conversion.
21651 (CFLAGS-test-endian-sign-conversion.c): New variable.
21652 * bits/byteswap-16.h: Remove file.
21653 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21654 * sysdeps/ia64/bits/byteswap.h: Likewise.
21655 * sysdeps/m68k/bits/byteswap.h: Likewise.
21656 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21657 * sysdeps/s390/bits/byteswap.h: Likewise.
21658 * sysdeps/tile/bits/byteswap.h: Likewise.
21659 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21660 * sysdeps/x86/bits/byteswap.h: Likewise.
21663 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21664 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21665 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21666 199901L] (__restrict): Define to restrict.
21669 * string/testcopy.c: Include <support/support.h>. Do not include
21670 <malloc.h>. Use <support/test-driver.c>.
21671 (main): Rename to do_test. Make static. Use xmalloc instead of
21675 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21676 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21677 (SSIZE_MAX): Define to INT_MAX.
21678 * posix/test-ssize-max.c: New file.
21679 * posix/Makefile (tests): Add test-ssize-max.
21682 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21683 <support/support.h>. Do not include <malloc.h>.
21684 (query_auxv): Use xmalloc instead of malloc.
21687 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21688 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21691 2018-02-06 Florian Weimer <fweimer@redhat.com>
21694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21695 Use scratch_buffer instead of extend_alloca.
21697 2018-02-06 Zack Weinberg <zackw@panix.com>
21699 * libio/stdio.h: Don't define getc or putc as macros.
21700 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21701 not _IO_getc and _IO_putc.
21703 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21704 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21706 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21708 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21709 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21711 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21714 * elf/elf.h (NT_PRFPREG): New macro.
21715 (NT_S390_VXRS_LOW): Likewise.
21716 (NT_S390_VXRS_HIGH): Likewise.
21717 (NT_S390_GS_CB): Likewise.
21718 (NT_S390_GS_BC): Likewise.
21719 (NT_S390_RI_CB): Likewise.
21721 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21722 (MAP_SYNC): New macro.
21723 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21725 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21726 (MAP_SYNC): Likewise.
21727 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21728 (MAP_SYNC): Likewise.
21729 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21730 (MAP_SYNC): Likewise.
21731 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21732 (MAP_SYNC): Likewise.
21733 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21734 (MAP_SYNC): Likewise.
21735 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21736 (MAP_SYNC): Likewise.
21737 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21739 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21742 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21743 (MAP_SHARED_VALIDATE): New macro.
21744 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21745 (MAP_SHARED_VALIDATE): Likewise.
21747 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21749 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21750 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21751 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21753 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21755 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21756 (DT_NUM): Updated to 35.
21758 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21760 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21761 __builtin_expect with __glibc_likely and __glibc_unlikely.
21762 (elf_machine_rela): Likewise.
21763 (elf_machine_lazy_rel): Likewise.
21765 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21768 __builtin_expect with __glibc_likely and __glibc_unlikely.
21769 (elf_machine_lazy_rel): Likewise.
21771 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21774 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21776 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21778 2018-02-05 Andreas Schwab <schwab@suse.de>
21781 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21784 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21786 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21787 not check against PTHREAD_STACK_MIN.
21789 2018-02-02 Sean McKean <smckean83@gmail.com>
21792 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21794 2018-02-02 Florian Weimer <fweimer@redhat.com>
21797 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21798 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21799 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21800 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21801 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21802 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21803 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21804 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21805 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21806 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21807 * misc/tst-preadvwritev2.c (do_test): Call it.
21808 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21810 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21812 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21814 * benchtests/bench-memcmp.c: Print json instead of plain text.
21816 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21819 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21821 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21823 (s390_sthyi): New syscall.
21825 * sysdeps/generic/ldbl-classify-compat.h: New file.
21826 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21827 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21828 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21829 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21830 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21831 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21832 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21833 <ldbl-classify-compat.h>.
21834 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21835 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21836 <ldbl-classify-compat.h>.
21837 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21838 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21839 <ldbl-classify-compat.h>.
21840 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21841 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21842 <ldbl-classify-compat.h>.
21843 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21845 <ldbl-classify-compat.h>.
21846 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21848 <ldbl-classify-compat.h>.
21849 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21850 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21851 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21852 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21853 * sysdeps/microblaze/math_private.h: Likewise.
21854 * sysdeps/nios2/math_private.h: Likewise.
21855 * sysdeps/sh/math_private.h: Likewise.
21857 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21858 * sysdeps/m68k/coldfire/math_private.h: ... here.
21859 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21860 * sysdeps/tile/math_private.h: Likewise.
21861 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21863 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21866 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21868 (libc_fetestexcept): Likewise.
21869 (libc_feupdateenv_test): Likewise.
21870 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21871 (libc_fetestexcept): Likewise.
21872 (libc_feupdateenv_test): Likewise.
21873 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21874 (libc_fetestexcept): Likewise.
21875 (libc_feupdateenv_test): Likewise.
21876 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21877 (libc_fetestexcept): Likewise.
21878 (libc_feupdateenv_test): Likewise.
21880 * sysdeps/generic/math_private.h
21881 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21882 New inline function.
21883 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21886 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21887 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21888 * sysdeps/generic/math_private.h
21889 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21891 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21893 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21895 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21897 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21899 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21901 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21902 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21903 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21904 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21905 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21906 (__fegetenv): Likewise.
21907 (fesetenv): Likewise.
21908 (__fesetenv): Likewise.
21909 (feupdateenv): Likewise.
21910 (__feupdateenv): Likewise.
21911 (fegetround): Likewise.
21912 (__fegetround): Likewise.
21913 (fesetround): Likewise.
21914 (__fesetround): Likewise.
21916 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21917 (feraiseexcept): New macro.
21918 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21919 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21921 (__feraiseexcept): Likewise.
21922 (feclearexcept): Likewise.
21923 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21924 (__feraiseexcept): Likewise.
21925 (feclearexcept): Likewise.
21926 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21927 (__feraiseexcept): Likewise.
21928 (feclearexcept): Likewise.
21929 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21930 (__feraiseexcept): Likewise.
21931 (feclearexcept): Likewise.
21932 (fetestexcept): Likewise.
21934 * sysdeps/m68k/coldfire/math-tests.h: New file.
21936 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21937 * sysdeps/m68k/bits/fenv.h: ... here.
21938 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21940 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21942 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21944 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21946 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21948 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21950 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21951 (__FE_UNDEFINED): New enum constant.
21952 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21954 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21956 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21958 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21959 to match generic bits/fenv.h.
21960 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21963 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21965 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21966 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21967 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21968 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21970 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21971 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
21972 Joseph Myers <joseph@codesourcery.com>
21975 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
21976 (__log1p): Disable -Wmaybe-uninitialized for -Os around
21977 computation using c.
21978 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
21979 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
21980 computation using c.
21982 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
21984 * version.h (RELEASE): Set to "development".
21985 (VERSION): Set to "2.27.9000".
21986 * NEWS (2.28): New section.
21988 * version.h (RELEASE): Set to "stable".
21989 (VERSION): Set to "2.27".
21990 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
21992 * NEWS: Add the list of bugs fixed in 2.27.
21994 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21996 * stdlib/test-atexit-race-common.c (do_test): Check stack size
21997 against PTHREAD_STACK_MIN.
21999 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22001 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22003 (Rafał Lużyński, Andreas Schwab): Update.
22005 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22008 * NEWS: List the languages which actually use the alternative
22009 months feature in this release. Also explain that "alt_mon" and
22010 "ab_alt_mon" are optional.
22012 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22015 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22017 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22019 * manual/install.texi (Tools for Compilation): Update the newest
22020 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22021 * INSTALL: Regenerated.
22023 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22025 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22026 instead of __builtin_expect.
22028 2018-01-30 Florian Weimer <fweimer@redhat.com>
22030 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22032 * nss/tst-nss-getpwent.c (do_test): Likewise.
22034 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22037 * localedata/locales/hr_HR (mon): Rename to...
22039 (mon): Import from CLDR (genitive case).
22040 (d_t_fmt): Update the comment.
22042 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22044 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22045 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22046 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22048 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22050 * mach/Versions: Fix version when __mach_host_self_ was added.
22051 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22052 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22053 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22054 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22055 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22056 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22057 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22058 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22059 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22060 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22061 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22062 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22063 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22064 || to respect codestyle.
22065 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22066 (do_test_bz20181): Rename accordingly.
22067 * malloc/malloc.c: Include <assert.h>.
22068 (assert): Do not define.
22069 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22070 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22071 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22072 * sysdeps/mach/hurd/hp-timing.h: New file.
22073 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22075 2018-01-29 Darius Rad <darius@bluespec.com>
22077 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22079 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22081 * sysdeps/init_array/crti.S (.section .init_array): Add
22082 PREINIT_FUNCTION when defined.
22083 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22084 * config.h.in: Regenerate.
22085 * manual/platform.texi: Add RISC-V documenation for
22086 __riscv_flush_icache.
22087 * sysdeps/riscv/__longjmp.S: New file.
22088 * sysdeps/riscv/backtrace.c: Likewise.
22089 * sysdeps/riscv/bits/endian.h: Likewise.
22090 * sysdeps/riscv/bits/setjmp.h: Likewise.
22091 * sysdeps/riscv/bits/wordsize.h: Likewise.
22092 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22093 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22094 * sysdeps/riscv/dl-trampoline.S: Likewise.
22095 * sysdeps/riscv/gccframe.h: Likewise.
22096 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22097 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22098 * sysdeps/riscv/machine-gmon.h: Likewise.
22099 * sysdeps/riscv/memusage.h: Likewise.
22100 * sysdeps/riscv/setjmp.S: Likewise.
22101 * sysdeps/riscv/sys/asm.h: Likewise.
22102 * sysdeps/riscv/tls-macros.h: Likewise.
22103 * sysdeps/riscv/dl-tls.h: New file.
22104 * sysdeps/riscv/libc-tls.c: Likewise.
22105 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22106 * sysdeps/riscv/nptl/tls.h: Likewise.
22107 * sysdeps/riscv/stackinfo.h: Likewise.
22108 * sysdeps/riscv/bits/fenv.h: New file.
22109 * sysdeps/riscv/e_sqrtl.c: Likewise.
22110 * sysdeps/riscv/fpu_control.h: Likewise.
22111 * sysdeps/riscv/math-tests.h: Likewise.
22112 * sysdeps/riscv/nofpu/Implies: Likewise.
22113 * sysdeps/riscv/sfp-machine.h: Likewise.
22114 * sysdeps/riscv/tininess.h: Likewise.
22115 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22116 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22117 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22118 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22119 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22120 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22121 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22122 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22123 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22124 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22125 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22126 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22127 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22128 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22129 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22130 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22131 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22132 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22133 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22134 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22135 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22136 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22137 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22138 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22139 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22140 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22141 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22142 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22143 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22144 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22145 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22146 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22147 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22148 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22149 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22150 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22151 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22152 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22153 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22154 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22155 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22156 * sysdeps/riscv/rvf/math_private.h: Likewise.
22157 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22158 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22159 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22160 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22161 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22162 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22163 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22164 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22165 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22166 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22167 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22168 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22169 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22170 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22171 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22172 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22173 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22174 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22175 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22176 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22177 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22178 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22179 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22180 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22181 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22182 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22183 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22184 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22185 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22186 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22187 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22188 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22189 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22190 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22191 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22192 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22193 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22194 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22195 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22196 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22197 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22198 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22199 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22200 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22201 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22202 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22203 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22204 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22205 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22206 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22207 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22208 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22209 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22210 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22211 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22212 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22213 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22214 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22215 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22216 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22217 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22218 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22219 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22220 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22221 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22222 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22223 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22224 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22225 * sysdeps/riscv/Implies: New file.
22226 * sysdeps/riscv/Makefile: Likewise.
22227 * sysdeps/riscv/configure: Likewise.
22228 * sysdeps/riscv/configure.ac: Likewise.
22229 * sysdeps/riscv/nptl/Makefile: Likewise.
22230 * sysdeps/riscv/preconfigure: Likewise.
22231 * sysdeps/riscv/rv64/Implies-after: Likewise.
22232 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22233 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22234 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22235 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22236 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22237 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22238 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22239 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22240 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22241 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22242 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22243 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22244 (Config): Likewise.
22246 2018-01-29 Florian Weimer <fweimer@redhat.com>
22249 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22250 libnsl_hidden_proto.
22251 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22252 libnsl_hidden_proto.
22253 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22254 * nis/Makefile (libnsl-routines): Add nss-default only for
22255 build-obsolete-nsl.
22256 * nis/nis_defaults.c (__nis_default_ttl): Add
22257 libnsl_hidden_nolink_def.
22258 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22260 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22261 * nis/ypclnt.c (yp_maplist): Likewise.
22263 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22265 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22266 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22268 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22270 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22271 clean -dxfq for git updates when replacing sources.
22273 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22274 --disable-libcilkrts unconditionally, not just for the final GCC
22277 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22280 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22283 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22286 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22289 * localedata/locales/be_BY (mon): Rename to...
22290 (alt_mon): This, then synchronize with CLDR (nominative case).
22291 (abmon): Rename to...
22292 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22293 (mon): Import from CLDR (genitive case).
22295 * localedata/locales/be_BY@latin (mon): Rename to...
22297 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22299 * localedata/locales/be_BY@latin (lang_name): Reworded to
22300 "biełaruskaja mova".
22302 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22305 * localedata/locales/el_CY (mon): Renamed to...
22307 (mon): Import from CLDR (genitive case).
22308 * localedata/locales/el_GR: Likewise.
22310 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22313 * localedata/locales/ru_RU (mon): Rename to...
22315 (abmon): Rename to...
22316 (ab_alt_mon): This.
22317 (mon): Import from CLDR (genitive case).
22318 (abmon): Copy from the old content except the 5th month which is
22319 now in the genitive case, even when abbreviated.
22320 * localedata/locales/ru_UA: Likewise.
22321 * time/tst-strptime.c (day_tests): Add an actual example of
22322 a difference between %b and %Ob in Russian.
22324 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22326 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22327 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22329 * resolv/res-close.c: Include <stdlib.h>.
22330 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22331 <sys/wait.h>, <time.h>, <sys/uio.h>.
22332 (NOT_CANCEL_H): Add inclusion guard.
22333 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22334 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22335 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22337 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22338 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22339 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22341 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22342 timer_ptr2id to cast struct timer_node * to void *.
22343 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22344 --disable-libcilkrts to gcc configure.
22345 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22346 and make them the default for now.
22347 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22348 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22349 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22350 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22351 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22353 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22354 __task_terminate would ever return successfully.
22355 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22357 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22358 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22359 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22360 critical section to make code simpler and avoid warning.
22361 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22362 critical section to make code simpler and avoid warning.
22363 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22364 const char * instead of char *.
22365 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22366 __hurd_file_name_split, hurd_file_name_split,
22367 __hurd_directory_name_split, hurd_directory_name_split,
22368 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22369 hurd_file_name_path_lookup): Make lookup function parameter take a
22370 const char *name instead of char *name.
22371 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22372 __hurd_directory_name_split): Likewise.
22373 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22374 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22375 * sysdeps/mach/hurd/check_native.c: New file.
22376 * sysdeps/mach/hurd/check_pf.c: New file.
22377 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22378 (__freeifaddrs): Define macro to freeifaddrs.
22379 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22380 * sysdeps/mach/libmachuser.abilist: New file.
22381 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22382 (do_test_bz20181): Rename accordingly.
22383 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22384 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22386 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22387 version only if __USE_EXTERN_INLINES is defined.
22388 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22389 __hurd_sockfail): Likewise.
22390 (_hurd_fd_get): Always declare functions, and provide inline versions
22391 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22392 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22393 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22394 _hurd_port_set): Always declare functions, and provide inline versions
22395 only if __USE_EXTERN_INLINES and _LIBC are defined and
22397 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22398 _hurd_critical_section_unlock): Likewise.
22399 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22400 * __hurd_threadvar_location): Likewise.
22401 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22402 _hurd_userlink_clear): Likewise.
22403 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22404 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22405 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22406 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22407 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22408 __spin_lock_locked): Likewise.
22409 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22410 __spin_lock_locked): Likewise.
22411 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22412 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22413 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22414 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22415 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22416 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22417 _POSIX_NO_TRUNC): Define to 0.
22418 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22419 check size against PTHREAD_STACK_MIN.
22420 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22421 IS_IN(libpthread)]: Include <sigsetops.h>.
22422 * mach/Makefile (user-interfaces): Add mach/gnumach.
22423 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22424 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22425 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22426 instead of invalid -1.
22427 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22428 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22429 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22432 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22434 * hurd/fcntl-internal.h: New file.
22436 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22438 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22440 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22442 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22445 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22446 Build only shared objects.
22448 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22450 * README: Update for hppa.
22452 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22454 * sysdeps/sparc/fpu/libm-test-ulps: Update
22455 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22457 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22461 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22464 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22465 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22466 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22467 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22470 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22473 * bits/types/__cancel_jmp_buf_tag.h: New file.
22474 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22475 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22476 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22477 * nptl/Makefile (headers): Add
22478 bits/types/__cancel_jmp_buf_tag.h.
22479 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22480 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22481 * sysdeps/nptl/pthread.h: Include
22482 <bits/types/__cancel_jmp_buf_tag.h>.
22483 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22485 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22487 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22490 * localedata/locales/uk_UA (mon): Renamed to...
22492 (alt_digits): "0" removed and then renamed to...
22494 (date_fmt): Definition changed not to use the alternative
22497 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22499 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22500 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22501 * elf/elf.h (EF_RISCV_RVC): New define.
22502 (EF_RISCV_FLOAT_ABI): Likewise.
22503 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22504 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22505 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22506 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22507 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22509 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22511 2018-01-25 Andreas Schwab <schwab@suse.de>
22513 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22515 * sysdeps/gnu/configure: Regenerate.
22516 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22517 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22519 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22520 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22521 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22522 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22523 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22525 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22527 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22528 URL, and run autoconf, make it the default for now.
22530 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22532 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22533 soft-float ColdFire configuration.
22535 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22536 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22537 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22539 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22542 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22544 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22546 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22549 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22550 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22551 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22554 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22557 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22558 Rename to __reserved and add comment.
22559 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22560 Rename to __reserved.
22562 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22564 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22565 i686-gnu configurations.
22566 (Context.run_builds): Include mig, gnumach and hurd in components
22568 (Context.checkout): Add mig, gnumach and hurd to components.
22569 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22571 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22572 (Config.build): Install gnumach headers, build mig and install
22573 hurd headers for 'gnu' OS.
22574 (Config.install_gnumach_headers): New function.
22575 (Config.install_hurd_headers): Likewise.
22576 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22577 when building for 'gnu' OS.
22579 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22581 * manual/tunables.texi (Hardware Capability Tunables): Fix
22584 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22586 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22587 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22588 (ALTMON_11, ALTMON_12): Improve documentation.
22589 * manual/time.texi (strftime): Likewise.
22591 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22594 * localedata/locales/pl_PL: Alternative month names added,
22595 primary month names are genitive now.
22596 * time/tst-strptime.c (day_tests): Actually use a genitive case
22597 of a month name in Polish language.
22599 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22602 * manual/locale.texi: Document ALTMON_1..12 constants for
22603 nl_langinfo. Specify when to use ALTMON instead of MON.
22604 * manual/time.texi (strftime, strptime): Document GNU extension
22605 permitting O modifier with %B and %b. Specify when to use
22608 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22611 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22612 names, define them as the same as abbreviated month names explicitly.
22613 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22614 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22615 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22616 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22617 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22618 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22619 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22620 _NL_WABALTMON_12): New enum constants.
22621 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22622 wab_alt_mon, and ab_alt_mon_defined members.
22623 (time_output): Output ab_alt_mon and wab_alt_mon members.
22624 (time_read): Read them, initialize them as copies of abmon and wabmon
22625 respectively if they are missing, initialize ab_alt_mon_defined.
22626 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22627 * locale/programs/locfile-kw.h: Regenerate.
22628 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22629 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22631 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22632 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22633 (__strftime_internal): Handle %Ob and %Oh formats.
22634 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22635 (__strptime_internal): Handle %Ob and %Oh formats.
22636 * time/tst-strptime.c (day_tests): Add more tests to parse different
22637 forms of month names including the new %Ob format specifier.
22639 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22642 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22643 define them as the same as primary full month names explicitly.
22644 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22645 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22646 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22647 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22648 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22649 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22650 _NL_WALTMON_12): New enum constants.
22651 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22652 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22654 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22655 walt_mon, and alt_mon_defined members.
22656 (time_output): Output alt_mon and walt_mon members.
22657 (time_read): Read them, initialize them as copies of mon and wmon
22658 respectively if they are missing, initialize alt_mon_defined.
22659 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22660 * locale/programs/locfile-kw.h: Regenerate.
22661 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22662 * localedata/tst-langinfo.c (map): Add tests for the new constants
22663 ALTMON_1 .. ALTMON_12.
22664 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22666 * time/strftime_l.c (f_altmonth): New macro.
22667 (__strftime_internal): Handle %OB format.
22668 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22669 (__strptime_internal): Handle %OB format.
22670 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22671 of month names including the new %OB format specifier.
22673 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22676 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22677 from ABORT_TRANSACTION.
22678 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22679 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22680 ABORT_TRANSACTION_IMPL): Likewise.
22681 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22682 Linux code, but remove the code that aborts transactions.
22684 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22686 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22688 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22690 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22691 in date: "2004-14-09" should be "2004-09-14".
22692 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22693 "2003-15-09" should be "2003-09-15".
22695 2018-01-18 Arjun Shankar <arjun@redhat.com>
22701 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22703 (_int_memalign): check for integer overflow before calling
22705 * malloc/tst-malloc-too-large.c: New test.
22706 * malloc/Makefile: Add tst-malloc-too-large.
22708 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22710 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22711 in date: "2017-24-07" should be "2017-07-24".
22712 * localedata/locales/mai_IN: Likewise.
22713 * localedata/locales/mai_NP: Likewise.
22715 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22717 * po/ru.po: Update translations.
22719 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22722 * sysdeps/hppa/backtrace.c: New file.
22724 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22727 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22728 align La_x86_64_retval to VEC_SIZE.
22730 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22732 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22733 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22735 2018-01-16 Florian Weimer <fweimer@redhat.com>
22737 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22738 Move tst-thread-exit-clobber ...
22739 [$(CXX)] (tests-unsupported): ... to here.
22741 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22743 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22744 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22745 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22746 (_dl_aarch64_cap_flags): Update.
22747 (_DL_HWCAP_COUNT): Update.
22749 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22751 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22752 (_DL_HWCAP_LAST): Remove.
22753 (_DL_HWCAP_COUNT): Move to ...
22754 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22755 (_DL_HWCAP_COUNT): ... here.
22757 2018-01-16 Florian Weimer <fweimer@redhat.com>
22759 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22760 mode with GNU extensions.
22762 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22764 * elf/elf.h (NT_ARM_SVE): Define.
22766 2018-01-15 Florian Weimer <fweimer@redhat.com>
22769 * nptl/tst-minstack-throw.cc: New file.
22770 * nptl/Makefile (tests): Add tst-minstack-throw.
22771 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22772 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22774 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22776 * scripts/build-many-glibcs.py (Context.checkout): Default
22777 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22780 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22783 * elf/elf.h (DF_1_STUB): Define.
22784 (DF_1_PIE): Define.
22786 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22789 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22790 Do not add 0.5 to integer or out-of-range arguments.
22792 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22794 * po/bg.po: Update translations.
22795 * po/cs.po: Likewise.
22796 * po/de.po: Likewise.
22797 * po/ko.po: Likewise.
22798 * po/pl.po: Likewise.
22799 * po/sv.po: Likewise.
22800 * po/uk.po: Likewise.
22801 * po/vi.po: Likewise.
22803 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22805 * aarch64/start.S (_start): Use __wrap_main.
22806 (__wrap_main): New local symbol.
22808 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22812 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22813 generic_getcwd if the path returned by getcwd syscall is not absolute.
22814 * io/tst-getcwd-abspath.c: New test.
22815 * io/Makefile (tests): Add tst-getcwd-abspath.
22817 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22819 * malloc/malloc.c (malloc_consolidate): Add size check.
22821 2018-01-12 Florian Weimer <fweimer@redhat.com>
22823 * support/write_message.c (write_message): Preserve errno.
22824 * support/check.c (print_failure): Likewise.
22825 * support/support_test_verify_impl.c (support_test_verify_impl):
22827 * support/support_test_compare_failure.c
22828 (support_test_compare_failure): Likewise.
22830 2018-01-12 Florian Weimer <fweimer@redhat.com>
22833 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22834 Prevent installation of libnsl.so.
22835 (libnsl-inhibit-o): Do not build (or install) static libraries.
22837 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22840 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22841 before the day number which may produce a double space.
22842 (date_fmt): Likewise.
22844 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22846 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22847 instead of fegetenv.
22849 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22852 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22853 comment to say exceptions are discarded.
22854 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22856 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22859 2018-01-11 Florian Weimer <fweimer@redhat.com>
22861 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22864 2018-01-11 Florian Weimer <fweimer@redhat.com>
22867 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22868 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22870 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22873 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22874 negative arguments in test for NaN or infinity argument.
22876 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22878 * po/libc.pot: Regenerate.
22880 2018-01-10 Florian Weimer <fweimer@redhat.com>
22883 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22884 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22886 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22888 * hurd/hurd/fd.h: Include <fcntl.h>
22889 (__hurd_at_flags): New function.
22890 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22891 with call to __hurd_at_flags.
22892 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22893 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22895 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22896 (__access_noerrno): Use __faccessat_common instead of access_common.
22897 (__access): Likewise.
22898 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22899 with a call to __faccessat.
22900 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22901 (__faccessat_common): ... this. Move implementation of __access into it when
22902 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22903 reauthenticate_cwdir_at helper to implement AT mechanism.
22904 (__faccessat_noerrno): New function, just calls __faccessat_common.
22905 (__faccessat): New function, just calls __faccessat_common.
22906 (faccessat): Define weak alias.
22908 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22911 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22912 (CFLAGS-s_fmaxmagl.c): New variable.
22913 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22916 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22917 long int for arguments of possibly overflowing addition or
22919 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22921 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22924 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22925 (CFLAGS-e_remainderl.c): New variable.
22928 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22930 (CFLAGS-s_cacoshl.c): Likewise.
22931 (CFLAGS-s_casinhl.c): Likewise.
22932 (CFLAGS-s_catanl.c): Likewise.
22933 (CFLAGS-s_catanhl.c): Likewise.
22934 (CFLAGS-s_cexpl.c): Likewise.
22935 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22936 (CFLAGS-s_csinhl.c): Likewise.
22937 (CFLAGS-s_clogl.c): Likewise.
22938 (CFLAGS-s_clog10l.c): Likewise.
22939 (CFLAGS-s_csinl.c): Likewise.
22940 (CFLAGS-s_csqrtl.c): Likewise.
22942 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22943 2017-01-09 Svante Signell <svante.signell@gmail.com>
22945 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22946 (_hurd_exec_paths): New function.
22947 * hurd/hurd.h (_hurd_exec): Deprecate function.
22948 (_hurd_exec_paths): Declare function.
22949 * hurd/Versions: Export _hurd_exec_paths.
22950 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22951 (__execve): Use __getcwd to build absolute path, and use
22952 _hurd_exec_paths instead of _hurd_exec.
22953 * sysdeps/mach/hurd/spawni.c: Likewise.
22954 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22957 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22959 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22960 test instead of failing in case of ENOENT returned by posix_openpt.
22962 2018-01-08 Florian Weimer <fweimer@redhat.com>
22964 resolv: Support binary labels in test framework.
22965 * support/resolv_test.c (struct to_be_freed): Remove.
22966 (struct compressed_name): New.
22967 (allocate_compressed_name, ascii_tolower)
22968 (compare_compressed_name): New functions.
22969 (struct resolv_response_builder): Update type of
22970 compression_offsets for use with tsearch. Rempve to_be_freed.
22971 (response_push_pointer_to_free): Remove function.
22972 (resolv_response_add_name): Rewrite using struct compressed_name
22973 and tsearch instead of hsearch_r.
22974 (response_builder_allocate): Remove initialization of
22975 compression_offsets.
22976 (response_builder_free): Update for removal of to_be_freed. Use
22977 tdestroy instead of hdestroy_r.
22978 * resolv/Makefile (tests): Add tst-resolv-binary.
22979 (tst-resolv-binary): Link with -lresolv -lpthread.
22981 2018-01-08 Florian Weimer <fweimer@redhat.com>
22983 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
22984 time. Pass positive flag instead of negative flag to
22985 support_test_compare_failure.
22986 (support_test_compare_failure): Change negative parameter to
22988 * support/support_test_compare_failure.c (report)
22989 (support_test_compare_failure): Likewise.
22990 * support/tst-test_compare.c (return_ssize_t, return_int): New.
22991 (do_test): Check int/size_t, ssize_t/size_t comparisons.
22993 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
22996 * nptl/descr.h (stackblock, stackblock_size): Update comments.
22997 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
22998 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23000 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23002 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23005 Add s_sincosf-sse2 and s_sincosf-fma.
23006 (CFLAGS-s_sincosf-fma.c): New.
23007 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23008 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23009 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23010 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23011 __sincosf is defined.
23013 2018-01-08 Florian Weimer <fweimer@redhat.com>
23015 * nptl/tst-thread-exit-clobber.cc: New file.
23016 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23018 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23019 (tests): Add tst-thread-exit-clobber.
23020 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23022 2018-01-08 Florian Weimer <fweimer@redhat.com>
23024 * support/check.h (support_static_assert): Define.
23025 (TEST_COMPARE): Use it.
23027 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23029 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23030 [!__RLIM_T_MATCHES_RLIM64_T]
23031 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23032 __getrlimit64. Add libc_hidden_weak.
23034 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23036 * elf/elf.h (R_RISCV_NONE): New define.
23037 (R_RISCV_32): Likewise.
23038 (R_RISCV_64): Likewise.
23039 (R_RISCV_RELATIVE): Likewise.
23040 (R_RISCV_COPY): Likewise.
23041 (R_RISCV_JUMP_SLOT): Likewise.
23042 (R_RISCV_TLS_DTPMOD32): Likewise.
23043 (R_RISCV_TLS_DTPMOD64): Likewise.
23044 (R_RISCV_TLS_DTPREL32): Likewise.
23045 (R_RISCV_TLS_DTPREL64): Likewise.
23046 (R_RISCV_TLS_TPREL32): Likewise.
23047 (R_RISCV_TLS_TPREL64): Likewise.
23048 * Makerules (make-link-multidir): Make directories before linking into
23050 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23052 (VDSO_HASH_LINUX_4_15): Likewise.
23053 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23054 in subdirectories of lib.
23055 * nptl/Makefile (/librt.so): Always depend on
23056 "$(shared-thread-library)".
23058 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23060 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23061 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23062 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23064 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23065 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23067 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23068 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23069 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23070 * sysdeps/gnu/glob-lstat-compat.c: New file.
23071 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23072 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23074 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23076 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23077 Reserve 16 chars to reloc_addr before calling _itoa_word.
23079 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23082 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23083 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23085 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23086 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23088 * resource/tst-getrlimit.c: Add copyright header.
23090 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23091 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23093 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23094 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23095 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23096 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23098 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23099 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23100 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23101 RLIM64_INFINITY): Fix values to match the kernel ones.
23102 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23103 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23104 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23105 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23106 getrlimit64@@GLIBC_2_27.
23107 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23109 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23110 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23111 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23112 setrlimit, getrlimit64 and setrlimit64.
23114 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23117 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23118 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23120 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23122 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23123 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23124 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23126 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23130 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23131 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23135 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23136 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23137 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23138 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23140 2018-01-04 Florian Weimer <fweimer@redhat.com>
23143 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23144 Align the stack before calling exit.
23145 * stdlib/tst-makecontext-align.c: New file.
23146 * stdlib/Makefile (tests): Add tst-makecontext-align.
23148 2018-01-04 Florian Weimer <fweimer@redhat.com>
23150 Add support for calling dlvsym from libc.so.
23151 * include/dlfcn.h (__libc_dlvsym): Declare.
23152 * elf/Makefile (tests-static-internal): Add
23153 tst-libc_dlvsym-static.
23154 (tests-internal): Add tst-libc_dlvsym.
23155 (modules-names): Add tst-libc_dlvsym-dso.
23156 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23157 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23158 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23159 object tst-libc_dlvsym-dso.so needs to be built before running
23161 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23162 * elf/Versions: Export __libc_dlvsym.
23163 * elf/dl-libc.c (struct do_dlvsym_args): New.
23164 (do_dlvsym, __libc_dlvsym): New functions.
23165 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23166 (_dl_open_hook2): New variable.
23167 (__libc_register_dl_open_hook): Set it.
23168 * elf/tst-libc_dlvsym-dso.c: New file.
23169 * elf/tst-libc_dlvsym-static.c: Likewise.
23170 * elf/tst-libc_dlvsym.c: Likewise.
23171 * elf/tst-libc_dlvsym.h: Likewise.
23173 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23175 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23176 include <sys/mount.h>.
23178 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23180 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23181 Add __NO_MATH_ERRNO__ check.
23183 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23185 * sysdeps/mips/mips32/libm-test-ulps: Update.
23186 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23188 2018-01-02 Florian Weimer <fweimer@redhat.com>
23190 * misc/tst-pselect.c: Add copyright header.
23192 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23194 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23196 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23198 (settrlimit): Rename into setrlimit.
23199 (__sttrlimit): Rename into __setrlimit.
23201 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23202 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23203 never defined in that case.
23205 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23207 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23209 * sysdeps/arm/libm-test-ulps: Update.
23211 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23212 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23214 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23216 * NEWS: Add cosf and sincosf to list of optimized functions.
23218 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23221 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23222 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23223 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23224 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23226 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23229 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23231 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23232 making a copy of it.
23234 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23236 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23237 trailing whitespace removed.
23238 * scripts/config.guess: Update to version 2018-01-01.
23239 * scripts/config.sub: Update to version 2018-01-01.
23240 * scripts/move-if-change: Update from gnulib.
23242 * NEWS: Update copyright dates.
23243 * catgets/gencat.c (print_version): Likewise.
23244 * csu/version.c (banner): Likewise.
23245 * debug/catchsegv.sh: Likewise.
23246 * debug/pcprofiledump.c (print_version): Likewise.
23247 * debug/xtrace.sh (do_version): Likewise.
23248 * elf/ldconfig.c (print_version): Likewise.
23249 * elf/ldd.bash.in: Likewise.
23250 * elf/pldd.c (print_version): Likewise.
23251 * elf/sotruss.sh: Likewise.
23252 * elf/sprof.c (print_version): Likewise.
23253 * iconv/iconv_prog.c (print_version): Likewise.
23254 * iconv/iconvconfig.c (print_version): Likewise.
23255 * locale/programs/locale.c (print_version): Likewise.
23256 * locale/programs/localedef.c (print_version): Likewise.
23257 * login/programs/pt_chown.c (print_version): Likewise.
23258 * malloc/memusage.sh (do_version): Likewise.
23259 * malloc/memusagestat.c (print_version): Likewise.
23260 * malloc/mtrace.pl: Likewise.
23261 * manual/libc.texinfo: Likewise.
23262 * nptl/version.c (banner): Likewise.
23263 * nscd/nscd.c (print_version): Likewise.
23264 * nss/getent.c (print_version): Likewise.
23265 * nss/makedb.c (print_version): Likewise.
23266 * posix/getconf.c (main): Likewise.
23267 * scripts/test-installation.pl: Likewise.
23268 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23270 * All files with FSF copyright notices: Update copyright dates
23271 using scripts/update-copyrights.
23272 * locale/programs/charmap-kw.h: Regenerated.
23273 * locale/programs/locfile-kw.h: Likewise.
23275 2017-12-31 Zack Weinberg <zackw@panix.com>
23277 * libio/bits/libio-ldbl.h: Correct check for improper
23278 inclusion. Add own multiple include guard.
23280 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23281 Dmitry V. Levin <ldv@altlinux.org>
23285 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23286 string token expansion. Check for NULL pointer or empty string possibly
23287 returned by expand_dynamic_string_token.
23288 (decompose_rpath): Check for empty path after dynamic string
23291 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23294 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23296 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23297 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23298 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23299 and PTRACE_SYSCALL.
23300 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23301 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23302 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23304 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23305 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23307 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23308 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23309 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23310 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23312 bits/ptrace-shared.h.
23313 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23314 <bits/ptrace-shared.h>.
23315 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23316 __ptrace_peeksiginfo_flags, ptrace): Remove.
23317 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23318 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23319 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23320 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23321 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23323 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23326 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23327 end of the loop. Improve comments.
23329 2017-12-29 Zack Weinberg <zackw@panix.com>
23332 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23333 might be set on success.
23335 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23338 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23339 is unchanged on success.
23341 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23343 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23345 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23346 expand_dynamic_string_token): Likewise.
23347 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23350 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23353 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23354 is set and name contains ':', and all code depending on these checks.
23356 2017-12-24 Zack Weinberg <zackw@panix.com>
23358 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23359 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23361 * libio/libio.h: Rename the original version of this file to
23362 libio/bits/libio.h. Error out if not included by stdio.h or the
23364 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23365 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23366 if not included by bits/libio.h or the stub _G_config.h.
23367 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23368 sysdeps/unix/sysv/linux/bits. Error out if not included by
23369 bits/libio.h or the stub _G_config.h.
23370 * libio/stdio.h: Include bits/libio.h, not libio.h.
23371 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23372 well as libio.h and _G_config.h.
23374 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23375 * libio/strfile.h, stdio-common/vfscanf.c
23376 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23377 Include stdio.h, not _G_config.h nor libio.h.
23378 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23379 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23381 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23383 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23386 * stdlib/getrandom.c (getrandom): Fix comment.
23387 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23389 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23392 * manual/arith.texi (strtoul): Fix a typo.
23395 * manual/arith.texi (finite): Fix the description of the return
23398 2017-12-22 Eric Blake <ebb9@byu.net>
23400 Avoid gcc warnings on cygwin
23401 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23402 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23403 Avoid unused variable.
23405 2017-12-22 Florian Weimer <fweimer@redhat.com>
23407 * io/Makefile (routines): Add copy_file_range.
23408 (tests): Add tst-copy_file_range.
23409 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23410 * io/Versions (GLIBC_2.27): Export copy_file_range.
23411 * io/copy_file_range-compat.c: New file.
23412 * io/copy_file_range.c: Likewise.
23413 * io/tst-copy_file_range-compat.c: Likewise.
23414 * io/tst-copy_file_range.c: Likewise.
23415 * manual/llio.texi (Copying File Data): New section.
23416 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23417 * support/Makefile (libsupport-routines): Add support-xfstat,
23418 xftruncate, xlseek.
23419 * support/support-xfstat.c: New file.
23420 * support/xftruncate.c: Likewise.
23421 * support/xlseek.c: Likewise.
23422 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23423 * sysdeps/unix/sysv/linux/**.abilist: Update.
23424 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23426 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23428 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23429 disable-multi-arch variant to aarch64-linux-gnu.
23431 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23433 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23434 trailing whitespace removed.
23435 * scripts/config.guess: Update to version 2017-12-17.
23436 * scripts/config.sub: Update to version 2017-11-23.
23437 * scripts/install-sh: Update to version 2017-09-23.17.
23438 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23440 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23442 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23443 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23444 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23445 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23446 * sysdeps/tile/crtn.S: Likewise.
23447 * sysdeps/tile/dl-start.S (_start): Likewise.
23448 * sysdeps/tile/dl-trampoline.S: Likewise.
23449 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23450 * sysdeps/tile/start.S (_start): Likewise.
23451 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23452 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23453 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23454 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23455 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23456 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23457 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23459 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23461 * sysdeps/tile/preconfigure: Remove tilegx folder.
23462 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23463 * sysdeps/tile/Implies: ... here.
23464 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23465 * sysdeps/tile/Makefile: ... here.
23466 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23467 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23468 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23469 * sysdeps/tile/bits/wordsize.h: ... here.
23470 * sysdeps/tile/tilegx/*: Move to ...
23471 * sysdeps/tile/*: ... here.
23472 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23473 * sysdeps/tile/tilegx32/Implies: ... here.
23474 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23475 * sysdeps/tile/tilegx64/Implies: ... here.
23476 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23478 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23479 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23480 * sysdeps/unix/sysv/linux/tile/*: ... here.
23481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23482 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23484 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23486 * README: Remove tilepro-*-linux-gnu from supported architecture.
23487 * scripts/build-many-glibcs.py: Likewise.
23488 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23489 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23490 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23491 elf_machine_matches_host, elf_machine_dynamic,
23492 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23493 howto, elf_machine_rela): Likewise.
23494 * sysdeps/tile/dl-start.S (_start): Likewise.
23495 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23496 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23497 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23498 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23499 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23500 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23502 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23503 * sysdeps/tile/preconfigure: Likewise.
23504 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23505 POINTER_CHK_GUARD): Likewise.
23506 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23507 * sysdeps/tile/start.S (_start): Likewise.
23508 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23510 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23511 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23513 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23514 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23515 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23517 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23518 * sysdeps/tile/tilepro/Implies: Remove file.
23519 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23520 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23521 * sysdeps/tile/tilepro/memchr.c: Likewise.
23522 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23523 * sysdeps/tile/tilepro/memset.c: Likewise.
23524 * sysdeps/tile/tilepro/memusage.h: Likewise.
23525 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23526 * sysdeps/tile/tilepro/strchr.c: Likewise.
23527 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23528 * sysdeps/tile/tilepro/strlen.c: Likewise.
23529 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23530 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23531 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23532 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23533 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23534 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23535 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23537 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23538 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23539 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23540 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23541 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23542 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23543 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23544 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23545 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23546 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23547 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23548 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23549 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23550 tilepro mention in comment.
23552 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23553 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23554 * nptl/pthread_join_common.c: New file: common function used on
23555 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23556 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23557 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23558 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23559 (cleanup): Move definition to pthread_join_common.c.
23560 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23561 Remove superflous checks.
23562 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23565 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23567 * sysdeps/aarch64/libm-test-ulps: Update.
23569 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23571 * sysdeps/aarch64/memset.S (MEMSET): Define.
23573 2017-12-20 Florian Weimer <fweimer@redhat.com>
23576 nptl: Provide full implementation of pthread_self in libc.so.
23577 * nptl/Makefile (routines): Add pthread_self.
23578 (libpthread-routines): Replace pthread_self with
23579 compat-pthread_self.
23580 * nptl/forward.c (pthread_self): Remove.
23581 * nptl/nptl-init.c (pthread_functions): Do not initialize
23583 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23584 * nptl/compat-pthread_self.c: New file.
23585 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23586 Remove ptr_pthread_self.
23588 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23590 * posix/regcomp.c: Fix spelling in comments.
23591 * posix/regex.h: Likewise.
23592 * posix/regex_internal.c: Likewise.
23593 * posix/regexec.c: Likewise.
23595 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23598 * math/Makefile [C++] (tests): Add test for iseqsig.
23599 * math/math.h [C++] (iseqsig): New implementation, which does
23600 not rely on __MATH_TG/__builtin_types_compatible_p.
23601 * math/test-math-iseqsig.cc: New file.
23602 * sysdeps/powerpc/powerpc64le/Makefile
23603 (CFLAGS-test-math-iseqsig.cc): New variable.
23605 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23607 * elf/dl-load.c (is_trusted_path): Remove.
23608 (fillin_rpath): Remove check_trusted argument and its use,
23609 all callers changed.
23611 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23614 * Makeconfig (link-pie-before-libc): Replace -pie with
23615 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23616 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23617 (tst-dlopen-aout-no-pie): New.
23618 (LDFLAGS-tst-prelink): Removed.
23619 (tst-prelink-no-pie): New.
23620 (LDFLAGS-tst-main1): Removed.
23621 (tst-main1-no-pie): New.
23622 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23623 (tst-gmon-no-pie): New.
23625 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23627 * manual/install.texi: Document that --enable-static-pie
23629 * INSTALL: Regenerated.
23631 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23634 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23637 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23641 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23645 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23647 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23648 <errno.h>. Include "eexp.tbl".
23649 (half): New constant.
23651 (__ieee754_exp): Rewrite.
23652 (__slowexp): Remove prototype.
23653 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23654 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23655 * sysdeps/i386/fpu/slowexp.c: Likewise.
23656 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23657 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23658 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23659 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23660 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23661 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23662 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23664 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23665 (CPPFLAGS-slowexp.c): Remove variable.
23666 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23667 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23668 (CFLAGS-slowexp-fma.c): Remove variable.
23669 (CFLAGS-slowexp-fma4.c): Likewise.
23670 (CFLAGS-slowexp-avx.c): Likewise.
23671 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23673 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23674 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23675 * math/Makefile (type-double-routines): Remove slowexp.
23676 * manual/probes.texi (slowexp_p6): Remove.
23677 (slowexp_p32): Likewise.
23679 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23681 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23684 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23686 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23690 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23692 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23693 <errno.h>. Include "eexp.tbl".
23694 (half): New constant.
23696 (__ieee754_exp): Rewrite.
23697 (__slowexp): Remove prototype.
23698 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23699 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23700 * sysdeps/i386/fpu/slowexp.c: Likewise.
23701 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23702 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23703 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23705 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23706 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23707 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23709 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23710 (CPPFLAGS-slowexp.c): Remove variable.
23711 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23712 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23713 (CFLAGS-slowexp-fma.c): Remove variable.
23714 (CFLAGS-slowexp-fma4.c): Likewise.
23715 (CFLAGS-slowexp-avx.c): Likewise.
23716 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23718 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23719 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23720 * math/Makefile (type-double-routines): Remove slowexp.
23721 * manual/probes.texi (slowexp_p6): Remove.
23722 (slowexp_p32): Likewise.
23724 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23725 James Clarke <jrtc27@jrtc27.com>
23728 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23731 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23734 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23737 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23740 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23741 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23742 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23743 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23746 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23749 * bits/types/__cancel_jmp_buf_tag.h: New file.
23750 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23751 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23752 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23753 * nptl/Makefile (headers): Add
23754 bits/types/__cancel_jmp_buf_tag.h.
23755 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23756 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23757 * sysdeps/nptl/pthread.h: Include
23758 <bits/types/__cancel_jmp_buf_tag.h>.
23759 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23761 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23763 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23765 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23766 --enable-static-pie variants to x86_64, x32 and i686.
23768 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23771 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23772 argument for attrubutes. All callers changed.
23773 (__inline_mathop1): Likewise. All callers changed.
23774 (__inline_mathop): Likewise. All callers changed.
23775 [__USE_MISC] (scalbn): Use __inline_forward instead of
23776 __inline_forward_c.
23777 [__USE_ISOC99] (scalbln): Likewise.
23778 [__USE_ISOC99] (nearbyint): Likewise.
23779 [__USE_ISOC99] (lrint): Likewise.
23780 [__USE_MISC] (scalbnf): Likewise.
23781 [__USE_ISOC99] (scalblnf): Likewise.
23782 [__USE_ISOC99] (nearbyintf): Likewise.
23783 [__USE_ISOC99] (lrintf): Likewise.
23784 [__USE_MISC] (scalbnl): Likewise.
23785 [__USE_ISOC99] (scalblnl): Likewise.
23786 [__USE_ISOC99] (nearbyintl): Likewise.
23787 [__USE_ISOC99] (lrintl): Likewise.
23788 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23789 __inline_mathop and __m81_defun changed.
23791 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23792 CPU or FPU for ARM hard-float configurations.
23794 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23796 * nptl/tst-attr3.c: Include <libc-diag.h>.
23797 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23799 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23801 * string/tester.c (test_strncat): Also disable -Warray-bounds
23802 warnings for two tests.
23804 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23807 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23808 $(cc-pie-default) == yes.
23809 * config.make.in (cc-pie-default): New.
23810 * configure.ac (libc_cv_pie_default): Renamed to ...
23811 (libc_cv_cc_pie_default): This.
23812 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23813 * configure: Regenerated.
23815 2017-12-18 Florian Weimer <fweimer@redhat.com>
23818 ld.so: Harden dl-libc/libdl hooks.
23819 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23820 (rtld_active): New function.
23821 * dlfcn/dladdr.c (__dladdr): Call it.
23822 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23823 * dlfcn/dlclose.c (__dlcose): Likewise.
23824 * dlfcn/dlerror.c (__dlerror): Likewise.
23825 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23826 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23827 * dlfcn/dlopen.c (__dlopen): Likewise.
23828 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23829 * dlfcn/dlsym.c (__dlsym): Likewise.
23830 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23831 * libio/vtables.c (_IO_vtable_check): Likewise.
23832 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23833 (__libc_dlclose): Likewise.
23834 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23837 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23840 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23841 buffers for readlink input and output.
23843 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23846 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23847 inhibit_stack_protector.
23850 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23851 inhibit_stack_protector.
23853 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23856 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23857 code and invocation.
23859 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23861 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23863 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23866 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23868 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23870 * sysdeps/s390/fpu/libm-test-ulps: Update.
23872 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23876 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23878 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23879 constants to s_sincosf.h file.
23880 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23881 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23883 * sysdeps/ieee754/flt-32/s_sincosf.h:
23886 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23889 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23892 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23895 * INSTALL: Regenerated.
23896 * Makeconfig (real-static-start-installed-name): New.
23897 (pic-default): Updated for --enable-static-pie.
23898 (pie-default): New for --enable-static-pie.
23899 (default-pie-ldflag): Likewise.
23900 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23901 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23902 Replace $(static-start-installed-name) with
23903 $(real-static-start-installed-name).
23904 (+prectorT): Updated for --enable-static-pie.
23905 (+postctorT): Likewise.
23906 (CFLAGS-.o): Add $(pie-default).
23907 (CFLAGS-.op): Likewise.
23908 * NEWS: Mention --enable-static-pie.
23909 * config.h.in (ENABLE_STATIC_PIE): New.
23910 * configure.ac (--enable-static-pie): New configure option.
23911 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23912 (have-static-pie): Likewise.
23913 Enable static PIE if linker supports --no-dynamic-linker.
23914 (ENABLE_STATIC_PIE): New AC_DEFINE.
23915 (enable-static-pie): New LIBC_CONFIG_VAR.
23916 * configure: Regenerated.
23917 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23918 gr$(start-installed-name) for --enable-static-pie.
23919 (extra-objs): Likewise.
23920 (install-lib): Likewise.
23921 (extra-objs): Add static-reloc.o and static-reloc.os
23922 ($(objpfx)$(start-installed-name)): Also depend on
23923 $(objpfx)static-reloc.o.
23924 ($(objpfx)r$(start-installed-name)): New.
23925 ($(objpfx)g$(start-installed-name)): Also depend on
23926 $(objpfx)static-reloc.os.
23927 ($(objpfx)gr$(start-installed-name)): New.
23928 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23930 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23932 * csu/static-reloc.c: New file.
23933 * elf/Makefile (routines): Add dl-reloc-static-pie.
23934 (elide-routines.os): Likewise.
23935 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23936 (tst-tls1-static-non-pie-no-pie): New.
23937 * elf/dl-reloc-static-pie.c: New file.
23938 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23939 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23940 STATIC_PIE_BOOTSTRAP.
23941 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23942 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23943 (tests-static): Likewise.
23944 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23945 (tst-gmon-static-no-pie): New.
23946 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23947 (CRT-tst-gmon-static-pie): Likewise.
23948 (tst-gmon-static-pie-ENV): Likewise.
23949 (tests-special): Likewise.
23950 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23951 (clean-tst-gmon-static-pie-data): Likewise.
23952 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23953 * gmon/tst-gmon-static-pie.c: New file.
23954 * manual/install.texi: Document --enable-static-pie.
23955 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23956 (_dl_get_dl_main_map): Likewise.
23957 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23958 * sysdeps/x86_64/configure.ac: Likewise.
23959 * sysdeps/i386/configure: Regenerated.
23960 * sysdeps/x86_64/configure: Likewise.
23961 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23962 (ASFLAGS-.op): Likewise.
23964 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23966 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23967 * posix/tst-mmap-offset.c (fname): Use /tmp.
23968 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23970 2017-12-15 Steve Ellcey <sellcey@cavium.com>
23972 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
23974 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
23976 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
23979 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23981 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
23982 --with-float=hard for arm-linux-gnueabihf configurations.
23985 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
23986 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
23987 ($(mo-installed)): Use $(objpfx)%.mo.
23988 (realclean): Remove rule.
23990 * po/Makefile (linguas): Remove rule and dependencies.
23991 (linguas.mo): Likewise.
23992 (.PHONY): Do not depend on linguas and linguas.mo.
23993 (podir): Remove variable.
23994 (pofiles): Likewise.
23995 [$(pofiles)] (%.po): Remove rule.
23997 * sysdeps/sparc/sparc32/Makefile
23998 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
23999 start-of-line whitespace in argument of echo.
24000 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24001 with whitespace. Generate __wrap_.udiv alias.
24002 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24003 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24004 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24005 * sysdeps/sparc/sparc32/urem.S: Likewise.
24007 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24009 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24010 for aligned inputs.
24012 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24014 * benchtests/bench-strcmp.c: Print output in JSON format.
24016 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24018 2017-12-14 Florian Weimer <fweimer@redhat.com>
24022 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24023 the expanded path string.
24025 2017-12-14 Florian Weimer <fweimer@redhat.com>
24029 * elf/dl-load.c (system_dirs): Update comment.
24030 (nsystem_dirs_len): Use array_length.
24031 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24033 2017-12-14 Florian Weimer <fweimer@redhat.com>
24035 Simplify compiling most of support/ outside of glibc.
24036 * support/check_addrinfo.c: Include <string.h>.
24037 * support/check_dns_packet.c: Likewise.
24038 * support/check_hostent.c: Likewise.
24039 * support/support_can_chroot.c: Include <support/xunistd.h>.
24040 * support/support_format_addrinfo.c: Include <stdlib.h>
24041 * support/support_format_dns_packet.c: Include <stdbool.h>.
24042 * support/support_format_hostent.c: Include <stdlib.h>.
24043 * support/support_format_netent.c: Likewise.
24044 * support/support_write_string.c: Include <support/xunistd.h>.
24045 * support/xdlfcn.c: Include <stddef.h>.
24047 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24049 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24051 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24052 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24054 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24055 (sysdeps_routines): Add memset-niagara7.
24056 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24058 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24060 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24061 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24062 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24063 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24064 Add niagara7 option.
24065 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24068 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24069 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24070 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24072 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24074 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24075 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24076 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24077 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24078 and __memmove_niagara7.
24079 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24080 Add niagara7 option.
24081 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24082 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24083 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24084 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24085 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24087 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24089 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24090 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24091 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24092 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24094 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24095 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24096 _dl_sparc_cap_flags array.
24097 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24099 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24101 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24102 time whenever possible.
24104 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24106 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24107 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24109 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24111 * soft-fp/fmadf4.c: Move to ....
24112 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24113 * soft-fp/fmasf4.c: Move to ....
24114 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24115 * soft-fp/fmatf4.c: Move to ....
24116 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24117 * sysdeps/ieee754/soft-fp/Makefile: New file.
24118 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24119 * sysdeps/arm/preconfigure: Regenerated.
24120 * sysdeps/arm/nofpu/Implies: New file.
24121 * sysdeps/arm/s_fma.c: Remove file.
24122 * sysdeps/arm/s_fmaf.c: Likewise.
24123 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24124 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24125 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24126 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24127 * sysdeps/microblaze/s_fma.c: Remove file.
24128 * sysdeps/microblaze/s_fmaf.c: Likewise.
24129 * sysdeps/mips/mips32/nofpu/Implies: New file.
24130 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24131 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24132 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24133 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24134 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24135 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24136 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24138 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24139 * sysdeps/nios2/s_fma.c: Remove file.
24140 * sysdeps/nios2/s_fmaf.c: Likewise.
24141 * sysdeps/sh/nofpu/Implies: New file.
24142 * sysdeps/sh/s_fma.c: Remove file.
24143 * sysdeps/sh/s_fmaf.c: Likewise.
24144 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24145 * sysdeps/tile/s_fma.c: Remove file.
24146 * sysdeps/tile/s_fmaf.c: Likewise.
24148 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24150 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24151 Add s_cosf-sse2 and s_cosf-fma.
24152 (CFLAGS-s_cosf-fma.c): New.
24153 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24154 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24155 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24157 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24159 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24161 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24163 * libio/Makefile (tests): Add tst-bz22415.
24164 (tst-bz22415-ENV): New rule.
24165 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24166 (tests-special): Add tst-bz22415-mem.out.
24167 ($(objpfx)tst-bz22415-mem.out): New rule.
24168 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24169 in case of a successful seek operation.
24170 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24171 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24172 buffer is required.
24173 * libio/tst-bz22415.c: New test.
24175 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24177 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24179 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24180 __IPC_64 to 0 to avoid IPC_64 being set.
24182 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24185 * math/bits/mathcalls.h (nextafter): Remove const.
24186 (nexttoward): Likewise.
24188 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24190 * configure.ac (--with-fp): Remove configure option.
24191 (with_fp_cond): New variable.
24192 (libc_cv_with_fp): New configure test. Use this variable instead
24194 * configure: Regenerated.
24195 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24196 * manual/install.texi (Configuring and compiling): Remove
24198 * INSTALL: Regenerated.
24199 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24200 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24201 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24202 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24203 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24204 use --without-fp to configure glibc.
24206 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24208 * manual/locale.texi (nl_langinfo): Fix a typo.
24210 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24213 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24215 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24217 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24218 (CFLAGS-argp-parse.c): Likewise.
24219 (CFLAGS-argp-fmtstream.c): Likewise.
24220 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24221 (CPPFLAGS-sha512-crypt.c): Likewise.
24222 (CPPFLAGS-md5-crypt.c): Likewise.
24223 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24224 (CFLAGS-stack_chk_fail_local.c): Likewise.
24225 (CFLAGS-backtrace.c): Likewise.
24226 (CFLAGS-sprintf_chk.c): Likewise.
24227 (CFLAGS-snprintf_chk.c): Likewise.
24228 (CFLAGS-vsprintf_chk.c): Likewise.
24229 (CFLAGS-vsnprintf_chk.c): Likewise.
24230 (CFLAGS-asprintf_chk.c): Likewise.
24231 (CFLAGS-vasprintf_chk.c): Likewise.
24232 (CFLAGS-obprintf_chk.c): Likewise.
24233 (CFLAGS-dprintf_chk.c): Likewise.
24234 (CFLAGS-vdprintf_chk.c): Likewise.
24235 (CFLAGS-printf_chk.c): Likewise.
24236 (CFLAGS-fprintf_chk.c): Likewise.
24237 (CFLAGS-vprintf_chk.c): Likewise.
24238 (CFLAGS-vfprintf_chk.c): Likewise.
24239 (CFLAGS-gets_chk.c): Likewise.
24240 (CFLAGS-fgets_chk.c): Likewise.
24241 (CFLAGS-fgets_u_chk.c): Likewise.
24242 (CFLAGS-fread_chk.c): Likewise.
24243 (CFLAGS-fread_u_chk.c): Likewise.
24244 (CFLAGS-swprintf_chk.c): Likewise.
24245 (CFLAGS-vswprintf_chk.c): Likewise.
24246 (CFLAGS-wprintf_chk.c): Likewise.
24247 (CFLAGS-fwprintf_chk.c): Likewise.
24248 (CFLAGS-vwprintf_chk.c): Likewise.
24249 (CFLAGS-vfwprintf_chk.c): Likewise.
24250 (CFLAGS-fgetws_chk.c): Likewise.
24251 (CFLAGS-fgetws_u_chk.c): Likewise.
24252 (CFLAGS-read_chk.c): Likewise.
24253 (CFLAGS-pread_chk.c): Likewise.
24254 (CFLAGS-pread64_chk.c): Likewise.
24255 (CFLAGS-recv_chk.c): Likewise.
24256 (CFLAGS-recvfrom_chk.c): Likewise.
24257 (CFLAGS-tst-longjmp_chk.c): Likewise.
24258 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24259 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24260 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24261 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24262 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24263 (CFLAGS-tst-chk1.c): Likewise.
24264 (CFLAGS-tst-chk2.c): Likewise.
24265 (CFLAGS-tst-chk3.c): Likewise.
24266 (CFLAGS-tst-chk4.cc): Likewise.
24267 (CFLAGS-tst-chk5.cc): Likewise.
24268 (CFLAGS-tst-chk6.cc): Likewise.
24269 (CFLAGS-tst-lfschk1.c): Likewise.
24270 (CFLAGS-tst-lfschk2.c): Likewise.
24271 (CFLAGS-tst-lfschk3.c): Likewise.
24272 (CFLAGS-tst-lfschk4.cc): Likewise.
24273 (CFLAGS-tst-lfschk5.cc): Likewise.
24274 (CFLAGS-tst-lfschk6.cc): Likewise.
24275 (CFLAGS-tst-ssp-1.c): Likewise.
24276 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24277 (CFLAGS-scandir64.c): Likewise.
24278 (CFLAGS-scandir-tail.c): Likewise.
24279 (CFLAGS-scandir64-tail.c): Likewise.
24280 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24281 (CFLAGS-dl-tunables.c): Likewise.
24282 (CFLAGS-dl-runtime.c): Likewise.
24283 (CFLAGS-dl-lookup.c): Likewise.
24284 (CFLAGS-dl-iterate-phdr.c): Likewise.
24285 (CFLAGS-vismain.c): Likewise.
24286 (CFLAGS-tst-linkall-static.c): Likewise.
24287 (CFLAGS-tst-linkall-static.c): Likewise.
24288 (CPPFLAGS-dl-load.c): Likewise.
24289 (CFLAGS-ldconfig.c): Likewise.
24290 (CFLAGS-dl-cache.c): Likewise.
24291 (CFLAGS-cache.c): Likewise.
24292 (CFLAGS-rtld.c): Likewise.
24293 (CFLAGS-multiload.c): Likewise.
24294 (CFLAGS-filtmod1.c): Likewise.
24295 (CFLAGS-tst-align.c): Likewise.
24296 (CFLAGS-tst-align2.c): Likewise.
24297 (CFLAGS-tst-alignmod.c): Likewise.
24298 (CFLAGS-tst-alignmod2.c): Likewise.
24299 (CPPFLAGS-tst-execstack.c): Likewise.
24300 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24301 (CFLAGS-tst-latepthreadmod.c): Likewise.
24302 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24303 (CFLAGS-getgrnam_r.c): Likewise.
24304 (CFLAGS-getgrent_r.c): Likewise.
24305 (CFLAGS-getgrent.c): Likewise.
24306 (CFLAGS-fgetgrent.c): Likewise.
24307 (CFLAGS-fgetgrent_r.c): Likewise.
24308 (CFLAGS-putgrent.c): Likewise.
24309 (CFLAGS-initgroups.c): Likewise.
24310 (CFLAGS-getgrgid.c): Likewise.
24311 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24312 (CFLAGS-getsgent.c): Likewise.
24313 (CFLAGS-fgetsgent.c): Likewise.
24314 (CFLAGS-fgetsgent_r.c): Likewise.
24315 (CFLAGS-putsgent.c): Likewise.
24316 (CFLAGS-getsgnam.c): Likewise.
24317 (CFLAGS-getsgnam_r.c): Likewise.
24318 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24319 (CFLAGS-iconv_charmap.c): Likewise.
24320 (CFLAGS-dummy-repertoire.c): Likewise.
24321 (CFLAGS-charmap.c): Likewise.
24322 (CFLAGS-linereader.c): Likewise.
24323 (CFLAGS-simple-hash.c): Likewise.
24324 (CFLAGS-gconv_conf.c): Likewise.
24325 (CFLAGS-iconvconfig.c): Likewise.
24326 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24327 (CFLAGS-gethstbyad.c): Likewise.
24328 (CFLAGS-gethstbynm_r.c): Likewise.
24329 (CFLAGS-gethstbynm.c): Likewise.
24330 (CFLAGS-gethstbynm2_r.c): Likewise.
24331 (CFLAGS-gethstbynm2.c): Likewise.
24332 (CFLAGS-gethstent_r.c): Likewise.
24333 (CFLAGS-gethstent.c): Likewise.
24334 (CFLAGS-rcmd.c): Likewise.
24335 (CFLAGS-getnetbynm_r.c): Likewise.
24336 (CFLAGS-getnetbynm.c): Likewise.
24337 (CFLAGS-getnetbyad_r.c): Likewise.
24338 (CFLAGS-getnetbyad.c): Likewise.
24339 (CFLAGS-getnetent_r.c): Likewise.
24340 (CFLAGS-getnetent.c): Likewise.
24341 (CFLAGS-getaliasent_r.c): Likewise.
24342 (CFLAGS-getaliasent.c): Likewise.
24343 (CFLAGS-getrpcent_r.c): Likewise.
24344 (CFLAGS-getrpcent.c): Likewise.
24345 (CFLAGS-getservent_r.c): Likewise.
24346 (CFLAGS-getservent.c): Likewise.
24347 (CFLAGS-getprtent_r.c): Likewise.
24348 (CFLAGS-getprtent.c): Likewise.
24349 (CFLAGS-either_ntoh.c): Likewise.
24350 (CFLAGS-either_hton.c): Likewise.
24351 (CFLAGS-getnetgrent.c): Likewise.
24352 (CFLAGS-getnetgrent_r.c): Likewise.
24353 (CFLAGS-tst-checks-posix.c): Likewise.
24354 (CFLAGS-tst-sockaddr.c): Likewise.
24355 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24356 (CFLAGS-tst-translit.c): Likewise.
24357 (CFLAGS-tst-gettext2.c): Likewise.
24358 (CFLAGS-tst-codeset.c): Likewise.
24359 (CFLAGS-tst-gettext3.c): Likewise.
24360 (CFLAGS-tst-gettext4.c): Likewise.
24361 (CFLAGS-tst-gettext5.c): Likewise.
24362 (CFLAGS-tst-gettext6.c): Likewise.
24363 * io/Makefile (CFLAGS-open.c): Likewise.
24364 (CFLAGS-open64.c): Likewise.
24365 (CFLAGS-creat.c): Likewise.
24366 (CFLAGS-creat64.c): Likewise.
24367 (CFLAGS-fcntl.c): Likewise.
24368 (CFLAGS-poll.c): Likewise.
24369 (CFLAGS-ppoll.c): Likewise.
24370 (CFLAGS-lockf.c): Likewise.
24371 (CFLAGS-statfs.c): Likewise.
24372 (CFLAGS-fstatfs.c): Likewise.
24373 (CFLAGS-statvfs.c): Likewise.
24374 (CFLAGS-fstatvfs.c): Likewise.
24375 (CFLAGS-fts.c): Likewise.
24376 (CFLAGS-fts64.c): Likewise.
24377 (CFLAGS-ftw.c): Likewise.
24378 (CFLAGS-ftw64.c): Likewise.
24379 (CFLAGS-lockf.c): Likewise.
24380 (CFLAGS-posix_fallocate.c): Likewise.
24381 (CFLAGS-posix_fallocate64.c): Likewise.
24382 (CFLAGS-fallocate.c): Likewise.
24383 (CFLAGS-fallocate64.c): Likewise.
24384 (CFLAGS-read.c): Likewise.
24385 (CFLAGS-write.c): Likewise.
24386 (CFLAGS-test-stat.c): Likewise.
24387 (CFLAGS-test-lfs.c): Likewise.
24388 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24389 (CFLAGS-fputc.c): Likewise.
24390 (CFLAGS-fputwc.c): Likewise.
24391 (CFLAGS-freopen64.c): Likewise.
24392 (CFLAGS-freopen.c): Likewise.
24393 (CFLAGS-fseek.c): Likewise.
24394 (CFLAGS-fseeko64.c): Likewise.
24395 (CFLAGS-fseeko.c): Likewise.
24396 (CFLAGS-ftello64.c): Likewise.
24397 (CFLAGS-ftello.c): Likewise.
24398 (CFLAGS-fwide.c): Likewise.
24399 (CFLAGS-genops.c): Likewise.
24400 (CFLAGS-getc.c): Likewise.
24401 (CFLAGS-getchar.c): Likewise.
24402 (CFLAGS-getwc.c): Likewise.
24403 (CFLAGS-getwchar.c): Likewise.
24404 (CFLAGS-iofclose.c): Likewise.
24405 (CFLAGS-iofflush.c): Likewise.
24406 (CFLAGS-iofgetpos64.c): Likewise.
24407 (CFLAGS-iofgetpos.c): Likewise.
24408 (CFLAGS-iofgets.c): Likewise.
24409 (CFLAGS-iofgetws.c): Likewise.
24410 (CFLAGS-iofputs.c): Likewise.
24411 (CFLAGS-iofputws.c): Likewise.
24412 (CFLAGS-iofread.c): Likewise.
24413 (CFLAGS-iofsetpos64.c): Likewise.
24414 (CFLAGS-iofsetpos.c): Likewise.
24415 (CFLAGS-ioftell.c): Likewise.
24416 (CFLAGS-iofwrite.c): Likewise.
24417 (CFLAGS-iogetdelim.c): Likewise.
24418 (CFLAGS-iogetline.c): Likewise.
24419 (CFLAGS-iogets.c): Likewise.
24420 (CFLAGS-iogetwline.c): Likewise.
24421 (CFLAGS-ioputs.c): Likewise.
24422 (CFLAGS-ioseekoff.c): Likewise.
24423 (CFLAGS-ioseekpos.c): Likewise.
24424 (CFLAGS-iosetbuffer.c): Likewise.
24425 (CFLAGS-iosetvbuf.c): Likewise.
24426 (CFLAGS-ioungetc.c): Likewise.
24427 (CFLAGS-ioungetwc.c): Likewise.
24428 (CFLAGS-oldfileops.c): Likewise.
24429 (CFLAGS-oldiofclose.c): Likewise.
24430 (CFLAGS-oldiofgetpos64.c): Likewise.
24431 (CFLAGS-oldiofgetpos.c): Likewise.
24432 (CFLAGS-oldiofsetpos64.c): Likewise.
24433 (CFLAGS-oldiofsetpos.c): Likewise.
24434 (CFLAGS-peekc.c): Likewise.
24435 (CFLAGS-putc.c): Likewise.
24436 (CFLAGS-putchar.c): Likewise.
24437 (CFLAGS-putwc.c): Likewise.
24438 (CFLAGS-putwchar.c): Likewise.
24439 (CFLAGS-rewind.c): Likewise.
24440 (CFLAGS-wfileops.c): Likewise.
24441 (CFLAGS-wgenops.c): Likewise.
24442 (CFLAGS-oldiofopen.c): Likewise.
24443 (CFLAGS-iofopen.c): Likewise.
24444 (CFLAGS-iofopen64.c): Likewise.
24445 (CFLAGS-oldtmpfile.c): Likewise.
24446 (CFLAGS-tst_putwc.c): Likewise.
24447 * locale/Makefile (CFLAGS-md5.c): Likewise.
24448 (CFLAGS-charmap.c): Likewise.
24449 (CFLAGS-locfile.c): Likewise.
24450 (CFLAGS-charmap-dir.c): Likewise.
24451 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24452 (CFLAGS-getpt.c): Likewise.
24453 (CFLAGS-pt_chown.c): Likewise.
24454 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24455 (CFLAGS-obstack.c): Likewise.
24456 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24457 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24458 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24459 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24460 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24461 (CFLAGS-test-tgmath.c): Likewise.
24462 (CFLAGS-test-tgmath2.c): Likewise.
24463 (CFLAGS-test-tgmath-ret.c): Likewise.
24464 (CFLAGS-test-powl.c): Likewise.
24465 (CFLAGS-test-snan.c): Likewise.
24466 (CFLAGS-test-signgam-finite.c): Likewise.
24467 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24468 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24469 (CFLAGS-test-signgam-uchar.c): Likewise.
24470 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24471 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24472 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24473 (CFLAGS-test-signgam-uint.c): Likewise.
24474 (CFLAGS-test-signgam-uint-init.c): Likewise.
24475 (CFLAGS-test-signgam-uint-static.c): Likewise.
24476 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24477 (CFLAGS-test-signgam-ullong.c): Likewise.
24478 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24479 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24480 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24481 (CFLAGS-test-math-cxx11.cc): Likewise.
24482 (CFLAGS-test-math-isinff.cc): Likewise.
24483 (CFLAGS-test-math-iszero.cc): Likewise.
24484 (CFLAGS-test-math-issignaling.cc): Likewise.
24485 (CFLAGS-test-math-iscanonical.cc): Likewise.
24486 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24487 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24488 (CFLAGS-test-flt-eval-method.c): Likewise.
24489 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24490 (CFLAGS-test-finite-macros.c): Likewise.
24491 * misc/Makefile (CFLAGS-select.c): Likewise.
24492 (CFLAGS-tsearch.c): Likewise.
24493 (CFLAGS-lsearch.c): Likewise.
24494 (CFLAGS-pselect.c): Likewise.
24495 (CFLAGS-readv.c): Likewise.
24496 (CFLAGS-writev.c): Likewise.
24497 (CFLAGS-preadv.c): Likewise.
24498 (CFLAGS-preadv64.c): Likewise.
24499 (CFLAGS-pwritev.c): Likewise.
24500 (CFLAGS-pwritev64.c): Likewise.
24501 (CFLAGS-preadv2.c): Likewise.
24502 (CFLAGS-preadv64v2.c): Likewise.
24503 (CFLAGS-pwritev2.c): Likewise.
24504 (CFLAGS-pwritev64v2.c): Likewise.
24505 (CFLAGS-usleep.c): Likewise.
24506 (CFLAGS-syslog.c): Likewise.
24507 (CFLAGS-error.c): Likewise.
24508 (CFLAGS-getpass.c): Likewise.
24509 (CFLAGS-mkstemp.c): Likewise.
24510 (CFLAGS-mkstemp64.c): Likewise.
24511 (CFLAGS-getsysstats.c): Likewise.
24512 (CFLAGS-getusershell.c): Likewise.
24513 (CFLAGS-err.c): Likewise.
24514 (CFLAGS-tst-tsearch.c): Likewise.
24515 (CFLAGS-msync.c): Likewise.
24516 (CFLAGS-fdatasync.c): Likewise.
24517 (CFLAGS-fsync.c): Likewise.
24518 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24519 (CFLAGS-unwind.c): Likewise.
24520 (CFLAGS-unwind-forcedunwind.c): Likewise.
24521 (CFLAGS-pthread_cancel.c): Likewise.
24522 (CFLAGS-pthread_setcancelstate.c): Likewise.
24523 (CFLAGS-pthread_setcanceltype.c): Likewise.
24524 (CFLAGS-cancellation.c): Likewise.
24525 (CFLAGS-libc-cancellation.c): Likewise.
24526 (CFLAGS-pthread_exit.c): Likewise.
24527 (CFLAGS-forward.c): Likewise.
24528 (CFLAGS-pthread_testcancel.c): Likewise.
24529 (CFLAGS-pthread_join.c): Likewise.
24530 (CFLAGS-pthread_timedjoin.c): Likewise.
24531 (CFLAGS-pthread_once.c): Likewise.
24532 (CFLAGS-pthread_cond_wait.c): Likewise.
24533 (CFLAGS-sem_wait.c): Likewise.
24534 (CFLAGS-sem_timedwait.c): Likewise.
24535 (CFLAGS-fcntl.c): Likewise.
24536 (CFLAGS-lockf.c): Likewise.
24537 (CFLAGS-pread.c): Likewise.
24538 (CFLAGS-pread64.c): Likewise.
24539 (CFLAGS-pwrite.c): Likewise.
24540 (CFLAGS-pwrite64.c): Likewise.
24541 (CFLAGS-wait.c): Likewise.
24542 (CFLAGS-waitpid.c): Likewise.
24543 (CFLAGS-sigwait.c): Likewise.
24544 (CFLAGS-msgrcv.c): Likewise.
24545 (CFLAGS-msgsnd.c): Likewise.
24546 (CFLAGS-tcdrain.c): Likewise.
24547 (CFLAGS-open.c): Likewise.
24548 (CFLAGS-open64.c): Likewise.
24549 (CFLAGS-pause.c): Likewise.
24550 (CFLAGS-recv.c): Likewise.
24551 (CFLAGS-send.c): Likewise.
24552 (CFLAGS-accept.c): Likewise.
24553 (CFLAGS-sendto.c): Likewise.
24554 (CFLAGS-connect.c): Likewise.
24555 (CFLAGS-recvfrom.c): Likewise.
24556 (CFLAGS-recvmsg.c): Likewise.
24557 (CFLAGS-sendmsg.c): Likewise.
24558 (CFLAGS-close.c): Likewise.
24559 (CFLAGS-read.c): Likewise.
24560 (CFLAGS-write.c): Likewise.
24561 (CFLAGS-nanosleep.c): Likewise.
24562 (CFLAGS-sigsuspend.c): Likewise.
24563 (CFLAGS-msync.c): Likewise.
24564 (CFLAGS-fdatasync.c): Likewise.
24565 (CFLAGS-fsync.c): Likewise.
24566 (CFLAGS-pt-system.c): Likewise.
24567 (CFLAGS-tst-cleanup2.c): Likewise.
24568 (CFLAGS-tst-cleanupx2.c): Likewise.
24569 (CFLAGS-flockfile.c): Likewise.
24570 (CFLAGS-ftrylockfile.c): Likewise.
24571 (CFLAGS-funlockfile.c): Likewise.
24572 (CFLAGS-tst-initializers1.c): Likewise.
24573 (CFLAGS-tst-initializers1-c89.c): Likewise.
24574 (CFLAGS-tst-initializers1-c99.c): Likewise.
24575 (CFLAGS-tst-initializers1-c11.c): Likewise.
24576 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24577 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24578 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24579 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24580 (CFLAGS-nscd_getgr_r.c): Likewise.
24581 (CFLAGS-nscd_gethst_r.c): Likewise.
24582 (CFLAGS-nscd_getai.c): Likewise.
24583 (CFLAGS-nscd_initgroups.c): Likewise.
24584 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24585 (CFLAGS-pause.c): Likewise.
24586 (CFLAGS-pread.c): Likewise.
24587 (CFLAGS-pread64.c): Likewise.
24588 (CFLAGS-pwrite.c): Likewise.
24589 (CFLAGS-pwrite64.c): Likewise.
24590 (CFLAGS-sleep.c): Likewise.
24591 (CFLAGS-wait.c): Likewise.
24592 (CFLAGS-waitid.c): Likewise.
24593 (CFLAGS-waitpid.c): Likewise.
24594 (CFLAGS-getopt.c): Likewise.
24595 (CFLAGS-wordexp.c): Likewise.
24596 (CFLAGS-sysconf.c): Likewise.
24597 (CFLAGS-pathconf.c): Likewise.
24598 (CFLAGS-fpathconf.c): Likewise.
24599 (CFLAGS-spawn.c): Likewise.
24600 (CFLAGS-spawnp.c): Likewise.
24601 (CFLAGS-spawni.c): Likewise.
24602 (CFLAGS-glob.c): Likewise.
24603 (CFLAGS-glob64.c): Likewise.
24604 (CFLAGS-getconf.c): Likewise.
24605 (CFLAGS-nanosleep.c): Likewise.
24606 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24607 (CFLAGS-getpwent.c): Likewise.
24608 (CFLAGS-getpw.c): Likewise.
24609 (CFLAGS-fgetpwent_r.c): Likewise.
24610 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24611 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24612 (CFLAGS-mq_timedreceive.c): Likewise.
24613 (CFLAGS-mq_timedsend.c): Likewise.
24614 (CFLAGS-clock_nanosleep.c): Likewise.
24615 (CFLAGS-librt-cancellation.c): Likewise.
24616 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24617 (CFLAGS-getspent.c): Likewise.
24618 (CFLAGS-fgetspent.c): Likewise.
24619 (CFLAGS-fgetspent_r.c): Likewise.
24620 (CFLAGS-putspent.c): Likewise.
24621 (CFLAGS-getspnam.c): Likewise.
24622 (CFLAGS-getspnam_r.c): Likewise.
24623 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24624 (CFLAGS-sigsuspend.c): Likewise.
24625 (CFLAGS-sigtimedwait.c): Likewise.
24626 (CFLAGS-sigwait.c): Likewise.
24627 (CFLAGS-sigwaitinfo.c): Likewise.
24628 (CFLAGS-sigreturn.c): Likewise.
24629 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24630 (CFLAGS-vfwprintf.c): Likewise.
24631 (CFLAGS-tmpfile.c): Likewise.
24632 (CFLAGS-tmpfile64.c): Likewise.
24633 (CFLAGS-tempname.c): Likewise.
24634 (CFLAGS-psignal.c): Likewise.
24635 (CFLAGS-vprintf.c): Likewise.
24636 (CFLAGS-cuserid.c): Likewise.
24637 (CFLAGS-errlist.c): Likewise.
24638 (CFLAGS-siglist.c): Likewise.
24639 (CFLAGS-scanf15.c): Likewise.
24640 (CFLAGS-scanf17.c): Likewise.
24641 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24642 (CFLAGS-msort.c): Likewise.
24643 (CFLAGS-qsort.c): Likewise.
24644 (CFLAGS-system.c): Likewise.
24645 (CFLAGS-fmtmsg.c): Likewise.
24646 (CFLAGS-strfmon.c): Likewise.
24647 (CFLAGS-strfmon_l.c): Likewise.
24648 (CFLAGS-strfromd.c): Likewise.
24649 (CFLAGS-strfromf.c): Likewise.
24650 (CFLAGS-strfroml.c): Likewise.
24651 (CFLAGS-tst-bsearch.c): Likewise.
24652 (CFLAGS-tst-qsort.c): Likewise.
24653 (CFLAGS-tst-makecontext2.c): Likewise.
24654 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24655 (CFLAGS-xnlm_prot.c): Likewise.
24656 (CFLAGS-xrstat.c): Likewise.
24657 (CFLAGS-xyppasswd.c): Likewise.
24658 (CFLAGS-xklm_prot.c): Likewise.
24659 (CFLAGS-xrex.c): Likewise.
24660 (CFLAGS-xsm_inter.c): Likewise.
24661 (CFLAGS-xmount.c): Likewise.
24662 (CFLAGS-xrusers.c): Likewise.
24663 (CFLAGS-xspray.c): Likewise.
24664 (CFLAGS-xnfs_prot.c): Likewise.
24665 (CFLAGS-xrquota.c): Likewise.
24666 (CFLAGS-xkey_prot.c): Likewise.
24667 (CFLAGS-auth_unix.c): Likewise.
24668 (CFLAGS-key_call.c): Likewise.
24669 (CFLAGS-pmap_rmt.c): Likewise.
24670 (CFLAGS-clnt_perr.c): Likewise.
24671 (CFLAGS-openchild.c): Likewise.
24672 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24673 (CFLAGS-msgsnd.c): Likewise.
24674 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24675 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24676 (CFLAGS-tzset.c): Likewise.
24677 (CFLAGS-getdate.c): Likewise.
24678 (CFLAGS-test_time.c): Likewise.
24679 (CPPFLAGS-tst-tzname.c): Likewise.
24680 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24681 (CFLAGS-zic.c): Likewise.
24682 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24683 (CFLAGS-wcswidth.c): Likewise.
24684 (CFLAGS-wcstol.c): Likewise.
24685 (CFLAGS-wcstoul.c): Likewise.
24686 (CFLAGS-wcstoll.c): Likewise.
24687 (CFLAGS-wcstoull.c): Likewise.
24688 (CFLAGS-wcstod.c): Likewise.
24689 (CFLAGS-wcstold.c): Likewise.
24690 (CFLAGS-wcstof128.c): Likewise.
24691 (CFLAGS-wcstof.c): Likewise.
24692 (CFLAGS-wcstol_l.c): Likewise.
24693 (CFLAGS-wcstoul_l.c): Likewise.
24694 (CFLAGS-wcstoll_l.c): Likewise.
24695 (CFLAGS-wcstoull_l.c): Likewise.
24696 (CFLAGS-wcstod_l.c): Likewise.
24697 (CFLAGS-wcstold_l.c): Likewise.
24698 (CFLAGS-wcstof128_l.c): Likewise.
24699 (CFLAGS-wcstof_l.c): Likewise.
24700 (CPPFLAGS-tst-wchar-h.c): Likewise.
24701 (CPPFLAGS-wcstold_l.c): Likewise.
24703 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24705 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24707 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24708 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24710 * manual/tunables.texi (Hardware Capability Tunables): Document
24711 glibc.tune.cached_memopt.
24712 * sysdeps/powerpc/cpu-features.c: New file.
24713 * sysdeps/powerpc/cpu-features.h: New file.
24714 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24715 _dl_powerpc_cpu_features.
24716 * sysdeps/powerpc/dl-tunables.list: New file.
24717 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24718 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24719 (INIT_ARCH): Initialize use_aligned_memopt.
24720 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24721 IS_IN(rtld))]: Restrict dl_platform_init availability and
24722 initialize CPU features used by tunables.
24723 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24724 Add memcpy-power8-cached.
24725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24726 __memcpy_power8_cached.
24727 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24728 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24731 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24733 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24734 (CFLAGS-noinl-tester.c): Likewise.
24735 (CFLAGS-tst-strlen.c): Likewise.
24736 (CFLAGS-stratcliff.c): Likewise.
24737 (CFLAGS-test-ffs.c): Likewise.
24738 (CFLAGS-tst-inlcall.c): Likewise.
24739 (CFLAGS-tst-xbzero-opt.c): Likewise.
24740 (CFLAGS-memcpy.c): Likewise.
24741 (CFLAGS-wordcopy.c): Likewise.
24743 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24745 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24746 Store r15 on stack and add cfi rule.
24747 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24750 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24753 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24756 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24758 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24759 Add s_sinf-sse2 and s_sinf-fma.
24760 (CFLAGS-s_sinf-fma.c): New.
24761 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24762 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24763 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24765 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24767 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24769 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24772 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24773 part of result to imaginary part of argument if it is zero and the
24774 real part of the argument is not finite.
24775 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24776 of result to real part of argument if it is zero and the imaginary
24777 part of the argument is not finite.
24779 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24782 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24783 and to the list of locales to be built for testing.
24784 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24785 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24786 and build the collation rules upon that.
24788 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24790 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24791 * manual/math.texi (Mathematics): Document support for _Float32.
24792 * math/Makefile (test-types): Add float32.
24793 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24794 * stdlib/Versions (GLIBC_2.27): Likewise.
24795 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24796 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24797 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24798 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24799 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24800 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24801 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24802 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24803 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24804 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24805 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24806 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24807 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24808 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24809 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24810 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24811 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24812 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24813 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24814 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24815 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24816 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24818 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24819 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24820 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24821 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24822 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24840 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24841 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24842 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24843 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24844 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24845 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24846 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24847 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24848 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24849 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24858 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24859 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24860 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24861 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24862 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24863 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24864 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24865 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24867 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24869 * stdlib/strtof.c: Include <bits/floatn.h>
24870 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24871 and later undefine as macro. Define as weak alias if
24873 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24874 and later undefine as macro. Define as weak alias if
24876 * stdlib/strtof_l.c: Include <bits/floatn.h>
24877 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24878 and later undefine as macro. Define as weak alias if
24880 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24881 and later undefine as macro. Define as weak alias if
24884 * stdlib/strfromf.c: Include <bits/floatn.h>.
24885 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24886 and later undefine as macro and define as weak alias.
24888 * math/test-float32.h: New file.
24890 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24891 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24892 (libm_alias_float_other_r): Create f32 alias.
24893 (libm_alias_float_r): Use semicolon before call to
24894 libm_alias_float_other_r.
24896 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24897 second argument to libm_alias_float_other.
24898 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24899 second argument to libm_alias_float_other.
24900 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24901 argument to libm_alias_float_other.
24904 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24905 real part of result for argument 0 + i * NaN.
24906 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24907 results for tests of 0 + i * NaN.
24909 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24911 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24913 2017-12-06 David S. Miller <davem@davemloft.net>
24915 * sysdeps/sparc/fpu/libm-test-ulps: Update
24916 exp_{downward,towardzero,upward} ulps.
24918 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24920 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24923 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24925 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24927 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24929 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24932 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24935 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24936 and to the list of locales to be built for testing.
24937 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24938 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24939 and build the collation rules upon that.
24941 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24943 * NEWS: Add sinf to list of optimized functions.
24945 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24947 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24948 (__HAVE_FLOAT32X): Likewise.
24949 * manual/math.texi (Mathematics): Document support for _Float64
24951 * math/Makefile (test-types): Add float64 and float32x.
24952 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24954 * stdlib/Versions (GLIBC_2.27): Likewise.
24955 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24956 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24957 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24958 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24959 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24960 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24961 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24962 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24963 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24964 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24965 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24966 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24967 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24968 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24969 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24970 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24971 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24972 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24973 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24974 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24975 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24976 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24978 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24979 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24980 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24981 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24982 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24999 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25001 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25002 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25003 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25004 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25005 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25006 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25007 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25008 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25017 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25018 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25019 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25020 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25021 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25022 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25023 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25024 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25026 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25028 * bits/floatn-common.h: Include <bits/long-double.h>.
25029 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25030 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25031 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25032 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25033 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25034 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25035 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25036 (__builtin_huge_valf64): Use __builtin_huge_vall.
25037 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25038 (__builtin_inff64): Use __builtin_infl.
25039 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25040 (__builtin_nanf64): Use __builtin_nanl.
25041 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25042 (__builtin_nansf64): Use __builtin_nansl.
25044 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25045 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25046 Carlos O'Donell <carlos@redhat.com>
25048 * elf/dl-tunables.list: Add elision parameters.
25049 * manual/tunables.texi: Add entries about elision tunable.
25050 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25051 Add callback functions to dynamically enable/disable elision.
25052 Add multiple callbacks functions to set elision parameters.
25053 Deleted __libc_enable_secure check.
25054 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25055 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25056 * configure: Regenerated.
25057 * configure.ac: Option enable_lock_elision was deleted.
25058 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25059 * config.make.in: Remove references to enable_lock_elision.
25060 * manual/install.texi: Elision configure option was removed.
25061 * INSTALL: Regenerated to remove enable_lock_elision.
25063 Disable elision so it can verify error case for destroying a mutex.
25064 * sysdeps/powerpc/nptl/elide.h:
25065 Cleanup ENABLE_LOCK_ELISION check.
25066 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25067 * sysdeps/s390/configure: Regenerated.
25068 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25069 * nptl/tst-mutex8.c:
25070 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25071 * sysdeps/powerpc/powerpc32/sysdep.h:
25072 Deleted all ENABLE_LOCK_ELISION checks.
25073 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25074 * sysdeps/powerpc/sysdep.h: Likewise.
25075 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25076 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25077 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25078 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25079 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25080 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25081 enable-lock-elision.
25083 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25085 * stdlib/strtod.c: Include <bits/floatn.h>.
25086 (BUILD_DOUBLE): New macro.
25087 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25088 (strtof64): Define and later undefine as macro. Define as weak
25089 alias if [!USE_WIDE_CHAR].
25090 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25091 (wcstof64): Define and later undefine as macro. Define as weak
25092 alias if [USE_WIDE_CHAR].
25093 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25094 (strtof32x): Define and later undefine as macro. Define as weak
25095 alias if [!USE_WIDE_CHAR].
25096 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25097 (wcstof32x): Define and later undefine as macro. Define as weak
25098 alias if [USE_WIDE_CHAR].
25099 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25100 (BUILD_DOUBLE): New macro.
25101 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25102 (strtof64_l): Define and later undefine as macro. Define as weak
25103 alias if [!USE_WIDE_CHAR].
25104 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25105 (wcstof64_l): Define and later undefine as macro. Define as weak
25106 alias if [USE_WIDE_CHAR].
25107 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25108 (strtof32x_l): Define and later undefine as macro. Define as weak
25109 alias if [!USE_WIDE_CHAR].
25110 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25111 (wcstof32x_l): Define and later undefine as macro. Define as weak
25112 alias if [USE_WIDE_CHAR].
25114 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25116 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25117 (reduced): Use ones as double instead of integer.
25119 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25121 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25123 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25125 * stdlib/strfromd.c: Include <bits/floatn.h>.
25126 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25127 and later undefine as macro and define as weak alias.
25128 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25131 * math/test-float32x.h: New file.
25132 * math/test-float64.h: Likewise.
25134 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25135 (libm_alias_double_other_r_f64): New macro.
25136 (libm_alias_double_other_r_f32x): Likewise.
25137 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25138 libm_alias_double_other_r_f32x.
25139 (libm_alias_double_r): Use semicolon before call to
25140 libm_alias_double_other_r.
25141 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25143 (libm_alias_double_other_r_f64): New macro.
25144 (libm_alias_double_other_r_f32x): Likewise.
25145 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25146 libm_alias_double_other_r_f32x.
25148 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25150 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25152 (SINF_FUNC): Likewise. Replace floor with simple casts.
25154 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25157 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25158 and to the list of locales to be built for testing.
25159 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25160 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25161 and build the collation rules upon that.
25163 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25165 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25166 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25167 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25168 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25169 instead of __insn__xxx.
25170 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25171 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25172 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25173 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25174 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25175 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25177 2017-12-05 Florian Weimer <fweimer@redhat.com>
25179 Linux: Implement interfaces for memory protection keys
25180 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25182 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25183 * support/xunistd.h (xsysconf): Declare.
25184 * support/xraise.c: New file.
25185 * support/xsigaction.c: Likewise.
25186 * support/xsignal.c: Likewise.
25187 * support/xsysconf.c: Likewise.
25188 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25189 pkey_set, pkey_get, pkey_mprotect.
25190 [misc] (tests): Add tst-pkey.
25191 (tst-pkey): Link with -lpthread.
25192 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25193 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25194 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25195 (PKEY_DISABLE_WRITE): Define.
25196 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25198 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25199 (SEGV_PKUERR): Add.
25200 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25201 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25202 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25203 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25205 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25206 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25207 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25208 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25209 * sysdeps/unix/sysv/linux/**.abilist: Update.
25211 2017-12-05 Florian Weimer <fweimer@redhat.com>
25213 * support/tst-test_compare.c (subprocess): Use long long instead
25214 of long argument for consistent type width across 32-bit and
25215 64-bit architectures.
25216 (do_test): Adjust expected output.
25218 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25220 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25221 (cosf): Define using libm_alias_float.
25222 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25223 (fabsf): Define using libm_alias_float.
25224 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25225 (fmaf): Define using libm_alias_float.
25226 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25227 (rintf): Define using libm_alias_float.
25228 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25229 (sinf): Define using libm_alias_float.
25230 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25231 <libm-alias-float.h>.
25232 (modff): Define using libm_alias_float.
25233 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25234 <libm-alias-float.h>.
25235 (logbf): Define using libm_alias_float.
25236 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25237 <libm-alias-float.h>.
25238 (ceilf): Define using libm_alias_float.
25239 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25240 <libm-alias-float.h>.
25241 (copysignf): Define using libm_alias_float.
25242 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25243 <libm-alias-float.h>.
25244 (floorf): Define using libm_alias_float.
25245 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25246 <libm-alias-float.h>.
25247 (llrintf): Define using libm_alias_float.
25248 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25249 <libm-alias-float.h>.
25250 (llroundf): Define using libm_alias_float.
25251 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25252 <libm-alias-float.h>.
25253 (lrintf): Define using libm_alias_float.
25254 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25255 <libm-alias-float.h>.
25256 (lroundf): Define using libm_alias_float.
25257 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25258 <libm-alias-float.h>.
25259 (nearbyintf): Define using libm_alias_float.
25260 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25261 <libm-alias-float.h>.
25262 (rintf): Define using libm_alias_float.
25263 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25264 <libm-alias-float.h>.
25265 (roundf): Define using libm_alias_float.
25266 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25267 <libm-alias-float.h>.
25268 (truncf): Define using libm_alias_float.
25269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25270 Include <libm-alias-float.h>.
25271 (ceilf): Define using libm_alias_float.
25272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25273 Include <libm-alias-float.h>.
25274 (copysignf): Define using libm_alias_float.
25275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25276 Include <libm-alias-float.h>.
25277 (floorf): Define using libm_alias_float.
25278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25279 Include <libm-alias-float.h>.
25280 (llrintf): Define using libm_alias_float.
25281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25282 Include <libm-alias-float.h>.
25283 (llroundf): Define using libm_alias_float.
25284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25285 Include <libm-alias-float.h>.
25286 (logbf): Define using libm_alias_float.
25287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25288 Include <libm-alias-float.h>.
25289 (lrintf): Define using libm_alias_float.
25290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25291 Include <libm-alias-float.h>.
25292 (lroundf): Define using libm_alias_float.
25293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25294 Include <libm-alias-float.h>.
25295 (modff): Define using libm_alias_float.
25296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25297 Include <libm-alias-float.h>.
25298 (roundf): Define using libm_alias_float.
25299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25300 Include <libm-alias-float.h>.
25301 (truncf): Define using libm_alias_float.
25302 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25303 <libm-alias-float.h>.
25304 (llrintf): Define using libm_alias_float.
25305 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25306 <libm-alias-float.h>.
25307 (llroundf): Define using libm_alias_float.
25308 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25309 <libm-alias-float.h>.
25310 (ceilf): Define using libm_alias_float.
25311 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25312 <libm-alias-float.h>.
25313 (floorf): Define using libm_alias_float.
25314 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25315 <libm-alias-float.h>.
25316 (llroundf): Define using libm_alias_float.
25317 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25318 <libm-alias-float.h>.
25319 (lroundf): Define using libm_alias_float.
25320 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25321 <libm-alias-float.h>.
25322 (roundf): Define using libm_alias_float.
25323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25324 <libm-alias-float.h>.
25325 (truncf): Define using libm_alias_float.
25326 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25327 <libm-alias-float.h>.
25328 (copysignf): Define using libm_alias_float.
25329 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25330 <libm-alias-float.h>.
25331 (llrintf): Define using libm_alias_float.
25332 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25333 <libm-alias-float.h>.
25334 (llroundf): Define using libm_alias_float.
25335 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25336 <libm-alias-float.h>.
25337 (lrintf): Define using libm_alias_float.
25338 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25339 <libm-alias-float.h>.
25340 (lroundf): Define using libm_alias_float.
25341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25342 <libm-alias-float.h>.
25343 (ceilf): Define using libm_alias_float.
25344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25345 <libm-alias-float.h>.
25346 (copysignf): Define using libm_alias_float.
25347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25348 <libm-alias-float.h>.
25349 (cosf): Define using libm_alias_float.
25350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25351 <libm-alias-float.h>.
25352 (floorf): Define using libm_alias_float.
25353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25354 <libm-alias-float.h>.
25355 (llrintf): Define using libm_alias_float.
25356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25357 <libm-alias-float.h>.
25358 (llroundf): Define using libm_alias_float.
25359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25360 <libm-alias-float.h>.
25361 (logbf): Define using libm_alias_float.
25362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25363 <libm-alias-float.h>.
25364 (modff): Define using libm_alias_float.
25365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25366 <libm-alias-float.h>.
25367 (roundf): Define using libm_alias_float.
25368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25369 <libm-alias-float.h>.
25370 (sinf): Define using libm_alias_float.
25371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25372 <libm-alias-float.h>.
25373 (truncf): Define using libm_alias_float.
25374 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25375 <libm-alias-float.h>.
25376 (ceilf): Define using libm_alias_float.
25377 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25378 <libm-alias-float.h>.
25379 (copysignf): Define using libm_alias_float.
25380 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25381 <libm-alias-float.h>.
25382 (floorf): Define using libm_alias_float.
25383 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25384 <libm-alias-float.h>.
25385 (llrintf): Define using libm_alias_float.
25386 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25387 <libm-alias-float.h>.
25388 (llroundf): Define using libm_alias_float.
25389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25390 <libm-alias-float.h>.
25391 (nearbyintf): Define using libm_alias_float.
25392 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25393 <libm-alias-float.h>.
25394 (rintf): Define using libm_alias_float.
25395 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25396 <libm-alias-float.h>.
25397 (roundf): Define using libm_alias_float.
25398 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25399 <libm-alias-float.h>.
25400 (truncf): Define using libm_alias_float.
25401 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25402 <libm-alias-float.h>.
25403 (ceilf): Define using libm_alias_float.
25404 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25405 <libm-alias-float.h>.
25406 (floorf): Define using libm_alias_float.
25407 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25408 <libm-alias-float.h>.
25409 (llroundf): Define using libm_alias_float.
25410 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25411 <libm-alias-float.h>.
25412 (roundf): Define using libm_alias_float.
25413 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25414 <libm-alias-float.h>.
25415 (truncf): Define using libm_alias_float.
25416 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25417 <libm-alias-float.h>.
25418 (copysignf): Define using libm_alias_float.
25419 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25420 <libm-alias-float.h>.
25421 (llrintf): Define using libm_alias_float.
25422 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25423 <libm-alias-float.h>.
25424 (llroundf): Define using libm_alias_float.
25425 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25426 <libm-alias-float.h>.
25427 (cosf): Define using libm_alias_float.
25428 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25429 <libm-alias-float.h>.
25430 (llrintf): Define using libm_alias_float.
25431 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25432 <libm-alias-float.h>.
25433 (llroundf): Define using libm_alias_float.
25434 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25435 <libm-alias-float.h>.
25436 (sinf): Define using libm_alias_float.
25438 2017-12-04 Florian Weimer <fweimer@redhat.com>
25440 * support/check.h (TEST_COMPARE): Define.
25441 (support_test_compare_failure): Declare.
25442 * support/Makefile (libsupport-routines): Add
25443 support_test_compare_failure.
25444 (tests): Add tst-test_compare.
25445 * support /support_test_compare_failure.c: New file.
25446 * support/tst-test_compare.c: Likewise.
25448 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25451 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25452 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25453 available, this rewrite of the collation rules does reproduce
25454 the test file in the same order.
25456 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25459 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25460 digraphs in the month and day names. Using single code points for
25461 digraphs is deprecated. While there are dedicated Unicode
25462 codepoints, for the digraphs, these are included for backwards
25463 compatibility and modern texts use a sequence of Basic Latin
25464 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25465 This makes the month and day names agree exactly with CLDR now,
25466 CLDR does not use the single code points for the digraphs either.
25468 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25470 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25472 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25474 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25477 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25479 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25480 Define only for libc.so.
25482 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25485 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25486 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25487 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25490 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25493 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25495 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25498 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25499 PREINIT_FUNCTION_WEAK is nonzero.
25500 (gmon_initializer): New function. Put procedure label for it in
25501 .init_array section.
25502 (_init): Don't call PREINIT_FUNCTION.
25503 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25504 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25505 value when map argument is null.
25507 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25508 depi instruction from PIC pc-relative sequence.
25509 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25510 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25511 (elf_machine_load_address): Likewise.
25512 (elf_machine_runtime_setup): Likewise.
25514 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25516 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25517 <libm-alias-double.h>.
25518 (logb): Define using libm_alias_double.
25519 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25520 <libm-alias-double.h>.
25521 (copysign): Define using libm_alias_double.
25522 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25523 <libm-alias-double.h>.
25524 (llrint): Define using libm_alias_double.
25525 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25526 <libm-alias-double.h>.
25527 (llround): Define using libm_alias_double.
25528 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25529 <libm-alias-double.h>.
25530 (lrint): Define using libm_alias_double.
25531 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25532 <libm-alias-double.h>.
25533 (lround): Define using libm_alias_double.
25534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25535 Include <libm-alias-double.h>.
25536 (copysign): Define using libm_alias_double.
25537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25538 Include <libm-alias-double.h>.
25539 (llrint): Define using libm_alias_double.
25540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25541 Include <libm-alias-double.h>.
25542 (llround): Define using libm_alias_double.
25543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25544 <libm-alias-double.h>.
25545 (logb): Define using libm_alias_double.
25546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25547 Include <libm-alias-double.h>.
25548 (lrint): Define using libm_alias_double.
25549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25550 Include <libm-alias-double.h>.
25551 (lround): Define using libm_alias_double.
25552 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25553 <libm-alias-double.h>.
25554 (llrint): Define using libm_alias_double.
25555 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25556 <libm-alias-double.h>.
25557 (llround): Define using libm_alias_double.
25558 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25559 <libm-alias-double.h>.
25560 (llround): Define using libm_alias_double.
25561 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25562 <libm-alias-double.h>.
25563 (lround): Define using libm_alias_double.
25564 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25565 <libm-alias-double.h>.
25566 (copysign): Define using libm_alias_double.
25567 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25568 <libm-alias-double.h>.
25569 (llrint): Define using libm_alias_double.
25570 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25571 <libm-alias-double.h>.
25572 (llround): Define using libm_alias_double.
25573 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25574 <libm-alias-double.h>.
25575 (lrint): Define using libm_alias_double.
25576 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25577 <libm-alias-double.h>.
25578 (lround): Define using libm_alias_double.
25579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25580 <libm-alias-double.h>.
25581 (copysign): Define using libm_alias_double.
25582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25583 <libm-alias-double.h>.
25584 (llrint): Define using libm_alias_double.
25586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25587 <libm-alias-double.h>.
25588 (llround): Define using libm_alias_double.
25589 (lround): Likewise.
25590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25591 <libm-alias-double.h>.
25592 (logb): Define using libm_alias_double.
25593 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25594 <libm-alias-double.h>.
25595 (copysign): Define using libm_alias_double.
25596 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25597 <libm-alias-double.h>.
25598 (llrint): Define using libm_alias_double.
25600 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25601 <libm-alias-double.h>.
25602 (llround): Define using libm_alias_double.
25603 (lround): Likewise.
25604 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25605 <libm-alias-double.h>.
25606 (llround): Define using libm_alias_double.
25607 (lround): Likewise.
25608 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25609 <libm-alias-double.h>.
25610 (copysign): Define using libm_alias_double.
25611 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25612 <libm-alias-double.h>.
25613 (llrint): Define using libm_alias_double.
25615 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25616 <libm-alias-double.h>.
25617 (llround): Define using libm_alias_double.
25618 (lround): Likewise.
25619 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25620 <libm-alias-double.h>.
25621 (llrint): Define using libm_alias_double.
25623 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25624 <libm-alias-double.h>.
25625 (llround): Define using libm_alias_double.
25626 (lround): Likewise.
25628 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25631 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25632 compat symbol based on llround.
25634 * sysdeps/powerpc/power7/fpu/s_logb.c
25635 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25636 symbol based on __logb, not on logb.
25637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25638 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25640 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25642 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25643 (rint): Define using libm_alias_double.
25644 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25645 <libm-alias-double.h>.
25646 (modf): Define using libm_alias_double.
25647 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25648 <libm-alias-double.h>.
25649 (ceil): Define using libm_alias_double.
25650 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25651 <libm-alias-double.h>.
25652 (floor): Define using libm_alias_double.
25653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25654 <libm-alias-double.h>.
25655 (nearbyint): Define using libm_alias_double.
25656 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25657 <libm-alias-double.h>.
25658 (rint): Define using libm_alias_double.
25659 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25660 <libm-alias-double.h>.
25661 (round): Define using libm_alias_double.
25662 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25663 <libm-alias-double.h>.
25664 (trunc): Define using libm_alias_double.
25665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25666 <libm-alias-double.h>.
25667 (ceil): Define using libm_alias_double.
25668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25669 Include <libm-alias-double.h>.
25670 (floor): Define using libm_alias_double.
25671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25672 <libm-alias-double.h>.
25673 (modf): Define using libm_alias_double.
25674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25675 Include <libm-alias-double.h>.
25676 (round): Define using libm_alias_double.
25677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25678 Include <libm-alias-double.h>.
25679 (trunc): Define using libm_alias_double.
25680 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25681 <libm-alias-double.h>.
25682 (ceil): Define using libm_alias_double.
25683 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25684 <libm-alias-double.h>.
25685 (floor): Define using libm_alias_double.
25686 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25687 <libm-alias-double.h>.
25688 (round): Define using libm_alias_double.
25689 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25690 <libm-alias-double.h>.
25691 (trunc): Define using libm_alias_double.
25692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25693 <libm-alias-double.h>.
25694 (ceil): Define using libm_alias_double.
25695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25696 <libm-alias-double.h>.
25697 (floor): Define using libm_alias_double.
25698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25699 <libm-alias-double.h>.
25700 (modf): Define using libm_alias_double.
25701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25702 <libm-alias-double.h>.
25703 (round): Define using libm_alias_double.
25704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25705 <libm-alias-double.h>.
25706 (trunc): Define using libm_alias_double.
25707 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25708 <libm-alias-double.h>.
25709 (ceil): Define using libm_alias_double.
25710 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25711 <libm-alias-double.h>.
25712 (floor): Define using libm_alias_double.
25713 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25714 <libm-alias-double.h>.
25715 (nearbyint): Define using libm_alias_double.
25716 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25717 <libm-alias-double.h>.
25718 (rint): Define using libm_alias_double.
25719 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25720 <libm-alias-double.h>.
25721 (round): Define using libm_alias_double.
25722 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25723 <libm-alias-double.h>.
25724 (trunc): Define using libm_alias_double.
25725 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25726 <libm-alias-double.h>.
25727 (ceil): Define using libm_alias_double.
25728 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25729 <libm-alias-double.h>.
25730 (floor): Define using libm_alias_double.
25731 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25732 <libm-alias-double.h>.
25733 (round): Define using libm_alias_double.
25734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25735 <libm-alias-double.h>.
25736 (trunc): Define using libm_alias_double.
25738 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25739 (fabs): Define using libm_alias_double.
25740 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25741 (fma): Define using libm_alias_double.
25742 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25743 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25744 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25745 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25747 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25749 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25751 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25752 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25753 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25756 due redirect macro.
25758 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25760 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25762 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25764 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25765 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25766 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25767 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25770 (libm-sysdep_routines): Add s_nearbyintf-generic and
25771 s_nearbyint-generic.
25772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25785 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25796 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25807 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25818 (sysdep_calls): New rule.
25819 (sysdep_routines): Use sysdep_calls as base.
25820 (libm-sysdep_routines): Add generic rule for symbols shared with
25821 libc. Add s_copysign-generic and s_copysign-generic objects.
25822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25831 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25834 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25835 the list of locales to be built for testing.
25836 * localedata/is_IS.UTF-8.in: New file.
25837 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25840 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25842 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25843 <libm-alias-float.h>.
25844 (fabsf): Define using libm_alias_float.
25846 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25848 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25850 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25852 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25853 <libm-alias-float.h>.
25854 (fabsf): Define using libm_alias_float.
25855 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25856 <libm-alias-float.h>.
25857 (lrintf): Define using libm_alias_float.
25858 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25859 <libm-alias-float.h>.
25860 (rintf): Define using libm_alias_float.
25862 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25863 <libm-alias-double.h>.
25864 (fabs): Define using libm_alias_double.
25865 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25866 <libm-alias-double.h>.
25867 (lrint): Define using libm_alias_double.
25868 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25869 <libm-alias-double.h>.
25870 (rint): Define using libm_alias_double.
25872 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25873 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25874 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25875 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25876 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25877 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25878 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25879 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25880 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25881 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25882 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25883 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25884 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25885 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25886 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25887 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25888 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25889 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25891 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25892 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25893 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25895 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25896 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25897 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25899 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25900 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25901 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25902 s_expm1_template.c.
25903 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25904 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25905 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25907 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25908 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25909 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25910 s_floor_template.c.
25911 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25912 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25913 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25914 s_frexp_template.c.
25915 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25916 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25917 s_lrint_template.c.
25918 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25919 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25920 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25922 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25923 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25924 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25925 s_nearbyint_template.c.
25926 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25927 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25928 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25929 s_remquo_template.c.
25930 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25931 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25932 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25934 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25935 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25936 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25938 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25939 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25940 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25941 s_sincos_template.c.
25942 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25943 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25944 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25946 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25947 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25948 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25950 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25951 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25952 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25953 s_trunc_template.c.
25954 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25955 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25956 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25957 s_atan.c instead of including s_atan.c.
25958 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25959 s_atanf.c instead of including s_atanf.c.
25960 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25961 s_atanl.c instead of including s_atanl.c.
25962 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25963 instead of s_atan.c.
25964 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25965 instead of s_atanf.c.
25966 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25967 instead of s_atanl.c.
25969 * scripts/update-copyrights: Do not handle intl/plural.c
25972 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
25975 * configure.ac (BISON): Require to be present.
25976 * configure: Regenerated.
25977 * intl/Makefile (generated): Add plural.c.
25978 [$(BISON) != no]: Make code unconditional.
25979 (plural.c): Change rule to $(objpfx)plural.c.
25980 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
25981 * intl/plural.c: Remove.
25982 * manual/install.texi (Tools for Compilation): Document bison as
25984 * INSTALL: Regenerated.
25986 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25988 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
25989 <libm-alias-double.h>.
25990 (llrint): Define using libm_alias_double.
25991 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
25992 <libm-alias-float.h>.
25993 (llrintf): Define using libm_alias_float.
25994 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
25995 <libm-alias-ldouble.h>.
25996 (llrintl): Define using libm_alias_ldouble.
25998 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
25999 declare_mgen_alias instead of weak_alias.
26000 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26001 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26002 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26004 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26006 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26008 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26009 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26010 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26012 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26013 Add submul_1-generic.
26014 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26015 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26016 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26018 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26019 Add addmul_1-generic.
26020 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26021 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26022 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26024 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26026 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26027 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26028 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26030 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26032 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26033 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26034 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26036 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26038 According to CLDR, collation rules for Serbian and Bosnian
26039 should be the same as for Croatian.
26042 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26043 and to the list of locales to be built for testing.
26044 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26045 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26046 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26047 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26049 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26051 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26052 to make test case pass.
26053 * localedata/hr_HR.UTF-8.in: Add more test strings.
26055 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26057 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26059 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26061 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26062 the list of locales to built for testing.
26063 * localedata/hr_HR.UTF-8.in: New file.
26065 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26068 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26070 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26071 CLDR (except use ligatures for the digraphs, CLDR does not use
26072 the ligatures), add first_workday, some fixes in the date and time
26074 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26076 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26077 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26078 Add int_p_cs_precedes and int_n_cs_precedes.
26079 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26080 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26082 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26083 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26085 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26086 and lang_lib. Change postal_fmt.
26088 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26090 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26092 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26093 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26094 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26095 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26096 * sysdeps/generic/setjmpP.h: New file.
26097 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26098 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26099 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26100 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26101 Add jmp_buf-ssp.sym.
26102 (tests): Add tst-saved_mask-1.
26104 2017-11-30 Arjun Shankar <arjun@redhat.com>
26108 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26109 instead of request2size.
26111 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26114 (__lllrint): Remove alias.
26115 (lllrint): Likewise.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26117 (__lllrintf): Likewise.
26118 (lllrintf): Likewise.
26120 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26121 <libm-alias-float.h>.
26122 (copysignf): Define using libm_alias_float.
26123 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26124 <libm-alias-float.h>.
26125 (fabsf): Define using libm_alias_float.
26126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26127 Include <libm-alias-float.h>.
26128 (copysignf): Define using libm_alias_float.
26129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26130 <libm-alias-float.h>.
26131 (fabsf): Define using libm_alias_float.
26132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26133 <libm-alias-float.h>.
26134 (fdimf): Define using libm_alias_float.
26135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26136 <libm-alias-float.h>.
26137 (fmaf): Define using libm_alias_float.
26138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26139 <libm-alias-float.h>.
26140 (llrintf): Define using libm_alias_float.
26141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26142 Include <libm-alias-float.h>.
26143 (nearbyintf): Define using libm_alias_float.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26145 <libm-alias-float.h>.
26146 (rintf): Define using libm_alias_float.
26147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26148 <libm-alias-float.h>.
26149 (llrintf): Define using libm_alias_float.
26150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26151 <libm-alias-float.h>.
26152 (lrintf): Define using libm_alias_float.
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26154 <libm-alias-float.h>.
26155 (nearbyintf): Define using libm_alias_float.
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26157 <libm-alias-float.h>.
26158 (rintf): Define using libm_alias_float.
26159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26160 <libm-alias-float.h>.
26161 (ceilf): Define using libm_alias_float.
26162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26163 <libm-alias-float.h>.
26164 (floorf): Define using libm_alias_float.
26165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26166 <libm-alias-float.h>.
26167 (fmaf): Define using libm_alias_float.
26168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26169 <libm-alias-float.h>.
26170 (lrintf): Define using libm_alias_float.
26171 (llrintf): Likewise.
26172 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26173 <libm-alias-float.h>.
26174 (nearbyintf): Define using libm_alias_float.
26175 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26176 <libm-alias-float.h>.
26177 (rintf): Define using libm_alias_float.
26178 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26179 <libm-alias-float.h>.
26180 (truncf): Define using libm_alias_float.
26181 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26182 <libm-alias-float.h>.
26183 (copysignf): Define using libm_alias_float.
26184 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26185 <libm-alias-float.h>.
26186 (fabsf): Define using libm_alias_float.
26187 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26188 <libm-alias-float.h>.
26189 (lrintf): Define using libm_alias_float.
26190 (llrintf): Likewise.
26191 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26192 <libm-alias-float.h>.
26193 (nearbyintf): Define using libm_alias_float.
26194 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26195 <libm-alias-float.h>.
26196 (rintf): Define using libm_alias_float.
26198 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26200 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26201 <libm-alias-double.h>.
26202 (copysign): Define using libm_alias_double.
26203 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26204 <libm-alias-double.h>.
26205 (fabs): Define using libm_alias_double.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26207 Include <libm-alias-double.h>.
26208 (copysign): Define using libm_alias_double.
26209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26210 <libm-alias-double.h>.
26211 (fabs): Define using libm_alias_double.
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26213 <libm-alias-double.h>.
26214 (fdim): Define using libm_alias_double.
26215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26216 <libm-alias-double.h>.
26217 (fma): Define using libm_alias_double.
26218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26219 <libm-alias-double.h>.
26220 (llrint): Define using libm_alias_double.
26221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26222 Include <libm-alias-double.h>.
26223 (nearbyint): Define using libm_alias_double.
26224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26225 <libm-alias-double.h>.
26226 (rint): Define using libm_alias_double.
26227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26228 <libm-alias-double.h>.
26229 (fabs): Define using libm_alias_double.
26230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26231 <libm-alias-double.h>.
26232 (llrint): Define using libm_alias_double.
26233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26234 <libm-alias-double.h>.
26235 (nearbyint): Define using libm_alias_double.
26236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26237 <libm-alias-double.h>.
26238 (rint): Define using libm_alias_double.
26239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26240 <libm-alias-double.h>.
26241 (ceil): Define using libm_alias_double.
26242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26243 <libm-alias-double.h>.
26244 (floor): Define using libm_alias_double.
26245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26246 <libm-alias-double.h>.
26247 (fma): Define using libm_alias_double.
26248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26249 <libm-alias-double.h>.
26250 (lrint): Define using libm_alias_double.
26251 (llrint): Likewise.
26252 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26253 <libm-alias-double.h>.
26254 (nearbyint): Define using libm_alias_double.
26255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26256 <libm-alias-double.h>.
26257 (rint): Define using libm_alias_double.
26258 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26259 <libm-alias-double.h>.
26260 (trunc): Define using libm_alias_double.
26261 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26262 <libm-alias-double.h>.
26263 (copysign): Define using libm_alias_double.
26264 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26265 <libm-alias-double.h>.
26266 (fabs): Define using libm_alias_double.
26267 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26268 <libm-alias-double.h>.
26269 (lrint): Define using libm_alias_double.
26270 (llrint): Likewise.
26271 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26272 <libm-alias-double.h>.
26273 (nearbyint): Define using libm_alias_double.
26274 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26275 <libm-alias-double.h>.
26276 (rint): Define using libm_alias_double.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26281 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26283 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26284 SPARC --disable-multi-arch glibc variants.
26286 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26287 <libm-alias-float.h>.
26288 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26290 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26291 <libm-alias-float.h>.
26292 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26294 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26295 <libm-alias-float.h>.
26296 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26298 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26299 <libm-alias-float.h>.
26300 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26302 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26303 <libm-alias-float.h>.
26304 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26306 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26307 <libm-alias-float.h>.
26308 (ceilf): Define using libm_alias_float.
26309 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26310 <libm-alias-float.h>.
26311 (floorf): Define using libm_alias_float.
26312 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26313 <libm-alias-float.h>.
26314 (fmaf): Define using libm_alias_float.
26315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26316 <libm-alias-float.h>.
26317 (nearbyintf): Define using libm_alias_float.
26318 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26319 <libm-alias-float.h>.
26320 (rintf): Define using libm_alias_float.
26321 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26322 <libm-alias-float.h>.
26323 (truncf): Define using libm_alias_float.
26324 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26325 (copysignf): Define using libm_alias_float.
26326 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26327 (cosf): Define using libm_alias_float.
26328 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26329 (fabsf): Define using libm_alias_float.
26330 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26331 (fmaxf): Define using libm_alias_float.
26332 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26333 (fminf): Define using libm_alias_float.
26334 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26335 (llrintf): Define using libm_alias_float.
26336 [!__ILP32__] (lrintf): Likewise.
26337 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26338 (sincosf): Define using libm_alias_float.
26339 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26340 (sinf): Define using libm_alias_float.
26341 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26342 (lrintf): Define using libm_alias_float.
26344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26345 <libm-alias-double.h>.
26346 (atan): Define using libm_alias_double.
26347 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26348 <libm-alias-double.h>.
26349 (ceil): Define using libm_alias_double.
26350 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26351 <libm-alias-double.h>.
26352 (floor): Define using libm_alias_double.
26353 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26354 <libm-alias-double.h>.
26355 (fma): Define using libm_alias_double.
26356 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26357 <libm-alias-double.h>.
26358 (nearbyint): Define using libm_alias_double.
26359 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26360 <libm-alias-double.h>.
26361 (rint): Define using libm_alias_double.
26362 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26363 <libm-alias-double.h>.
26364 (sin): Define using libm_alias_double.
26366 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26367 <libm-alias-double.h>.
26368 (tan): Define using libm_alias_double.
26369 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26370 <libm-alias-double.h>.
26371 (trunc): Define using libm_alias_double.
26372 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26373 (copysign): Define using libm_alias_double.
26374 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26375 (fabs): Define using libm_alias_double.
26376 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26377 (fmax): Define using libm_alias_double.
26378 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26379 (fmin): Define using libm_alias_double.
26380 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26381 (llrint): Define using libm_alias_double.
26382 [!__ILP32__] (lrint): Likewise.
26383 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26384 (lrint): Define using libm_alias_double.
26386 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26389 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26399 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26402 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26408 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26409 (libm-sysdep_routines): Add s_nearbyint-generic and
26410 s_nearbyintf-generic objects.
26411 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26416 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26419 Add s_finitef-generic and s_finite-generic objects.
26420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26427 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26428 Add s_isinff-generic and s_isinf-generic objects.
26429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26437 Add s_isnanf-generic and s_isnan-generic objects.
26438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26445 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26447 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26449 (sysdep_routines): Use sysdep_calls as base.
26450 (libm-sysdep_routines): Add generic rule for symbols shared with
26451 libc. Add s_signbit-generic and s_signbitf-generic objects.
26452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26455 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26459 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26461 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26462 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26463 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26464 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26465 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26466 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26467 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26468 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26469 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26470 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26471 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26472 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26473 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26474 libm_alias_float_r.
26475 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26476 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26478 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26479 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26480 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26481 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26482 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26483 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26484 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26485 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26486 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26487 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26489 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26491 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26492 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26493 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26494 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26495 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26496 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26497 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26498 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26499 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26500 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26501 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26502 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26503 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26504 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26505 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26506 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26507 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26508 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26509 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26511 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26512 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26513 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26514 * sysdeps/ia64/fpu/w_lgammaf_main.c
26515 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26516 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26518 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26519 Alexandre Oliva <aoliva@redhat.com>
26522 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26523 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26525 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26527 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26528 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26529 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26530 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26531 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26532 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26533 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26534 instead of “ifdef DIACRIT_BACKWARD”.
26536 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26538 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26539 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26540 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26541 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26542 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26543 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26550 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26551 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26552 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26553 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26554 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26555 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26557 ($(have-as-vis3) == yes): Remove conditional.
26558 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26574 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26575 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26577 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26579 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26580 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26581 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26582 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26583 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26584 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26585 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26586 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26587 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26588 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26589 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26590 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26591 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26592 libm_alias_double_r.
26593 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26595 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26596 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26597 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26598 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26599 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26600 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26601 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26602 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26603 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26604 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26605 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26607 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26609 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26610 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26611 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26612 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26613 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26614 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26615 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26616 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26617 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26618 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26619 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26620 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26621 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26622 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26623 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26624 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26625 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26626 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26628 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26629 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26630 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26631 * sysdeps/ia64/fpu/w_lgamma_main.c
26632 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26633 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26635 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26637 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26638 address of $global$ into %dp register earlier. Use pc-relative
26639 instruction sequence for PIC case.
26641 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26643 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26644 (asinhf): Define using libm_alias_float.
26645 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26646 (atanf): Define using libm_alias_float.
26647 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26648 (cbrtf): Define using libm_alias_float.
26649 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26650 (ceilf): Define using libm_alias_float.
26651 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26652 (copysignf): Define using libm_alias_float.
26653 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26654 (expm1f): Define using libm_alias_float.
26655 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26656 (fabsf): Define using libm_alias_float.
26657 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26658 (floorf): Define using libm_alias_float.
26659 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26660 (fmaxf): Define using libm_alias_float.
26661 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26662 (fminf): Define using libm_alias_float.
26663 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26664 (frexpf): Define using libm_alias_float.
26665 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26666 (llrintf): Define using libm_alias_float.
26667 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26668 (logbf): Define using libm_alias_float.
26669 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26670 (lrintf): Define using libm_alias_float.
26671 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26672 (nearbyintf): Define using libm_alias_float.
26673 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26674 (remquof): Define using libm_alias_float.
26675 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26676 (rintf): Define using libm_alias_float.
26677 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26678 (truncf): Define using libm_alias_float.
26679 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26680 <libm-alias-float.h>.
26681 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26683 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26684 <libm-alias-float.h>.
26685 (expf): Define using libm_alias_float, or libm_alias_float_other
26687 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26688 <libm-alias-float.h>.
26689 (log2f): Define using libm_alias_float, or libm_alias_float_other
26691 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26692 <libm-alias-float.h>.
26693 (logf): Define using libm_alias_float, or libm_alias_float_other
26695 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26696 <libm-alias-float.h>.
26697 (powf): Define using libm_alias_float, or libm_alias_float_other
26699 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26700 <libm-alias-float.h>.
26701 (cosf): Define using libm_alias_float.
26702 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26703 <libm-alias-float.h>.
26704 (sincosf): Define using libm_alias_float.
26705 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26706 <libm-alias-float.h>.
26707 (sinf): Define using libm_alias_float.
26708 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26709 (fmaxf): Define using libm_alias_float.
26710 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26711 (fminf): Define using libm_alias_float.
26712 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26713 <libm-alias-float.h>.
26714 (fmaf): Define using libm_alias_float.
26716 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26717 (asinh): Define using libm_alias_double.
26718 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26719 (atan): Define using libm_alias_double.
26720 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26721 (cbrt): Define using libm_alias_double.
26722 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26723 (ceil): Define using libm_alias_double.
26724 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26725 (copysign): Define using libm_alias_double.
26726 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26727 (expm1): Define using libm_alias_double.
26728 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26729 (fabs): Define using libm_alias_double.
26730 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26731 (fdim): Define using libm_alias_double.
26732 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26733 (floor): Define using libm_alias_double.
26734 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26735 (fmax): Define using libm_alias_double.
26736 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26737 (fmin): Define using libm_alias_double.
26738 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26739 (frexp): Define using libm_alias_double.
26740 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26741 (llrint): Define using libm_alias_double.
26742 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26743 (logb): Define using libm_alias_double.
26744 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26745 (lrint): Define using libm_alias_double.
26746 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26747 (nearbyint): Define using libm_alias_double.
26748 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26749 (remquo): Define using libm_alias_double.
26750 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26751 (rint): Define using libm_alias_double.
26752 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26753 (trunc): Define using libm_alias_double.
26754 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26755 (fmax): Define using libm_alias_double.
26756 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26757 (fmin): Define using libm_alias_double.
26758 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26759 (fma): Define using libm_alias_double.
26761 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26764 * elf/dl-hwcaps.c (ROUND): Removed.
26765 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26766 and ELF_NOTE_NEXT_OFFSET.
26767 * elf/dl-load.c (ROUND): Removed.
26768 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26769 * elf/readelflib.c (ROUND): Removed.
26770 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26771 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26772 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26773 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26775 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26777 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26778 [!__fmaf] (fmaf): Define using libm_alias_float.
26780 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26781 [!__fma] (fma): Define using libm_alias_double.
26782 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26784 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26787 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26788 and implement the collation rules for cs from CLDR on top of that.
26789 * Makefile: Add cs_CZ.UTF-8 to test-input.
26790 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26792 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26794 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26796 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26797 Icarus Sparry <icarus.w.sparry@intel.com>
26799 * benchtests/Makefile:Add BENCHSET to allow subsets of
26800 benchmarks to be run.
26801 * benchtests/README: Add documentation for: Running subsets of
26804 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26806 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26807 range of tests names.
26809 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26810 result from property and remove "max", min" and "mean" from
26811 required properties based on benchtests/bench-skeleton.c.
26813 2017-11-28 Florian Weimer <fweimer@redhat.com>
26816 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26817 due to Internet requirement.
26818 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26820 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26822 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26824 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26825 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26826 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26827 (sysdep_routines): Add memset-ultra1.
26828 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26830 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26831 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26832 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26833 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26834 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26835 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26836 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26839 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26841 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26842 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26843 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26844 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26845 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26846 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26847 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26849 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26850 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26851 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26852 (sysdep_routines): Add memcpy-ultra1.
26853 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26856 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26858 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26859 (cfloat_versions): Take function argument without trailing 'f'.
26860 Call libm_alias_float_other.
26861 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26862 * sysdeps/alpha/fpu/cargf.c: Likewise.
26863 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26864 * sysdeps/alpha/fpu/conjf.c: Likewise.
26865 * sysdeps/alpha/fpu/crealf.c: Likewise.
26866 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26867 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26868 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26869 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26870 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26871 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26872 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26873 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26874 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26875 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26876 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26877 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26878 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26879 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26880 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26881 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26882 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26883 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26884 (clog10f): Use libm_alias_float_other.
26885 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26886 (ceilf): Define using libm_alias_float.
26887 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26888 (copysignf): Define using libm_alias_float.
26889 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26890 (fabsf): Define using libm_alias_float.
26891 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26892 (floorf): Define using libm_alias_float.
26893 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26894 (fmaxf): Define using libm_alias_float.
26895 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26896 (fminf): Define using libm_alias_float.
26897 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26898 (lrintf): Define using libm_alias_float.
26899 (llrintf): Likewise.
26900 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26901 (lroundf): Define using libm_alias_float.
26902 (llroundf): Likewise.
26903 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26904 (rintf): Define using libm_alias_float.
26905 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26906 (truncf): Define using libm_alias_float.
26908 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26909 (ceilf): Define using libm_alias_float.
26910 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26911 (floorf): Define using libm_alias_float.
26912 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26913 (fmaf): Define using libm_alias_float.
26914 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26915 (fmaxf): Define using libm_alias_float.
26916 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26917 (fminf): Define using libm_alias_float.
26918 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26919 (llrintf): Define using libm_alias_float.
26920 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26921 (llroundf): Define using libm_alias_float.
26922 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26923 (lrintf): Define using libm_alias_float.
26924 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26925 (lroundf): Define using libm_alias_float.
26926 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26927 <libm-alias-float.h>.
26928 (nearbyintf): Define using libm_alias_float.
26929 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26930 (rintf): Define using libm_alias_float.
26931 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26932 (roundf): Define using libm_alias_float.
26933 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26934 (truncf): Define using libm_alias_float.
26936 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26937 (ceil): Define using libm_alias_double.
26938 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26939 (copysign): Define using libm_alias_double.
26940 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26941 (fabs): Define using libm_alias_double.
26942 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26943 (floor): Define using libm_alias_double.
26944 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26945 (fmax): Define using libm_alias_double.
26946 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26947 (fmin): Define using libm_alias_double.
26948 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26949 (lrint): Define using libm_alias_double.
26950 (llrint): Likewise.
26951 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26952 (lround): Define using libm_alias_double.
26953 (llround): Likewise.
26954 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26955 (rint): Define using libm_alias_double.
26956 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26957 (trunc): Define using libm_alias_double.
26959 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26960 (libm_alias_double_r): Add semicolon after weak_alias call.
26962 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26964 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26965 (ceil): Define using libm_alias_double.
26966 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26967 (floor): Define using libm_alias_double.
26968 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26969 (fma): Define using libm_alias_double.
26970 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26971 (fmax): Define using libm_alias_double.
26972 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
26973 (fmin): Define using libm_alias_double.
26974 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
26975 (llrint): Define using libm_alias_double.
26976 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
26977 (llround): Define using libm_alias_double.
26978 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
26979 (lrint): Define using libm_alias_double.
26980 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
26981 (lround): Define using libm_alias_double.
26982 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
26983 (nearbyint): Define using libm_alias_double.
26984 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
26985 (rint): Define using libm_alias_double.
26986 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
26987 (round): Define using libm_alias_double.
26988 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
26989 (trunc): Define using libm_alias_double.
26991 2017-11-27 Florian Weimer <fweimer@redhat.com>
26993 * sysdeps/unix/sysv/linux/mlock2.c: New file.
26994 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
26995 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
26996 (tests): Add tst-mlock2.
26997 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
26998 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
26999 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27000 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27001 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27002 for mlock. Document mlock2.
27004 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27006 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27007 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27009 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27011 * sysdeps/x86/Makeconfig: New file.
27012 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27013 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27014 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27015 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27016 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27017 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27018 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27020 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27021 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27022 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27023 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27024 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27025 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27026 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27027 * manual/math.texi (Mathematics): Document support for _Float64x.
27028 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27029 * stdlib/Versions (GLIBC_2.27): Likewise.
27030 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27031 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27032 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27033 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27034 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27035 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27036 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27037 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27038 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27039 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27040 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27041 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27046 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27047 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27048 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27049 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27050 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27051 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27052 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27054 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27055 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27056 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27057 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27058 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27059 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27061 2017-11-27 Andreas Schwab <schwab@suse.de>
27063 * elf/Makefile (dl-routines): Add dl-sort-maps.
27064 * elf/dl-sort-maps.c: New file.
27065 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27066 (_dl_sort_maps): Declare.
27067 * elf/dl-fini.c (_dl_sort_fini): Remove.
27068 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27069 * elf/dl-close.c (_dl_close_worker): Likewise.
27070 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27072 * elf/dl-open.c (dl_open_worker): Likewise.
27074 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27076 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27077 using libm_alias_float128.
27078 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27080 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27082 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27083 (setpayloadsigf128): Likewise.
27084 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27086 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27089 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27090 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27091 -mfloat128 to CFLAGS.
27093 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27095 (CFLAGS-libm-test-support-float64x.c): New variable.
27096 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27097 $(f128-loader-link) to gnulib-tests.
27099 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27100 (libm_alias_float128_other_r): If
27101 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27103 (libm_alias_float128_r): Add semicolon after weak_alias call.
27104 * sysdeps/generic/libm-alias-ldouble.h
27105 (libm_alias_ldouble_other_r_f128): New macro.
27106 (libm_alias_ldouble_other_r_f64x): Likewise.
27107 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27108 and libm_alias_ldouble_other_r_f64x.
27109 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27110 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27111 (libm_alias_ldouble_other_r_f128): New macro.
27112 (libm_alias_ldouble_other_r_f64x): Likewise.
27113 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27114 and libm_alias_ldouble_other_r_f64x.
27116 * stdlib/strfroml.c: Always include <stdlib.h>.
27117 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27118 undefine as macro and define as weak alias.
27119 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27120 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27122 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27123 Define and later undefine as macro and define as weak alias.
27125 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27126 Define and later undefine as macro. Define as weak alias if
27128 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27129 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27130 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27131 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27132 Define and later undefine as macro. Define as weak alias if
27134 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27135 Define and later undefine as macro. Define as weak alias if
27137 * sysdeps/ieee754/float128/strtof128_l.c
27138 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27139 Define and later undefine as macro. Define as weak alias if
27141 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27142 Define and later undefine as macro. Define as weak alias if
27144 * sysdeps/ieee754/ldbl-128/strtold_l.c
27145 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27146 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27147 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27148 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27149 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27150 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27151 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27152 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27153 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27154 * sysdeps/ieee754/ldbl-96/strtold_l.c
27155 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27156 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27157 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27158 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27160 * math/test-float64x.h: New file.
27161 * math/Makefile (type-float64x-yes): New variable.
27162 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27164 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27165 function-like macro.
27166 (min_of_type_): Likewise.
27167 (min_of_type_l): Likewise.
27168 (min_of_type_f128): Likewise.
27169 (min_of_type): Pass () as last argument of __MATH_TG.
27171 * stdlib/tst-strtod-round-skeleton.c
27172 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27175 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27176 for combinations of long double with _Float64 and _Float64x.
27178 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27179 (__DECL_SIMD_cosf32): Likewise.
27180 (__DECL_SIMD_cosf64): Likewise.
27181 (__DECL_SIMD_cosf32x): Likewise.
27182 (__DECL_SIMD_cosf64x): Likewise.
27183 (__DECL_SIMD_cosf128x): Likewise.
27184 (__DECL_SIMD_sinf16): Likewise.
27185 (__DECL_SIMD_sinf32): Likewise.
27186 (__DECL_SIMD_sinf64): Likewise.
27187 (__DECL_SIMD_sinf32x): Likewise.
27188 (__DECL_SIMD_sinf64x): Likewise.
27189 (__DECL_SIMD_sinf128x): Likewise.
27190 (__DECL_SIMD_sincosf16): Likewise.
27191 (__DECL_SIMD_sincosf32): Likewise.
27192 (__DECL_SIMD_sincosf64): Likewise.
27193 (__DECL_SIMD_sincosf32x): Likewise.
27194 (__DECL_SIMD_sincosf64x): Likewise.
27195 (__DECL_SIMD_sincosf128x): Likewise.
27196 (__DECL_SIMD_logf16): Likewise.
27197 (__DECL_SIMD_logf32): Likewise.
27198 (__DECL_SIMD_logf64): Likewise.
27199 (__DECL_SIMD_logf32x): Likewise.
27200 (__DECL_SIMD_logf64x): Likewise.
27201 (__DECL_SIMD_logf128x): Likewise.
27202 (__DECL_SIMD_expf16): Likewise.
27203 (__DECL_SIMD_expf32): Likewise.
27204 (__DECL_SIMD_expf64): Likewise.
27205 (__DECL_SIMD_expf32x): Likewise.
27206 (__DECL_SIMD_expf64x): Likewise.
27207 (__DECL_SIMD_expf128x): Likewise.
27208 (__DECL_SIMD_powf16): Likewise.
27209 (__DECL_SIMD_powf32): Likewise.
27210 (__DECL_SIMD_powf64): Likewise.
27211 (__DECL_SIMD_powf32x): Likewise.
27212 (__DECL_SIMD_powf64x): Likewise.
27213 (__DECL_SIMD_powf128x): Likewise.
27215 * stdlib/Versions (libc): Move entries for wcstof128 and
27216 wcstof128_l to ....
27217 * wcsmbs/Versions (libc): ... here.
27218 Include <float128-abi.h>.
27220 2017-11-24 Florian Weimer <fweimer@redhat.com>
27222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27223 bits/mman-shared.h.
27224 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27225 <bits/mman-shared.h>.
27226 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27228 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27229 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27230 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27231 <bits/mman-shared.h>.
27233 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27236 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27237 posix_memalign/free.
27238 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27240 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27243 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27244 and implement the collation rules for pl from CLDR on top of that.
27245 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27246 of locales to be built for testing.
27247 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27249 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27251 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27252 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27253 libm_alias_ldouble_other.
27254 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27255 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27256 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27257 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27258 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27259 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27260 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27261 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27262 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27263 libm_alias_ldouble_r.
27264 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27265 libm_alias_ldouble_other.
27266 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27267 (log10l): Likewise.
27268 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27269 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27270 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27271 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27272 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27273 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27274 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27275 (atan2l): Likewise.
27276 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27277 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27278 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27279 libm_alias_ldouble.
27280 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27282 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27283 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27284 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27286 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27287 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27288 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27289 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27290 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27291 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27292 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27293 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27294 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27295 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27296 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27297 libm_alias_ldouble.
27298 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27299 libm_alias_ldouble_other.
27300 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27301 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27302 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27303 libm_alias_ldouble.
27304 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27305 libm_alias_ldouble_other.
27306 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27307 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27308 * sysdeps/ia64/fpu/w_lgammal_main.c
27309 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27310 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27312 2017-11-23 Florian Weimer <fweimer@redhat.com>
27314 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27315 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27316 alike. Remove freeres marker.
27317 * malloc/arena.c (arena_thread_freeres): Call
27318 tcache_thread_shutdown.
27320 2017-11-23 Florian Weimer <fweimer@redhat.com>
27323 Export nscd hash function as __nss_hash.
27324 * include/nss.h (__nss_hash): Declare.
27325 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27327 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27328 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27330 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27331 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27332 * nss/Makefiles (routines): Add nss_hash.
27333 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27334 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27335 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27336 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27338 2017-11-23 Florian Weimer <fweimer@redhat.com>
27341 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27342 Return error code, not -1.
27343 * signal/tst-sigwait-eintr.c: New file.
27344 * signal/Makefile (tests): Add tst-sigwait-eintr.
27346 2017-11-23 Florian Weimer <fweimer@redhat.com>
27348 Linux: Add memfd_create system call wrapper
27349 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27351 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27352 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27353 [__USE_GNU] (memfd_create): Declare.
27354 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27355 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27356 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27357 * sysdeps/unix/sysv/linux/**.abilist: Update.
27358 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27360 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27362 * localedata/gen-locale.sh: Fix typo in variable name.
27364 * resolv/res_debug.c (p_secstodate): Condition definition on
27365 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27366 directly as __p_secstodate, and as a compat symbol. Do not use
27367 libresolv_hidden_def.
27368 * resolv/resolv.h (p_secstodate): Remove macro and function
27370 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27371 using p_secstodate.
27372 * include/resolv.h (__p_secstodate): Do not use
27373 libresolv_hidden_proto.
27374 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27375 (tests-internal): ... here.
27376 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27377 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27378 and declare and use __p_secstodate and use compat_symbol_reference
27380 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27381 implementation returning 77.
27384 * resolv/res_debug.c: Include <libc-diag.h>.
27385 (p_secstodate): Assert time_t at least as wide as u_long. On
27386 overflow, use integer seconds since the epoch as output, or use
27387 "<overflow>" as output and set errno to EOVERFLOW if integer
27388 seconds since the epoch would be 14 or more characters.
27389 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27391 * resolv/tst-p_secstodate.c: New file.
27392 * resolv/Makefile (tests): Add tst-p_secstodate.
27393 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27395 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27396 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27397 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27399 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27401 * posix/regcomp.c (init_word_char): Add comments.
27403 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27406 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27407 strlen to compute length of ut_user and set trailing NUL byte of
27410 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27413 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27414 using “copy "iso14651_t1"” and then implementing the
27415 collation rules for lv from CLDR on top of that.
27416 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27417 of locales to be built for testing.
27418 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27421 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27423 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27424 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27425 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27426 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27427 [__USE_MISC] (MADV_HWPOISON): New macro.
27428 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27430 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27432 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27433 -Wmissing-braces on GCC 4.9.
27435 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27437 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27438 * sysdeps/s390/s390-32/start.S (_start): Likewise
27439 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27440 (thread_start): Likewise.
27441 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27442 (thread_start): Likewise.
27443 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27444 (__makecontext_ret): Likewise.
27445 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27446 (__makecontext_ret): Likewise.
27448 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27450 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27451 __wcschrnul): Remove attribute_hidden.
27453 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27455 regex: don't assume uint64_t or uint32_t
27456 This avoids -Werror=overflow errors for 32-bit systems in
27457 the 64-bit case. Problem reported by Joseph Myers in:
27458 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27459 Also, when this code is used in Gnulib it ports to platforms
27460 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27461 them, and on some 32-bit compilers there is no uint64_t.
27462 Problem reported by Gianluigi Tiesi in:
27463 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27464 * posix/regcomp.c (init_word_char): Don't assume that the types
27465 uint64_t and uint32_t exist. Adapted from Gnulib patch
27466 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27467 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27469 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27471 * sysdeps/aarch64/memset-reg.h: New file.
27472 * sysdeps/aarch64/memset.S: Use it.
27473 (__memset): Rename to MEMSET macro.
27474 [ZVA_MACRO]: Use zva_macro.
27475 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27476 Add memset_generic and memset_falkor.
27477 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27478 (__libc_ifunc_impl_list): Add memset ifuncs.
27479 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27480 local variable zva_size.
27481 * sysdeps/aarch64/multiarch/memset.c: New file.
27482 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27483 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27484 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27485 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27486 (DCZID_DZP_MASK): New macro.
27487 (DCZID_BS_MASK): Likewise.
27488 (init_cpu_features): Read and set zva_size.
27489 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27490 (struct cpu_features): New member zva_size.
27492 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27493 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27494 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27496 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27497 backwards. Fix timing computation.
27498 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27499 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27500 on memset by N at a time. Fix timing computation.
27502 2017-11-20 Florian Weimer <fweimer@redhat.com>
27504 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27505 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27507 2017-11-19 Florian Weimer <fweimer@redhat.com>
27509 manual: Document mprotect
27510 * manual/memory.texi (Memory Protection): New section.
27511 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27512 documentation of PROT_* flags and reference the Memory Protection
27515 2017-11-19 Florian Weimer <fweimer@redhat.com>
27517 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27518 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27519 (Scatter-Gather): ... to here. Remove misleading comment.
27521 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27523 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27526 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27527 when /proc/<pid>/setgroups does not exist.
27529 2017-11-18 Florian Weimer <fweimer@redhat.com>
27531 * sysdeps/unix/sysv/linux/tst-ttyname.c
27532 (become_root_in_mount_ns): Remove.
27533 (do_in_chroot_1): Call support_enter_mount_namespace.
27534 (do_in_chroot_2): Likewise.
27535 (do_test): Call support_become_root early.
27537 2017-11-18 Florian Weimer <fweimer@redhat.com>
27539 * support/namespace.h (support_enter_mount_namespace): Declare.
27540 * support/support_enter_mount_namespace.c: New file.
27541 * support/Makefile (libsupport-routines): Add
27542 support_enter_mount_namespace.
27544 2017-11-18 Florian Weimer <fweimer@redhat.com>
27546 * support/temp_file.c (support_create_temp_directory): Use
27547 test_dir and do not rely on the presence of the XXXXXX suffix.
27548 * support/temp_file.h (support_create_temp_directory): Update
27550 * support/tst-xreadlink.c (do_test): Adjust.
27551 * support/support_chroot.c (support_chroot_create): Likewise.
27553 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27555 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27557 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27560 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27562 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27563 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27564 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27565 (ceill): Define using libm_alias_ldouble.
27566 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27567 <libm-alias-ldouble.h>.
27568 (copysignl): Define using libm_alias_ldouble.
27569 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27570 (fabsl): Define using libm_alias_ldouble.
27571 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27572 (floorl): Define using libm_alias_ldouble.
27573 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27574 (fmaxl): Define using libm_alias_ldouble.
27575 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27576 (fminl): Define using libm_alias_ldouble.
27577 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27578 (llrintl): Define using libm_alias_ldouble.
27579 (lrintl): Likewise.
27580 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27581 <libm-alias-ldouble.h>.
27582 (nearbyintl): Define using libm_alias_ldouble.
27583 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27584 (truncl): Define using libm_alias_ldouble.
27585 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27586 <libm-alias-ldouble.h>.
27587 (lrintl): Define using libm_alias_ldouble.
27589 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27590 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27591 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27592 (asinhl): Define using libm_alias_ldouble.
27593 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27594 (atanl): Define using libm_alias_ldouble.
27595 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27596 (cbrtl): Define using libm_alias_ldouble.
27597 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27598 (ceill): Define using libm_alias_ldouble.
27599 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27600 (copysignl): Define using libm_alias_ldouble.
27601 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27602 (fabsl): Define using libm_alias_ldouble.
27603 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27604 (floorl): Define using libm_alias_ldouble.
27605 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27606 (fmaxl): Define using libm_alias_ldouble.
27607 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27608 (fminl): Define using libm_alias_ldouble.
27609 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27610 (frexpl): Define using libm_alias_ldouble.
27611 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27612 (llrintl): Define using libm_alias_ldouble.
27613 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27614 (logbl): Define using libm_alias_ldouble.
27615 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27616 (lrintl): Define using libm_alias_ldouble.
27617 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27618 (nearbyintl): Define using libm_alias_ldouble.
27619 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27620 (nextafterl): Define using libm_alias_ldouble.
27621 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27622 (remquol): Define using libm_alias_ldouble.
27623 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27624 (rintl): Define using libm_alias_ldouble.
27625 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27626 (truncl): Define using libm_alias_ldouble.
27627 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27628 (fmaxl): Define using libm_alias_ldouble.
27629 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27630 (fminl): Define using libm_alias_ldouble.
27632 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27633 to C syntax instead of availability and properties of types.
27634 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27635 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27636 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27637 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27638 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27639 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27641 2017-11-17 Florian Weimer <fweimer@redhat.com>
27643 support_become_root: Enable file creation in namespaces.
27644 * support/support_become_root.c (setup_mapping): New function.
27645 (support_become_root): Call it.
27647 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27649 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27652 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27654 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27655 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27657 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27659 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27661 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27664 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27666 * INSTALL: Fix botched up regeneration.
27668 * NEWS: Update sourceare link to https.
27669 * configure.ac: Likewise.
27670 * crypt/md5test-giant.c: Likewise.
27671 * dlfcn/bug-atexit1.c: Likewise.
27672 * dlfcn/bug-atexit2.c: Likewise.
27673 * localedata/README: Likewise.
27674 * malloc/tst-mallocfork.c: Likewise.
27675 * manual/install.texi: Likewise.
27676 * nptl/tst-pthread-getattr.c: Likewise.
27677 * stdio-common/tst-fgets.c: Likewise.
27678 * stdio-common/tst-fwrite.c: Likewise.
27679 * sunrpc/Makefile: Likewise.
27680 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27681 * wcsmbs/tst-mbrtowc2.c: Likewise.
27682 * configure: Regenerate.
27683 * INSTALL: Regenerate.
27685 2017-11-15 Martin Sebor <msebor@redhat.com>
27687 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27688 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27689 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27691 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27694 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27695 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27698 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27699 Defer is_pty check until end of the function.
27700 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27703 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27704 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27705 (ttyname): Likewise.
27706 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27707 (__ttyname_r): Likewise.
27709 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27712 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27714 * manual/terminal.texi (Is It a Terminal):
27715 Mention ENODEV for ttyname and ttyname_r.
27717 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27719 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27720 constant and macro.
27722 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27723 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27724 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27725 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27726 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27727 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27729 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27731 * signal/sigrelse.c (sigrelse): Optimize implementation.
27733 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27734 (__sigpause): Rely on __sigsuspend to implement single thread
27735 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27737 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27739 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27740 kernel version to 4.14.
27742 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27745 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27746 Check if ifname is too long.
27748 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27750 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27752 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27754 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27755 was accidentally lost.
27757 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27759 * localedata/locales/az_IR: Add standard copyright header.
27761 2017-11-15 Florian Weimer <fweimer@redhat.com>
27764 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27765 not just the top one. Output a new "subheaps" statistic.
27767 2017-11-15 Florian Weimer <fweimer@redhat.com>
27770 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27771 under the per-arena lock.
27772 * malloc/Makefile (tests): Add tst-malloc_info.
27773 (tst-malloc_info): Link with libpthread.
27774 * malloc/tst-malloc_info.c: New file.
27776 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27779 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27780 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27781 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27782 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27783 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27784 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27785 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27786 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27787 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27788 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27789 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27790 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27791 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27792 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27793 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27794 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27795 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27796 (__floating_type): Likewise.
27797 (__real_integer_type): Likewise.
27798 (__complex_integer_type): Likewise.
27799 (__expr_is_real): Likewise.
27800 (__tgmath_real_type_sub): Likewise.
27801 (__tgmath_real_type): Likewise.
27802 (__tgmath_complex_type_sub): Likewise.
27803 (__tgmath_complex_type): Likewise.
27804 (__TGMATH_F128): Likewise.
27805 (__TGMATH_CF128): Likewise.
27806 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27808 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27809 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27811 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27813 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27814 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27815 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27816 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27818 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27819 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27821 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27822 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27823 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27825 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27826 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27827 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27831 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27833 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27834 for stpncpy calls for GCC 8.
27835 (test_strncat): Disable -Wstringop-truncation warning for strncat
27836 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27837 strncat call for GCC 7.
27838 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27840 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27843 * string/bug-strncat1.c: Include <libc-diag.h>.
27844 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27846 2017-11-13 Claude Paroz <claude@2xlibre.net>
27849 * localedata/locales/aa_DJ: Improved readibility by replacing
27850 <Uxxxx> sequences in the ASCII printable range by their ASCII
27851 character equivalents.
27852 * localedata/locales/aa_ER: Likewise.
27853 * localedata/locales/aa_ER@saaho: Likewise.
27854 * localedata/locales/aa_ET: Likewise.
27855 * localedata/locales/af_ZA: Likewise.
27856 * localedata/locales/agr_PE: Likewise.
27857 * localedata/locales/ak_GH: Likewise.
27858 * localedata/locales/am_ET: Likewise.
27859 * localedata/locales/anp_IN: Likewise.
27860 * localedata/locales/ar_AE: Likewise.
27861 * localedata/locales/ar_BH: Likewise.
27862 * localedata/locales/ar_DZ: Likewise.
27863 * localedata/locales/ar_EG: Likewise.
27864 * localedata/locales/ar_IN: Likewise.
27865 * localedata/locales/ar_IQ: Likewise.
27866 * localedata/locales/ar_JO: Likewise.
27867 * localedata/locales/ar_KW: Likewise.
27868 * localedata/locales/ar_LB: Likewise.
27869 * localedata/locales/ar_LY: Likewise.
27870 * localedata/locales/ar_MA: Likewise.
27871 * localedata/locales/ar_OM: Likewise.
27872 * localedata/locales/ar_QA: Likewise.
27873 * localedata/locales/ar_SA: Likewise.
27874 * localedata/locales/ar_SD: Likewise.
27875 * localedata/locales/ar_SS: Likewise.
27876 * localedata/locales/ar_SY: Likewise.
27877 * localedata/locales/ar_TN: Likewise.
27878 * localedata/locales/ar_YE: Likewise.
27879 * localedata/locales/as_IN: Likewise.
27880 * localedata/locales/ast_ES: Likewise.
27881 * localedata/locales/ayc_PE: Likewise.
27882 * localedata/locales/az_AZ: Likewise.
27883 * localedata/locales/az_IR: Likewise.
27884 * localedata/locales/be_BY: Likewise.
27885 * localedata/locales/be_BY@latin: Likewise.
27886 * localedata/locales/bem_ZM: Likewise.
27887 * localedata/locales/ber_DZ: Likewise.
27888 * localedata/locales/ber_MA: Likewise.
27889 * localedata/locales/bg_BG: Likewise.
27890 * localedata/locales/bhb_IN: Likewise.
27891 * localedata/locales/bho_IN: Likewise.
27892 * localedata/locales/bi_VU: Likewise.
27893 * localedata/locales/bn_BD: Likewise.
27894 * localedata/locales/bn_IN: Likewise.
27895 * localedata/locales/bo_CN: Likewise.
27896 * localedata/locales/bo_IN: Likewise.
27897 * localedata/locales/br_FR: Likewise.
27898 * localedata/locales/brx_IN: Likewise.
27899 * localedata/locales/bs_BA: Likewise.
27900 * localedata/locales/byn_ER: Likewise.
27901 * localedata/locales/ca_AD: Likewise.
27902 * localedata/locales/ca_ES: Likewise.
27903 * localedata/locales/ca_FR: Likewise.
27904 * localedata/locales/ca_IT: Likewise.
27905 * localedata/locales/ce_RU: Likewise.
27906 * localedata/locales/chr_US: Likewise.
27907 * localedata/locales/cmn_TW: Likewise.
27908 * localedata/locales/crh_UA: Likewise.
27909 * localedata/locales/cs_CZ: Likewise.
27910 * localedata/locales/csb_PL: Likewise.
27911 * localedata/locales/cv_RU: Likewise.
27912 * localedata/locales/cy_GB: Likewise.
27913 * localedata/locales/da_DK: Likewise.
27914 * localedata/locales/de_AT: Likewise.
27915 * localedata/locales/de_BE: Likewise.
27916 * localedata/locales/de_CH: Likewise.
27917 * localedata/locales/de_DE: Likewise.
27918 * localedata/locales/de_IT: Likewise.
27919 * localedata/locales/de_LI: Likewise.
27920 * localedata/locales/de_LU: Likewise.
27921 * localedata/locales/doi_IN: Likewise.
27922 * localedata/locales/dv_MV: Likewise.
27923 * localedata/locales/dz_BT: Likewise.
27924 * localedata/locales/el_CY: Likewise.
27925 * localedata/locales/el_GR: Likewise.
27926 * localedata/locales/en_AG: Likewise.
27927 * localedata/locales/en_AU: Likewise.
27928 * localedata/locales/en_BW: Likewise.
27929 * localedata/locales/en_CA: Likewise.
27930 * localedata/locales/en_DK: Likewise.
27931 * localedata/locales/en_GB: Likewise.
27932 * localedata/locales/en_HK: Likewise.
27933 * localedata/locales/en_IE: Likewise.
27934 * localedata/locales/en_IL: Likewise.
27935 * localedata/locales/en_IN: Likewise.
27936 * localedata/locales/en_NG: Likewise.
27937 * localedata/locales/en_NZ: Likewise.
27938 * localedata/locales/en_PH: Likewise.
27939 * localedata/locales/en_SG: Likewise.
27940 * localedata/locales/en_US: Likewise.
27941 * localedata/locales/en_ZA: Likewise.
27942 * localedata/locales/en_ZM: Likewise.
27943 * localedata/locales/en_ZW: Likewise.
27944 * localedata/locales/eo: Likewise.
27945 * localedata/locales/es_AR: Likewise.
27946 * localedata/locales/es_BO: Likewise.
27947 * localedata/locales/es_CL: Likewise.
27948 * localedata/locales/es_CO: Likewise.
27949 * localedata/locales/es_CR: Likewise.
27950 * localedata/locales/es_CU: Likewise.
27951 * localedata/locales/es_DO: Likewise.
27952 * localedata/locales/es_EC: Likewise.
27953 * localedata/locales/es_ES: Likewise.
27954 * localedata/locales/es_GT: Likewise.
27955 * localedata/locales/es_HN: Likewise.
27956 * localedata/locales/es_MX: Likewise.
27957 * localedata/locales/es_NI: Likewise.
27958 * localedata/locales/es_PA: Likewise.
27959 * localedata/locales/es_PE: Likewise.
27960 * localedata/locales/es_PR: Likewise.
27961 * localedata/locales/es_PY: Likewise.
27962 * localedata/locales/es_SV: Likewise.
27963 * localedata/locales/es_US: Likewise.
27964 * localedata/locales/es_UY: Likewise.
27965 * localedata/locales/es_VE: Likewise.
27966 * localedata/locales/et_EE: Likewise.
27967 * localedata/locales/eu_ES: Likewise.
27968 * localedata/locales/eu_ES@euro: Likewise.
27969 * localedata/locales/fa_IR: Likewise.
27970 * localedata/locales/ff_SN: Likewise.
27971 * localedata/locales/fi_FI: Likewise.
27972 * localedata/locales/fil_PH: Likewise.
27973 * localedata/locales/fo_FO: Likewise.
27974 * localedata/locales/fr_BE: Likewise.
27975 * localedata/locales/fr_CA: Likewise.
27976 * localedata/locales/fr_CH: Likewise.
27977 * localedata/locales/fr_FR: Likewise.
27978 * localedata/locales/fr_LU: Likewise.
27979 * localedata/locales/fur_IT: Likewise.
27980 * localedata/locales/fy_DE: Likewise.
27981 * localedata/locales/fy_NL: Likewise.
27982 * localedata/locales/ga_IE: Likewise.
27983 * localedata/locales/gd_GB: Likewise.
27984 * localedata/locales/gez_ER: Likewise.
27985 * localedata/locales/gez_ET: Likewise.
27986 * localedata/locales/gl_ES: Likewise.
27987 * localedata/locales/gu_IN: Likewise.
27988 * localedata/locales/gv_GB: Likewise.
27989 * localedata/locales/ha_NG: Likewise.
27990 * localedata/locales/hak_TW: Likewise.
27991 * localedata/locales/he_IL: Likewise.
27992 * localedata/locales/hi_IN: Likewise.
27993 * localedata/locales/hif_FJ: Likewise.
27994 * localedata/locales/hne_IN: Likewise.
27995 * localedata/locales/hr_HR: Likewise.
27996 * localedata/locales/hsb_DE: Likewise.
27997 * localedata/locales/ht_HT: Likewise.
27998 * localedata/locales/hu_HU: Likewise.
27999 * localedata/locales/hy_AM: Likewise.
28000 * localedata/locales/i18n: Likewise.
28001 * localedata/locales/ia_FR: Likewise.
28002 * localedata/locales/id_ID: Likewise.
28003 * localedata/locales/ig_NG: Likewise.
28004 * localedata/locales/ik_CA: Likewise.
28005 * localedata/locales/is_IS: Likewise.
28006 * localedata/locales/it_CH: Likewise.
28007 * localedata/locales/it_IT: Likewise.
28008 * localedata/locales/iu_CA: Likewise.
28009 * localedata/locales/ja_JP: Likewise.
28010 * localedata/locales/ka_GE: Likewise.
28011 * localedata/locales/kk_KZ: Likewise.
28012 * localedata/locales/kl_GL: Likewise.
28013 * localedata/locales/kn_IN: Likewise.
28014 * localedata/locales/ko_KR: Likewise.
28015 * localedata/locales/kok_IN: Likewise.
28016 * localedata/locales/ks_IN: Likewise.
28017 * localedata/locales/ks_IN@devanagari: Likewise.
28018 * localedata/locales/ku_TR: Likewise.
28019 * localedata/locales/kw_GB: Likewise.
28020 * localedata/locales/ky_KG: Likewise.
28021 * localedata/locales/lb_LU: Likewise.
28022 * localedata/locales/lg_UG: Likewise.
28023 * localedata/locales/li_BE: Likewise.
28024 * localedata/locales/li_NL: Likewise.
28025 * localedata/locales/lij_IT: Likewise.
28026 * localedata/locales/ln_CD: Likewise.
28027 * localedata/locales/lo_LA: Likewise.
28028 * localedata/locales/lt_LT: Likewise.
28029 * localedata/locales/lv_LV: Likewise.
28030 * localedata/locales/lzh_TW: Likewise.
28031 * localedata/locales/mag_IN: Likewise.
28032 * localedata/locales/mai_IN: Likewise.
28033 * localedata/locales/mg_MG: Likewise.
28034 * localedata/locales/mhr_RU: Likewise.
28035 * localedata/locales/mi_NZ: Likewise.
28036 * localedata/locales/mk_MK: Likewise.
28037 * localedata/locales/ml_IN: Likewise.
28038 * localedata/locales/mn_MN: Likewise.
28039 * localedata/locales/mni_IN: Likewise.
28040 * localedata/locales/mr_IN: Likewise.
28041 * localedata/locales/ms_MY: Likewise.
28042 * localedata/locales/mt_MT: Likewise.
28043 * localedata/locales/my_MM: Likewise.
28044 * localedata/locales/nan_TW: Likewise.
28045 * localedata/locales/nan_TW@latin: Likewise.
28046 * localedata/locales/nb_NO: Likewise.
28047 * localedata/locales/nds_DE: Likewise.
28048 * localedata/locales/nds_NL: Likewise.
28049 * localedata/locales/ne_NP: Likewise.
28050 * localedata/locales/nhn_MX: Likewise.
28051 * localedata/locales/niu_NU: Likewise.
28052 * localedata/locales/niu_NZ: Likewise.
28053 * localedata/locales/nl_AW: Likewise.
28054 * localedata/locales/nl_BE: Likewise.
28055 * localedata/locales/nl_NL: Likewise.
28056 * localedata/locales/nn_NO: Likewise.
28057 * localedata/locales/nr_ZA: Likewise.
28058 * localedata/locales/nso_ZA: Likewise.
28059 * localedata/locales/oc_FR: Likewise.
28060 * localedata/locales/om_ET: Likewise.
28061 * localedata/locales/om_KE: Likewise.
28062 * localedata/locales/or_IN: Likewise.
28063 * localedata/locales/os_RU: Likewise.
28064 * localedata/locales/pa_IN: Likewise.
28065 * localedata/locales/pa_PK: Likewise.
28066 * localedata/locales/pap_AW: Likewise.
28067 * localedata/locales/pap_CW: Likewise.
28068 * localedata/locales/pl_PL: Likewise.
28069 * localedata/locales/ps_AF: Likewise.
28070 * localedata/locales/pt_BR: Likewise.
28071 * localedata/locales/pt_PT: Likewise.
28072 * localedata/locales/quz_PE: Likewise.
28073 * localedata/locales/raj_IN: Likewise.
28074 * localedata/locales/ro_RO: Likewise.
28075 * localedata/locales/ru_RU: Likewise.
28076 * localedata/locales/ru_UA: Likewise.
28077 * localedata/locales/rw_RW: Likewise.
28078 * localedata/locales/sa_IN: Likewise.
28079 * localedata/locales/sat_IN: Likewise.
28080 * localedata/locales/sc_IT: Likewise.
28081 * localedata/locales/sd_IN: Likewise.
28082 * localedata/locales/sd_IN@devanagari: Likewise.
28083 * localedata/locales/se_NO: Likewise.
28084 * localedata/locales/sgs_LT: Likewise.
28085 * localedata/locales/shs_CA: Likewise.
28086 * localedata/locales/si_LK: Likewise.
28087 * localedata/locales/sid_ET: Likewise.
28088 * localedata/locales/sk_SK: Likewise.
28089 * localedata/locales/sl_SI: Likewise.
28090 * localedata/locales/sm_WS: Likewise.
28091 * localedata/locales/so_DJ: Likewise.
28092 * localedata/locales/so_ET: Likewise.
28093 * localedata/locales/so_KE: Likewise.
28094 * localedata/locales/so_SO: Likewise.
28095 * localedata/locales/sq_AL: Likewise.
28096 * localedata/locales/sq_MK: Likewise.
28097 * localedata/locales/sr_ME: Likewise.
28098 * localedata/locales/sr_RS: Likewise.
28099 * localedata/locales/sr_RS@latin: Likewise.
28100 * localedata/locales/ss_ZA: Likewise.
28101 * localedata/locales/st_ZA: Likewise.
28102 * localedata/locales/sv_FI: Likewise.
28103 * localedata/locales/sv_SE: Likewise.
28104 * localedata/locales/sw_KE: Likewise.
28105 * localedata/locales/sw_TZ: Likewise.
28106 * localedata/locales/szl_PL: Likewise.
28107 * localedata/locales/ta_IN: Likewise.
28108 * localedata/locales/ta_LK: Likewise.
28109 * localedata/locales/tcy_IN: Likewise.
28110 * localedata/locales/te_IN: Likewise.
28111 * localedata/locales/tg_TJ: Likewise.
28112 * localedata/locales/th_TH: Likewise.
28113 * localedata/locales/the_NP: Likewise.
28114 * localedata/locales/ti_ER: Likewise.
28115 * localedata/locales/ti_ET: Likewise.
28116 * localedata/locales/tig_ER: Likewise.
28117 * localedata/locales/tk_TM: Likewise.
28118 * localedata/locales/tl_PH: Likewise.
28119 * localedata/locales/tn_ZA: Likewise.
28120 * localedata/locales/to_TO: Likewise.
28121 * localedata/locales/tpi_PG: Likewise.
28122 * localedata/locales/tr_CY: Likewise.
28123 * localedata/locales/tr_TR: Likewise.
28124 * localedata/locales/ts_ZA: Likewise.
28125 * localedata/locales/tt_RU: Likewise.
28126 * localedata/locales/tt_RU@iqtelif: Likewise.
28127 * localedata/locales/ug_CN: Likewise.
28128 * localedata/locales/uk_UA: Likewise.
28129 * localedata/locales/unm_US: Likewise.
28130 * localedata/locales/ur_IN: Likewise.
28131 * localedata/locales/ur_PK: Likewise.
28132 * localedata/locales/uz_UZ: Likewise.
28133 * localedata/locales/uz_UZ@cyrillic: Likewise.
28134 * localedata/locales/ve_ZA: Likewise.
28135 * localedata/locales/vi_VN: Likewise.
28136 * localedata/locales/wa_BE: Likewise.
28137 * localedata/locales/wae_CH: Likewise.
28138 * localedata/locales/wal_ET: Likewise.
28139 * localedata/locales/wo_SN: Likewise.
28140 * localedata/locales/xh_ZA: Likewise.
28141 * localedata/locales/yi_US: Likewise.
28142 * localedata/locales/yo_NG: Likewise.
28143 * localedata/locales/yue_HK: Likewise.
28144 * localedata/locales/yuw_PG: Likewise.
28145 * localedata/locales/zh_CN: Likewise.
28146 * localedata/locales/zh_HK: Likewise.
28147 * localedata/locales/zh_SG: Likewise.
28148 * localedata/locales/zh_TW: Likewise.
28149 * localedata/locales/zu_ZA: Likewise.
28151 2017-11-13 Florian Weimer <fweimer@redhat.com>
28153 * support/next_to_fault.h, support/next_to_fault.c: New files.
28154 * support/Makefile (libsupport-routines): Add next_to_fault.
28155 * resolv/tst-inet_pton.c (struct next_to_fault)
28156 (next_to_fault_allocate, next_to_fault_free): Remove.
28157 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28159 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28161 * elf/dl-support.c: Include <dl-procruntime.c>.
28162 * include/link.h: Include <link_map.h>.
28163 * sysdeps/generic/dl-procruntime.c: New file.
28164 * sysdeps/generic/link_map.h: Likewise.
28165 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28166 the writable ld.so namespace.
28168 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28170 timezone: pacify GCC -Wstringop-truncation
28171 Problem reported by Martin Sebor in:
28172 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28173 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28175 2017-11-12 Florian Weimer <fweimer@redhat.com>
28177 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28179 (tests): Add tst-xreadlink.
28180 * support/support.h (xstrndup): Declare.
28181 * support/xunistd.h (xunlink, xreadlink): Declare.
28182 * support/temp_file.h (support_create_temp_directory): Declare.
28183 * support/temp_file.c (support_create_temp_directory): New function.
28184 * support/support_chroot.c (support_chroot_create): Use it.
28185 * support/xreadlink.c: New file.
28186 * support/xstrndup.c: Likewise.
28187 * support/xunlink.c: Likewise.
28188 * support/tst-xreadlink.c: Likewise.
28190 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28192 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28194 2017-11-11 Florian Weimer <fweimer@redhat.com>
28198 * resolv/res_comp.c (printable_string, binary_hnok)
28199 (binary_leading_dash): New functions.
28200 (res_hnok): Reimplement using these functions and ns_name_pton.
28201 (res_ownok): Likewise.
28202 (res_mailok): Reimplement using printable_string, ns_name_pton and
28204 (res_dnok): Reimplement using printable_string and ns_name_pton.
28205 * resolv/tst-res_hnok.c (tests): Add additional tests.
28206 (LETTERDIGITS, PRINTABLE): Define.
28207 (do_test): Adjust one_char results.
28209 2017-11-11 Florian Weimer <fweimer@redhat.com>
28212 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28213 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28215 2017-11-11 Florian Weimer <fweimer@redhat.com>
28217 * resolv/tst-ns_name_pton.c: New file.
28218 * resolv/Makefile (tests): Add tst-ns_name_pton.
28219 (tst-ns_name_pton): Link against libresolv.
28221 2017-11-11 Florian Weimer <fweimer@redhat.com>
28223 * resolv/tst-res_hnok.c: New file.
28224 * resolv/Makefile (tests): Add tst-res_hnok.
28225 (tst-res_hnok): Link against libresolv.
28227 2017-11-11 Florian Weimer <fweimer@redhat.com>
28229 * resolv/tst-resolv-network.c: Use test framework instead explicit
28232 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28234 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28235 <jmp_buf-macros.h>.
28236 [!_ISOMAC] (STR_HELPER): New.
28237 [!_ISOMAC] (STR): Likewise.
28238 [!_ISOMAC] (TEST_SIZE): Likewise.
28239 [!_ISOMAC] (TEST_ALIGN): Likewise.
28240 [!_ISOMAC] (TEST_OFFSET): Likewise.
28241 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28242 field offsets of jmp_buf as well as sigjmp_buf.
28243 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28244 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28245 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28246 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28247 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28248 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28249 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28250 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28251 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28252 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28254 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28256 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28261 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28262 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28263 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28264 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28265 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28270 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28271 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28272 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28274 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28278 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28280 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28282 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28284 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28286 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28288 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28290 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28292 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28294 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28296 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28298 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28300 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28302 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28304 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28306 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28308 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28310 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28312 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28314 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28316 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28318 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28319 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28320 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28321 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28322 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28323 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28324 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28325 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28326 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28327 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28328 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28330 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28332 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28334 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28336 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28338 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28340 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28342 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28344 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28346 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28348 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28350 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28352 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28354 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28356 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28358 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28360 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28362 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28363 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28364 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28366 * stdlib/tst-strtod.h (F16): New macro.
28372 (IF_FLOAT16): Likewise.
28373 (IF_FLOAT32): Likewise.
28374 (IF_FLOAT64): Likewise.
28375 (IF_FLOAT32X): Likewise.
28376 (IF_FLOAT64X): Likewise.
28377 (IF_FLOAT128X): Likewise.
28378 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28379 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28380 (STRTOD_TEST_FOREACH): Likewise.
28381 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28382 (CHOOSE_f64): Likewise.
28383 (CHOOSE_f32x): Likewise.
28384 (CHOOSE_f64x): Likewise.
28386 2017-11-07 Andreas Schwab <schwab@suse.de>
28388 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28390 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28393 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28395 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28398 2017-11-07 Claude Paroz <claude@2xlibre.net>
28401 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28403 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28405 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28408 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28411 * nptl/allocatestack.c (allocate_stack): Check if
28412 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28413 __PTHREAD_MUTEX_HAVE_PREV is defined.
28414 * nptl/descr.h (pthread): Likewise.
28415 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28417 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28418 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28419 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28420 * sysdeps/nptl/bits/thread-shared-types.h
28421 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28423 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28424 of __WORDSIZE for internal layout.
28425 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28426 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28427 instead of __WORDSIZE whether to use an union for __spins and __list
28429 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28431 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28432 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28434 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28435 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28437 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28438 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28440 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28441 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28443 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28444 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28446 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28447 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28449 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28450 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28452 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28453 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28455 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28456 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28458 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28459 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28461 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28462 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28464 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28465 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28467 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28468 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28470 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28471 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28473 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28474 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28477 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28479 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28480 checks for expected input type size.
28481 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28482 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28484 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28485 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28486 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28487 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28488 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28489 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28490 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28491 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28492 superflous runtime assert check.
28493 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28495 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28497 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28499 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28501 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28503 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28505 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28506 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28507 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28509 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28511 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28513 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28515 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28517 * nptl/pthread_attr_setinheritsched.c
28518 (__pthread_attr_setinheritsched): Likewise.
28519 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28521 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28523 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28524 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28525 __old_pthread_attr_setstack): Likewise.
28526 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28528 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28530 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28532 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28533 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28535 * nptl/tst-typesizes.c: Remove file.
28537 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28538 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28539 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28540 checks for internal pthread_mutex_t offsets.
28541 * sysdeps/aarch64/nptl/pthread-offsets.h
28542 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28543 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28544 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28545 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28546 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28547 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28548 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28549 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28550 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28551 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28552 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28553 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28554 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28555 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28556 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28557 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28558 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28559 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28561 2017-11-07 Florian Weimer <fweimer@redhat.com>
28563 * bits/mman-linux.h: Move ...
28564 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28566 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28569 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28571 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28572 Redefine STRNLEN as __strnlen_power8.
28574 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28576 * signal/sighold.c (sighold): Optimize implementation.
28578 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28579 __NR_rt_sigqueueinfo.
28581 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28583 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28584 assume __NR_rt_sigtimedwait.
28585 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28586 and add LIBC_CANCEL_HANDLED for cancellation marking.
28587 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28589 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28590 (sysdeps_routines): Add memchr_noneon.
28591 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28592 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28593 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28594 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28595 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28596 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28597 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28599 * sysdeps/arm/arm-ifunc.h: New file.
28600 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28601 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28602 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28603 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28604 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28605 (__memcpy_neon): Avoid create hidden alias.
28606 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28607 (__memcpy_vfp): Likewise.
28608 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28609 (sysdep_routines): Add memcpy_arm.
28610 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28612 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28615 * Makerules (make-link-multidir): New.
28616 * config.make.in (multidir): New.
28617 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28618 * configure: Regenerated.
28619 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28620 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28621 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28624 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28627 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28628 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28630 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28632 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28635 2017-11-04 Florian Weimer <fweimer@redhat.com>
28637 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28639 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28641 * math/math.h [__HAVE_DISTINCT_FLOAT16
28642 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28643 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28644 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28645 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28646 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28647 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28648 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28649 (__MATH_TG_F32): New macro.
28650 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28651 (__MATH_TG_F64X): Likewise.
28652 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28653 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28655 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28657 * po/de.po: Update translations.
28658 * po/ru.po: Likewise.
28660 2017-11-03 Florian Weimer <fweimer@redhat.com>
28662 * manual/filesys.texi (Hard Links): Document linkat.
28664 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28666 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28667 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28668 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28669 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28670 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28671 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28672 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28673 the same as _Float128.
28674 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28675 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28676 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28679 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28681 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28683 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28685 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28686 (strtof32x): Likewise.
28687 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28688 (strtof64x): Likewise.
28689 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28690 (strtof128x): Likewise.
28691 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28692 (strfromf16): Likewise.
28693 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28694 (strfromf32): Likewise.
28695 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28696 (strfromf64): Likewise.
28697 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28698 (strfromf32x): Likewise.
28699 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28700 (strfromf64x): Likewise.
28701 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28702 (strfromf128x): Likewise.
28703 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28704 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28705 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28706 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28707 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28708 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28710 2017-11-03 Richard Henderson <rth@twiddle.net>
28712 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28714 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28716 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28718 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28720 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28721 DT_TLSDESC_GOT initialization.
28722 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28723 (_dl_tlsdesc_resolve_hold): Likewise.
28724 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28725 (_dl_tlsdesc_resolve_hold): Likewise.
28726 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28727 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28729 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28731 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28733 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28736 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28737 non-lazily for R_ARM_TLS_DESC.
28739 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28742 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28743 R_ARM_TLS_DESC case.
28744 (elf_machine_lazy_rel): Remove the prelink check.
28746 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28748 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28749 DT_TLSDESC_GOT initialization.
28750 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28751 (_dl_tlsdesc_resolve_rela): Likewise.
28752 (_dl_tlsdesc_resolve_hold): Likewise.
28753 (_dl_tlsdesc_undefweak): Remove ldar.
28754 (_dl_tlsdesc_dynamic): Likewise.
28755 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28756 (_dl_tlsdesc_resolve_rela): Likewise.
28757 (_dl_tlsdesc_resolve_hold): Likewise.
28758 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28759 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28760 (_dl_tlsdesc_resolve_rela): Likewise.
28761 (_dl_tlsdesc_resolve_hold): Likewise.
28763 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28765 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28766 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28768 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28770 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28771 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28773 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28775 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28777 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28778 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28779 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28780 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28781 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28782 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28783 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28784 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28785 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28786 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28787 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28789 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28792 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28793 * localedata/locales/tpi_PG: Add standard header.
28795 2017-11-02 Florian Weimer <fweimer@redhat.com>
28797 test-errno-linux: quotactl can fail with EPERM in containers.
28798 * sysdeps/unix/sysv/linux/test-errno-linux.c
28799 (LIST, LIST_FORWARD): New macros.
28800 (check_error_in_list): New function.
28801 (test_wrp_rv): Accept list of permitted error codes.
28802 (test_wrp_rv2): Remove.
28803 (test_wrp): Call test_wrp_rv with list of error codes.
28804 (test_wrp2): Accept list of error codes.
28805 (do_test): Adjust. Allow EPERM for quotactl.
28807 2017-11-02 Florian Weimer <fweimer@redhat.com>
28809 * stdio-common/bug16.c (do_test): Use array_length.
28810 * stdio-common/errlist.c (_sys_nerr): Likewise.
28811 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28812 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28813 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28814 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28815 (do_test): Use array_length.
28816 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28817 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28818 * stdio-common/tst-printf-round.c (do_test): Likewise.
28819 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28820 (CHECK): Use array_length.
28821 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28822 * stdio-common/tstscanf.c (main): Likewise.
28823 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28825 2017-11-02 Florian Weimer <fweimer@redhat.com>
28827 Add array_length and array_end macros.
28828 * include/array_length.h: New file.
28830 2017-11-02 Florian Weimer <fweimer@redhat.com>
28833 * posix/tst-glob-tilde.c (do_noescape): New variable.
28834 (one_test): Process it.
28835 (do_test): Set do_noescape. Add unescaping test case.
28837 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28840 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28841 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28842 with appropriate macros defined and undefined.
28843 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28844 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28845 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28846 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28847 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28848 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28849 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28850 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28851 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28852 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28855 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28856 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28857 that for long double. Do not condition define and undefine of
28858 _Mdouble_complex_ on [__CFLOAT128].
28860 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28862 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28863 of <sysdeps/generic/sysdep.h>.
28864 (ALIGNARG): Removed.
28865 (ASM_SIZE_DIRECTIVE): Likewise.
28868 (ENTRY_CHK): Likewise.
28869 (END_CHK): Likewise.
28870 (syscall_error): Likewise.
28871 (mcount): Likewise.
28872 (PSEUDO_END): Likewise.
28874 (atom_text_section): Likewise.
28875 * sysdeps/x86/sysdep.h: New file.
28876 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28877 of <sysdeps/generic/sysdep.h>.
28878 (ALIGNARG): Removed.
28879 (ASM_SIZE_DIRECTIVE): Likewise.
28882 (ENTRY_CHK): Likewise.
28883 (END_CHK): Likewise.
28884 (syscall_error): Likewise.
28885 (mcount): Likewise.
28886 (PSEUDO_END): Likewise.
28888 (atom_text_section): Likewise.
28890 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
28892 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28893 category of LC_CTYPE set to "i18n:2012".
28894 * localedata/locales/i18n_ctype: Regenerate.
28896 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28898 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28899 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28900 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28901 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28903 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28904 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28905 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28906 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28908 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28911 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28913 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28915 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28917 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28918 (CMPLXF32X): Likewise.
28919 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28920 (CMPLXF64X): Likewise.
28921 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28922 (CMPLXF128X): Likewise.
28925 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28926 (__MATH_EVAL_FMT2): Define to add 0.0f.
28928 2017-10-31 Alan Modra <amodra@gmail.com>
28930 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28946 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28947 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28948 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28949 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28950 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28952 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28955 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28956 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28957 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28958 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28959 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28960 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28961 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28962 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28963 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28964 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28965 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28966 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28967 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28968 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28970 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28971 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28972 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
28973 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
28974 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
28975 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
28976 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
28977 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
28978 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
28979 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
28980 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
28981 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28982 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
28983 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
28984 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
28985 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
28986 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28987 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
28988 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
28989 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
28990 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
28991 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
28992 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28993 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
28994 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
28995 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28996 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
28997 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
28998 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
28999 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29000 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29003 include sysdep.h and math_ldbl_opt.h.
29005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29006 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29032 2017-10-31 Alan Modra <amodra@gmail.com>
29034 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29035 string/strncase_l.c, not string/strncase.c.
29036 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29037 (libc_hidden_def): Redefine.
29039 2017-10-31 Alan Modra <amodra@gmail.com>
29041 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29042 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29043 (__strcasecmp): Don't define.
29045 2017-10-31 Alan Modra <amodra@gmail.com>
29047 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29049 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29050 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29051 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29053 2017-10-31 Alan Modra <amodra@gmail.com>
29055 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29058 2017-10-31 Alan Modra <amodra@gmail.com>
29060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29061 Redefine only when SHARED.
29063 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29065 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29066 Include <bits/math-finite.h> with appropriate macros defined and
29068 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29069 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29070 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29071 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29072 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29074 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29075 [!_Mlong_double_] (_Mlong_double_): Likewise.
29076 [!_Mfloat16_] (_Mfloat16_): Likewise.
29077 [!_Mfloat32_] (_Mfloat32_): Likewise.
29078 [!_Mfloat64_] (_Mfloat64_): Likewise.
29079 [!_Mfloat128_] (_Mfloat128_): Likewise.
29080 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29081 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29082 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29083 (_Mdouble_): Define without indirection through those macros.
29084 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29085 [!_Mfloat128_] (_Mfloat128_): Likewise.
29086 [_Mlong_double_] (_Mlong_double_): Likewise.
29087 (_Mdouble_): Define without indirection through those macros.
29088 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29089 not add -D_Mlong_double_=double.
29090 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29091 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29093 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29095 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29097 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29099 * sysdeps/x86/libc-start.c: Reformat.
29101 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29104 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29105 (1): Renamed to ...
29108 (L(Src2)): Likewise.
29109 (L(1)): Renamed to ...
29112 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29114 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29115 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29116 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29117 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29118 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29119 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29120 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29121 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29122 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29123 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29124 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29125 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29126 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29127 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29128 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29129 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29130 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29131 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29132 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29133 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29134 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29135 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29136 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29137 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29138 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29139 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29140 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29141 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29142 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29143 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29144 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29145 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29146 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29147 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29148 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29149 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29150 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29151 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29152 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29153 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29154 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29155 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29156 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29157 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29158 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29159 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29160 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29161 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29162 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29163 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29164 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29165 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29166 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29167 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29168 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29169 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29170 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29171 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29172 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29173 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29174 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29175 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29176 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29177 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29178 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29179 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29181 2017-10-30 Florian Weimer <fweimer@redhat.com>
29183 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29185 * io/tst-mkdirat.c (do_test): Likewise.
29186 * io/tst-mkfifoat.c (do_test): Likewise.
29187 * io/tst-mknodat.c (do_test): Likewise.
29188 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29189 * locale/programs/locale.c (select_dirs): Likewise.
29190 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29191 * posix/bug-glob2.c (my_readdir): Likewise.
29192 * posix/tst-dir.c (main): Likewise.
29193 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29194 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29196 2017-10-30 Florian Weimer <fweimer@redhat.com>
29198 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29201 2017-10-30 Florian Weimer <fweimer@redhat.com>
29203 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29204 Convert to support/test-driver.c.
29205 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29206 New macro parameters.
29207 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29208 * posix/tst-gnuglob.c: New file.
29209 * posix/tst-gnuglob64.c: Likewise.
29210 * posix/Makefile (tests): Add tst-gnuglob64.
29212 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29215 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29216 and use a better translation for March in “mon”.
29217 * localedata/locales/csb_PL: Use more ASCII to improve the
29218 readability of the source.
29220 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29223 * localedata/locales/km_KH: Use ASCII as much
29224 as possible for better readability of the source and
29225 remove useless comments.
29226 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29227 was commented out and apparently wrong anyway because it was
29228 using Lao characters. If Buddhist era should be used
29229 for km_KH, a native speaker should write the correct formaat
29231 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29232 (According to CLDR, the first weekday for Cambodia is Sunday).
29233 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29234 (These were using Lao characters which must be wrong. If we get
29235 the correct data from a native speaker, we could add it back, until
29236 then it is better not to have name_mr and name_mrs at all than
29239 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29241 * locale/loadlocale.c: Correct size of
29242 _nl_value_type_LC_<category> arrays.
29244 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29246 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29247 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29248 with appropriate macros defined and undefined.
29249 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29250 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29251 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29252 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29253 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29255 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29257 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29260 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29262 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29263 with lowercase letters to make it agree with CLDR.
29265 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29268 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29269 first letters of yesstr and nostr in yesexpr and noexpr,
29270 not for the full words.
29271 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29272 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29273 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29274 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29275 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29276 first letters of yesstr and nostr in yesexpr and noexpr,
29277 until now only English was matched in yesexpr and noexpr.
29278 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29279 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29280 fil but not for tl. As tl and fil are very similar, using fil
29281 is probably better than using English.
29283 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29286 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29287 in yesstr and nostr.
29289 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29291 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29292 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29293 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29295 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29297 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29299 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29301 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29302 (SNANF128X): Likewise.
29304 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29305 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29306 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29307 (HUGE_VAL_F32): Likewise.
29308 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29309 (HUGE_VAL_F64): Likewise.
29310 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29311 (HUGE_VAL_F32X): Likewise.
29312 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29313 (HUGE_VAL_F64X): Likewise.
29314 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29315 (HUGE_VAL_F128X): Likewise.
29317 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29319 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29320 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29321 for the br_FR locale.
29323 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29326 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29328 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29330 * locale/programs/record-status.h: Define globals, and function
29331 prototypes. Move function bodies...
29332 * locale/programs/record-status.c: ... to here. New file.
29333 * iconv/Makefile (iconv_prog-modules): Add record-status.
29334 * locale/Makefile (lib-modules): Likewise.
29335 * iconv/iconv_prog.c: Remove verbose.
29336 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29337 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29338 record a warning about ASCII compatibility.
29339 * locale/programs/ld-monetary.c (monetary_finish): If
29340 warn_int_curr_symbol is true then record a warning about the symbol
29341 not being in our ISO 4217 list.
29342 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29343 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29344 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29345 (OPT_NO_WARN): Define.
29346 (OPT_WARN): Define.
29347 (options): Add entry for --no-warnings, and --warnings.
29348 (set_warnings): New function to enable/disable warnings.
29349 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29350 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29351 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29352 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29353 Pass flags to generate_locale.
29354 (generate_locale): Accept new flag argument and pass it to localedef
29356 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29357 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29359 * localedata/Makefile (test-input-data): Use full file name.
29360 * localedata/da_DK.in: Rename to...
29361 * localedata/da_DK.ISO-8859-1.in: ...this.
29362 * localedata/de_DE.in: Rename to...
29363 * localedata/de_DE.ISO-8859-1.in: ...this.
29364 * localedata/en_US.in: Rename to...
29365 * localedata/en_US.ISO-8859-1.in: ...this.
29366 * localedata/fr_FR.in: Rename to...
29367 * localedata/fr_FR.UTF-8.in: ... this.
29368 * localedata/hr_HR.in: Rename to...
29369 * localedata/hr_HR.ISO-8859-2.in: ...this.
29370 * localedata/hu_HU.in: Rename to...
29371 * localedata/hu_HU.UTF-8.in: ...this.
29372 * localedata/si_LK.in: Rename to...
29373 * localedata/si_LK.UTF-8.in: ...this.
29374 * localedata/sv_SE.in: Rename to...
29375 * localedata/sv_SE.ISO-8859-1.in: ...this.
29376 * localedata/tr_TR.in: Rename to...
29377 * localedata/tr_TR.UTF-8.in: ...this.
29378 * localedata/uk_UA.in: Rename to...
29379 * localedata/uk_UA.UTF-8.in: ...this.
29380 * localedata/sort-test.sh: Test file is locale name with the
29383 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29384 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29386 * localedata/locales/i18n_ctype: Regenerate.
29387 * localedata/locales/tr_TR: Likewise.
29388 * localedata/locales/translit_circle: Likewise.
29389 * localedata/locales/translit_cjk_compat: Likewise.
29390 * localedata/locales/translit_combining: Likewise.
29391 * localedata/locales/translit_compat: Likewise.
29392 * localedata/locales/translit_font: Likewise.
29393 * localedata/locales/translit_fraction: Likewise.
29395 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29397 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29398 lxvd2x/stxvd2x with lvx/stvx.
29399 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29401 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29403 * include/alloc_buffer.h: Replace "if if " with "if " in
29405 * sysdeps/mips/memcpy.S: Likkewise.
29406 * sysdeps/mips/memset.S: Likewise.
29407 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29409 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29411 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29414 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29417 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29418 yesexpr and noexpr.
29419 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29420 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29421 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29422 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29423 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29424 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29425 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29427 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29429 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29430 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29431 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29432 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29433 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29434 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29435 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29436 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29437 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29438 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29439 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29440 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29442 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29444 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29445 as possible for better readability of the source.
29446 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29447 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29448 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29449 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29450 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29451 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29452 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29453 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29454 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29455 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29456 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29457 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29458 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29459 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29460 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29461 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29462 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29463 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29464 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29465 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29466 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29467 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29468 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29469 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29470 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29471 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29472 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29473 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29474 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29475 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29476 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29477 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29478 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29479 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29480 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29481 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29482 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29483 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29484 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29485 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29486 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29487 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29488 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29489 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29490 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29491 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29492 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29493 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29494 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29495 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29496 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29497 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29498 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29499 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29500 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29501 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29502 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29503 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29504 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29505 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29506 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29507 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29508 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29509 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29510 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29511 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29512 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29513 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29514 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29515 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29516 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29517 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29518 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29519 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29520 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29521 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29522 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29523 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29524 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29525 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29526 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29527 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29528 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29529 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29530 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29531 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29532 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29533 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29534 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29535 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29536 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29537 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29538 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29539 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29540 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29541 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29542 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29543 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29544 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29545 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29546 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29547 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29548 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29549 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29550 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29551 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29552 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29553 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29554 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29555 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29556 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29557 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29558 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29559 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29560 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29561 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29562 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29563 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29564 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29565 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29566 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29567 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29568 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29569 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29570 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29571 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29572 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29573 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29574 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29575 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29576 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29577 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29578 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29579 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29580 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29581 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29582 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29583 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29584 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29585 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29586 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29587 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29588 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29589 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29590 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29591 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29592 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29593 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29594 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29595 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29596 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29597 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29598 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29599 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29600 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29601 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29602 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29603 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29604 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29605 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29606 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29607 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29608 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29609 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29610 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29611 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29612 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29613 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29614 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29615 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29616 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29617 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29618 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29619 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29621 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29623 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29624 (Use first letters of yesstr and nostr correctly instead of using
29627 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29629 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29630 (Use first letters of yesstr and nostr correctly).
29632 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29634 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29635 also check for the first characters of yesstr and nostr.
29636 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29637 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29639 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29641 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29642 also check for Chinese characters.
29644 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29646 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29647 match also for the contents of yesstr and nostr. As the first letter
29648 of yesstr and nostr is equal, checking only for the first letter
29651 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29653 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29654 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29656 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29658 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29659 of main contributor.
29661 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29663 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29664 instead of using English.
29666 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29668 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29669 by including the first letters of nostr and yesexpr in the regexp.
29670 Also make it more readable by using ASCII where possible.
29672 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29674 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29675 the first letter of nostr in the regexp. It agrees with CLDR now.
29676 Also make it more readable by using ASCII where possible.
29678 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29680 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29681 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29682 these strings contain a U+17D6 (which somewhat looks like a colon)
29683 instead of a real colon to separate the full words for “yes”
29684 and “no” from the single letter responses.
29686 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29688 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29689 it agree with CLDR (include the first letter of yesstr).
29690 Also make it more readable by using ASCII where possible.
29692 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29694 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29695 and improve yesexpr and noexpr. The yesstr and nostr apparently
29696 came from CLDR. And CLDR has a bug there: these strings contain
29697 a U+0903 (which looks like a colon) instead of a real colon
29698 to separate the full words for “yes” and “no” from the single
29701 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29703 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29704 letters of the full yesstr and nostr in yesexpr and noexpr.
29706 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29708 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29709 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29710 * localedata/locales/an_ES: Make source more readable by using ASCII
29713 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29716 * localedata/locales/yuw_PG: New file.
29717 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29718 * locale/iso-639.def: Add Yau (Uruwa).
29720 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29722 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29724 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29726 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29727 (__libc_realloc): Likewise.
29728 (_mid_memalign): Likewise.
29729 (__libc_calloc): Likewise.
29731 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29733 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29734 by adding the generic +1 and -0 as in all other locales.
29735 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29736 day names and make it more readable by using ASCII where possible.
29738 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29740 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29741 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29743 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29745 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29746 WNOHANG in waitpid call.
29748 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29750 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29751 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29753 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29754 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29755 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29756 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29757 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29758 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29759 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29760 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29763 2017-10-23 Michael Collison <michael.collison@arm.com>
29765 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29766 with __builtin_sqrt.
29767 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29768 with __builtin_sqrtf.
29769 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29770 with __builtin_ceil.
29771 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29772 with __builtin_ceilf.
29773 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29774 with __builtin_floor.
29775 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29776 with __builtin_floorf.
29777 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29778 with __builtin_fma.
29779 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29780 with __builtin_fmaf.
29781 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29782 with __builtin_fmax.
29783 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29784 with __builtin_fmaxf.
29785 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29786 with __builtin_fmin.
29787 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29788 with __builtin_fminf.
29789 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29790 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29791 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29792 with builtin_rint and conversion to int.
29793 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29794 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29795 with builtin_llround.
29796 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29797 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29798 with builtin_rint and conversion to long int.
29799 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29800 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29801 with builtin_lround.
29802 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29803 with builtin_lroundf.
29804 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29805 statements with __builtin_nearbyint.
29806 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29807 statements with __builtin_nearbyintf.
29808 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29809 with __builtin_rint.
29810 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29811 with __builtin_rintf.
29812 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29813 with __builtin_round.
29814 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29815 with __builtin_roundf.
29816 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29817 with __builtin_trunc.
29818 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29819 with __builtin_truncf.
29820 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29821 and s_l[l]round[f].c too.
29823 2017-10-23 Alan Modra <amodra@gmail.com>
29825 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29826 Adjust stack after restoring regs. Add missing LR cfi_restore.
29828 2017-10-23 Alan Modra <amodra@gmail.com>
29830 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29831 Move LR save and frame setup/teardown and LR restore to
29832 immediately around memset call. Provide cfi.
29834 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29836 * sysdeps/i386/fpu/e_powf.S: Removed.
29837 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29838 * sysdeps/i386/fpu/w_powf.c: Likewise.
29839 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29840 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29841 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29843 (CFLAGS-e_powf-sse2.c): New.
29844 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29845 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29847 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29849 * sysdeps/i386/fpu/e_log2f.S: Removed.
29850 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29851 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29852 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29853 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29854 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29856 (CFLAGS-e_log2f-sse2.c): New.
29857 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29858 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29860 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29862 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29864 (CFLAGS-e_powf-fma.c): New.
29865 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29866 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29868 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29870 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29872 (CFLAGS-e_log2f-fma.c): New.
29873 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29874 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29876 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29878 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29880 (CFLAGS-e_logf-fma.c): New.
29881 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29882 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29884 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29886 * sysdeps/i386/fpu/e_logf.S: Removed.
29887 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29888 * sysdeps/i386/fpu/w_logf.c: Likewise.
29889 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29890 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29891 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29892 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29894 (CFLAGS-e_logf-sse2.c): New.
29895 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29896 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29898 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29900 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29901 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29902 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29903 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29904 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29906 (CFLAGS-e_exp2f-sse2.c): New.
29907 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29908 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29910 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29912 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29914 (CFLAGS-e_exp2f-fma.c): New.
29915 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29916 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29918 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29920 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29921 * sysdeps/i386/fpu/e_expf.S: Likewise.
29922 * sysdeps/i386/fpu/math_errf.c: Likewise.
29923 * sysdeps/i386/fpu/w_expf.c: Likewise.
29924 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29925 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29926 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29927 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29928 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29929 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29930 Remove e_expf-ia32.
29931 (CFLAGS-e_expf-sse2.c): New.
29932 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29933 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29935 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29937 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29938 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29939 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29940 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29942 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29944 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29945 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29947 (__redirect_expf): This.
29948 (SYMBOL_NAME): Changed to expf.
29949 (__ieee754_expf): Renamed to ...
29951 (__GI___expf): This.
29952 (__ieee754_expf): Add strong_alias.
29953 (__expf_finite): Likewise.
29955 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29957 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29960 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29963 2017-10-21 Florian Weimer <fweimer@redhat.com>
29965 * posix/Makefile (tests): Add tst-glob-tilde.
29966 (tests-special): Add tst-glob-tilde-mem.out
29967 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29968 (tst-glob-tilde-mem.out): Add mtrace check.
29969 * posix/tst-glob-tilde.c: New file.
29971 2017-10-20 Joseph Myers <joseph@codesourcery.com>
29973 * bits/floatn-common.h: New file.
29974 * math/Makefile (headers): Add bits/floatn-common.h.
29975 * bits/floatn.h: Include <bits/floatn-common.h>.
29976 * sysdeps/ia64/bits/floatn.h: Likewise.
29977 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
29978 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
29979 * sysdeps/powerpc/bits/floatn.h: Likewise.
29980 * sysdeps/x86/bits/floatn.h: Likewise.
29982 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29984 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
29985 indicates whether compiler emits an warning for alias for
29986 functions with incompatible types.
29989 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
29990 the auxiliary process is terminated by a signal before calling _exit
29993 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
29996 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
29998 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
29999 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30000 and bit_arch_XSAVEC_Usable if needed.
30001 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30002 and bit_arch_Use_dl_runtime_resolve_opt.
30003 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30005 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30006 (bit_arch_Prefer_No_AVX512): Updated.
30007 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30008 (bit_arch_XSAVEC_Usable): New.
30009 (STATE_SAVE_OFFSET): Likewise.
30010 (STATE_SAVE_MASK): Likewise.
30011 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30012 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30013 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30014 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30015 (index_arch_XSAVEC_Usable): New.
30016 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30017 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30018 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30020 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30021 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30022 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30023 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30024 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30025 _dl_runtime_resolve_xsavec.
30026 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30028 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30029 instead of VEC_SIZE.
30030 (REGISTER_SAVE_BND0): Removed.
30031 (REGISTER_SAVE_BND1): Likewise.
30032 (REGISTER_SAVE_BND3): Likewise.
30033 (REGISTER_SAVE_RAX): Always defined to 0.
30035 (_dl_runtime_resolve_avx): Likewise.
30036 (_dl_runtime_resolve_avx_slow): Likewise.
30037 (_dl_runtime_resolve_avx_opt): Likewise.
30038 (_dl_runtime_resolve_avx512): Likewise.
30039 (_dl_runtime_resolve_avx512_opt): Likewise.
30040 (_dl_runtime_resolve_sse): Likewise.
30041 (_dl_runtime_resolve_sse_vex): Likewise.
30043 (_dl_runtime_resolve_fxsave): Likewise.
30044 (USE_XSAVE): Likewise.
30045 (_dl_runtime_resolve_xsave): Likewise.
30046 (USE_XSAVEC): Likewise.
30047 (_dl_runtime_resolve_xsavec): Likewise.
30048 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30050 (_dl_runtime_resolve_avx512_opt): Likewise.
30051 (_dl_runtime_resolve_avx): Likewise.
30052 (_dl_runtime_resolve_avx_opt): Likewise.
30053 (_dl_runtime_resolve_sse): Likewise.
30054 (_dl_runtime_resolve_sse_vex): Likewise.
30055 (_dl_runtime_resolve_fxsave): New.
30056 (_dl_runtime_resolve_xsave): Likewise.
30057 (_dl_runtime_resolve_xsavec): Likewise.
30059 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30063 * posix/glob.c (__glob): Fix one-byte overflow.
30065 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30067 * malloc/malloc.c (sysdep-cancel.h): Add include.
30069 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30071 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30073 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30075 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30076 (tests): Remove $(objpfx)ga_test depdendency.
30077 * resolv/ga_test.c: Remove file.
30079 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30082 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30083 * localedata/locales/kab_DZ: New file.
30085 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30087 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30088 _dl_relocate_static_pie instead of _dl_start to compute load
30089 address in static PIE.
30091 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30093 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30095 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30098 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30099 * localedata/locales/shn_MM: New file.
30101 2017-10-20 Florian Weimer <fweimer@redhat.com>
30104 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30105 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30106 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30107 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30108 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30109 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30111 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30113 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30115 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30117 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30120 * sysdeps/mips/bits/long-double.h: Move to ....
30121 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30123 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30125 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30127 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30128 H.J. Lu <hongjiu.lu@intel.com>
30131 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30132 GLRO(dl_platform) to NULL.
30133 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30134 (modules-names): Add tst-platformmod-1 and
30135 x86_64/tst-platformmod-2.
30136 (CFLAGS-tst-platform-1.c): New.
30137 (CFLAGS-tst-platformmod-1.c): Likewise.
30138 (CFLAGS-tst-platformmod-2.c): Likewise.
30139 (LDFLAGS-tst-platformmod-2.so): Likewise.
30140 ($(objpfx)tst-platform-1): Likewise.
30141 ($(objpfx)tst-platform-1.out): Likewise.
30142 (tst-platform-1-ENV): Likewise.
30143 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30144 * sysdeps/x86_64/tst-platform-1.c: New file.
30145 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30146 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30148 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30151 * locale/iso-639.def: Add Karbi.
30152 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30153 * localedata/locales/mjw_IN: New file.
30155 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30157 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30158 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30159 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30160 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30161 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30162 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30163 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30165 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30166 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30167 * manual/math.texi (Mathematics): Document additional architecture
30168 support for _Float128.
30169 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30170 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30171 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30172 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30173 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30174 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30175 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30176 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30177 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30178 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30179 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30180 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30181 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30182 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30183 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30185 2017-10-18 Renlin Li <renlin.li@arm.com>
30187 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30188 _DYNAMIC symbol to calculate load address.
30190 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30192 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30193 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30195 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30196 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30198 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30201 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30202 and improve readability by using more ASCII.
30203 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30204 and improve readability by using more ASCII.
30206 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30208 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30209 not all targets support atomics on bool.
30211 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30213 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30214 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30216 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30217 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30218 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30219 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30220 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30221 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30223 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30225 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30228 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30231 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30232 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30233 (do_check_remalloced_chunk): Fix build bug.
30234 (do_check_malloc_state): Add assert that checks arena->top.
30235 (malloc_consolidate): Remove initialization.
30236 (int_mallinfo): Remove call to malloc_consolidate.
30237 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30239 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30241 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30242 (have_fastchunks): Remove.
30243 (clear_fastchunks): Remove.
30244 (set_fastchunks): Remove.
30245 (malloc_state): Add have_fastchunks.
30246 (malloc_init_state): Use have_fastchunks.
30247 (do_check_malloc_state): Remove incorrect invariant checks.
30248 (_int_malloc): Use have_fastchunks.
30249 (_int_free): Likewise.
30250 (malloc_consolidate): Likewise.
30252 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30254 * malloc/malloc.c (tcache_put): Inline.
30255 (tcache_get): Inline.
30257 2017-10-17 Jordi Mallach <jordi@gnu.org>
30259 Aurelien Jarno <aurelien@aurel32.net>
30261 * localedata/locales/ca_ES@valencia: New file.
30262 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30264 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30267 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30270 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30272 * scripts/build-many-glibcs.py (Context.add_all_configs):
30273 Add arm-linux-gnueabihf multiarch extra_glibcs.
30275 * sysdeps/generic/ifunc-init.h: New file.
30276 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30278 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30281 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30282 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30283 * stdlib/tst-strfmon_l.c: adapt test case.
30285 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30287 * sysdeps/generic/float128-abi.h: New file.
30288 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30289 non-__prefixed symbols to ....
30290 * math/Versions: ... here. Include <float128-abi.h>.
30291 * stdlib/Versions ... and here. Include <float128-abi.h>
30293 2017-10-16 Florian Weimer <fweimer@redhat.com>
30295 * version.h (VERSION): Switch to ".9000" as the development
30298 2017-10-16 Florian Weimer <fweimer@redhat.com>
30301 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30302 compat_symbol_reference to access non-default version.
30304 2017-10-16 Florian Weimer <fweimer@redhat.com>
30306 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30308 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30310 * include/shlib-compat.h (compat_symbol_reference): Update
30313 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30315 * math/Makefile (test-types): Add
30316 $(type-float128-$(float128-alias-fcts)).
30317 * math/test-float128.h (TYPE_STR): Define conditional on
30318 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30319 (ULP_IDX): Likewise.
30320 (ULP_I_IDX): Likewise.
30322 * stdlib/strtold.c: Include <bits/floatn.h>
30323 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30324 and later undefine as macro. Define as weak alias if
30326 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30327 and later undefine as macro. Define as weak alias if
30329 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30330 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30331 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30332 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30333 Define and later undefine as macro. Define as weak alias if
30335 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30337 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30338 Define and later undefine as macro. Define as weak alias if
30340 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30341 Define and later undefine as macro. Define as weak alias if
30344 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30346 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30347 record_verbose messages.
30349 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30352 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30353 to silence -O3 -Wall warning with GCC 7.
30355 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30357 * Makeconfig (+link-static-before-libc): Use the first of
30358 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30359 * gmon/Makefile (tests): Add tst-gmon-static.
30360 (tests-static): Likewise.
30361 (CFLAGS-tst-gmon-static.c): New.
30362 (CRT-tst-gmon-static): Likewise.
30363 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30364 (tst-gmon-static-ENV): Likewise.
30365 (tests-special): Likewise.
30366 ($(objpfx)tst-gmon-static.out): Likewise.
30367 (clean-tst-gmon-static-data): Likewise.
30368 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30369 * gmon/tst-gmon-static-gprof.sh: New file.
30370 * gmon/tst-gmon-static.c: Likewise.
30372 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30375 * locale/programs/linereader.c (get_string): Don't warn on
30376 non-symbolic character.
30379 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30383 * locale/programs/record-status.h: New file
30384 * locale/programs/locale.c: Add comment.
30385 * locale/programs/charmap-dir.c: Don't include error.h.
30386 (charmap_opendir): Use record_error.
30387 * locale/programs/charmap.c: Don't include error.h.
30388 (charmap_read): Use record_error, and record_warning.
30389 (parse_charmap): Likewise.
30390 * locale/programs/ld-address.c: Don't include error.h.
30391 (address_finish): Use record_error, and record_warning.
30392 * locale/programs/ld-collate.c: Don't include error.h.
30393 (collate_finish): Use record_error, and record_error_at_line.
30394 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30395 (ctype_class_new): Likewise.
30396 (ctype_map_new): Likewise.
30397 (set_one_default): Likewise.
30398 (set_class_defaults): Likewise.
30399 (translit_flatten): Likewise.
30400 (allocate_arrays): Use record_error, and record_verbose.
30401 * locale/programs/ld-identification.c: Don't include error.h.
30402 (indentation_finish): Use record_error and record_warning.
30403 * locale/programs/ld-measurement.c: Don't include error.h.
30404 (measurement_finish): Use record_error.
30405 * locale/programs/ld-messages.c
30406 (message_finish): Likewise.
30407 * locale/programs/ld-monetary.c
30408 (monetary_finish): Likewise.
30409 * locale/programs/ld-name.c (name_finish): Use record_error
30410 and record_warning.
30411 * locale/programs/ld-numeric.c
30412 (numeric_finish): Use record_error.
30413 * locale/programs/ld-paper.c: Don't include error.h.
30414 (paper_finish): Use record_error.
30415 * locale/programs/ld-telephone.c: Don't include error.h.
30416 (telephone_finish): Use record_error.
30417 * locale/programs/ld-time.c (time_finish): Likewise.
30418 * locale/programs/linereader.h (lr_error): Make inline func.
30419 * locale/programs/localedef.c: Define recorded_warning_count,
30420 and recorded_error_count.
30421 (main): Use record_error. Use recorded_error_count and
30422 recorded_warning_count to issue correct error returns.
30423 (add_to_readlist): Use record_error.
30424 (find_locale): Likewise.
30425 (load_locale): Likewise.
30426 * locale/programs/localedef.h: Remove be_quiet
30427 and WITH_CUR_LOCALE.
30428 * locale/programs/locarchive.c (compare_from_file): Use
30430 * locale/programs/locfile.c (write_locale_data): Use
30432 * locale/programs/repertoire.c: Dont include error.h.
30433 (repertoire_complain): Use record_error.
30434 * localedata/tst-fmon.sh: Expect failures from localedef.
30435 * localedata/tst-locale.sh: Likewise.
30436 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30438 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30439 (REPORTS): Likewise.
30441 (i18n): Rename to...
30442 (i18n_ctype): ...this.
30443 (i18n-report): Rename to...
30444 (i18n_ctype-report): ...this.
30445 * localedata/locales/i18n_ctype: Regenerate.
30446 * localedata/locales/i18n: copy i18n_ctype.
30448 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30450 * stdlib/strfroml.c: Include <bits/floatn.h>.
30451 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30452 Define before include of <stdlib.h> and undefine afterwards, then
30453 define as weak alias.
30455 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30456 Undefine and restore default definition. Use
30457 libm_alias_ldouble_other.
30459 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30462 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30465 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30467 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30468 Assign sym_map to be map for local symbols, as TLS relocations
30469 use sym_map to determine whether the symbol is defined and to
30470 extract the TLS information.
30471 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30472 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30474 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30477 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30478 (math_force_eval): Add powerpc version.
30481 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30483 (do_test): Likewise.
30484 * stdio-common/tst-printf.sh: Likewise.
30485 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30486 ifdef clause in order to set the carry bit right. Replace r0 by
30487 0 without changing the behavior.
30489 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30491 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30492 <libm-alias-ldouble.h>.
30493 (fabsl): Define using libm_alias_ldouble.
30494 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30495 <libm-alias-ldouble.h>.
30496 (fabsl): Define using libm_alias_ldouble.
30498 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30499 Remove conditional code.
30501 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30502 Rename to __clog10_internal_l.
30503 (__clog10_internal_l): Define aliases using
30504 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30507 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30509 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30510 * benchtests/sincosf-inputs: New file.
30511 * benchtests/cosf-inputs: New file.
30512 * benchtests/sinf-inputs: New file.
30514 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30516 * posix/tst-spawn.c (do_test): Wait for both children.
30518 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30521 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30522 tests-pie): Add tst-gmon-pie.
30523 (CFLAGS-tst-gmon-pie.c): New.
30524 (CRT-tst-gmon-pie): Likewise.
30525 (tst-gmon-pie-ENV): Likewise.
30526 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30527 ($(objpfx)tst-gmon-pie.out): Likewise.
30528 (clean-tst-gmon-pie-data): Likewise.
30529 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30530 * gmon/gmon.c [PIC]: Include <link.h>.
30531 [PIC] (callback): New function.
30532 (write_hist): Add an argument for load address. Subtract load
30534 (write_call_graph): Likewise.
30535 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30536 it to write_hist and write_call_graph.
30537 * gmon/tst-gmon-pie.c: New file.
30539 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30541 * math/Makefile (test-types-basic): New variable.
30542 (test-types): Likewise.
30543 (libm-test-support): Use $(test-types) instead of $(types).
30544 (libm-tests-base-normal): Likewise.
30545 (libm-tests-base-finite): Likewise.
30546 (libm-tests-base-inline): Likewise.
30547 (generated): Likewise.
30548 ($(objpfx)libm-test-support-$(t).c): Likewise.
30549 (libm-tests-for-type iterator): Likewise.
30550 (libm-test-support iterator): Likewise.
30551 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30552 (ulp_idx): Use ULP_IDX.
30553 * math/test-ldouble.h: Include <float.h>.
30554 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30555 (ULP_IDX): New macro.
30556 (ULP_I_IDX): Likewise.
30557 * math/test-double.h (ULP_IDX): Likewise.
30558 (ULP_I_IDX): Likewise.
30559 * math/test-float.h (ULP_IDX): Likewise.
30560 (ULP_I_IDX): Likewise.
30561 * math/test-float128.h (ULP_IDX): Likewise.
30562 (ULP_I_IDX): Likewise.
30564 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30566 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30567 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30568 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30569 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30570 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30571 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30572 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30574 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30575 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30576 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30577 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30578 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30579 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30580 (SINGLE_THREAD_BY_GLOBAL): Define.
30581 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30583 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30585 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30587 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30589 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30590 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30594 2017-10-11 Andreas Schwab <schwab@suse.de>
30596 * nis/Makefile (aux): Remove.
30597 * nscd/Makefile (aux): Add nscd_hash.
30598 (nscd-modules): Likewise.
30599 ($(objpfx)nscd): Don't depend on libnsl.
30600 * nscd/nscd_hash.c: New file.
30601 * nscd/nscd_hash.h: Likewise.
30602 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30603 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30604 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30605 instead of <nis/rpcsvc/nis.h>.
30606 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30608 2017-10-11 Florian Weimer <fweimer@redhat.com>
30611 Avoid large NSS buffers with many addresses, aliases.
30612 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30613 using dynarrays and struct alloc_buffer.
30614 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30615 (tst-nss-files-hosts-multi): Link with -ldl.
30616 * nss/tst-nss-files-hosts-multi.c: New file.
30618 2017-10-11 Florian Weimer <fweimer@redhat.com>
30621 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30622 scratch_buffer. Eliminate gotos.
30624 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30626 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30627 libm_alias_ldouble_other.
30628 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30629 undefine and redefine.
30630 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30631 (exp10l): Do not define here.
30632 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30633 (weak_alias): Undefine and redefine.
30634 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30635 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30636 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30637 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30639 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30640 [!__fma] (fma): Define using libm_alias_double.
30641 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30642 [!__fmaf] (fmaf): Define using libm_alias_float.
30643 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30644 (fmal): Define using libm_alias_ldouble.
30646 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30648 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30650 (libm_alias_double_other): Likewise.
30651 (libm_alias_double_r): Use libm_alias_double_other_r.
30652 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30654 (libm_alias_float_other): Likewise.
30655 (libm_alias_float_r): Use libm_alias_float_other_r.
30656 * sysdeps/generic/libm-alias-float128.h
30657 (libm_alias_float128_other_r): New macro.
30658 (libm_alias_float128_other): Likewise.
30659 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30660 * sysdeps/generic/libm-alias-ldouble.h
30661 (libm_alias_ldouble_other_r): New macro.
30662 (libm_alias_ldouble_other): Likewise.
30663 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30664 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30665 (libm_alias_double_other_r): New macro.
30666 (libm_alias_double_other): Likewise.
30667 (libm_alias_double_r): Use libm_alias_double_other_r.
30668 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30669 (libm_alias_ldouble_other_r): New macro.
30670 (libm_alias_ldouble_other): Likewise.
30671 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30672 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30673 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30674 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30675 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30676 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30677 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30678 * math/w_exp2f.c: Use libm_alias_float_other.
30679 * math/w_expf.c: Likewise.
30680 * math/w_log2f.c: Likewise.
30681 * math/w_logf.c: Likewise.
30682 * math/w_powf.c: Likewise.
30683 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30684 [!__exp2f]: Use libm_alias_float_other.
30685 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30686 [!__expf]: Use libm_alias_float_other.
30687 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30688 [!__log2f]: Use libm_alias_float_other.
30689 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30690 [!__logf]: Use libm_alias_float_other.
30691 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30692 [!__powf]: Use libm_alias_float_other.
30694 2017-10-10 Florian Weimer <fweimer@redhat.com>
30696 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30698 (_nss_files_gethostbyname3_r): Call it.
30700 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30702 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30703 error. Remove default definition of declare_mgen_alias.
30704 [!declare_mgen_alias_r]: Likewise.
30705 * sysdeps/generic/math-type-macros-double.h
30706 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30707 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30708 (declare_mgen_alias_r): Likewise.
30709 * sysdeps/generic/math-type-macros-float128.h
30710 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30711 * sysdeps/generic/math-type-macros-ldouble.h
30712 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30713 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30715 (declare_mgen_alias_r_s): Likewise.
30716 (declare_mgen_alias_r): Likewise.
30717 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30718 (lgamma_r): Define using libm_alias_double_r.
30719 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30720 (lgammaf_r): Define using libm_alias_float_r.
30721 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30722 (lgammal_r): Define using libm_alias_ldouble_r.
30723 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30724 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30726 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30728 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30729 extern declaration.
30731 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30733 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30735 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30738 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30739 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30740 * math/Makefile (test-math-cxx11): New test.
30741 * math/test-math-cxx11.cc: New file.
30743 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30745 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30747 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30748 call to allocate the slave pty file descriptor.
30750 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30752 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30753 [!__fma] (fma): Define using libm_alias_double.
30754 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30755 [!__fma] (fma): Define using libm_alias_double.
30757 * sysdeps/ieee754/float128/float128_private.h: Include
30758 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30759 (libm_alias_ldouble_r): Undefine and redefine.
30760 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30761 <libm-alias-ldouble.h>.
30762 (asinhl): Define using libm_alias_ldouble.
30763 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30764 <libm-alias-ldouble.h>.
30765 (atanl): Define using libm_alias_ldouble.
30766 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30767 <libm-alias-ldouble.h>.
30768 (cbrtl): Define using libm_alias_ldouble.
30769 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30770 <libm-alias-ldouble.h>.
30771 (ceill): Define using libm_alias_ldouble.
30772 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30773 <libm-alias-ldouble.h>.
30774 (copysignl): Define using libm_alias_ldouble.
30775 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30776 <libm-alias-ldouble.h>.
30777 (cosl): Define using libm_alias_ldouble.
30778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30779 <libm-alias-ldouble.h>.
30780 (erfl): Define using libm_alias_ldouble.
30782 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30783 <libm-alias-ldouble.h>.
30784 (expm1l): Define using libm_alias_ldouble.
30785 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30786 <libm-alias-ldouble.h>.
30787 (fabsl): Define using libm_alias_ldouble.
30788 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30789 <libm-alias-ldouble.h>.
30790 (floorl): Define using libm_alias_ldouble.
30791 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30792 <libm-alias-ldouble.h>.
30793 (fmal): Define using libm_alias_ldouble.
30794 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30795 <libm-alias-ldouble.h>.
30796 (frexpl): Define using libm_alias_ldouble.
30797 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30798 libm_alias_ldouble.
30799 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30800 <libm-alias-ldouble.h>.
30801 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30802 libm_alias_ldouble.
30803 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30804 <libm-alias-ldouble.h>.
30805 (getpayloadl): Define using libm_alias_ldouble.
30806 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30807 <libm-alias-ldouble.h>.
30808 (llrintl): Define using libm_alias_ldouble.
30809 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30810 <libm-alias-ldouble.h>.
30811 (llroundl): Define using libm_alias_ldouble.
30812 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30813 <libm-alias-ldouble.h>.
30814 (logbl): Define using libm_alias_ldouble.
30815 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30816 <libm-alias-ldouble.h>.
30817 (lrintl): Define using libm_alias_ldouble.
30818 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30819 <libm-alias-ldouble.h>.
30820 (lroundl): Define using libm_alias_ldouble.
30821 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30822 <libm-alias-ldouble.h>.
30823 (modfl): Define using libm_alias_ldouble.
30824 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30825 <libm-alias-ldouble.h>.
30826 (nearbyintl): Define using libm_alias_ldouble.
30827 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30828 <libm-alias-ldouble.h>.
30829 (nextafterl): Define using libm_alias_ldouble.
30830 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30831 <libm-alias-ldouble.h>.
30832 (nextupl): Define using libm_alias_ldouble.
30833 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30834 <libm-alias-ldouble.h>.
30835 (remquol): Define using libm_alias_ldouble.
30836 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30837 <libm-alias-ldouble.h>.
30838 (rintl): Define using libm_alias_ldouble.
30839 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30840 <libm-alias-ldouble.h>.
30841 (roundevenl): Define using libm_alias_ldouble.
30842 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30843 <libm-alias-ldouble.h>.
30844 (roundl): Define using libm_alias_ldouble.
30845 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30846 using libm_alias_ldouble.
30847 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30848 <libm-alias-ldouble.h>.
30849 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30850 Define using libm_alias_ldouble.
30851 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30852 <libm-alias-ldouble.h>.
30853 (sincosl): Define using libm_alias_ldouble.
30854 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30855 <libm-alias-ldouble.h>.
30856 (sinl): Define using libm_alias_ldouble.
30857 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30858 <libm-alias-ldouble.h>.
30859 (tanhl): Define using libm_alias_ldouble.
30860 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30861 <libm-alias-ldouble.h>.
30862 (tanl): Define using libm_alias_ldouble.
30863 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30864 <libm-alias-ldouble.h>.
30865 (totalorderl): Define using libm_alias_ldouble.
30866 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30867 <libm-alias-ldouble.h>.
30868 (totalordermagl): Define using libm_alias_ldouble.
30869 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30870 <libm-alias-ldouble.h>.
30871 (truncl): Define using libm_alias_ldouble.
30872 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30873 libm_alias_ldouble.
30874 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30875 libm_alias_ldouble.
30876 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30877 <libm-alias-ldouble.h>.
30878 (weak_alias): Do not undefine and redefine.
30879 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30880 (copysignl): Define with long_double_symbol only if [IS_IN
30882 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30883 <libm-alias-ldouble.h>.
30884 (weak_alias): Do not undefine and redefine.
30885 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30886 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30887 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30888 <libm-alias-ldouble.h>.
30889 (weak_alias): Do not undefine and redefine.
30890 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30891 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30892 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30893 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30894 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30895 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30896 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30897 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30898 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30899 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30901 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30902 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30903 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30904 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30905 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30906 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30907 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30908 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30909 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30910 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30911 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30912 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30913 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30914 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30915 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30917 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30920 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30921 (tcache_thread_freeres): Set tcache_shutting_down before
30922 freeing the tcache.
30923 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30924 * malloc/tst-malloc-tcache-leak.c: New file.
30926 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30928 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30929 back to powerpc32 file.
30930 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30931 (memrchr): Add __memrchr_power8 to ifunc list.
30932 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30933 extra bytes for unaligned inputs.
30935 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30937 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30938 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30939 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30940 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30941 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30943 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30945 * sysdeps/arm/libm-test-ulps: Update.
30947 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30948 <libm-alias-ldouble.h>.
30949 (asinhl): Define using libm_alias_ldouble.
30950 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30951 <libm-alias-ldouble.h>.
30952 (cbrtl): Define using libm_alias_ldouble.
30953 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30954 <libm-alias-ldouble.h>.
30955 (copysignl): Define using libm_alias_ldouble.
30956 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30957 <libm-alias-ldouble.h>.
30958 (cosl): Define using libm_alias_ldouble.
30959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30960 <libm-alias-ldouble.h>.
30961 (erfl): Define using libm_alias_ldouble.
30963 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30964 <libm-alias-ldouble.h>.
30965 (fmal): Define using libm_alias_ldouble.
30966 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30967 <libm-alias-ldouble.h>.
30968 (frexpl): Define using libm_alias_ldouble.
30969 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30970 libm_alias_ldouble.
30971 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
30972 <libm-alias-ldouble.h>.
30973 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
30974 libm_alias_ldouble.
30975 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
30976 <libm-alias-ldouble.h>.
30977 (getpayloadl): Define using libm_alias_ldouble.
30978 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
30979 <libm-alias-ldouble.h>.
30980 (llrintl): Define using libm_alias_ldouble.
30981 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
30982 <libm-alias-ldouble.h>.
30983 (llroundl): Define using libm_alias_ldouble.
30984 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
30985 <libm-alias-ldouble.h>.
30986 (lrintl): Define using libm_alias_ldouble.
30987 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
30988 <libm-alias-ldouble.h>.
30989 (lroundl): Define using libm_alias_ldouble.
30990 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
30991 <libm-alias-ldouble.h>.
30992 (modfl): Define using libm_alias_ldouble.
30993 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
30994 <libm-alias-ldouble.h>.
30995 (nextupl): Define using libm_alias_ldouble.
30996 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
30997 <libm-alias-ldouble.h>.
30998 (remquol): Define using libm_alias_ldouble.
30999 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31000 <libm-alias-ldouble.h>.
31001 (roundevenl): Define using libm_alias_ldouble.
31002 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31003 <libm-alias-ldouble.h>.
31004 (roundl): Define using libm_alias_ldouble.
31005 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31006 using libm_alias_ldouble.
31007 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31008 <libm-alias-ldouble.h>.
31009 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31010 <libm-alias-ldouble.h>.
31011 (setpayloadsigl): Define using libm_alias_ldouble.
31012 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31013 <libm-alias-ldouble.h>.
31014 (sincosl): Define using libm_alias_ldouble.
31015 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31016 <libm-alias-ldouble.h>.
31017 (sinl): Define using libm_alias_ldouble.
31018 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31019 <libm-alias-ldouble.h>.
31020 (tanhl): Define using libm_alias_ldouble.
31021 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31022 <libm-alias-ldouble.h>.
31023 (tanl): Define using libm_alias_ldouble.
31024 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31025 <libm-alias-ldouble.h>.
31026 (totalorderl): Define using libm_alias_ldouble.
31027 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31028 <libm-alias-ldouble.h>.
31029 (totalordermagl): Define using libm_alias_ldouble.
31030 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31031 libm_alias_ldouble.
31032 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31033 libm_alias_ldouble.
31035 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31037 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31039 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31040 (__libc_ifunc_impl_list): Likewise.
31041 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31042 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31044 * benchtests/bench-memmove-walk.c: New file.
31045 * benchtests/Makefile (string-benchset): Add it.
31047 * benchtests/bench-memset-walk.c: New file.
31048 * benchtests/Makefile (string-benchset): Add it.
31050 * benchtests/bench-memcpy-walk.c: New file.
31051 * benchtests/Makefile (string-benchset): Add it.
31053 2017-10-05 Florian Weimer <fweimer@redhat.com>
31055 nscd: Eliminate compilation time dependency in the build output.
31056 * nscd/nscd_stat.c (STATDATA_VERSION)
31057 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31058 (STATDATA_VERSION_FULL): New macro definitions.
31059 (compilation): Remove.
31060 (struct statdata): Adjust version member.
31061 (send_stats): Set version from STATDATA_VERSION_FULL.
31062 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31064 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31066 * configure.ac (--enable-add-ons): Remove option.
31067 (machine): Do not mention add-ons in comment.
31068 (LIBC_PRECONFIGURE): Likewise.
31069 (add_ons): Remove variable and sanity checks and logic to locate
31071 (add_ons_automatic): Remove variable.
31072 (configured_add_ons): Likewise.
31073 (add_ons_sfx): Likewise.
31074 (add_ons_pfx): Likewise.
31075 (add_on_subdirs): Likewise.
31076 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31077 consideration of add-ons in Implies handling.
31078 (sysdeps_add_ons): Likewise.
31079 * configure: Regenerated.
31080 * libidn/configure.ac: Remove.
31081 * libidn/configure: Likewise.
31082 * sysdeps/unix/inet/configure.ac: New file.
31083 * sysdeps/unix/inet/configure: New generated file.
31084 * sysdeps/unix/inet/Subdirs: Add libidn.
31085 * Makeconfig (sysdeps-srcdirs): Remove variable.
31086 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31087 ($(common-objpfx)config.status): Do not depend on add-on files.
31088 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31090 (all-subdirs): Do not include $(add-on-subdirs).
31091 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31092 * config.make.in (add-ons): Remove variable.
31093 (add-on-subdirs): Likewise.
31094 (sysdeps-add-ons): Likewise.
31095 * manual/Makefile (add-chapters): Remove.
31096 ($(objpfx)texis): Do not depend on $(add-chapters).
31097 (nonexamples): Do not handle $(add-chapters).
31098 (examples): Do not handle $(add-ons).
31099 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31101 * manual/install.texi (Installation): Do not mention add-ons.
31102 (--enable-add-ons): Do not document configure option.
31103 * INSTALL: Regenerated.
31104 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31105 * manual/maint.texi (Hierarchy Conventions): Do not mention
31107 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31109 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31111 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31112 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31114 2017-10-05 Andreas Schwab <schwab@suse.de>
31117 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31118 (_IO_flush_all_lockp): Always lock list_all_lock.
31119 (_IO_flush_all_linebuffered): Likewise.
31120 (_IO_unbuffer_all): Likewise.
31122 2017-10-05 Florian Weimer <fweimer@redhat.com>
31125 Do not flush stdio streams on abort.
31126 * stdlib/abort.c (fflush): Remove macro definition.
31127 (abort): Remove stages related to stdio flushing.
31129 2017-10-05 Florian Weimer <fweimer@redhat.com>
31131 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31133 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31135 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31137 2017-10-05 Florian Weimer <fweimer@redhat.com>
31139 * support/support_format_hostent.c (support_format_hostent): Add
31140 more error information for NETDB_INTERNAL.
31142 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31144 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31145 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31146 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31147 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31148 AC_DEFINE if multi-arch is enabled.
31149 * sysdeps/i386/configure: Regenerated.
31151 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31153 * Makeconfig (+link-static-before-libc): Use
31154 $(DEFAULT-LDFLAGS-$(@F)).
31155 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31156 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31157 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31159 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31161 * elf/Makefile (tests): Add tst-main1.
31162 (modules-names): Add tst-main1mod.
31163 ($(objpfx)tst-main1): New.
31164 (CRT-tst-main1): Likewise.
31165 (LDFLAGS-tst-main1): Likewise.
31166 (LDLIBS-tst-main1): Likewise.
31167 (tst-main1mod.so-no-z-defs): Likewise.
31168 * elf/tst-main1.c: New file.
31169 * elf/tst-main1mod.c: Likewise.
31171 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31173 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31175 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31177 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31178 (fma): Define using libm_alias_double.
31179 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31180 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31182 (fmal): Do not define as compat symbol here.
31183 * sysdeps/alpha/fpu/s_fma.c: New file.
31185 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31187 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31189 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31192 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31194 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31196 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31197 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31198 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31199 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31201 Include <math_ldbl_opt.h>
31202 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31204 (compat_symbol): Undefine and redefine.
31205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31207 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31208 (compat_symbol): Undefine and redefine.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31210 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31211 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31212 GLIBC_2_1 for libm.
31213 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31214 GLIBC_2.0 copysignl symbol.
31215 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31216 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31218 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31220 2017-10-04 Florian Weimer <fweimer@redhat.com>
31222 * scripts/check-local-headers.sh: Ignore nspr4 header file
31223 directory in addition to nspr.
31225 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31228 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31229 * configure: Regenerate.
31230 * crypt/Makefile (nss-cpp-flags): New variable.
31231 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31232 (CPPFLAGS-md5-crypt.c): Use it.
31233 * scripts/check-local-headers.sh: Ignore nspr header file
31236 2017-10-04 Andreas Schwab <schwab@suse.de>
31238 * nis/Makefile (services): Remove compat.
31239 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31240 ($(objpfx)libnss_compat.so): Remove rule.
31241 * nis/Versions (libnss_compat): Remove.
31242 * nss/Makefile (services): Add compat.
31243 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31244 * nss/Versions (libnss_compat): Define.
31245 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31246 Don't include <rpc/types.h>. Replace bool_t by bool.
31247 * nss/nss_compat/compat-initgroups.c: Likewise.
31248 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31249 instead of <rpcsrv/ypclnt.h>.
31250 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31251 yp_get_default_domain.
31252 * nss/nss_compat/compat-pwd.c: Likewise.
31253 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31254 yp_get_default_domain.
31255 * nss/nss_compat/nisdomain.c: New file.
31256 * nss/nss_compat/nisdomain.h: Likewise.
31258 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31261 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31262 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31264 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31267 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31268 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31270 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31272 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31273 "movl main@GOTOFF(%ebx), %eax".
31275 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31277 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31278 allow undefined _DYNAMIC in PIE libc.a.
31279 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31282 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31284 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31287 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31289 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31292 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31294 * math/test-math-iscanonical.cc (error): Replace bool with int.
31296 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31298 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31299 (modf): Define using libm_alias_double, only if [!__modf].
31300 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31301 <libm-alias-double.h>.
31302 (modf): Define using libm_alias_double, only if [!__modf].
31303 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31304 compat symbol here.
31305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31306 (weak_alias): Do not undefine and redefine.
31307 (strong_alias): Likewise.
31308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31309 (weak_alias): Likewise.
31310 (strong_alias): Likewise.
31312 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31313 (logb): Define using libm_alias_double, only if [!__logb].
31314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31315 <libm-alias-double.h>.
31316 (logb): Define using libm_alias_double, only if [!__logb].
31317 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31319 (weak_alias): Do not undefine and redefine.
31320 (strong_alias): Likewise.
31321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31322 (weak_alias): Likewise.
31323 (strong_alias): Likewise.
31325 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31327 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31328 Check SHARED instead PIC.
31330 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31332 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31333 [!__fmaf] (fmaf): Define using libm_alias_float.
31335 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31336 (frexp): Define using libm_alias_double.
31337 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31338 <libm-alias-double.h>.
31339 (frexp): Define using libm_alias_double.
31340 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31341 compat symbol here.
31343 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31346 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31347 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31348 (CFLAGS-test-math-iscanonical.cc): New variable.
31349 * math/test-math-iscanonical.cc: New file.
31350 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31351 Provide a C++ implementation based on function overloading,
31352 rather than using __MATH_TG, which uses C-only builtins.
31353 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31355 * sysdeps/powerpc/powerpc64le/Makefile
31356 (CFLAGS-test-math-iscanonical.cc): New variable.
31358 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31360 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31361 (ceil): Define using libm_alias_double.
31362 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31363 (floor): Define using libm_alias_double.
31364 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31365 <libm-alias-double.h>.
31366 (llround): Define using libm_alias_double.
31367 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31368 <libm-alias-double.h>.
31369 (lround): Define using libm_alias_double.
31370 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31371 <libm-alias-double.h>.
31372 (nearbyint): Define using libm_alias_double.
31373 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31374 <libm-alias-double.h>.
31375 (remquo): Define using libm_alias_double.
31376 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31377 (rint): Define using libm_alias_double.
31378 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31379 (round): Define using libm_alias_double.
31380 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31381 (trunc): Define using libm_alias_double.
31382 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31383 <libm-alias-double.h>.
31384 (ceil): Define using libm_alias_double.
31385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31386 <libm-alias-double.h>.
31387 (floor): Define using libm_alias_double.
31388 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31389 <libm-alias-double.h>.
31390 (llround): Define using libm_alias_double.
31391 [_LP64] (lround): Likewise.
31392 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31393 <libm-alias-double.h>.
31394 [!_LP64] (lround): Define using libm_alias_double.
31395 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31396 <libm-alias-double.h>.
31397 (nearbyint): Define using libm_alias_double.
31398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31399 <libm-alias-double.h>.
31400 (remquo): Define using libm_alias_double.
31401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31402 <libm-alias-double.h>.
31403 (rint): Define using libm_alias_double.
31404 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31405 <libm-alias-double.h>.
31406 (round): Define using libm_alias_double.
31407 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31408 <libm-alias-double.h>.
31409 (trunc): Define using libm_alias_double.
31410 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31411 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31412 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31413 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31414 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31415 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31416 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31417 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31418 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31420 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31422 * math/w_remainder.c: New file.
31423 * math/w_remainderf.c: New file.
31424 * math/w_remainderl.c: New file.
31426 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31428 * elf/rtld.c (BOOTSTRAP_MAP): New.
31429 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31430 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31432 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31434 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31437 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31439 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31440 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31441 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31442 rtld_hidden_data_ver): Define to empty.
31443 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31444 __assert_perror_fail): Likewise.
31445 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31446 (__rewinddir): Likewise.
31447 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31448 (__profile_frequency): Likewise.
31449 * include/setjmp.h (__sigsetjmp): Likewise.
31450 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31451 __libc_sigaction): Likewise.
31452 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31453 not set hidden attribute.
31454 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31455 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31456 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31457 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31458 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31459 __fxstatat64): Likewise.
31460 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31461 (__uname): Likewise.
31462 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31463 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31464 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31465 (NO_RTLD_HIDDEN): Set.
31466 * sysdeps/mach/hurd/configure: Refresh.
31467 * config.h.in: Refresh.
31469 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31471 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31472 (atan): Define using libm_alias_double.
31473 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31474 (tan): Define using libm_alias_double.
31475 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31476 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31478 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31479 define as weak alias of __atan. Do not define any aliases if
31481 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31482 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31483 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31484 as weak alias of __tan. Do not define any aliases if [__tan].
31485 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31486 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31489 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31491 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31492 and define as weak alias of __atan.
31493 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31495 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31496 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31497 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31498 define as weak alias of __tan.
31500 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31502 * math/w_lgamma.c: New file.
31503 * math/w_lgammaf.c: New file.
31504 * math/w_lgammal.c: New file.
31506 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31508 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31509 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31510 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31511 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31512 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31513 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31514 * sysdeps/i386/fpu/w_log2f.c: New file.
31515 * sysdeps/i386/fpu/w_logf.c: New file.
31516 * sysdeps/i386/fpu/w_powf.c: New file.
31517 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31518 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31519 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31521 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31522 H.J. Lu <hongjiu.lu@intel.com>
31524 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31525 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31526 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31527 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31528 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31530 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31531 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31532 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31533 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31534 * sysdeps/i386/fpu/w_exp2f.c: New file.
31535 * sysdeps/i386/fpu/w_expf.c: New file.
31536 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31537 * sysdeps/x86_64/fpu/w_expf.c: New file.
31539 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31541 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31544 * math/w_log2f.c: New file.
31545 * math/w_logf.c: New file.
31546 * math/w_powf.c: New file.
31547 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31548 * math/w_logf_compat.c (__logf_compat): Likewise.
31549 * math/w_powf_compat.c (__powf_compat): Likewise.
31550 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31551 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31552 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31553 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31554 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31555 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31556 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31557 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31558 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31559 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31560 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31561 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31562 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31563 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31564 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31573 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31574 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31575 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31576 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31577 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31582 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31583 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31584 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31586 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31588 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31589 (sysdep_routines): Add memrchr_power8.
31590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31591 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31592 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31594 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31595 (memrchr): Add __memrchr_power8 to ifunc list.
31596 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31598 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31601 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31602 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31604 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31605 (__posix_fallocate64_l64): Likewise.
31607 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31610 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31611 (__sched_setaffinity_new): Add libc_hidden_proto and
31614 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31617 * include/glob.h (__glob64): Add libc_hidden_proto.
31618 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31621 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31624 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31630 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31632 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31635 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31641 * csu/version.c (__libc_print_version): Add attribute_hidden.
31643 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31646 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31648 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31651 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31653 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31656 * nscd/nscd_helper.c (__nis_hash): New prototype.
31658 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31661 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31662 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31664 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31665 * termios/tcgetattr.c (__tcgetattr): Likewise.
31667 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31670 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31671 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31672 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31673 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31674 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31676 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31679 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31681 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31684 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31685 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31687 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31690 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31692 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31695 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31696 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31698 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31701 * include/ifreq.h: New file.
31702 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31703 (__ifreq): Likewise.
31704 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31705 (__ifreq): Likewise.
31707 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31710 * include/idna.h: New file.
31711 * inet/getnameinfo.c: Include <idna.h> instead of
31713 (__idna_to_unicode_lzlz): Removed.
31714 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31716 (__idna_to_ascii_lz): Removed.
31717 (__idna_to_unicode_lzlz): Likewise.
31719 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31722 * include/plural-exp.h: New file.
31723 * intl/plural-exp.c: Include <plural-exp.h> instead of
31726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31729 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31730 "getsourcefilter.h".
31731 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31732 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31733 "getsourcefilter.h".
31734 (__get_sol): Removed.
31736 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31739 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31741 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31743 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31746 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31749 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31752 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31754 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31757 * include/search.h (__tdestroy): Add libc_hidden_proto.
31758 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31760 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31763 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31765 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31768 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31771 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31774 * include/signal.h (__kill): Add libc_hidden_proto.
31775 (__sigblock): Likewise.
31776 (__sigprocmask): Likewise.
31777 (__sigaltstack): Likewise.
31778 * signal/kill.c (__kill): Add libc_hidden_def.
31779 * signal/sigblock.c (__sigblock): Likewise.
31780 * signal/sigprocmask.c (__sigprocmask): Likewise.
31781 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31782 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31783 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31784 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31785 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31787 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31789 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31790 (__sigprocmask): Likewise.
31791 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31793 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31794 (__sigprocmask): Likewise.
31795 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31798 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31801 * include/string.h (__strsep): Add libc_hidden_proto.
31802 * string/strsep.c (__strsep): Add libc_hidden_def.
31804 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31807 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31809 (__spawni): Likewise.
31811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31814 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31815 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31818 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31821 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31823 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31826 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31827 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31828 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31829 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31830 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31832 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31833 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31835 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31838 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31839 (__dcigettext): Likewise.
31841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31844 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31846 (__get_nprocs): Likewise.
31847 (__get_phys_pages): Likewise.
31848 (__get_avphys_pages): Likewise.
31849 (__get_child_max): Add attribute_hidden.
31850 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31851 (__get_nprocs): Likewise.
31852 (__get_phys_pages): Likewise.
31853 (__get_avphys_pages): Likewise.
31854 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31856 (__get_nprocs): Likewise.
31857 (__get_phys_pages): Likewise.
31858 (__get_avphys_pages): Likewise.
31859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31861 (__get_nprocs_conf): Likewise.
31862 (__get_phys_pages): Likewise.
31863 (__get_avphys_pages): Likewise.
31865 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31868 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31870 (__netlink_close): Likewise.
31871 (__netlink_free_handle): Likewise.
31872 (__netlink_request): Likewise.
31874 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31877 * include/rpc/rpc.h (__rpc_thread_variables): Add
31879 (__rpc_thread_svc_cleanup): Likewise.
31880 (__rpc_thread_clnt_cleanup): Likewise.
31881 (__rpc_thread_key_cleanup): Likewise.
31883 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31886 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31887 (__writev): Likewise.
31888 * misc/readv.c (__readv): Add libc_hidden_def.
31889 * misc/writev.c (__writev): Likewise.
31890 * sysdeps/posix/readv.c (__readv): Likewise.
31891 * sysdeps/posix/writev.c (__writev): Likewise.
31892 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31893 (__readv): Likewise.
31894 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31895 (__writev): Likewise.
31897 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31900 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31901 (__regcomp): Add libc_hidden_proto.
31902 (__regexec): Likewise.
31903 (__regfree): Likewise.
31904 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31905 (__regfree): Likewise.
31906 * posix/regexec.c (__regexec): Likewise.
31908 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31911 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31912 (__getutent): Likewise.
31913 (__getutid): Likewise.
31914 (__getutline): Likewise.
31915 (__pututline): Likewise.
31916 (__getutent_r): Likewise.
31917 (__getutid_r): Likewise.
31918 (__getutline_r): Likewise.
31919 (__utmpname): Add attribute_hidden.
31920 (__setutent): Likewise.
31921 (__endutent): Likewise.
31922 * login/getutent.c (__getutent): Add libc_hidden_def.
31923 * login/getutent_r.c (__getutent_r): Likewise.
31924 (__pututline): Likewise.
31925 * login/getutid.c (__getutid): Likewise.
31926 * login/getutid_r.c (__getutid_r): Likewise.
31927 * login/getutline.c (__getutline): Likewise.
31928 * login/getutline_r.c (__getutline_r): Likewise.
31929 * login/updwtmp.c (__updwtmp): Likewise.
31931 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31934 * include/dirent.h (__opendir): Always add attribute_hidden.
31935 (__fdopendir): Likewise.
31936 (__closedir): Likewise.
31937 (__readdir): Likewise.
31938 (__readdir64): Add libc_hidden_proto.
31939 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31940 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31941 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31942 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31945 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31948 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31949 * include/netdb.h (__gethostbyaddr_r): Likewise.
31950 (__gethostbyname_r): Likewise.
31951 (__gethostbyname2_r): Likewise.
31952 (__getnetbyaddr_r): Likewise.
31953 (__getnetbyname_r): Likewise.
31954 (__getservbyname_r): Likewise.
31955 (__getservbyport_r): Likewise.
31956 (__getprotobyname_r): Likewise.
31957 (__getprotobynumber_r): Likewise.
31958 (__getnetgrent_r): Likewise.
31959 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31960 (__getrpcbynumber_r): Likewise.
31961 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31963 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31966 * include/stdio.h (__fcloseall): Add attribute_hidden.
31967 (__getline): Likewise.
31968 (__path_search): Likewise.
31969 (__gen_tempname): Likewise.
31970 (__libc_message): Likewise.
31971 (__flockfile): Likewise.
31972 (__funlockfile): Likewise.
31973 (__fxprintf): Likewise.
31974 (__fxprintf_nocancel): Likewise.
31976 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31979 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
31980 (__sgetsgent_r): Likewise.
31982 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31985 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
31986 (__statfs64): Likewise.
31987 (__fstatfs64): Likewise.
31988 * include/sys/statvfs.h (__statvfs64): Likewise.
31989 (__fstatvfs64): Likewise.
31990 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
31991 (__statfs_filesize_max): Likewise.
31992 (__statfs_symlinks): Likewise.
31993 (__statfs_chown_restricted): Likewise.
31995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31998 * include/time.h (__tzstring): Add attribute_hidden.
31999 (__tzfile_read): Likewise.
32000 (__tzfile_compute): Likewise.
32001 (__tzfile_default): Likewise.
32002 (__tzset_parse_tz): Likewise.
32003 (__offtime): Likewise.
32004 (__asctime_r): Likewise.
32005 (__tzset): Likewise.
32006 (__tz_convert): Likewise.
32007 (__getdate_r): Likewise.
32008 (__getclktck): Likewise.
32010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32013 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32014 (__nscd_unmap): Likewise.
32015 (__nscd_cache_search): Likewise.
32016 (__nscd_get_nl_timestamp): Likewise.
32017 (__nscd_getpwnam_r): Likewise.
32018 (__nscd_getpwuid_r): Likewise.
32019 (__nscd_getgrnam_r): Likewise.
32020 (__nscd_getgrgid_r): Likewise.
32021 (__nscd_gethostbyname_r): Likewise.
32022 (__nscd_gethostbyname2_r): Likewise.
32023 (__nscd_gethostbyaddr_r): Likewise.
32024 (__nscd_getai): Likewise.
32025 (__nscd_getgrouplist): Likewise.
32026 (__nscd_getservbyname_r): Likewise.
32027 (__nscd_getservbyport_r): Likewise.
32028 (__nscd_innetgr): Likewise.
32029 (__nscd_setnetgrent): Likewise.
32031 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32034 * include/gmp.h: Declare internal functions only if _ISOMAC is
32036 (__mpn_extract_double): Add attribute_hidden.
32037 (__mpn_extract_long_double): Likewise.
32038 (__mpn_extract_float128): Likewise.
32039 (__mpn_construct_float): Likewise.
32040 (__mpn_construct_double): Likewise.
32041 (__mpn_construct_long_double): Likewise.
32042 (__mpn_construct_float128): Likewise.
32043 (mpn_add_1): Likewise.
32044 (mpn_addmul_1): Likewise.
32045 (mpn_add_n): Likewise.
32046 (mpn_cmp): Likewise.
32047 (mpn_divrem): Likewise.
32048 (mpn_lshift): Likewise.
32049 (mpn_mul): Likewise.
32050 (mpn_mul_1): Likewise.
32051 (mpn_rshift): Likewise.
32052 (mpn_sub_1): Likewise.
32053 (mpn_submul_1): Likewise.
32054 (mpn_sub_n): Likewise.
32056 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32059 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32060 (__wcscat): Likewise.
32061 (__btowc): Likewise.
32062 (__wcrtomb): Likewise.
32063 (__mbsrtowcs): Likewise.
32064 (__wcsrtombs): Likewise.
32065 (__mbsnrtowcs): Likewise.
32066 (__wcsnrtombs): Likewise.
32067 (__wcsncpy): Likewise.
32068 (__wcpncpy): Likewise.
32069 (__wmemcpy): Likewise.
32070 (__wmempcpy): Likewise.
32071 (__wmemmove): Likewise.
32072 (__wcschrnul): Likewise.
32073 (__vfwscanf): Likewise.
32074 (__vswprintf): Likewise.
32075 (__fwprintf): Likewise.
32076 (__vfwprintf): Likewise.
32078 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32081 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32082 (__getgrgid_r): Likewise.
32083 (__getgrnam_r): Likewise.
32084 * include/pwd.h (__getpwuid_r): Likewise.
32085 (__getpwnam_r): Likewise.
32086 (__fgetpwent_r): Likewise.
32087 * include/shadow.h (__getspnam_r): Likewise.
32088 (__sgetspent_r): Likewise.
32089 (__fgetspent_r): Likewise.
32091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32094 * include/unistd.h (__access): Add attribute_hidden.
32095 (__lseek64): Likewise.
32096 (__libc_pread64): Likewise.
32097 (__pipe2): Likewise.
32098 (__sleep): Likewise.
32099 (__chdir): Likewise.
32100 (__fchdir): Likewise.
32101 (__getcwd): Likewise.
32102 (__rmdir): Likewise.
32103 (__execvpe): Likewise.
32104 (__execve): Likewise.
32105 (__setsid): Likewise.
32106 (__getuid): Likewise.
32107 (__geteuid): Likewise.
32108 (__getgid): Likewise.
32109 (__getegid): Likewise.
32110 (__getgroups): Likewise.
32111 (__group_member): Likewise.
32112 (__ttyname_r): Likewise.
32113 (__isatty): Likewise.
32114 (__readlink): Likewise.
32115 (__unlink): Likewise.
32116 (__gethostname): Likewise.
32117 (__profil): Likewise.
32118 (__getdtablesize): Likewise.
32120 (__ftruncate): Likewise.
32121 (__ftruncate64): Likewise.
32123 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32126 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32127 * argp/argp-fs-xinl.c: Likewise.
32128 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32129 * argp/argp-parse.c: Include <argp.h>.
32130 * argp/argp-xinl.c: Likewise.
32131 * include/argp-fmtstream.h: New file.
32132 * include/argp.h (__argp_error): Add attribute_hidden.
32133 (__argp_failure): Likewise.
32134 (__argp_input): Likewise.
32135 (__argp_state_help): Likewise.
32137 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32140 * include/wchar.h (____wcstof_l_internal): New prototype.
32141 (____wcstod_l_internal): Likewise.
32142 (____wcstold_l_internal): Likewise.
32143 (____wcstol_l_internal): Likewise.
32144 (____wcstoul_l_internal): Likewise.
32145 (____wcstoll_l_internal): Likewise.
32146 (____wcstoull_l_internal): Likewise.
32147 (____wcstof128_l_internal): Likewise.
32148 * sysdeps/ieee754/float128/wcstof128.c
32149 (____wcstof128_l_internal): Removed.
32150 * sysdeps/ieee754/float128/wcstof128_l.c
32151 (____wcstof128_l_internal): Likewise.
32152 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32153 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32154 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32155 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32156 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32157 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32158 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32159 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32160 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32161 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32163 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32166 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32167 instead of <sys/statvfs.h>.
32168 (__internal_statvfs): Removed.
32169 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32170 instead of <sys/statvfs.h>.
32171 (__internal_statvfs64): Removed.
32172 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32173 "internal_statvfs.h" instead of <sys/statvfs.h>.
32174 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32175 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32176 instead of <sys/statvfs.h>.
32177 (__internal_statvfs): Removed.
32178 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32179 instead of <sys/statvfs.h>.
32180 (__internal_statvfs64): Removed.
32182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32185 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32186 (__gconv_close): Likewise.
32187 (__gconv): Likewise.
32188 (__gconv_find_transform): Likewise.
32189 (__gconv_lookup_cache): Likewise.
32190 (__gconv_compare_alias_cache): Likewise.
32191 (__gconv_load_cache): Likewise.
32192 (__gconv_get_path): Likewise.
32193 (__gconv_close_transform): Likewise.
32194 (__gconv_release_cache): Likewise.
32195 (__gconv_find_shlib): Likewise.
32196 (__gconv_release_shlib): Likewise.
32197 (__gconv_get_builtin_trans): Likewise.
32198 (__gconv_compare_alias): Likewise.
32199 * include/dlfcn.h (_dlerror_run): Likewise.
32200 * include/stdio.h (__fortify_fail_abort): Likewise.
32201 * include/time.h (__tz_compute): Likewise.
32202 (__strptime_internal): Likewise.
32203 * intl/gettextP.h (_nl_find_domain): Likewise.
32204 (_nl_load_domain): Likewise.
32205 (_nl_find_msg): Likewise.
32206 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32207 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32208 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32209 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32210 (__gai_find_request): Likewise.
32211 (__gai_remove_request): Likewise.
32212 (__gai_notify): Likewise.
32213 (__gai_notify_only): Likewise.
32214 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32215 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32216 (_dl_non_dynamic_init): Likewise.
32217 (_dl_aux_init): Likewise.
32218 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32219 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32221 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32222 (__wcsmbs_clone_conv): Likewise.
32223 (__wcsmbs_named_conv): Likewise.
32225 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32228 * include/stdlib.h (__random): Add attribute_hidden.
32229 (__random_r): Likewise.
32230 (__srandom_r): Likewise.
32231 (__initstate_r): Likewise.
32232 (__setstate_r): Likewise.
32233 (__erand48_r): Likewise.
32234 (__nrand48_r): Likewise.
32235 (__jrand48_r): Likewise.
32236 (__srand48_r): Likewise.
32237 (__seed48_r): Likewise.
32238 (__lcong48_r): Likewise.
32239 (__drand48_iterate): Likewise.
32240 (__setenv): Likewise.
32241 (__unsetenv): Likewise.
32242 (__clearenv): Likewise.
32243 (__ptsname_r): Likewise.
32244 (__posix_openpt): Likewise.
32245 (__add_to_environ): Likewise.
32246 (__realpath): Add libc_hidden_proto.
32247 (__ecvt_r): Likewise.
32248 (__fcvt_r): Likewise.
32249 (__qecvt_r): Likewise.
32250 (__qfcvt_r): Likewise.
32251 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32252 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32254 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32257 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32258 * include/time.h (__mktime_internal): Likewise.
32259 * libio/iolibio.h (__fopen_internal): Likewise.
32261 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32263 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32265 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32266 Correct offset used to restore PIC register.
32268 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32271 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32272 code to load address of __getcontext_ret when generating PIC code.
32274 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32276 * elf/Makefile (tests-static-internal): Add
32277 tst-tls1-static-non-pie.
32278 (LDFLAGS-tst-tls1-static-non-pie): New.
32279 * elf/tst-tls1-static-non-pie.c: New file.
32281 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32283 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32284 (asinh): Define using libm_alias_double.
32285 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32286 (cbrt): Define using libm_alias_double.
32287 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32288 <libm-alias-double.h>.
32289 (copysign): Define using libm_alias_double.
32290 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32291 (erf): Define using libm_alias_double.
32293 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32294 (expm1): Define using libm_alias_double.
32295 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32296 (fabs): Define using libm_alias_double.
32297 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32299 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32300 <libm-alias-double.h>.
32301 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32303 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32304 <libm-alias-double.h>.
32305 (getpayload): Define using libm_alias_double.
32306 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32307 <libm-alias-double.h>.
32308 (llrint): Define using libm_alias_double.
32309 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32310 (lrint): Define using libm_alias_double.
32311 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32312 <libm-alias-double.h>.
32313 (nextup): Define using libm_alias_double.
32314 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32315 <libm-alias-double.h>.
32316 (roundeven): Define using libm_alias_double.
32317 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32319 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32320 <libm-alias-double.h>.
32321 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32322 using libm_alias_double.
32323 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32324 (cos): Define using libm_alias_double.
32326 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32327 <libm-alias-double.h>.
32328 (sincos): Define using libm_alias_double.
32329 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32330 (tanh): Define using libm_alias_double.
32331 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32332 <libm-alias-double.h>.
32333 (totalorder): Define using libm_alias_double.
32334 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32335 <libm-alias-double.h>.
32336 (totalordermag): Define using libm_alias_double.
32337 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32339 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32341 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32342 <libm-alias-double.h>.
32343 (getpayload): Define using libm_alias_double.
32344 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32345 <libm-alias-double.h>.
32346 (roundeven): Define using libm_alias_double.
32347 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32348 <libm-alias-double.h>.
32349 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32350 <libm-alias-double.h>.
32351 (totalorder): Define using libm_alias_double.
32352 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32353 <libm-alias-double.h>.
32354 (totalordermag): Define using libm_alias_double.
32355 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32356 libc compat symbol here.
32357 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32358 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32359 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32360 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32361 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32362 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32363 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32364 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32365 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32366 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32368 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32370 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32371 _dl_relocate_static_pie instead of _dl_start to compute load
32372 address in static PIE. Return 0 if _DYNAMIC is undefined for
32375 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32377 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32378 _DYNAMIC is undefined for static executable.
32380 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32382 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32384 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32388 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32390 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32391 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32392 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32393 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32394 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32395 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32396 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32397 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32398 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32399 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32400 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32401 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32402 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32403 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32404 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32405 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32406 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32408 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32410 * math/bits/cmathcalls.h (cimag): Remove inline.
32411 (creal): Remove inline.
32412 (conj): Remove inline.
32414 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32416 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32417 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32418 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32419 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32420 (issignalingf_inline): Likewise.
32421 (POWF_LOG2_TABLE_BITS): Likewise.
32422 (POWF_LOG2_POLY_ORDER): Likewise.
32423 (POWF_SCALE_BITS): Likewise.
32424 (POWF_SCALE): Likewise.
32425 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32426 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32427 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32429 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32431 * math/Makefile (type-float-routines): Add e_log2f_data.
32432 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32433 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32434 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32435 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32436 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32437 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32438 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32440 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32442 * math/Makefile (type-float-routines): Add e_logf_data.
32443 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32444 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32445 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32446 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32447 * sysdeps/i386/fpu/e_logf_data.c: New file.
32448 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32449 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32451 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32453 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32454 undefined _DYNAMIC in PIE libc.a.
32455 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32458 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32460 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32461 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32462 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32463 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32464 (__signbit): Remove.
32465 (__signbitl): Remove.
32466 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32467 (__signbit): Remove.
32468 (__signbitl): Remove.
32469 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32470 (__signbit): Remove.
32471 (__signbitl): Remove.
32472 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32473 (__signbit): Remove.
32474 (__signbitl): Remove.
32475 * sysdeps/tile/bits/mathinline.h: Delete file.
32476 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32477 (__signbit): Remove.
32478 (__signbitl): Remove.
32480 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32482 * math/math.h: Improve handling of C99 isgreater macros.
32483 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32484 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32485 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32486 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32487 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32489 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32491 * sysdeps/aarch64/libm-test-ulps: Update.
32493 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32496 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32497 math_opt_barrier on argument when doing arithmetic on it.
32498 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32499 Likewise. Use math_force_eval not math_opt_barrier after
32501 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32502 math_opt_barrier on argument when doing arithmetic on it.
32503 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32506 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32508 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32510 (__freeifaddrs): Likewise.
32512 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32514 * include/dirent.h (__dirfd): New declaration.
32515 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32517 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32518 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32519 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32520 * include/unistd.h (__revoke): New declaration.
32521 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32523 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32524 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32526 * include/dirent.h (__seekdir): New declaration.
32527 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32528 redefine as weak alias.
32529 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32531 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32532 and use libc_hidden_def on them.
32533 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32535 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32536 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32537 instead of getifaddrs and freeifaddrs.
32539 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32542 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32543 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32544 (__dso_handle): Remove declaration.
32545 * dlfcn/tstatexit.c (__dso_handle): Removed.
32546 (main): Don't check __dso_handle.
32547 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32548 (main): Don't check __dso_handle.
32549 * include/dso_handle.h: New file.
32550 * malloc/mtrace.c: Include <dso_handle.h>.
32551 (mtrace): Pass __dso_handle directly.
32552 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32553 (__dso_handle): Remove declaration.
32554 (__pthread_atfork): Pass __dso_handle directly.
32555 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32556 (__dso_handle): Removed.
32557 * posix/wordexp-test.c: Include <dso_handle.h>.
32558 (__dso_handle): Remove declaration.
32559 (__app_register_atfork): Pass __dso_handle directly.
32560 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32561 (__dso_handle): Remove declaration.
32562 (at_quick_exit): Pass __dso_handle directly.
32563 * stdlib/atexit.c: Include <dso_handle.h>.
32564 (__dso_handle): Remove declaration.
32565 (atexit): Pass __dso_handle directly.
32566 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32567 (__dso_handle): Removed.
32569 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32571 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32574 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32576 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32577 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32578 values to correct default value for given type.
32580 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32583 * elf/Makefile (tests): Add tst-debug1.
32584 ($(objpfx)tst-debug1): New.
32585 ($(objpfx)tst-debug1.out): Likewise.
32586 ($(objpfx)tst-debug1mod1.so): Likewise.
32587 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32588 with p_filesz == 0.
32589 * elf/tst-debug1.c: New file.
32591 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32593 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32594 Define using __ifunc.
32596 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32598 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32601 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32604 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32606 2017-09-26 Florian Weimer <fweimer@redhat.com>
32608 * resolv/Makefile (tests-internal): Fix typo in comment.
32610 2017-09-26 Florian Weimer <fweimer@redhat.com>
32612 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32614 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32616 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32617 Use an union instead of a max_align_t array for __space,
32618 so that __space is the same size on all platforms.
32619 * malloc/scratch_buffer_grow_preserve.c
32620 (__libc_scratch_buffer_grow_preserve): Likewise.
32623 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32625 * posix/Makefile (routines): Add glob-lstat-compat and
32626 glob64-lstat-compat.
32627 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32628 * posix/glob-lstat-compat.c: New file.
32629 * posix/glob64-lstat-compat.c: Likewise.
32630 * posix/tst-glob_lstat_compat.c: Likewise.
32631 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32632 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32633 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32634 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32636 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32637 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32638 * posix/glob.c (glob_lstat): New function.
32639 (glob): Rename to __glob and add versioned symbol to 2.27.
32640 (glob_in_dir): Use glob_lstat.
32641 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32642 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32643 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32645 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32646 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32647 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32648 gl_lstat on glob call.
32649 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32650 and glob64 symbols.
32651 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32652 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32653 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32654 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32655 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32656 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32657 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32658 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32659 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32660 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32661 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32662 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32665 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32667 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32668 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32669 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32670 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32671 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32674 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32675 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32676 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32678 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32680 * configure.ac (AS): Require binutils 2.25 or later.
32681 * configure: Regenerated.
32683 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32686 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32689 2017-09-25 DJ Delorie <dj@redhat.com>
32692 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32695 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32697 * sysdeps/ieee754/dbl-64/sincos32.h
32698 [SINCCOS32_H]: Remove define.
32699 [SINCOS32_H]: Define.
32701 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32703 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32705 * math/w_exp2f.c: New file.
32706 * math/w_expf.c: New file.
32707 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32708 * math/w_expf_compat.c (__expf_compat): Likewise.
32709 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32710 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32711 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32712 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32713 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32714 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32715 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32716 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32717 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32718 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32719 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32720 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32721 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32722 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32731 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32732 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32733 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32734 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32735 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32740 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32741 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32742 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32744 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32746 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32747 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32748 (roundtoint, converttoint): Likewise.
32749 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32750 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32751 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32752 * sysdeps/ieee754/flt-32/math_config.h: New file.
32753 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32754 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32755 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32756 * sysdeps/i386/fpu/math_errf.c: New file.
32757 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32758 * sysdeps/ia64/fpu/math_errf.c: New file.
32759 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32760 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32762 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32764 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32765 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32766 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32767 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32768 to make sure that these symbols are defined.
32769 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32771 (__need_NULL): Do not define.
32772 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32774 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32775 CMGROUP_MAX, cmsgcred): Do not define.
32776 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32778 * bits/socket.h: Likewise.
32779 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32780 __gettimeofday instead of gettimeofday.
32781 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32782 instead of settimeofday.
32784 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32786 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32787 (asinhf): Define using libm_alias_float.
32788 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32789 (atanf): Define using libm_alias_float.
32790 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32791 (cbrtf): Define using libm_alias_float.
32792 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32793 (ceilf): Define using libm_alias_float.
32794 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32795 <libm-alias-float.h>.
32796 (copysignf): Define using libm_alias_float.
32797 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32798 (cosf): Define using libm_alias_float.
32799 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32800 (erff): Define using libm_alias_float.
32802 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32803 (expm1f): Define using libm_alias_float.
32804 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32805 (fabsf): Define using libm_alias_float.
32806 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32807 (floorf): Define using libm_alias_float.
32808 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32809 (frexpf): Define using libm_alias_float.
32810 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32812 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32813 <libm-alias-float.h>.
32814 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32816 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32817 <libm-alias-float.h>.
32818 (getpayloadf): Define using libm_alias_float.
32819 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32820 <libm-alias-float.h>.
32821 (llrintf): Define using libm_alias_float.
32822 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32823 <libm-alias-float.h>.
32824 (llroundf): Define using libm_alias_float.
32825 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32826 (logbf): Define using libm_alias_float.
32827 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32828 (lrintf): Define using libm_alias_float.
32829 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32830 (lroundf): Define using libm_alias_float.
32831 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32832 (modff): Define using libm_alias_float.
32833 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32834 <libm-alias-float.h>.
32835 (nearbyintf): Define using libm_alias_float.
32836 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32837 <libm-alias-float.h>.
32838 (nextafterf): Define using libm_alias_float.
32839 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32840 <libm-alias-float.h>.
32841 (nextupf): Define using libm_alias_float.
32842 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32843 <libm-alias-float.h>.
32844 (remquof): Define using libm_alias_float.
32845 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32846 (rintf): Define using libm_alias_float.
32847 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32848 <libm-alias-float.h>.
32849 (roundevenf): Define using libm_alias_float.
32850 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32851 (roundf): Define using libm_alias_float.
32852 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32853 using libm_alias_float.
32854 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32855 <libm-alias-float.h>.
32856 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32857 Define using libm_alias_float.
32858 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32859 <libm-alias-float.h>.
32860 (sincosf): Define using libm_alias_float.
32861 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32862 (sinf): Define using libm_alias_float.
32863 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32864 (tanf): Define using libm_alias_float.
32865 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32866 (tanhf): Define using libm_alias_float.
32867 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32868 <libm-alias-float.h>.
32869 (totalorderf): Define using libm_alias_float.
32870 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32871 <libm-alias-float.h>.
32872 (totalordermagf): Define using libm_alias_float.
32873 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32874 (truncf): Define using libm_alias_float.
32875 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32877 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32880 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32883 math/math.h: Let fpclassify use the builtin in C++ mode, even
32884 when optimazing for size.
32886 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32888 * csu/Makefile (generated): Do not add version-info.h.
32889 (before-compile): Likewise.
32890 (all-Banner-files): Remove variable.
32891 ($(objpfx)version-info.h): Remove rule.
32892 * csu/version.c (banner): Do not include "version-info.h".
32893 * libidn/Banner: Remove.
32894 * manual/contrib.texi (Simon Josefsson): New entry.
32896 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32898 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32899 Remove conditionals on LDBL_MANT_DIG.
32900 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32901 (__ieee754_lgammal_r): Likewise.
32903 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32905 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32907 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32908 _Float128 and L(). Replace _Float128 with long double and L(x)
32909 with xL, throughout the file.
32910 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32911 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32912 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32913 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32915 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32918 sysdeps/ieee754/ldbl-128ibm.
32919 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32920 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32921 of including it. Keep _Float128 and L() intact. These will be
32922 reviewed by a separate patch.
32923 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32924 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32925 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32926 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32928 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32931 (__finitef128): Define to __redirect___finitef128.
32932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32933 (__isinff128): Define to __redirect___isinff128.
32934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32935 (__isnanf128): Define to __redirect___isnanf128.
32937 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32939 * sysdeps/powerpc/powerpc64le/Makefile
32940 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32941 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32943 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32944 Carlos O'Donell <carlos@redhat.com>
32947 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32948 * stdlib/test-dlclose-exit-race.c: New file.
32949 * stdlib/test-dlclose-exit-race-helper.c: New file.
32950 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32952 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32954 * crypt/Banner: Remove file.
32955 * nptl/Banner: Likewise.
32956 * resolv/Banner: Likewise.
32957 * soft-fp/Banner: Likewise.
32958 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32959 ($(objpfx)version.d): Remove dependency on banner.h.
32960 ($(objpfx)version.os): Likewise.
32961 * nptl/version.c (banner): Do not include banner.h.
32962 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32963 Jelinek and BIND code.
32965 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32966 Carlos O'Donell <carlos@redhat.com>
32968 * support/xdlfcn.h: New file.
32969 * support/xdlfcn.c: New file.
32970 * support/Makefile (libsupport-routines): Add xdlfcn.
32971 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
32973 2017-09-20 Joseph Myers <joseph@codesourcery.com>
32976 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32977 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
32978 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
32979 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
32980 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
32981 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
32982 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
32983 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
32985 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32986 Ricky Zhou <rickyz@google.com>
32987 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
32990 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
32992 (__new_exitfn): Fail registration when we finished at_exit processing.
32993 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32994 * stdlib/on_exit.c (__on_exit): Likewise.
32995 * stdlib/exit.c (__exit_funcs_done): New variable.
32996 (__run_exit_handlers): Use __exit_funcs_lock.
32997 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
32999 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33000 (test-cxa_atexit-race, test-on_exit-race): New tests.
33001 * stdlib/test-atexit-race-common.c: New file.
33002 * stdlib/test-atexit-race.c: New file.
33003 * stdlib/test-at_quick_exit-race.c: New file.
33004 * stdlib/test-cxa_atexit-race.c: New file.
33005 * stdlib/test-on_exit-race.c: New file.
33007 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33009 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33010 * benchtests/exp2f-inputs: Copy of expf-inputs.
33011 * benchtests/log2f-inputs: Copy of logf-inputs.
33013 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33015 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33016 Explicitly take address of first element of array arguments in
33017 call to INLINE_SYSCALL.
33019 2017-09-19 Andreas Schwab <schwab@suse.de>
33022 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33024 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33026 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33027 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33028 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33029 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33030 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33031 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33032 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33033 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33034 * posix/Makefile (tests): Add tst-fexecve.
33035 * posix/tst-fexecve.c: New file.
33037 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33039 * benchtests/Makefile: Add logf benchmark.
33040 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33042 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33044 * benchtests/Makefile: Add expf benchmark.
33045 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33047 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33049 * csu/Makefile: Add -funwind-tables to libc-start.c.
33050 * debug/Makefile: Add -funwind-tables to backtrace.c.
33051 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33052 * sysdeps/arm/Makefile: Likewise.
33053 * sysdeps/i386/Makefile: Likewise.
33054 * sysdeps/m68k/Makefile: Likewise.
33055 * sysdeps/mips/Makefile: Likewise.
33056 * sysdeps/nios2/Makefile: Likewise.
33057 * sysdeps/sh/Makefile: Likewise.
33058 * sysdeps/sparc/Makefile: Likewise.
33060 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33062 * benchtests/Makefile (bench-math): Add trunc and truncf.
33063 (CFLAGS-bench-trunc.c): New variable.
33064 (CFLAGS-bench-truncf.c): Likewise.
33065 * benchtests/trunc-inputs: New file.
33066 * benchtests/truncf-inputs: Likewise.
33068 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33070 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33072 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33074 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33075 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33077 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33078 (exp10l): Define as weak alias.
33079 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33080 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33082 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33083 (remainderl): Define as weak alias.
33085 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33086 (fmal): Define using libm_alias_ldouble.
33087 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33088 (acoshl): Define using libm_alias_ldouble.
33089 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33090 (acosl): Define using libm_alias_ldouble.
33091 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33092 (asinl): Define using libm_alias_ldouble.
33093 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33094 (atan2l): Define using libm_alias_ldouble.
33095 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33096 (atanhl): Define using libm_alias_ldouble.
33097 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33098 (coshl): Define using libm_alias_ldouble.
33099 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33100 (exp10l): Define using libm_alias_ldouble.
33101 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33102 (exp2l): Define using libm_alias_ldouble.
33103 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33104 (expl): Define using libm_alias_ldouble.
33105 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33106 (fmodl): Define using libm_alias_ldouble.
33107 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33108 (hypotl): Define using libm_alias_ldouble.
33109 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33110 (j0l): Define using libm_alias_ldouble.
33112 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33113 (j1l): Define using libm_alias_ldouble.
33115 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33116 (jnl): Define using libm_alias_ldouble.
33118 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33119 (log10l): Define using libm_alias_ldouble.
33120 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33121 (log2l): Define using libm_alias_ldouble.
33122 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33123 (logl): Define using libm_alias_ldouble.
33124 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33125 (powl): Define using libm_alias_ldouble.
33126 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33127 (remainderl): Define using libm_alias_ldouble.
33128 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33129 (sinhl): Define using libm_alias_ldouble.
33130 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33131 (sqrtl): Define using libm_alias_ldouble.
33132 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33133 (tgammal): Define using libm_alias_ldouble.
33134 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33135 (exp10l): Do not use long_double_symbol here.
33136 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33137 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33138 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33139 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33140 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33141 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33142 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33143 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33144 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33145 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33146 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33147 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33148 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33149 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33150 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33151 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33152 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33153 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33154 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33155 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33156 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33157 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33159 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33161 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33162 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33164 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33166 * io/read.c (read): Add libc_hidden_weak.
33167 * sysdeps/mach/hurd/read.c (read): Likewise.
33168 * io/write.c (write): Likewise.
33169 * sysdeps/mach/hurd/write.c (write): Likewise.
33170 * io/pread64.c (__pread64): Likewise.
33171 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33172 * posix/pread64.c (__pread64): Add libc_hidden_def.
33174 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33176 * benchtests/scripts/compare_strings.py: New option -g.
33177 (draw_graph): Print a message that a graph is being generated.
33178 (process_results): Generate graph only if -g is passed.
33179 (main): Process option -g.
33181 * benchtests/scripts/compare_strings.py (process_results):
33182 Better spacing for output.
33184 * benchtests/scripts/compare_strings.py: Use argparse.
33185 * benchtests/README: Document existence of compare_strings.py.
33187 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33189 * math/s_fma.c: Include <libm-alias-double.h>.
33190 (fma): Define using libm_alias_double.
33191 * math/s_nextafter.c: Include <libm-alias-double.h>.
33192 (nextafter): Define using libm_alias_double.
33193 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33194 (acos): Define using libm_alias_double.
33195 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33196 (aocsh): Define using libm_alias_double.
33197 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33198 (asin): Define using libm_alias_double.
33199 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33200 (atan2): Define using libm_alias_double.
33201 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33202 (atanh): Define using libm_alias_double.
33203 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33204 (cosh): Define using libm_alias_double.
33205 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33206 (exp10): Define using libm_alias_double.
33207 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33208 (exp2): Define using libm_alias_double.
33209 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33210 (exp): Define using libm_alias_double.
33211 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33212 (fmod): Define using libm_alias_double.
33213 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33214 (hypot): Define using libm_alias_double.
33215 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33216 (j0): Define using libm_alias_double.
33218 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33219 (j1): Define using libm_alias_double.
33221 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33222 (jn): Define using libm_alias_double.
33224 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33225 (log10): Define using libm_alias_double.
33226 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33227 (log2): Define using libm_alias_double.
33228 * math/w_log_compat.c: Include <libm-alias-double.h>.
33229 (log): Define using libm_alias_double.
33230 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33231 (pow): Define using libm_alias_double.
33232 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33233 (remainder): Define using libm_alias_double.
33234 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33235 (sinh): Define using libm_alias_double.
33236 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33237 (sqrt): Define using libm_alias_double.
33238 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33239 (tgamma): Define using libm_alias_double.
33240 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33241 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33242 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33243 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33244 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33245 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33246 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33247 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33248 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33249 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33250 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33251 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33252 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33253 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33254 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33255 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33256 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33257 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33258 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33259 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33260 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33261 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33262 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33263 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33264 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33266 * math/e_acoshl.c: Remove.
33267 * math/e_acosl.c: Likewise.
33268 * math/e_asinl.c: Likewise.
33269 * math/e_atan2l.c: Likewise.
33270 * math/e_atanhl.c: Likewise.
33271 * math/e_coshl.c: Likewise.
33272 * math/e_expl.c: Likewise.
33273 * math/e_fmodl.c: Likewise.
33274 * math/e_gammal_r.c: Likewise.
33275 * math/e_hypotl.c: Likewise.
33276 * math/e_j0l.c: Likewise.
33277 * math/e_j1l.c: Likewise.
33278 * math/e_jnl.c: Likewise.
33279 * math/e_lgammal_r.c: Likewise.
33280 * math/e_log10l.c: Likewise.
33281 * math/e_log2l.c: Likewise.
33282 * math/e_logl.c: Likewise.
33283 * math/e_powl.c: Likewise.
33284 * math/e_rem_pio2l.c: Likewise.
33285 * math/e_sinhl.c: Likewise.
33286 * math/e_sqrtf128.c: Likewise.
33287 * math/e_sqrtl.c: Likewise.
33288 * math/k_cosl.c: Likewise.
33289 * math/k_sinl.c: Likewise.
33290 * math/k_tanl.c: Likewise.
33291 * math/s_asinhl.c: Likewise.
33292 * math/s_atanl.c: Likewise.
33293 * math/s_cbrtl.c: Likewise.
33294 * math/s_erfl.c: Likewise.
33295 * math/s_expm1l.c: Likewise.
33296 * math/s_log1pl.c: Likewise.
33297 * math/s_tanhl.c: Likewise.
33299 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33303 [$(subdir) = math] (sysdep_calls): New variable. Has the
33304 previous contents of sysdep_routines, but re-sorted..
33305 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33307 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33308 defined in sysdep_calls and replace by the respective m_* names.
33309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33310 (compat_symbol): Undefine to avoid duplicated compat symbols in
33313 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33315 * math/s_fmaf.c: Include <libm-alias-float.h>.
33316 (fmaf): Define using libm_alias_float.
33317 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33318 (acosf): Define using libm_alias_float.
33319 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33320 (acoshf): Define using libm_alias_float.
33321 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33322 (asinf): Define using libm_alias_float.
33323 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33324 (atan2f): Define using libm_alias_float.
33325 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33326 (atanhf): Define using libm_alias_float.
33327 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33328 (coshf): Define using libm_alias_float.
33329 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33330 (exp10f): Define using libm_alias_float.
33331 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33332 (fmodf): Define using libm_alias_float.
33333 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33334 (hypotf): Define using libm_alias_float.
33335 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33336 (j0f): Define using libm_alias_float.
33338 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33339 (j1f): Define using libm_alias_float.
33341 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33342 (jnf): Define using libm_alias_float.
33344 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33345 (log10f): Define using libm_alias_float.
33346 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33347 (log2f): Define using libm_alias_float.
33348 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33349 (logf): Define using libm_alias_float.
33350 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33351 (powf): Define using libm_alias_float.
33352 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33353 (remainderf): Define using libm_alias_float.
33354 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33355 (sinhf): Define using libm_alias_float.
33356 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33357 (sqrtf): Define using libm_alias_float.
33358 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33359 (tgammaf): Define using libm_alias_float.
33361 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33363 * include/math.h (roundeven): Change hidden_proto call to
33365 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33367 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33368 (y0): Rename to __y0 and define as weak alias.
33369 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33370 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33372 (y0f): Rename to __y0f and define as weak alias.
33373 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33375 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33376 (y1): Rename to __y1 and define as weak alias.
33377 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33378 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33380 (y1f): Rename to __y1f and define as weak alias.
33381 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33383 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33384 (yn): Rename to __yn and define as weak alias.
33385 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33386 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33388 (ynf): Rename to __ynf and define as weak alias.
33389 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33390 (fromfp): Define as weak alias.
33391 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33392 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33393 (fromfpx): Define as weak alias.
33394 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33395 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33396 __getpayload and define as weak alias.
33397 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33398 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33399 __roundeven and define as weak alias.
33400 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33401 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33403 (setpayload): Define as weak alias.
33404 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33405 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33407 (setpayloadsig): Define as weak alias.
33408 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33409 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33410 __totalorder and define as weak alias.
33411 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33412 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33413 to __totalordermag and define as weak alias.
33414 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33415 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33416 (ufromfp): Define as weak alias.
33417 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33418 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33420 (ufromfpx): Define as weak alias.
33421 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33422 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33423 Rename to __getpayload and define as weak alias.
33424 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33425 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33426 Rename to __roundeven and define as weak alias.
33427 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33428 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33429 Rename to __totalorder and define as weak alias.
33430 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33431 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33432 (totalordermag): Rename to __totalordermag and define as weak
33434 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33435 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33437 (__roundevenl): Likewise.
33438 (__totalorderl): Likewise.
33439 (__totalordermagl): Likewise
33440 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33442 (fromfpf128): Define as weak alias.
33443 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33445 (fromfpxf128): Define as weak alias.
33446 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33448 (setpayloadf128): Define as weak alias.
33449 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33450 __setpayloadsigf128.
33451 (setpayloadsigf128): Define as weak alias.
33452 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33454 (ufromfpf128): Define as weak alias.
33455 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33457 (ufromfpxf128): Define as weak alias.
33458 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33459 (fromfpf): Define as weak alias.
33460 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33462 (fromfpxf): Define as weak alias.
33463 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33464 __getpayloadf and define as weak alias.
33465 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33466 __roundevenf and define as weak alias.
33467 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33469 (setpayloadf): Define as weak alias.
33470 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33472 (setpayloadsigf): Define as weak alias.
33473 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33474 __totalorderf and define as weak alias.
33475 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33476 Rename to __totalordermagf and define as weak alias.
33477 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33479 (ufromfpf): Define as weak alias.
33480 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33482 (ufromfpxf): Define as weak alias.
33483 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33485 (fromfpl): Define as weak alias.
33486 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33488 (fromfpxl): Define as weak alias.
33489 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33490 to __getpayloadl and define as weak alias.
33491 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33492 __roundevenl and define as weak alias.
33493 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33495 (setpayloadl): Define as weak alias.
33496 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33498 (setpayloadsigl): Define as weak alias.
33499 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33500 to __totalorderl and define as weak alias.
33501 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33502 Rename to __totalordermagl and define as weak alias.
33503 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33505 (ufromfpl): Define as weak alias.
33506 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33508 (ufromfpxl): Define as weak alias.
33509 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33511 (fromfpl): Define as weak alias.
33512 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33514 (fromfpxl): Define as weak alias.
33515 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33516 Rename to __getpayloadl and define as weak alias.
33517 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33518 to __roundevenl and define as weak alias. Call __roundeven
33519 instead of roundeven.
33520 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33522 (setpayloadl): Define as weak alias.
33523 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33525 (setpayloadsigl): Define as weak alias.
33526 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33527 Rename to __totalorderl and define as weak alias.
33528 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33529 Rename to __totalordermagl and define as weak alias.
33530 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33532 (ufromfpl): Define as weak alias.
33533 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33535 (ufromfpxl): Define as weak alias.
33536 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33538 (fromfpl): Define as weak alias.
33539 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33541 (fromfpxl): Define as weak alias.
33542 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33543 __getpayloadl and define as weak alias.
33544 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33545 __roundevenl and define as weak alias.
33546 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33548 (setpayloadl): Define as weak alias.
33549 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33551 (setpayloadsigl): Define as weak alias.
33552 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33553 __totalorderl and define as weak alias.
33554 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33555 Rename to __totalordermagl and define as weak alias.
33556 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33558 (ufromfpl): Define as weak alias.
33559 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33561 (ufromfpxl): Define as weak alias.
33563 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33565 * benchtests/bench-string.h (realloc_bufs): New function.
33566 (test_init): Call it.
33567 * benchtests/bench-memset-large.c (do_test): Likewise.
33568 * benchtests/bench-memset.c (do_test): Likewise.
33570 * benchtests/bench-memset-large.c: Print output in JSON
33572 * benchtests/bench-memset.c: Likewise.
33574 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33577 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33578 * iconvdata/Makefile: Add IBM858.
33579 * iconvdata/gconv-modules: Likewise.
33580 * iconvdata/tst-tables.sh: Likewise.
33581 * iconvdata/ibm858.c: New file.
33582 * localedata/charmaps/IBM858: Likewise.
33584 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33587 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33588 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33590 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33593 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33594 and add tel_int_fmt.
33596 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33598 * sysdeps/generic/libm-alias-float128.h: New file.
33599 * sysdeps/generic/math-type-macros-float128.h: Include
33600 <libm-alias-float128.h>.
33601 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33603 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33605 * sysdeps/generic/libm-alias-ldouble.h: New file.
33606 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33607 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33608 * sysdeps/generic/math-type-macros-ldouble.h: Include
33609 <libm-alias-ldouble.h>.
33610 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33611 libm_alias_ldouble.
33613 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33615 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33616 * math/w_exp_compat.c: ... here.
33617 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33618 * math/w_expf_compat.c: ... here.
33619 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33620 * math/w_expl_compat.c: ... here.
33621 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33622 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33623 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33624 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33626 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33628 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33630 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33632 (ldexpl): Only define as compat symbol for libc, not libm.
33633 (scalbnl): Define as compat symbol for libc here.
33634 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33635 define for [IS_IN (libc)].
33636 (__ldexpl_2): Remove alias.
33637 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33638 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33639 name in long_double_symbol call.
33640 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33641 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33642 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33643 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33644 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33646 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33647 Define as compat symbol.
33649 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33651 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33652 * sysdeps/unix/sysv/linux/alpha/Makefile
33653 [$(subdir) = csu] (sysdep_routines): Remove rule.
33655 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33657 * sysdeps/generic/libm-alias-double.h: New file.
33658 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33659 * sysdeps/generic/math-type-macros-double.h: Include
33660 <libm-alias-double.h>.
33661 [declare_mgen_alias] (declare_mgen_alias): Define to use
33663 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33664 (M_LIBM_NEED_COMPAT): Remove macro.
33665 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33666 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33667 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33669 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33670 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33671 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33672 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33673 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33674 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33675 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33676 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33677 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33678 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33679 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33680 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33681 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33682 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33683 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33684 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33685 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33686 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33687 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33688 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33689 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33690 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33691 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33692 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33693 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33694 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33695 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33696 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33697 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33699 (declare_mgen_alias): New macro.
33700 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33701 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33703 (M_LIBM_NEED_COMPAT): Remove macro.
33704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33705 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33706 <first-versions.h>.
33707 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33708 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33710 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33712 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33713 (declare_mgen_alias_2): Remove.
33714 * sysdeps/generic/math-type-macros-double.h
33715 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33717 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33719 (ldexp): Define with declare_mgen_alias.
33720 (scalbn): Likewise.
33722 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33724 * grp/initgroups.c: Include config.h.
33725 (DEFAULT_CONFIG): New macro.
33726 (internal_getgrouplist): Use DEFAULT_CONFIG.
33727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33728 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33729 (DEFAULT_DEFCONFIG): New macro.
33730 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33731 * nss/grp-lookup.c: Include config.h
33732 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33733 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33734 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33735 * manual/nss.texi: Update default values section.
33737 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33740 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33742 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33743 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33744 Handle MathVec_Prefer_No_AVX512.
33745 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33746 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33749 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33751 * posix/sched_primax.c (__sched_get_priority_max): Add
33753 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33754 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33755 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33756 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33757 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33758 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33759 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33760 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33763 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33765 * sysdeps/generic/libm-alias-float.h: New file.
33766 * sysdeps/generic/math-type-macros-float.h: Include
33767 <libm-alias-float.h>.
33768 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33770 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33773 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33774 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33775 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33776 (HWCAP_IMPORTANT): Likewise.
33777 (HWCAP_X86_64): New enum.
33778 (HWCAP_X86_AVX512_1): Updated.
33779 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33780 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33781 (modules-names): Add x86_64/tst-x86_64mod-1.
33782 (LDFLAGS-tst-x86_64mod-1.so): New.
33783 ($(objpfx)tst-x86_64-1): Likewise.
33784 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33785 (tst-x86_64-1-clean): Likewise.
33786 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33787 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33789 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33791 * po/sv.po: Update translations.
33792 * po/fr.po: Likewise.
33794 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33796 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33798 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33800 * elf/rtld-Rules: Fix $(error) use.
33802 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33805 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33806 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33807 * localedata/locales/bn_BD: “Bengali” was still used in some
33808 comments. Change it to “Bangla”.
33810 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33812 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33814 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33816 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33817 thunderx2t99p1 to list of cpu names.
33818 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33819 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33821 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33823 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33824 Use strcmp instead of tunable_is_name.
33826 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33829 (F_GET_RW_HINT): New macro.
33830 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33831 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33832 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33833 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33834 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33835 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33836 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33837 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33838 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33840 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33841 (F_ADD_SEALS): New macro.
33842 [__USE_GNU] (F_GET_SEALS): Likewise.
33843 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33844 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33845 [__USE_GNU] (F_SEAL_GROW): Likewise.
33846 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33848 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33850 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33851 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33852 * posix/glob_internal.h (__glob_pattern_type):
33853 * posix/glob.c (glob):
33854 * posix/glob_pattern_p.c (__glob_pattern_p):
33857 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33858 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33859 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33860 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33861 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33863 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33864 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33865 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33866 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33867 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33868 * sysdeps/wordsize-64/glob.c: Likewise.
33869 * sysdeps/wordsize-64/glob64.c: Likewise.
33870 * sysdeps/wordsize-64/globfree.c: Likewise.
33871 * sysdeps/wordsize-64/globfree64.c: Likewise.
33872 * sysdeps/unix/sysv/linux/glob.c: New file.
33873 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33874 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33875 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33876 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33877 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33878 adds !GLOB_NO_OLD_VERSION as an extra condition.
33879 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33880 using relative path instead of absolute one.
33881 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33882 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33883 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33884 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33885 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33886 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33889 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33890 (glob): Use the same scratch buffer for both getlogin_r and
33891 getpwnam_r. Don’t require preallocation of the login name. This
33892 simplifies storage allocation, and corrects the handling of
33896 * posix/glob.c (glob): Port recent patches to platforms
33897 lacking getpwnam_r.
33898 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33899 returns an error number rather than setting errno.
33901 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33902 instead of GCC extension.
33903 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33904 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33905 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33909 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33910 * posix/bug-glob1.c: Remove file.
33911 * posix/tst-glob_symlinks.c: New file.
33912 * posix/glob.c (__lstat64): New macro.
33913 (is_dir): New function.
33914 (glob, glob_in_dir): Match symlinks even if they are dangling.
33915 (link_stat, link_exists_p): Remove. All uses removed.
33919 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33920 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33925 * posix/Makefile (routines): Add globfree, globfree64, and
33927 * posix/flexmember.h: New file.
33928 * posix/glob_internal.h: Likewise.
33929 * posix/glob_pattern_p.c: Likewise.
33930 * posix/globfree.c: Likewise.
33931 * posix/globfree64.c: Likewise.
33932 * sysdeps/gnu/globfree64.c: Likewise.
33933 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33934 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33935 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33936 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33937 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33938 * sysdeps/wordsize-64/globfree.c: Likewise.
33939 * sysdeps/wordsize-64/globfree64.c: Likewise.
33940 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33941 [NDEBUG): Remove comments.
33942 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33943 (dirent_type): New type. Use uint_fast8_t not
33944 uint8_t, as C99 does not require uint8_t.
33945 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33946 (struct readdir_result): Use dirent_type. Do not define skip_entry
33947 unless it is needed; this saves a byte on platforms lacking d_ino.
33948 (readdir_result_type, readdir_result_skip_entry):
33949 New functions, replacing ...
33950 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33951 these functions, which were removed. This makes the callers
33952 easier to read. All callers changed.
33953 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33954 (size_add_wrapv, glob_use_alloca): New static functions.
33955 (glob, glob_in_dir): Check for size_t overflow in several places,
33956 and fix some size_t checks that were not quite right.
33957 Remove old code using SHELL since Bash no longer
33959 (glob, prefix_array): Separate MS code better.
33960 (glob_in_dir): Remove old Amiga and VMS code.
33961 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33963 (glob_in_dir): Do not rely on undefined behavior in accessing
33964 struct members beyond their bounds. Use a flexible array member
33966 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33967 0/1. Caller changed.
33968 (glob): Fix memory leaks.
33969 * posix/glob64 (globfree64): Move to separate file.
33970 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33971 (globfree64): Remove hidden alias.
33972 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
33974 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
33976 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
33978 Move compat code to separate file.
33979 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
33982 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
33984 * resolv/tst-resolv-qtypes.c (domain): Changed to
33985 "const char domain[] =".
33987 2017-09-07 Joseph Myers <joseph@codesourcery.com>
33989 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
33992 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
33993 (TCP_MD5SIG_EXT): Likewise.
33994 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
33995 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
33996 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
33998 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34000 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34002 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34004 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34007 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34009 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34011 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34012 before assuming that the file is empty. Avoid testing buffer content
34015 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34018 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34020 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34022 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34024 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34026 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34028 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34030 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34033 2017-09-06 Florian Weimer <fweimer@redhat.com>
34035 * malloc/dynarray_emplace_enlarge.c
34036 (__libc_dynarray_emplace_enlarge): Add missing else.
34038 2017-09-06 Florian Weimer <fweimer@redhat.com>
34041 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34042 case of failure to obtain the global conf object.
34044 2017-09-06 Florian Weimer <fweimer@redhat.com>
34047 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34048 dynarray allocation failure.
34050 2017-09-06 Florian Weimer <fweimer@redhat.com>
34052 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34053 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34054 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34056 (response): Call them. Add 'p', '6' flag processing.
34057 (test_reverse): New function.
34058 (test_get2_any): Call it.
34059 (test_no_inet6): Add 'p' test.
34060 (test_inet6): Likewise.
34062 2017-09-06 Florian Weimer <fweimer@redhat.com>
34064 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34065 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34067 (test_gai): Adjust query names. Add additional tests.
34068 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34069 test_get2. Adjust query names. Add additional tests.
34070 (test_no_inet6): New function, extracted from threadfunc.
34071 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34072 Add additional tests.
34074 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34077 * localedata/unicode-gen/utf8_gen.py: Set the width for
34078 characters with Prepended_Concatenation_Mark property to 1
34079 * localedata/charmaps/UTF-8: Updated using the improved script.
34081 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34084 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34085 use the range notation for all ranges of neighbouring characters
34086 with the same width.
34088 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34090 * sysdeps/generic/math-type-macros-double.h: Include
34091 <math-svid-compat.h>.
34092 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34093 * sysdeps/generic/math-type-macros-float.h: Include
34094 <math-svid-compat.h>.
34095 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34096 * sysdeps/generic/math-type-macros-ldouble.h: Include
34097 <math-svid-compat.h>.
34098 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34099 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34101 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34102 * math/w_acosf_compat.c: Likewise.
34103 * math/w_acosh_compat.c: Likewise.
34104 * math/w_acoshf_compat.c: Likewise.
34105 * math/w_acoshl_compat.c: Likewise.
34106 * math/w_acosl_compat.c: Likewise.
34107 * math/w_asin_compat.c: Likewise.
34108 * math/w_asinf_compat.c: Likewise.
34109 * math/w_asinl_compat.c: Likewise.
34110 * math/w_atan2_compat.c: Likewise.
34111 * math/w_atan2f_compat.c: Likewise.
34112 * math/w_atan2l_compat.c: Likewise.
34113 * math/w_atanh_compat.c: Likewise.
34114 * math/w_atanhf_compat.c: Likewise.
34115 * math/w_atanhl_compat.c: Likewise.
34116 * math/w_cosh_compat.c: Likewise.
34117 * math/w_coshf_compat.c: Likewise.
34118 * math/w_coshl_compat.c: Likewise.
34119 * math/w_exp10_compat.c: Likewise.
34120 * math/w_exp10f_compat.c: Likewise.
34121 * math/w_exp10l_compat.c: Likewise.
34122 * math/w_exp2_compat.c: Likewise.
34123 * math/w_exp2f_compat.c: Likewise.
34124 * math/w_exp2l_compat.c: Likewise.
34125 * math/w_fmod_compat.c: Likewise.
34126 * math/w_fmodf_compat.c: Likewise.
34127 * math/w_fmodl_compat.c: Likewise.
34128 * math/w_hypot_compat.c: Likewise.
34129 * math/w_hypotf_compat.c: Likewise.
34130 * math/w_hypotl_compat.c: Likewise.
34131 * math/w_j0_compat.c: Likewise.
34132 * math/w_j0f_compat.c: Likewise.
34133 * math/w_j0l_compat.c: Likewise.
34134 * math/w_j1_compat.c: Likewise.
34135 * math/w_j1f_compat.c: Likewise.
34136 * math/w_j1l_compat.c: Likewise.
34137 * math/w_jn_compat.c: Likewise.
34138 * math/w_jnf_compat.c: Likewise.
34139 * math/w_jnl_compat.c: Likewise.
34140 * math/w_lgamma_r_compat.c: Likewise.
34141 * math/w_lgammaf_r_compat.c: Likewise.
34142 * math/w_lgammal_r_compat.c: Likewise.
34143 * math/w_log10_compat.c: Likewise.
34144 * math/w_log10f_compat.c: Likewise.
34145 * math/w_log10l_compat.c: Likewise.
34146 * math/w_log2_compat.c: Likewise.
34147 * math/w_log2f_compat.c: Likewise.
34148 * math/w_log2l_compat.c: Likewise.
34149 * math/w_log_compat.c: Likewise.
34150 * math/w_logf_compat.c: Likewise.
34151 * math/w_logl_compat.c: Likewise.
34152 * math/w_pow_compat.c: Likewise.
34153 * math/w_powf_compat.c: Likewise.
34154 * math/w_powl_compat.c: Likewise.
34155 * math/w_remainder_compat.c: Likewise.
34156 * math/w_remainderf_compat.c: Likewise.
34157 * math/w_remainderl_compat.c: Likewise.
34158 * math/w_sinh_compat.c: Likewise.
34159 * math/w_sinhf_compat.c: Likewise.
34160 * math/w_sinhl_compat.c: Likewise.
34161 * math/w_sqrt_compat.c: Likewise.
34162 * math/w_sqrtf_compat.c: Likewise.
34163 * math/w_sqrtl_compat.c: Likewise.
34164 * math/w_tgamma_compat.c: Likewise.
34165 * math/w_tgammaf_compat.c: Likewise.
34166 * math/w_tgammal_compat.c: Likewise.
34167 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34168 [LIBM_SVID_COMPAT].
34169 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34170 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34171 [LIBM_SVID_COMPAT].
34172 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34173 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34174 [LIBM_SVID_COMPAT].
34175 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34176 * sysdeps/i386/fpu/w_sqrt.c: New file.
34177 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34178 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34179 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34180 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34181 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34182 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34183 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34184 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34185 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34186 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34187 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34188 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34189 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34190 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34191 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34192 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34193 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34194 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34195 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34196 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34197 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34198 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34199 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34200 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34201 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34202 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34203 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34204 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34205 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34206 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34207 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34208 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34209 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34210 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34211 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34212 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34213 * sysdeps/ia64/fpu/w_log.c: Likewise.
34214 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34215 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34216 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34217 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34218 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34219 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34220 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34221 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34222 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34223 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34224 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34225 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34226 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34227 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34228 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34229 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34230 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34231 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34232 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34233 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34234 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34235 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34236 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34237 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34238 [LIBM_SVID_COMPAT].
34239 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34240 * sysdeps/ieee754/k_standard.c: Likewise.
34241 * sysdeps/ieee754/k_standardf.c: Likewise.
34242 * sysdeps/ieee754/k_standardl.c: Likewise.
34243 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34244 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34245 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34246 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34247 long_double_symbol call on [LIBM_SVID_COMPAT].
34248 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34249 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34250 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34251 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34252 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34253 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34254 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34255 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34256 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34257 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34258 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34259 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34260 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34261 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34262 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34263 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34264 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34265 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34266 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34267 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34268 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34269 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34271 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34273 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34274 * malloc/tst-mallocstate.c: Convert from test-skeleton
34275 to test-driver. Ifdef code using TEST_COMPAT macro.
34276 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34277 * math/test-matherr.c: Likewise.
34279 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34282 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34283 comparing word with byte-swapped constant.
34285 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34288 * locale/iso-639.def: add Miskito.
34289 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34290 * localedata/locales/miq_NI: New file.
34292 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34295 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34296 (__mkdir): Likewise.
34297 * io/chmod.c (__chmod): Add libc_hidden_def.
34298 * io/mkdir.c (__mkdir): Likewise.
34299 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34300 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34301 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34302 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34304 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34306 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34310 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34311 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34313 2017-09-04 Florian Weimer <fweimer@redhat.com>
34315 * math/math.h: Issue warning if log is defined.
34317 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34319 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34320 kernel version to 4.13.
34322 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34324 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34325 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34327 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34328 just <bits/types.h>.
34329 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34330 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34331 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34332 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34333 * misc/preadv2.c: Include <errno.h>.
34334 * misc/preadv64v2.c: Include <errno.h>.
34335 * misc/pwritev2.c: Include <errno.h>.
34336 * misc/pwritev64v2.c: Include <errno.h>.
34337 * sysdeps/posix/preadv2.c: Include <errno.h>.
34338 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34339 Fix <unistd.h> inclusion.
34340 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34341 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34342 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34343 __strtoul_internal): New functions.
34344 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34345 * sysdeps/posix/system.c: Include <sigsetops.h>.
34346 * sysdeps/mach/hurd/i386/Makefile
34347 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34348 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34349 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34350 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34351 __feraiseexcept_renamed to feraiseexcept instead of
34352 __GI_feraiseexcept.
34353 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34354 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34355 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34356 RWF_NOWAIT): Define to 0 if undefined already.
34357 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34359 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34360 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34362 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34364 * manual/math.texi (pow10): Do not document.
34365 (pow10f): Likewise.
34366 (pow10l): Likewise.
34367 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34368 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34369 * math/libm-test-exp10.inc (pow10_test): Remove.
34370 (do_test): Do not call pow10.
34371 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34372 [NO_LONG_DOUBLE] (pow10l): Likewise.
34373 * math/w_exp10f_compat.c (pow10f): Likewise.
34374 * math/w_exp10l_compat.c (pow10l): Likewise.
34375 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34376 (pow10): Make into compat symbol.
34377 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34378 (pow10f): Make into compat symbol.
34379 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34380 (pow10l): Make into compat symbol.
34381 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34383 (CFLAGS-nldbl-pow10.c): Remove variable..
34384 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34385 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34386 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34387 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34388 Undefine and redefine.
34389 (pow10l): Make into compat symbol.
34390 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34391 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34392 * sysdeps/arm/libm-test-ulps: Likewise.
34393 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34394 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34395 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34396 * sysdeps/microblaze/libm-test-ulps: Likewise.
34397 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34398 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34399 * sysdeps/nios2/libm-test-ulps: Likewise.
34400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34401 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34402 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34403 * sysdeps/sh/libm-test-ulps: Likewise.
34404 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34405 * sysdeps/tile/libm-test-ulps: Likewise.
34406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34408 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34410 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34412 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34414 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34415 "../ChangeLog.old/ChangeLog.8".
34416 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34417 "../ChangeLog.old/ChangeLog.14".
34419 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34421 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34424 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34426 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34428 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34430 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34431 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34433 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34435 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34436 32 atexit handlers.
34438 2017-09-01 Zack Weinberg <zackw@panix.com>
34440 * math/math.h (HUGE_VAL): Improve commentary.
34442 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34443 Andreas Schwab <schwab@suse.de>
34446 * include/stdio.h (__gen_tempfd): New function.
34447 * stdio-common/Makefile (routines): Add gentempfd.
34448 * stdio-common/gentempfd.c: New file.
34449 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34450 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34451 unnamed file first.
34453 2017-09-01 Florian Weimer <fweimer@redhat.com>
34457 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34458 result to determine success or failure, not the errno value.
34459 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34460 (tst-nss-files-hosts-erange): Link with -ldl.
34461 * nss/tst-nss-files-hosts-erange.c: New file.
34462 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34463 (do_test): Add NO_DATA tests.
34464 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34465 (do_test): Call it.
34467 2017-09-01 Florian Weimer <fweimer@redhat.com>
34470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34471 coming from gethostbyname2_r.
34473 2017-09-01 Florian Weimer <fweimer@redhat.com>
34475 * support/namespace.h (struct support_chroot_configuration): Add
34477 (struct support_chroot): Add path_hosts, path_host_conf.
34478 * support/support_chroot.c (write_file): New function.
34479 (support_chroot_create): Call it to process /etc/resolv.conf,
34480 /etc/hosts, /etc/host.conf.
34481 (support_chroot_free): Update.
34483 2017-09-01 Florian Weimer <fweimer@redhat.com>
34485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34486 status indicates it is set.
34488 2017-09-01 Florian Weimer <fweimer@redhat.com>
34491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34492 function lookup failures more reliable.
34494 2017-09-01 Florian Weimer <fweimer@redhat.com>
34496 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34497 (getcanonname): Likewise.
34498 (gaih_inet): Likewise.
34500 2017-09-01 Florian Weimer <fweimer@redhat.com>
34502 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34503 (getcanonname): Likewise.
34504 (gaih_inet): Likewise.
34506 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34507 Richard Henderson <rth@twiddle.net>
34509 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34510 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34511 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34512 (IREG_SIZE, OREG_SIZE): New macros.
34513 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34514 (IREG_SIZE, OREG_SIZE): New macros.
34515 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34516 (IREG_SIZE): New macro.
34517 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34518 (IREG_SIZE): New macro.
34519 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34521 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34522 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34523 (__CONCATX): Handle exceptions correctly on large values that may
34525 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34526 Initialize if not already set.
34527 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34529 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34531 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34532 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34534 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34536 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34538 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34540 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34542 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34544 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34546 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34547 (NO_CANCELLATION): Likewise.
34548 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34550 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34552 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34555 (NO_CANCELLATION): Likewise.
34556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34557 (NO_CANCELLATION): Likewise.
34558 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34560 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34562 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34564 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34566 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34568 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34569 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34571 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34573 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34576 2017-08-31 Florian Weimer <fweimer@redhat.com>
34578 * include/libc-symbols.h (internal_function): Remove.
34580 2017-08-31 Florian Weimer <fweimer@redhat.com>
34582 * stdlib/fmtmsg.c (internal_addseverity): Remove
34585 2017-08-31 Florian Weimer <fweimer@redhat.com>
34587 * stdio-common/printf_fp.c (group_number): Remove
34589 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34591 2017-08-31 Florian Weimer <fweimer@redhat.com>
34593 * posix/fnmatch.c (internal_function): Remove definition.
34594 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34595 * posix/regcomp.c (peek_token, init_word_char)
34596 (duplicate_node_closure, fetch_token, peek_token)
34597 (peek_token_bracket, build_range_exp, build_collating_symbol):
34599 * posix/regex_internal.c (re_string_construct_common)
34600 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34601 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34602 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34603 (re_string_translate_buffer, re_string_reconstruct)
34604 (re_string_peek_byte_case, re_string_fetch_byte_case)
34605 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34606 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34607 (re_node_set_add_intersect, re_node_set_init_union)
34608 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34609 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34610 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34611 (re_acquire_state_context): Likewise.
34612 * posix/regex_internal.h (internal_function): Remove definition.
34613 (re_string_realloc_buffers, build_wcs_buffer)
34614 (build_wcs_upper_buffer, build_upper_buffer)
34615 (re_string_translate_buffer, re_string_context_at)
34616 (re_string_char_size_at, re_string_wchar_at)
34617 (re_string_elem_size_at): Likewise.
34618 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34619 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34620 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34621 (re_search_internal, re_search_2_stub, re_search_stub)
34622 (re_copy_regs, prune_impossible_nodes, check_matching)
34623 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34624 (free_fail_stack_return, sift_states_iter_mb)
34625 (sift_states_backward, build_sifted_states)
34626 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34627 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34628 (check_subexp_limits, sift_states_bkref, merge_state_array)
34629 (find_recover_state, transit_state, merge_state_with_log)
34630 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34631 (transit_state_mb, transit_state_bkref, get_subexp)
34632 (get_subexp_sub, find_subexp_node, check_arrival)
34633 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34634 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34635 (check_node_accept_bytes, find_collation_sequence_value)
34636 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34637 (acquire_init_state_context, check_halt_node_context)
34638 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34639 (sub_epsilon_src_nodes): Likewise.
34640 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34641 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34642 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34643 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34644 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34645 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34646 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34647 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34648 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34649 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34650 (PREADV): Likewise.
34651 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34652 (PREADV): Likewise.
34653 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34654 (PWRITEV): Likewise.
34655 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34656 (PWRITEV): Likewise.
34657 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34658 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34660 2017-08-31 Florian Weimer <fweimer@redhat.com>
34662 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34663 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34664 Remove internal_function.
34665 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34666 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34667 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34668 (__deallocate_stack, __libc_pthread_init)
34669 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34670 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34671 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34673 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34674 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34675 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34677 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34678 (__pthread_mutex_unlock_usercnt): Likewise.
34680 2017-08-31 Florian Weimer <fweimer@redhat.com>
34682 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34683 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34684 (fts_safe_changedir): Remove internal_function.
34685 * io/ftw.c (internal_function): Remove definition.
34686 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34688 2017-08-31 Florian Weimer <fweimer@redhat.com>
34690 * inet/deadline.c (__deadline_current_time)
34691 (__deadline_from_timeval, __deadline_to_ms): Remove
34693 * inet/getnameinfo.c (nrl_domainname): Likewise.
34694 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34695 * inet/inet6_option.c (add_pad): Likewise.
34696 * inet/net-internal.h (__deadline_current_time)
34697 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34698 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34699 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34700 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34702 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34704 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34705 include <bits/nan.h>.
34706 * math/Makefile (headers): Remove bits/nan.h.
34707 * bits/nan.h: Remove.
34708 * sysdeps/ieee754/bits/nan.h: Likewise.
34709 * sysdeps/mips/bits/nan.h: Likewise.
34711 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34712 not include <bits/inf.h>.
34713 * math/Makefile (headers): Remove bits/inf.h.
34714 * bits/inf.h: Remove.
34715 * sysdeps/ieee754/bits/inf.h: Likewise.
34717 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34718 bits/huge_vall.h or bits/huge_val_flt128.h.
34719 (HUGE_VAL): Define directly here.
34720 [__USE_ISOC99] (HUGE_VALF): Likewise.
34721 [__USE_ISOC99] (HUGE_VALL): Likewise.
34722 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34723 (HUGE_VAL_F128): Likewise.
34724 * math/Makefile (headers): Remove bits/huge_val.h,
34725 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34726 * bits/huge_val.h: Remove.
34727 * bits/huge_val_flt128.h: Likewise.
34728 * bits/huge_valf.h: Likewise.
34729 * bits/huge_vall.h: Likewise.
34730 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34731 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34732 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34733 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34734 * sysdeps/sh/bits/huge_val.h: Likewise.
34735 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34736 * sysdeps/x86/bits/huge_vall.h: Likewise.
34738 2017-08-31 Florian Weimer <fweimer@redhat.com>
34740 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34742 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34744 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34745 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34746 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34747 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34748 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34749 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34750 * elf/dl-libc.c (dlerror_run): Likewise.
34751 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34752 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34753 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34754 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34756 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34757 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34758 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34759 * elf/dl-profile.c (_dl_start_profile): Likewise.
34760 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34761 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34763 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34764 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34765 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34766 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34767 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34768 (_dl_allocate_tls_storage): Likewise.
34769 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34770 (_dl_check_all_versions): Likewise.
34771 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34772 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34773 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34774 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34775 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34776 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34777 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34778 internal_function from __dl_start.
34779 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34780 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34781 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34782 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34783 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34784 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34785 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34786 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34787 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34788 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34789 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34790 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34791 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34792 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34793 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34795 (struct rtld_global_ro): Remove internal_function from the
34796 _dl_lookup_symbol_x member.
34797 (_dl_symbol_value): Remove. No longer defined anywhere.
34798 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34800 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34801 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34802 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34803 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34804 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34805 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34806 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34807 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34808 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34809 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34810 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34811 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34813 2017-08-31 Florian Weimer <fweimer@redhat.com>
34815 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34816 Remove internal_function.
34817 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34819 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34822 2017-08-31 Florian Weimer <fweimer@redhat.com>
34824 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34825 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34826 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34828 2017-08-31 Florian Weimer <fweimer@redhat.com>
34830 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34831 (__gai_enqueue_request): Remove internal_function.
34832 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34833 (__gai_remove_request, __gai_notify, __gai_notify_only)
34834 (__gai_sigqueue): Likewise.
34835 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34836 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34837 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34838 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34841 2017-08-31 Florian Weimer <fweimer@redhat.com>
34843 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34844 * include/dirent.h (__opendirat, __getdents, __getdents64)
34845 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34846 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34847 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34848 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34850 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34852 2017-08-31 Florian Weimer <fweimer@redhat.com>
34854 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34856 (GETCWD_RETURN_TYPE): Likewise.
34858 2017-08-31 Florian Weimer <fweimer@redhat.com>
34860 * include/time.h (__tz_compute, __strptime_internal): Remove
34862 * time/strptime_l.c (__strptime_internal): Likewise.
34863 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34865 2017-08-31 Florian Weimer <fweimer@redhat.com>
34867 * iconv/gconv.c (__gconv): Remove internal_function.
34868 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34869 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34870 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34871 (__gconv_release_cache): Likewise.
34872 * iconv/gconv_close.c (__gconv_close): Likewise.
34873 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34874 (read_conf_file, __gconv_get_path): Likewise.
34875 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34876 (__gconv_release_step, gen_steps, increment_counter)
34877 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34878 (__gconv_close_transform, free_modules_db): Likewise.
34879 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34881 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34882 (__gconv_find_transform, __gconv_lookup_cache)
34883 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34884 (__gconv_close_transform, __gconv_release_cache)
34885 (__gconv_loaded_object, __gconv_release_shlib)
34886 (__gconv_compare_alias): Likewise.
34887 * iconv/gconv_open.c (__gconv_open): Likewise.
34888 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34889 * iconv/iconvconfig.c (add_module): Likewise.
34890 * intl/dcigettext.c (plural_lookup, guess_category_value)
34891 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34892 * intl/eval-plural.h (plural_eval): Likewise.
34893 * intl/finddomain.c (_nl_find_domain): Likewise.
34894 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34895 (_nl_load_domain, _nl_find_msg): Likewise.
34896 (internal_function): Remove definition.
34897 * intl/loadinfo.h (internal_function): Likewise.
34898 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34900 * intl/localealias.c (internal_function): Remove definition.
34901 (read_alias_file): Remove internal_function.
34902 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34903 * intl/plural-exp.h (internal_function): Remove definition.
34904 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34906 * intl/plural.c: Regenerate.
34907 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34908 * locale/coll-lookup.c (__collidx_table_lookup)
34909 (__collseq_table_lookup): Likewise.
34910 * locale/coll-lookup.h (__collidx_table_lookup)
34911 (__collseq_table_lookup): Likewise.
34912 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34913 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34914 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34915 (_nl_unload_locale): Likewise.
34916 * locale/localeinfo.h (struct __locale_data): Remove
34917 internal_function from cleanup member.
34918 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34919 (_nl_remove_locale, _nl_load_locale_from_archive)
34920 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34921 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34922 (_nl_cleanup_time): Remove internal_function.
34923 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34924 (_nl_parse_alt_digit): Likewise.
34925 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34926 (_nl_select_era_entry): Likewise.
34927 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34928 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34929 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34930 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34931 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34933 2017-08-31 Florian Weimer <fweimer@redhat.com>
34935 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34936 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34937 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34938 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34940 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34941 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34942 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34943 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34945 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34947 2017-08-31 Florian Weimer <fweimer@redhat.com>
34949 * misc/getttyent.c (skip, value): Remove internal_function.
34950 * misc/syslog.c (openlog_internal): Likewise.
34951 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34953 2017-08-31 Florian Weimer <fweimer@redhat.com>
34955 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34956 (__nss_rewrite_field): Remove internal_function.
34957 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34958 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34959 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34960 * nss/nsswitch.c (nss_parse_file, nss_getline)
34961 (nss_parse_service_list, nss_new_service): Likewise.
34962 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34963 * nss/valid_field.c (__nss_valid_field): Likewise.
34964 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34966 2017-08-31 Florian Weimer <fweimer@redhat.com>
34968 * malloc/arena.c (__malloc_fork_lock_parent)
34969 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34970 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34971 internal_function from defintions.
34972 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
34973 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
34974 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
34975 internal_function from declarations.
34976 * malloc/malloc.c (internal_function): Do not define.
34977 (mem2mem_check): Remove internal_function from declaration.
34978 (munmap_chunk, mremap_chunk): Remove internal_function.
34979 * malloc/mtrace.c (tr_where): Likewise.
34981 2017-08-31 Florian Weimer <fweimer@redhat.com>
34983 * include/rpc/pmap_clnt.h (__get_socket): Remove
34985 * sunrpc/auth_des.c (synchronize): Likewise.
34986 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
34987 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
34988 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
34989 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
34990 (key_call): Likewise.
34991 * sunrpc/pm_getport.c (__get_socket): Likewise.
34992 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
34993 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
34994 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
34995 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
34996 (invalidate): Likewise.
34997 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
34998 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
34999 (set_input_fragment, get_input_bytes): Likewise.
35001 2017-08-31 Florian Weimer <fweimer@redhat.com>
35003 * malloc/malloc.c (_int_free): Remove locked variable and related
35006 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35009 * Makerules (build-module-helper-objlist): Filter out
35010 $(elf-objpfx)sofini.os.
35011 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35014 2017-08-31 Florian Weimer <fweimer@redhat.com>
35016 * libio/fcloseall.c: Assume weak_alias is defined.
35017 * libio/feof.c: Likewise.
35018 * libio/fileno.c: Likewise.
35019 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35020 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35022 (_IO_file_open): Call __open directly.
35023 (_IO_new_file_sync): Assume ESPIPE is defined.
35024 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35025 (_IO_new_file_write): Call __write directly.
35026 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35027 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35028 * libio/genops.c: Assume _LIBC is defined.
35029 (save_for_backup): Remove internal_function.
35030 * libio/getc.c: Assume weak_alias is defined.
35031 * libio/getwc.c: Likewise.
35032 * libio/iofclose.c: Assume _LIBC is defined.
35033 * libio/iofdopen.c: Likewise.
35034 (_IO_fcntl): Remove macro definition.
35035 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35036 Call __fcntl directly.
35037 * libio/iofflush.c: Assume weak_alias is defined.
35038 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35040 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35041 * libio/iofgets.c: Likewise.
35042 * libio/iofopen.c: Assume _LIBC is defined.
35043 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35044 * libio/iofputs.c: Assume weak_alias is defined.
35045 * libio/iofread.c: Likewise.
35046 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35047 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35048 * libio/ioftell.c: Assume weak_alias is defined.
35049 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35050 * libio/iofwide.c: Assume _LIBC is defined.
35051 (_IO_fwide): Drop SHARED conditional because it is implied by
35053 * libio/iofwrite.c: Assume weak_alias is defined.
35054 * libio/iogetdelim.c: Likewise.
35055 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35056 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35057 (_IO_getwline): Call __wmemcpy directly.
35058 * libio/iopopen.c: Assume _LIBC is defined.
35059 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35060 (_IO_close): Remove macro definitions.
35061 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35063 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35065 * libio/ioputs.c: Assume weak_alias is defined.
35066 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35067 * libio/iosetbuffer.c: Assume weak_alias is defined.
35068 * libio/iosetvbuf.c: Likewise.
35069 * libio/ioungetc.c: Likewise.
35070 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35071 libc_hidden_def, libc_hidden_weak, NULL are defined.
35072 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35073 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35075 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35077 (_IO_old_file_init_internal): Drop SHARED conditional because it
35078 is implied by SHLIB_COMPAT.
35079 (_IO_old_file_fopen): Call __open directly.
35080 (_IO_old_file_sync): Assume ESPIPE is defined.
35081 (_IO_old_file_write): Call __write directly.
35082 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35083 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35084 Call __fcntl directly.
35085 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35086 (_IO_old_fgetpos): Assume EIO is defined.
35087 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35088 (_IO_old_fgetpos64): Assume EIO is defined.
35089 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35090 (_IO_old_fsetpos): Assume EIO is defined.
35091 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35092 (_IO_old_fsetpos64): Assume EIO is defined.
35093 * libio/oldiopopen.c: Assume _LIBC is defined.
35094 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35095 (_IO_close): Remove macro definitions.
35096 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35098 (_IO_old_proc_close): Call __close, __waitpid directly.
35099 * libio/put.c: Assume weak_alias is defined.
35100 * libio/stdfiles.c: Assume _LIBC is defined.
35101 * libio/stdio.c: Likewise.
35102 * libio/wfileops.c: Likewise.
35103 (_IO_wfile_sync): Assume ESPIPE is defined.
35104 * libio/wgenops.c: Assume _LIBC is defined.
35105 (save_for_wbackup): Remove internal_function.
35107 2017-08-31 Florian Weimer <fweimer@redhat.com>
35109 * malloc/malloc.c (top_check): Change return type to void. Remove
35111 * malloc/hooks.c (top_check): Likewise.
35112 (malloc_check, realloc_check, memalign_check): Adjust.
35114 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35117 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35118 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35119 sigcontext and namespace requirements.
35120 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35121 * sysdeps/m68k/sys/ucontext.h: Likewise.
35122 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35123 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35124 <bits/sigcontext.h>.
35125 (__ctx): Define earlier.
35126 (mcontext_t): Define structure contents rather than using struct
35128 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35129 __glibc_reserved1 instead of __reserved.
35130 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35131 <bits/sigcontext.h>.
35132 (__ctx): Define earlier.
35133 (mcontext_t): Define structure contents rather than using struct
35135 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35136 mcontext_t instead of struct sigcontext.
35137 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35138 <bits/sigcontext.h>.
35139 (__ctx): Define earlier.
35140 (mcontext_t): Define structure contents rather than using struct
35142 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35143 <bits/sigcontext.h>.
35144 (__ctx): Define earlier.
35145 (mcontext_t): Define structure contents rather than using struct
35147 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35148 mcontext_t instead of struct sigcontext.
35149 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35150 mcontext_t instead of struct sigcontext.
35151 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35152 <bits/sigcontext.h>.
35153 (__ctx): New macro.
35154 (struct __ia64_fpreg_mcontext): New type.
35155 (mcontext_t): Define structure contents rather than using struct
35157 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35158 (uc_sigmask): Define using __ctx.
35159 (uc_stack): Likewise.
35160 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35161 <bits/sigcontext.h>.
35162 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35163 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35164 <bits/sigcontext.h>.
35165 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35166 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35167 <bits/sigcontext.h>.
35168 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35169 <bits/sigcontext.h>.
35170 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35171 <bits/sigcontext.h>.
35172 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35173 <bits/sigcontext.h>.
35174 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35175 <bits/sigcontext.h>.
35176 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35177 <bits/sigcontext.h>.
35178 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35179 <bits/sigcontext.h>.
35180 (__ctx): Define earlier.
35181 (mcontext_t): Define structure contents rather than using struct
35183 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35184 <bits/sigcontext.h>. Include <bits/types.h>.
35185 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35186 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35187 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35188 (test-xfail-UNIX98/signal.h/conform): Likewise.
35189 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35190 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35191 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35192 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35193 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35194 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35195 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35196 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35197 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35199 2017-08-30 Florian Weimer <fweimer@redhat.com>
35201 * malloc/dynarray_emplace_enlarge.c
35202 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35203 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35204 * malloc/tst-dynarray.c (test_long_overflow): New function.
35205 (do_test): Call it.
35207 2017-08-30 Florian Weimer <fweimer@redhat.com>
35209 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35210 (set_arena_corrupt): Remove definitions.
35211 (mtrim): Do not check for corrupt arena.
35212 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35215 2017-08-30 Florian Weimer <fweimer@redhat.com>
35218 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35220 (ptmalloc_init): Do not set or use check_action.
35221 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35222 call to malloc_printerr. Remove return statement.
35223 (free_check): Likewise. Remove arena unlock.
35224 (top_check): Update comment. Adjust call to malloc_printerr.
35225 Remove heap repair code.
35226 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35227 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35228 (sysmalloc): Adjust call to malloc_printerr.
35229 (munmap_chunk, __libc_realloc): Likewise. Remove return
35231 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35232 Remove errout label and corresponding gotos.
35233 (_int_free): Likewise. Remove arena unlock.
35234 (do_set_mallopt_check): Do not set check_action.
35235 (malloc_printerr): Adjust parameter list. Do not mark arena as
35237 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35239 * manual/probes.texi (Memory Allocation Probes): Remove
35240 memory_mallopt_check_action.
35242 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35244 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35245 Use pointer to uint64_t instead of long int for sp.
35247 2017-08-30 Florian Weimer <fweimer@redhat.com>
35250 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35251 without printing a backtrace. Do not leak any information in the
35253 * manual/memory.texi (Heap Consistency Checking): Update.
35254 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35256 2017-08-30 Florian Weimer <fweimer@redhat.com>
35258 Do not scale NPTL tests with available number of CPUs.
35259 * nptl/tst-cond16.c (count): Set to constant value of 8.
35260 * nptl/tst-cond18.c (count): Likewise.
35262 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35265 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35266 Define to take a second argument that is a macro that
35267 concatentates a suffix, not the suffix itself.
35268 (__CONCAT_d): New macro.
35269 (__CONCAT_f): Likewise.
35270 (__CONCAT_l): Likewise.
35272 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35274 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35277 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35278 Aurelien Jarno <aurelien@aurel32.net>
35279 Maciej W. Rozycki <macro@imgtec.com>
35282 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35283 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35284 `mips16-syscall6' and `mips16-syscall7'.
35285 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35286 (CFLAGS-mips16-syscall7.c): Remove.
35287 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35288 Remove `__mips16_syscall5', `__mips16_syscall6' and
35289 `__mips16_syscall7'.
35290 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35291 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35292 `__mips_syscall_return'.
35293 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35294 (__mips16_syscall1): Likewise.
35295 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35296 (__mips16_syscall2): Likewise.
35297 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35298 (__mips16_syscall3): Likewise.
35299 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35300 (__mips16_syscall4): Likewise.
35301 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35303 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35305 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35307 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35308 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35309 `__mips16_syscall5'. Remove prototype.
35310 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35311 `__mips16_syscall6'. Remove prototype.
35312 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35313 `__mips16_syscall7'. Remove prototype.
35314 (__nomips16, __mips16_syscall_return): Move to...
35315 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35316 (__nomips16, __mips_syscall_return): ... here.
35317 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35318 `__mips16_syscall_return' to `__mips_syscall_return'.
35319 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35320 `internal_syscall##nr'.
35321 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35322 `internal_syscall##nr'.
35323 (FORCE_FRAME_POINTER): Remove.
35324 (__mips_syscall5): New prototype.
35325 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35326 (__mips_syscall6): New prototype.
35327 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35328 (__mips_syscall7): New prototype.
35329 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35330 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35331 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35332 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35333 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35334 (sysdep_routines): Add libc-do-syscall.
35335 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35336 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35338 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35341 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35342 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35343 (advise_stack_range): New function.
35344 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35345 stack non required to advise_stack_range at allocatestack.c
35347 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35349 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35351 2017-08-29 Florian Weimer <fweimer@redhat.com>
35354 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35355 __end_fct. Mangle __end_fct after setting it to NULL.
35356 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35357 (modules-names, modules-names-tests): Add
35358 tst-gconv-init-failure-mod.
35359 (gconv-modules): New target.
35360 (tst-gconv-init-failure-mod.so): Link against libsupport.
35361 (tst-gconv-init-failure): Depend on gconv-modules,
35362 tst-gconv-init-failure-mod.so.
35363 * iconv/tst-gconv-init-failure-mod.c: New file.
35364 * iconv/tst-gconv-init-failure.c: Likewise.
35365 * iconv/test-gconv-modules: Likewise.
35367 2017-08-29 Florian Weimer <fweimer@redhat.com>
35370 * iconv/gconv_db.c (free_derivation): Remove redundant
35372 (gen_steps): Unconditionally mangle __btowc_fct after
35374 (increment_counter): Likewise. Do not call init_fct for internal
35377 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35380 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35381 (_MSUF_): Remove macro.
35382 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35384 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35385 (__REDIRFROM_X): New macro.
35386 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35388 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35389 (__REDIRTO_X): Likewise.
35390 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35392 (__MATH_REDIRCALL_2): Likewise.
35393 (__MATH_REDIRCALL_INTERNAL): Likewise.
35394 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35395 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35396 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35397 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35398 * math/test-finite-macros.c: New file.
35399 * math/Makefile (tests): Add test-finite-macros.
35400 (CFLAGS-test-finite-macros.c): New variable.
35402 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35403 Jeff Law <law@redhat.com>
35406 Mangle NULL pointers in iconv/gconv.
35407 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35408 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35409 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35410 is non-NULL before demangling the end_fct. Check for NULL
35411 end_fct after demangling.
35412 (__gconv_release_step): Demangle the end_fct before checking
35413 it for NULL. Remove assert on __shlibc_handle != NULL.
35414 (gen_steps): Don't check btowc_fct for NULL before mangling.
35415 Demangle init_fct before checking for NULL.
35416 (increment_counter): Likewise.
35417 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35418 end_fct for NULL before mangling.
35419 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35422 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35425 * locale/iso-639.def: add Morisyen.
35427 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35430 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35431 (iszero): New C++ implementation that does not use
35432 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35433 signaling nans are enabled, since __builtin_types_compatible_p
35434 is a C-only feature.
35435 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35436 defined, include ieee754_float128.h for access to the union and
35437 member ieee854_float128.ieee.
35438 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35439 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35440 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35441 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35442 options of test-math-zero on powerpc64le.
35444 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35446 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35447 Change double to float.
35449 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35451 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35453 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35454 conditional code; define contents only for [LIBM_SVID_COMPAT].
35456 2017-08-28 Florian Weimer <fweimer@redhat.com>
35458 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35459 (abi-lp64_be-options): Remove.
35460 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35461 (abi-hard-options): Likewise.
35462 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35463 (abi-o32_hard-options, abi-o32_soft_2008-options)
35464 (abi-o32_hard_2008-options, abi-n32_soft-options)
35465 (abi-n32_hard-options, abi-n32_soft_2008-options)
35466 (abi-n32_hard_2008-options, abi-n64_soft-options)
35467 (abi-n64_hard-options, abi-n64_soft_2008-options)
35468 (abi-n64_hard_2008-options): Likewise.
35469 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35470 (abi-64-v1-options, abi-64-v2-options): Likewise.
35471 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35472 (abi-64-options): Likewise.
35473 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35474 (abi-64-options): Likewise.
35475 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35476 (abi-64-options): Likewise.
35477 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35478 (abi-64-options, abi-x32-options): Likewise.
35480 2017-08-28 Florian Weimer <fweimer@redhat.com>
35482 Store supported list of SYS_* system calls in the source tree.
35483 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35484 (bits/syscall.h): Generate from list file.
35485 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35486 [$(subdir) = misc] (tests): Add tst-syscall-list.
35487 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35488 [$(subdir) = misc] (tst-syscall-list-macros.list)
35489 [$(subdir) = misc] (tst-syscall-list-nr.list)
35490 (tst-syscall-list-sys.list): Helper targets for new
35491 tst-syscall-list test.
35492 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35493 tst-syscall-list.sh.
35494 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35495 target. Do not include bits/syscall.d.
35496 [$(subdir) = misc] (generated): Do not update.
35497 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35498 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35499 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35500 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35502 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35504 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35505 (tst-cxa_atexit, tst-on_exit): Likewise.
35506 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35507 tst-cxa_atexit, and tst-on_exit.
35508 * stdlib/tst-atexit-common.c: New file.
35509 * stdlib/tst-atexit.c: New file.
35510 * stdlib/tst-at_quick_exit.c: New file.
35511 * stdlib/tst-cxa_atexit.c: New file.
35512 * stdlib/tst-on_exit.c: New file.
35514 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35516 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35517 * mach/stack_chk_fail_local.c: New file.
35518 * hurd/stack_chk_fail_local.c: New file.
35519 * mach/Machrules ($(interface-library)-routines): Add
35520 stack_chk_fail_local.
35521 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35522 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35523 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35524 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35525 * hurd/Makefile (CFLAGS-hurdstartup.o,
35526 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35528 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35530 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35531 (index_cpu_*, index_arch_*): Removed.
35533 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35535 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35536 Use uint64_t instead of unsigned long.
35538 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35540 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35541 [__HAVE_DISTINCT_FLOAT128].
35543 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35544 of <bits/math-finite.h>.
35545 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35546 inclusion of <bits/math-finite.h>.
35547 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35548 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35549 __NO_LONG_DOUBLE_MATH].
35550 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35551 (__MATH_REDIRCALL_2): Likewise.
35552 (__MATH_REDIRCALL_INTERNAL): Likewise.
35553 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35554 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35555 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35569 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35570 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35571 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35572 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35574 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35575 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35576 w_sqrtf_compat-ppc32.
35578 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35580 * math/math.h [defined __cplusplus] (issignaling): In the long
35581 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35582 is not defined. Call __issignaling, otherwise.
35584 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35586 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35587 syscall definitions and replace __builtin_expect with __glibc_likely.
35588 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35590 (SYSCALL_CANCELLABLE): Removedefinition
35591 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35593 (PSEUDO_END): Likewise.
35594 [IS_IN (libpthread)] (CENABLE): Likewise.
35595 [IS_IN (libpthread)] (CDISABLE): Likewise.
35596 [IS_IN (libc)] (CENABLE): Likewise.
35597 [IS_IN (libc)] (CENABLE): Likewise.
35598 [IS_IN (librt)] (CDISABLE): Likewise.
35599 [IS_IN (librt)] (CDISABLE): Likewise.
35600 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35601 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35603 (PSEUDO_END): Likewise.
35604 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35605 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35606 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35607 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35608 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35609 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35610 (CENABLE): Likewise.
35611 (CDISABLE): Likewise.
35612 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35613 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35615 (PSEUDO_END): Likewise.
35616 [IS_IN (libpthread)] (CENABLE): Likewise.
35617 [IS_IN (libpthread)] (CDISABLE): Likewise.
35618 [IS_IN (libc)] (CENABLE): Likewise.
35619 [IS_IN (libc)] (CENABLE): Likewise.
35620 [IS_IN (librt)] (CDISABLE): Likewise.
35621 [IS_IN (librt)] (CDISABLE): Likewise.
35622 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35623 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35625 (PSEUDO_END): Likewise.
35626 [IS_IN (libpthread)] (CENABLE): Likewise.
35627 [IS_IN (libpthread)] (CDISABLE): Likewise.
35628 [IS_IN (libc)] (CENABLE): Likewise.
35629 [IS_IN (libc)] (CENABLE): Likewise.
35630 [IS_IN (librt)] (CDISABLE): Likewise.
35631 [IS_IN (librt)] (CDISABLE): Likewise.
35632 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35633 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35635 (PSEUDO_END): Likewise.
35636 [IS_IN (libpthread)] (CENABLE): Likewise.
35637 [IS_IN (libpthread)] (CDISABLE): Likewise.
35638 [IS_IN (libc)] (CENABLE): Likewise.
35639 [IS_IN (libc)] (CENABLE): Likewise.
35640 [IS_IN (librt)] (CDISABLE): Likewise.
35641 [IS_IN (librt)] (CDISABLE): Likewise.
35642 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35643 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35645 (PSEUDO_END): Likewise.
35646 [IS_IN (libpthread)] (CENABLE): Likewise.
35647 [IS_IN (libpthread)] (CDISABLE): Likewise.
35648 [IS_IN (libc)] (CENABLE): Likewise.
35649 [IS_IN (libc)] (CENABLE): Likewise.
35650 [IS_IN (librt)] (CDISABLE): Likewise.
35651 [IS_IN (librt)] (CDISABLE): Likewise.
35652 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35653 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35655 (PSEUDO_END): Likewise.
35656 [IS_IN (libpthread)] (CENABLE): Likewise.
35657 [IS_IN (libpthread)] (CDISABLE): Likewise.
35658 [IS_IN (libc)] (CENABLE): Likewise.
35659 [IS_IN (libc)] (CENABLE): Likewise.
35660 [IS_IN (librt)] (CDISABLE): Likewise.
35661 [IS_IN (librt)] (CDISABLE): Likewise.
35662 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35663 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35665 (PSEUDO_END): Likewise.
35666 [IS_IN (libpthread)] (CENABLE): Likewise.
35667 [IS_IN (libpthread)] (CDISABLE): Likewise.
35668 [IS_IN (libc)] (CENABLE): Likewise.
35669 [IS_IN (libc)] (CENABLE): Likewise.
35670 [IS_IN (librt)] (CDISABLE): Likewise.
35671 [IS_IN (librt)] (CDISABLE): Likewise.
35672 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35673 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35675 (PSEUDO_END): Likewise.
35676 [IS_IN (libpthread)] (CENABLE): Likewise.
35677 [IS_IN (libpthread)] (CDISABLE): Likewise.
35678 [IS_IN (libc)] (CENABLE): Likewise.
35679 [IS_IN (libc)] (CENABLE): Likewise.
35680 [IS_IN (librt)] (CDISABLE): Likewise.
35681 [IS_IN (librt)] (CDISABLE): Likewise.
35682 (SINGLE_THREAD_P): Likewise.
35683 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35685 (PSEUDO_END): Likewise.
35686 [IS_IN (libpthread)] (CENABLE): Likewise.
35687 [IS_IN (libpthread)] (CDISABLE): Likewise.
35688 [IS_IN (libc)] (CENABLE): Likewise.
35689 [IS_IN (libc)] (CENABLE): Likewise.
35690 [IS_IN (librt)] (CDISABLE): Likewise.
35691 [IS_IN (librt)] (CDISABLE): Likewise.
35692 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35693 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35695 (PSEUDO_END): Likewise.
35696 [IS_IN (libpthread)] (CENABLE): Likewise.
35697 [IS_IN (libpthread)] (CDISABLE): Likewise.
35698 [IS_IN (libc)] (CENABLE): Likewise.
35699 [IS_IN (libc)] (CENABLE): Likewise.
35700 [IS_IN (librt)] (CDISABLE): Likewise.
35701 [IS_IN (librt)] (CDISABLE): Likewise.
35702 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35703 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35704 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35705 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35706 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35708 (PSEUDO_END): Likewise.
35709 [IS_IN (libpthread)] (CENABLE): Likewise.
35710 [IS_IN (libpthread)] (CDISABLE): Likewise.
35711 [IS_IN (libc)] (CENABLE): Likewise.
35712 [IS_IN (libc)] (CENABLE): Likewise.
35713 [IS_IN (librt)] (CDISABLE): Likewise.
35714 [IS_IN (librt)] (CDISABLE): Likewise.
35715 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35718 (PSEUDO_END): Likewise.
35719 [IS_IN (libpthread)] (CENABLE): Likewise.
35720 [IS_IN (libpthread)] (CDISABLE): Likewise.
35721 [IS_IN (libc)] (CENABLE): Likewise.
35722 [IS_IN (libc)] (CENABLE): Likewise.
35723 [IS_IN (librt)] (CDISABLE): Likewise.
35724 [IS_IN (librt)] (CDISABLE): Likewise.
35725 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35726 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35728 (PSEUDO_END): Likewise.
35729 [IS_IN (libpthread)] (CENABLE): Likewise.
35730 [IS_IN (libpthread)] (CDISABLE): Likewise.
35731 [IS_IN (libc)] (CENABLE): Likewise.
35732 [IS_IN (libc)] (CENABLE): Likewise.
35733 [IS_IN (librt)] (CDISABLE): Likewise.
35734 [IS_IN (librt)] (CDISABLE): Likewise.
35735 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35736 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35738 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35739 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35741 (PSEUDO_END): Likewise.
35742 [IS_IN (libpthread)] (CENABLE): Likewise.
35743 [IS_IN (libpthread)] (CDISABLE): Likewise.
35744 [IS_IN (libc)] (CENABLE): Likewise.
35745 [IS_IN (libc)] (CENABLE): Likewise.
35746 [IS_IN (librt)] (CDISABLE): Likewise.
35747 [IS_IN (librt)] (CDISABLE): Likewise.
35748 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35749 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35751 (PSEUDO_END): Likewise.
35752 [IS_IN (libpthread)] (CENABLE): Likewise.
35753 [IS_IN (libpthread)] (CDISABLE): Likewise.
35754 [IS_IN (libc)] (CENABLE): Likewise.
35755 [IS_IN (libc)] (CENABLE): Likewise.
35756 [IS_IN (librt)] (CDISABLE): Likewise.
35757 [IS_IN (librt)] (CDISABLE): Likewise.
35758 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35760 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35762 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35764 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35766 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35768 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35771 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35772 middle and outer with size_t instead of int. Repleace %d and
35773 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35774 "MAX (outer, nchars - 64)" to support unsigned outer and
35775 nchars. Also exit loop when outer == 0.
35777 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35779 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35780 * include/signal.h (__sigsuspend_nocancel): Likewise.
35781 * include/time.h (__nanosleep_nocancel): Likewise.
35782 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35783 * login/utmp_file.c: Include non cancellable syscall header.
35784 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35787 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35789 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35790 .byte sequences with AVX512F instructions.
35791 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35792 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35793 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35794 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35796 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35799 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35800 Steve Ellcey <sellcey@cavium.com>
35802 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35803 Use PTR_REG macro in cmp instruction.
35805 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35807 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35808 Change the return type of the ifunc resolver to match the return
35809 type of the target function.
35811 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35813 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35814 (preadv64): Likewise.
35815 (pwrite64(: Likewise.
35816 (pwritev64): Likewise.
35818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35819 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35820 (LOAD_ARGS_0): Likewise.
35821 (LOAD_ARGS_1): Likewise.
35822 (LOAD_ARGS_2): Likewise.
35823 (LOAD_ARGS_3): Likewise.
35824 (LOAD_ARGS_4): Likewise.
35825 (LOAD_ARGS_5): Likewise.
35826 (LOAD_ARGS_6): Likewise.
35827 (LOAD_REGS_0): Likewise.
35828 (LOAD_REGS_1): Likewise.
35829 (LOAD_REGS_2): Likewise.
35830 (LOAD_REGS_3): Likewise.
35831 (LOAD_REGS_4): Likewise.
35832 (LOAD_REGS_5): Likewise.
35833 (LOAD_REGS_6): Likewise.
35834 (ASM_ARGS_0): Likewise.
35835 (ASM_ARGS_1): Likewise.
35836 (ASM_ARGS_2): Likewise.
35837 (ASM_ARGS_3): Likewise.
35838 (ASM_ARGS_4): Likewise.
35839 (ASM_ARGS_5): Likewise.
35840 (ASM_ARGS_6): Likewise.
35841 (LOAD_ARGS_TYPES_1): Likewise.
35842 (LOAD_ARGS_TYPES_2): Likewise.
35843 (LOAD_ARGS_TYPES_3): Likewise.
35844 (LOAD_ARGS_TYPES_4): Likewise.
35845 (LOAD_ARGS_TYPES_5): Likewise.
35846 (LOAD_ARGS_TYPES_6): Likewise.
35847 (LOAD_REGS_TYPES_1): Likewise.
35848 (LOAD_REGS_TYPES_2): Likewise.
35849 (LOAD_REGS_TYPES_3): Likewise.
35850 (LOAD_REGS_TYPES_4): Likewise.
35851 (LOAD_REGS_TYPES_5): Likewise.
35852 (LOAD_REGS_TYPES_6): Likewise.
35853 (TYPEFY): New define.
35854 (ARGIFY): Likewise.
35855 (internal_syscall0): Likewise.
35856 (internal_syscall1): Likewise.
35857 (internal_syscall2): Likewise.
35858 (internal_syscall3): Likewise.
35859 (internal_syscall4): Likewise.
35860 (internal_syscall5): Likewise.
35861 (internal_syscall6): Likewise.
35862 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35863 (INTERNAL_SYSCALL_NCS): Remove define.
35864 (internal_syscall1): Add define.
35866 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35868 * math/w_remainder_compat.c: Remove duplicate inclusion of
35869 math-svid-compat.h.
35870 * math/w_remainderf_compat.c: Likewise.
35871 * math/w_remainderl_compat.c: Likewise.
35873 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35877 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35880 * math/tgmath.h (__floating_type): Simplify definitions.
35881 (__real_integer_type): New macro.
35882 (__complex_integer_type): Likewise.
35883 (__expr_is_real): Likewise.
35884 (__tgmath_real_type_sub): Update comment to describe handling of
35886 (__tgmath_complex_type_sub): New macro.
35887 (__tgmath_complex_type): Likewise.
35888 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35889 (__TGMATH_CF128): Use __expr_is_real.
35890 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35892 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35893 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35894 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35897 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35899 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35901 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35903 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35906 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35907 nanosleep_not_cancel with __nanosleep_nocancel.
35908 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35909 (__nanosleep_nocancel): New macro.
35910 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35912 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35914 (__nanosleep_nocancel): New prototype.
35916 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35917 pause_not_cancel with __pause_nocancel.
35918 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35919 (__pause_nocancel): New macro.
35920 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35922 (__pause_nocancel): New prototype.
35923 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35925 2017-08-22 Martin Sebor <msebor@redhat.com>
35927 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35928 to return a pointer to the same type as the target function.
35930 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35934 * include/printf.h (__printf_fphex): Add attribute_hidden.
35935 (__guess_grouping): New prototype.
35936 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35937 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35938 libc_hidden_proto and libc_hidden_def.
35939 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35940 (__vstrfmon_l): Remove the third argument passed to
35943 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35945 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35946 definition for issignaling that does not rely on __MATH_TG,
35947 since __MATH_TG uses __builtin_types_compatible_p, which is only
35948 available in C mode.
35949 (CFLAGS-test-math-issignaling.cc): New variable.
35950 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35951 * math/test-math-issignaling.cc: New test for C++ implementation
35952 of type-generic issignaling.
35953 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35954 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35955 options of test-math-issignaling on powerpc64le.
35957 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35959 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35961 (hidden_proto): Likewise.
35962 (hidden_tls_proto): Likewise.
35963 (__hidden_proto): Likewise.
35965 2017-08-22 Florian Weimer <fweimer@redhat.com>
35967 math: Statically link tests of internal functionality.
35968 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35970 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35971 (gmp-objs): Remove assignment.
35972 (atest-exp, atest-sincos, atest-exp2): Remove targets.
35974 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35977 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
35979 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
35981 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
35984 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
35985 variable definitions above inclusion of ../Rules.
35987 2017-08-21 Joseph Myers <joseph@codesourcery.com>
35989 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
35990 case calling __builtin_unreachable.
35992 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35994 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
35995 __waitpid_nocancel.
35996 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
35997 (__waitpid_nocancel): New macro.
35998 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36000 (__waitpid_nocancel): Replace macro with a function.
36001 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36004 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36006 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36007 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36009 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36010 __writev_nocancel_nostatus.
36011 (write_call_graph): Likewise.
36012 (write_bb_counts): Likewise.
36013 * resolv/herror.c (herror): Likewise.
36014 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36016 (__writev_nocancel_nostatus): New macro.
36017 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36019 (__writev_nocancel_nostatus): New function.
36021 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36024 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36026 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36028 (hidden_proto): Likewise.
36029 (hidden_tls_proto): Likewise.
36030 (__hidden_proto): Likewise.
36033 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36034 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36044 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36045 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36046 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36047 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36048 GLIBC_2.0 sqrtl symbol.
36050 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36051 [__USE_MISC] (_LIB_VERSION): Likewise.
36052 [__USE_MISC] (struct exception): Likewise.
36053 [__USE_MISC] (matherr): Likewise.
36054 [__USE_MISC] (DOMAIN): Likewise.
36055 [__USE_MISC] (SING): Likewise.
36056 [__USE_MISC] (OVERFLOW): Likewise.
36057 [__USE_MISC] (UNDERFLOW): Likewise.
36058 [__USE_MISC] (TLOSS): Likewise.
36059 [__USE_MISC] (PLOSS): Likewise.
36060 [__USE_MISC] (HUGE): Likewise.
36061 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36062 * math/math-svid-compat.h: New file.
36063 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36065 * include/math.h [!_ISOMAC] (__matherr): Remove.
36066 * manual/arith.texi (FP Exceptions): Do not document matherr.
36067 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36068 (tests-internal): New variable.
36069 (install-lib): Do not add libieee.a.
36070 (non-lib.a): Likewise.
36071 (extra-objs): Do not add libieee.a and ieee-math.o.
36072 (CPPFLAGS-s_lib_version.c): Remove variable.
36073 ($(objpfx)libieee.a): Remove rule.
36074 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36075 * math/ieee-math.c: Remove.
36076 * math/libm-test-support.c (matherr): Remove.
36077 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36078 and license notices. Include <math-svid-compat.h> and
36080 (matherr): Undefine as macro. Use compat_symbol_reference.
36081 (_LIB_VERSION): Likewise.
36082 * math/test-matherr-2.c: New file.
36083 * math/test-matherr-3.c: Likewise.
36084 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36086 (__kernel_standard_f): Likewise.
36087 (__kernel_standard_l): Likewise.
36088 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36089 <math_private.h>. Include <math-svid-compat.h>.
36090 (_LIB_VERSION): Undefine as macro.
36091 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36092 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36093 [LIBM_SVID_COMPAT], use compat_symbol.
36094 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36095 <math_private.h>. Include <math-svid-compat.h>.
36096 (matherr): Undefine as macro.
36097 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36099 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36100 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36101 compat_symbol_reference.
36102 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36103 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36104 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36105 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36106 (MATHERR_D): Remove declaration.
36107 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36108 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36109 [LIBM_BUILD] (pmatherrf): Likewise.
36110 [LIBM_BUILD] (pmatherr): Likewise.
36111 [LIBM_BUILD] (pmatherrl): Likewise.
36112 (DOMAIN): Likewise.
36114 (OVERFLOW): Likewise.
36115 (UNDERFLOW): Likewise.
36118 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36119 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36121 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36122 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36124 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36125 * math/w_acos_compat.c: Likewise.
36126 * math/w_acosf_compat.c: Likewise.
36127 * math/w_acosh_compat.c: Likewise.
36128 * math/w_acoshf_compat.c: Likewise.
36129 * math/w_acoshl_compat.c: Likewise.
36130 * math/w_acosl_compat.c: Likewise.
36131 * math/w_asin_compat.c: Likewise.
36132 * math/w_asinf_compat.c: Likewise.
36133 * math/w_asinl_compat.c: Likewise.
36134 * math/w_atan2_compat.c: Likewise.
36135 * math/w_atan2f_compat.c: Likewise.
36136 * math/w_atan2l_compat.c: Likewise.
36137 * math/w_atanh_compat.c: Likewise.
36138 * math/w_atanhf_compat.c: Likewise.
36139 * math/w_atanhl_compat.c: Likewise.
36140 * math/w_cosh_compat.c: Likewise.
36141 * math/w_coshf_compat.c: Likewise.
36142 * math/w_coshl_compat.c: Likewise.
36143 * math/w_exp10_compat.c: Likewise.
36144 * math/w_exp10f_compat.c: Likewise.
36145 * math/w_exp10l_compat.c: Likewise.
36146 * math/w_exp2_compat.c: Likewise.
36147 * math/w_exp2f_compat.c: Likewise.
36148 * math/w_exp2l_compat.c: Likewise.
36149 * math/w_fmod_compat.c: Likewise.
36150 * math/w_fmodf_compat.c: Likewise.
36151 * math/w_fmodl_compat.c: Likewise.
36152 * math/w_hypot_compat.c: Likewise.
36153 * math/w_hypotf_compat.c: Likewise.
36154 * math/w_hypotl_compat.c: Likewise.
36155 * math/w_j0_compat.c: Likewise.
36156 * math/w_j0f_compat.c: Likewise.
36157 * math/w_j0l_compat.c: Likewise.
36158 * math/w_j1_compat.c: Likewise.
36159 * math/w_j1f_compat.c: Likewise.
36160 * math/w_j1l_compat.c: Likewise.
36161 * math/w_jn_compat.c: Likewise.
36162 * math/w_jnf_compat.c: Likewise.
36163 * math/w_jnl_compat.c: Likewise.
36164 * math/w_lgamma_main.c: Likewise.
36165 * math/w_lgamma_r_compat.c: Likewise.
36166 * math/w_lgammaf_main.c: Likewise.
36167 * math/w_lgammaf_r_compat.c: Likewise.
36168 * math/w_lgammal_main.c: Likewise.
36169 * math/w_lgammal_r_compat.c: Likewise.
36170 * math/w_log10_compat.c: Likewise.
36171 * math/w_log10f_compat.c: Likewise.
36172 * math/w_log10l_compat.c: Likewise.
36173 * math/w_log2_compat.c: Likewise.
36174 * math/w_log2f_compat.c: Likewise.
36175 * math/w_log2l_compat.c: Likewise.
36176 * math/w_log_compat.c: Likewise.
36177 * math/w_logf_compat.c: Likewise.
36178 * math/w_logl_compat.c: Likewise.
36179 * math/w_pow_compat.c: Likewise.
36180 * math/w_powf_compat.c: Likewise.
36181 * math/w_powl_compat.c: Likewise.
36182 * math/w_remainder_compat.c: Likewise.
36183 * math/w_remainderf_compat.c: Likewise.
36184 * math/w_remainderl_compat.c: Likewise.
36185 * math/w_scalb_compat.c: Likewise.
36186 * math/w_scalbf_compat.c: Likewise.
36187 * math/w_scalbl_compat.c: Likewise.
36188 * math/w_sinh_compat.c: Likewise.
36189 * math/w_sinhf_compat.c: Likewise.
36190 * math/w_sinhl_compat.c: Likewise.
36191 * math/w_sqrt_compat.c: Likewise.
36192 * math/w_sqrtf_compat.c: Likewise.
36193 * math/w_sqrtl_compat.c: Likewise.
36194 * math/w_tgamma_compat.c: Likewise.
36195 * math/w_tgammaf_compat.c: Likewise.
36196 * math/w_tgammal_compat.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36198 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36199 * sysdeps/ieee754/k_standard.c: Likewise.
36200 * sysdeps/ieee754/k_standardf.c: Likewise.
36201 * sysdeps/ieee754/k_standardl.c: Likewise.
36202 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36203 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36204 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36205 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36206 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36207 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36208 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36209 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36210 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36215 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36216 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36217 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36218 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36220 2017-08-21 Florian Weimer <fweimer@redhat.com>
36223 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36224 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36225 Move before inclusion of ../Rules.
36227 2017-08-21 Florian Weimer <fweimer@redhat.com>
36230 * assert/assert.h (assert): Use static_cast (bool) for C++.
36231 Use the ternary operator in the warning branch for GNU C.
36232 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36233 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36234 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36235 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36236 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36238 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36241 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36242 (__syscall_clock_gettime): Add attribute_hidden.
36243 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36244 (__start_context): Likewise.
36246 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36248 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36250 (hidden_proto): Likewise.
36251 (hidden_tls_proto): Likewise.
36252 (__hidden_proto): Likewise.
36254 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36256 * include/libc-symbols.h (attribute_hidden): Enable hidden
36257 visibility in libc.a compiled with PIE.
36259 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36262 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36263 Add attribute_hidden.
36265 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36268 * Makerules (all-nonlib): Add $(others-extras).
36269 * catgets/Makefile (others-extras): New.
36270 * elf/Makefile (others-extras): Likewise.
36271 * nss/Makefile (others-extras): Likewise.
36273 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36276 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36277 * elf/dl-open.c: Include <libc-internal.h>.
36278 (__libc_multiple_libcs): Removed.
36279 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36281 * include/libc-internal.h (__libc_multiple_libcs): New.
36282 * misc/sbrk.c: Include <libc-internal.h>.
36283 (__libc_multiple_libcs): Removed.
36285 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36288 * grp/initgroups.c (__nss_group_database): Removed.
36289 (__nss_initgroups_database): Likewise.
36290 * nscd/gai.c (__nss_hosts_database): Likewise.
36291 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36292 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36293 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36294 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36295 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36296 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36298 * nss/nsswitch.c (__nss_database_custom): Define only if
36299 USE_NSCD is defined.
36300 (__nss_configure_lookup): Use __nss_database_custom only if
36301 USE_NSCD is defined.
36302 * nss/nsswitch.h (__nss_database_custom): Declare only if
36303 USE_NSCD is defined. Add attribute_hidden.
36304 (__nss_setent): Add attribute_hidden.
36305 (__nss_endent): Likewise.
36306 (__nss_getent_r): Likewise.
36307 (__nss_getent): Likewise.
36308 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36310 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36313 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36314 libc_hidden_proto and libc_hidden_def.
36316 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36319 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36320 Add libc_hidden_proto.
36321 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36322 Add libc_hidden_def.
36324 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36327 * gmon/Makefile (routines): Remove bb_init_func and
36329 (elide-routines.os): Removed.
36330 * gmon/bb_exit_func.c: Likewise.
36331 * gmon/bb_init_func.c: Likewise.
36332 * include/sys/gmon.h (__bb): Likewise.
36333 (__bb_init_func): Likewise.
36334 (__bb_exit_func): Likewise.
36335 * sysdeps/alpha/bb_init_func.S: Likewise.
36337 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36339 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36340 * include/setjmp.h (____longjmp_chk): Here. Add
36343 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36346 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36348 (__strspn_sse2): Likewise.
36350 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36352 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36353 (close_not_cancel_no_status): Likewise.
36354 (__close_nocancel): New macro.
36355 (__close_nocancel_nostatus): Likewise.
36356 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36358 (close_not_cancel): Likewise.
36359 (close_not_cancel_no_status): Likewise.
36360 (__close_nocancel): New prototype.
36361 (__close_nocancel_nostatus): New function.
36362 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36363 * catgets/open_catalog.c (__open_catalog): Replace
36364 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36365 * gmon/gmon.c (write_gmon): Likewise.
36366 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36367 * intl/loadmsgcat.c (close): Likewise.
36368 * io/ftw.c (open_dir_stream): Likewise.
36369 (ftw_startup): Likewise.
36370 * libio/fileops.c (_IO_file_open): Likewise.
36371 (_IO_file_close_mmap): Likewise.
36372 (_IO_file_close): Likewise.
36373 * libio/iopopen.c (_IO_dup2): Likewise.
36374 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36375 * locale/loadlocale.c (_nl_load_locale): Likewise.
36376 * login/utmp_file.c (pututline_file): Likewise.
36377 (endutent_file): Likewise.
36378 * misc/daemon.c (daemon): Likewise.
36379 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36380 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36381 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36382 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36383 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36384 * nscd/nscd_helper.c (open_socket): Likewise.
36385 (__nscd_open_socket): Likewise.
36386 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36387 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36388 (__nscd_innetgr): Likewise.
36389 * nss/nss_db/db-open.c (internal_setent): Likewise.
36390 * resolv/res-close.c (__res_iclose): Likewise.
36391 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36392 * sysdeps/posix/closedir.c (__closedir): Likewise.
36393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36394 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36395 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36396 (opendir_tail): Likewise.
36397 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36398 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36399 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36400 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36401 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36402 (gethostid): Likewise.
36403 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36404 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36407 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36408 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36409 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36411 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36412 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36413 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36415 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36416 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36418 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36420 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36421 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36422 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36425 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36426 (openat_not_cancel_3): Likewise.
36427 (openat64_not_cancel_3): Likewise).
36428 (openat_not_cancel_3): Likewise).
36429 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36431 (openat_not_cancel_3): Likewise.
36432 (openat64_not_cancel): Likewise.
36433 (openat64_not_cancel_3): Likewise.
36434 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36435 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36436 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36437 __open{64}_nocancel.
36438 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36439 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36440 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36442 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36445 * include/argz.h (__argz_create_sep): New function prototype.
36446 (__argz_append): Likewise.
36447 (__argz_add): Likewise.
36448 (__argz_add_sep): Likewise.
36449 (__argz_delete): Likewise.
36450 (__argz_insert): Likewise.
36451 (__argz_replace): Likewise.
36452 * string/argz.h (__argz_create_sep): Removed.
36453 (__argz_append): Likewise.
36454 (__argz_add): Likewise.
36455 (__argz_add_sep): Likewise.
36456 (__argz_delete): Likewise.
36457 (__argz_insert): Likewise.
36458 (__argz_replace): Likewise.
36460 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36462 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36463 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36464 (GNU_PROPERTY_STACK_SIZE): Likewie.
36465 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36466 (GNU_PROPERTY_LOPROC): Likewise.
36467 (GNU_PROPERTY_HIPROC): Likewise.
36468 (GNU_PROPERTY_LOUSER): Likewise.
36469 (GNU_PROPERTY_HIUSER): Likewise.
36470 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36471 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36472 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36473 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36474 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36475 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36476 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36477 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36478 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36479 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36480 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36481 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36482 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36483 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36484 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36485 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36486 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36487 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36488 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36489 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36490 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36491 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36492 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36494 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36496 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36499 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36502 * math/math.h (isinf): Check if in C or C++ mode before using
36503 __builtin_types_compatible_p, since this is a C mode feature.
36505 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36507 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36508 (__write_nocancel): New macro.
36509 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36510 Rewrite as a function prototype.
36511 (write_not_cancel): Remove macro.
36512 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36513 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36514 (write_gmon): Likewise.
36515 * libio/fileops.c (_IO_new_file_write): Likewise.
36516 * login/utmp_file.c (pututline_file): Likewise.
36517 (updwtmp_file): Likewise.
36518 * stdio-common/psiginfo.c (psiginfo): Likewise.
36519 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36520 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36521 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36523 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36526 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36527 (__read_nocancel): New macro.
36528 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36530 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36532 (__read_nocancel): New prototype.
36533 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36534 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36535 with __read_nocancel.
36536 * intl/loadmsgcat.c (read): Likewise.
36537 * libio/fileops.c (_IO_file_read): Likewise.
36538 * locale/loadlocale.c (_nl_load_locale): Likewise.
36539 * login/utmp_file.c (getutent_r_file): Likewise.
36540 (internal_getut_r): Likewise.
36541 (getutline_r_file): Likewise.
36542 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36543 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36544 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36545 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36547 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36548 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36549 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36551 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36553 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36555 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36557 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36559 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36562 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36563 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36566 2017-08-17 DJ Delorie <dj@redhat.com>
36568 * bug17079.c: Update to new test harness.
36569 * test-digits-dots.c: Likewise.
36570 * test-netdb.c: Likewise.
36571 * tst-field.c: Likewise.
36572 * tst-nss-getpwent.c: Likewise.
36573 * tst-nss-static.c: Likewise.
36574 * tst-nss-test1.c: Likewise.
36575 * tst-nss-test2.c: Likewise.
36576 * tst-nss-test3.c: Likewise.
36577 * tst-nss-test4.c: Likewise.
36578 * tst-nss-test5.c: Likewise.
36580 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36582 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36583 (open_not_cancel_2): Likewise.
36584 (open_nocancel): New macro.
36585 (open64_nocancel): Likewise.
36586 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36587 (open_not_cancel_2): Likewise.
36588 (__open_nocancel): New prototype.
36589 (__open64_nocancel): Likewise.
36590 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36592 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36593 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36594 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36595 with __open_nocancel.
36596 * csu/check_fds.c (check_one_fd): Likewise.
36597 * gmon/gmon.c (write_gmon): Likewise.
36598 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36599 * intl/loadmsgcat.c (open): Likewise.
36600 * libio/fileops.c (_IO_file_open): Likewise.
36601 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36602 * locale/loadlocale.c (_nl_load_locale): Likewise.
36603 * login/utmp_file.c (setutent_file): Likewise.
36604 * misc/daemon.c (daemon): Likewise.
36605 * nss/nss_db/db-open.c (internal_setent): Likewise.
36606 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36607 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36608 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36609 (__opendir): Likewise.
36610 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36611 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36612 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36613 (gethostid): Likewise.
36614 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36615 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36618 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36619 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36620 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36622 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36624 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36626 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36628 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36630 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36632 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36633 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36635 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36637 * benchtests/bench-skeleton.c (main): Add support for
36638 latency benchmarking.
36639 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36641 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36643 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36644 the startup object.
36646 2017-08-17 Florian Weimer <fweimer@redhat.com>
36648 * include/sys/socket.h (__opensock): Remove internal_function.
36649 * socket/opensock.c (__opensock): Likewise.
36650 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36652 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36655 * signal/bits/types/__sigval_t.h: New file.
36656 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36657 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36658 and define sigval_t using __sigval_t.
36659 * include/bits/types/__sigval_t.h: New file.
36660 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36661 instead of <bits/types/__sigval_t.h>.
36662 (struct sigevent): Use __sigval_t instead of sigval_t.
36663 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36664 instead of <bits/types/__sigval_t.h>.
36665 (siginfo_t): Use __sigval_t instead of sigval_t.
36666 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36667 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36668 (struct sigevent): Use __sigval_t instead of sigval_t.
36669 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36670 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36671 (siginfo_t): Use __sigval_t instead of sigval_t.
36672 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36674 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36676 * NEWS: Remove "[Add new features here]" for 2.27.
36678 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36680 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36683 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36685 * NEWS: Mention x86-64 FMA optimization.
36687 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36690 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36692 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36693 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36694 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36696 2017-08-16 Andreas Schwab <schwab@suse.de>
36700 * elf/ldd.bash.in: Never run file directly.
36702 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36705 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36706 (L(SP_INF_0)): Likewise.
36708 2017-08-15 Florian Weimer <fweimer@redhat.com>
36710 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36713 2017-08-15 Florian Weimer <fweimer@redhat.com>
36715 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36716 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36717 BROKEN_THREAD_SIGNALS code.
36718 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36719 request_list): Remove caller_pid member used for
36720 BROKEN_THREAD_SIGNALS.
36721 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36722 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36723 Remove BROKEN_THREAD_SIGNALS support.
36724 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36725 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36727 2017-08-15 Florian Weimer <fweimer@redhat.com>
36729 * gmon/Makefile (tests): Add tst-gmon.
36730 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36732 (tests-special): Add tst-gmon-prof.out.
36733 (tst-gmon.out): Depend on clean-tst-gmon-data.
36734 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36735 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36736 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36738 * aclocal.m4 (GPROF): Set and substitute.
36739 * config.amke.in (GPROF): Set.
36740 * configure: Regenerate.
36742 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36744 * elf/elf.h A (NT_PPC_TAR): New macro.
36745 (NT_PPC_PPR): Likewise.
36746 (NT_PPC_DSCR): Likewise.
36747 (NT_PPC_EBB): Likewise.
36748 (NT_PPC_PMU): Likewise.
36749 (NT_PPC_TM_CGPR): Likewise.
36750 (NT_PPC_TM_CFPR): Likewise.
36751 (NT_PPC_TM_CVMX): Likewise.
36752 (NT_PPC_TM_CVSX): Likewise.
36753 (NT_PPC_TM_SPR): Likewise.
36754 (NT_PPC_TM_CTAR): Likewise.
36755 (NT_PPC_TM_CPPR): Likewise.
36756 (NT_PPC_TM_CDSCR): Likewise.
36758 2017-08-15 Florian Weimer <fweimer@redhat.com>
36760 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36761 regparm (2) instead of internal_function.
36762 (_MCOUNT_DECL): Adjust.
36764 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36766 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36767 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36769 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36771 * conform/data/sys/wait.h-data (si_value): Do not expect for
36774 2017-08-14 Florian Weimer <fweimer@redhat.com>
36777 NSS: Create stubs for accidentally exported lookup functions.
36778 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36779 Remove declaration.
36780 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36781 (ether_hostton): Call __nss_ethers_lookup2 instead.
36782 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36783 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36784 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36785 (setup): Call __nss_netgroup_lookup2 instead.
36786 * nss/Makefile (routines): Add compat-lookup.
36787 * nss/Versions (GLIBC_2.27): Add symbol version.
36788 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36789 (DB_COMPAT_FCT): Remove.
36790 * nss/compat-lookup.c: New file.
36791 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36792 from databases.def.
36793 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36794 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36795 (netname2user): Call __nss_publickey_lookup2 instead.
36796 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36797 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36800 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36801 Sergei Trofimovich <slyfox@inbox.ru>
36804 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36805 Rename to MMAP2_PAGE_UNIT.
36806 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36807 __OFF_T_MATCHES_OFF64_T is not defined.
36808 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36810 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36811 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36813 2017-08-14 Florian Weimer <fweimer@redhat.com>
36815 i386: Do not set internal_function.
36816 * config.h.in (USE_REGPARMS, internal_function): Remove.
36817 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36818 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36820 2017-08-14 Florian Weimer <fweimer@redhat.com>
36822 * elf/dl-init.c (_dl_init): Remove internal_function.
36823 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36824 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36826 2017-08-14 Florian Weimer <fweimer@redhat.com>
36828 * elf/rtld.c (_dl_start): Remove internal_function.
36829 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36832 2017-08-14 Florian Weimer <fweimer@redhat.com>
36834 * elf/dl-fini.c (_dl_fini): Remove internal_function
36835 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36837 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36839 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36840 (bit_cpu_SHSTK): Likewise.
36841 (index_cpu_IBT): Likewise.
36842 (index_cpu_SHSTK): Likewise.
36843 (reg_IBT): Likewise.
36844 (reg_SHSTK): Likewise.
36845 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36846 Handle index_cpu_IBT and index_cpu_SHSTK.
36848 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36851 * po/fr.po: Fix spelling mistake.
36853 2017-08-13 Florian Weimer <fweimer@redhat.com>
36855 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36856 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36857 (_dl_catch_error, _dl_receive_error): Likewise.
36858 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36859 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36860 (_dl_deallocate_tls): Likewise.
36861 * include/dlfcn.h (_dl_addr): Likewise.
36862 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36863 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36864 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36867 2017-08-13 Florian Weimer <fweimer@redhat.com>
36869 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36870 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36872 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36874 2017-08-13 Florian Weimer <fweimer@redhat.com>
36876 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36878 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36879 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36880 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36881 internal_function from _dl_make_stack_executable_hook member.
36882 (_dl_make_stack_executable): Remove internal_function.
36883 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36885 * sysdeps/unix/sysv/linux/dl-execstack.c
36886 (_dl_make_stack_executable): Likewise.
36888 2017-08-13 Florian Weimer <fweimer@redhat.com>
36890 * sysdeps/unix/sysv/linux/netlinkaccess.h
36891 (__netlink_assert_response): Remove internal_function.
36892 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36893 (__netlink_assert_response): Likewise.
36895 2017-08-13 Florian Weimer <fweimer@redhat.com>
36897 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36899 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36901 2017-08-13 Florian Weimer <fweimer@redhat.com>
36903 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36905 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36906 * inet/netgroup.h (__internal_setnetgrent)
36907 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36908 * inet/getnetgrent_r.c (__internal_setnetgrent)
36909 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36910 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36911 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36912 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36913 * nss/nsswitch.h (db_lookup_function): Likewise.
36915 2017-08-13 Florian Weimer <fweimer@redhat.com>
36917 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36918 Remove internal_function.
36919 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36920 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36921 message argument on the stack.
36922 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36925 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36927 Adapt test case data to the changes in the thousands
36931 * localedata/tst-langinfo.sh: Adapt test case data.
36932 * stdlib/tst-strfmon_l.c: Likewise.
36933 * stdlib/tst-strtod4.c: Likewise.
36934 * stdlib/tst-strtod5i.c: Likewise.
36936 2017-08-11 Florian Weimer <fweimer@redhat.com>
36939 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36940 Suppress pedantic warning resulting from statement expression.
36941 (__ASSERT_FUNCTION): Add missing __extension__.
36943 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36945 * benchtests/bench-memmove-large.c: Print output in JSON
36947 * benchtests/bench-memmove.c: Likewise.
36949 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36950 * benchtests/bench-memchr.c (do_one_test): Likewise.
36951 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36952 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36953 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36954 * benchtests/bench-memmove.c (do_one_test): Likewise.
36955 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36956 * benchtests/bench-memset.c (do_one_test): Likewise.
36957 * benchtests/bench-string.h (test_init): Remove memsets.
36959 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36962 (Computing the Width of an Integer Data Type): Rename section to
36963 "Width of an Integer Type". Remove inaccurate statement regarding
36964 lack of C language facilities for determining width of integer
36965 types, and reorder content to improve flow and context of
36968 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36970 * lang.texi (va_copy): Change standard from ISO to C99.
36971 (__va_copy): Add standard and header annotation.
36972 Update description for clarity of origins and current use.
36974 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36977 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
36978 xssqrtqp requires operands to be in Vector Registers
36979 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
36980 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
36981 (__ieee754_sqrtf128): Likewise.
36983 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
36985 * sysdeps/aarch64/memcmp.S (memcmp):
36986 Rewrite of optimized memcmp.
36988 2017-08-10 Florian Weimer <fweimer@redhat.com>
36990 Introduce ld.so exceptions.
36991 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
36992 (_dl_exception_create, _dl_exception_create_format)
36993 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
36994 (_dl_catch_exception): Declare.
36995 (_dl_catch_error): Update comment.
36996 * elf/dl-error-skeleton.c (struct catch): Replace objname,
36997 errstring, malloced members with exception member.
36998 (_dl_out_of_memory): Remove.
36999 (fatal_error): New function, extracted from _dl_signal_error.
37000 (_dl_signal_exception, _dl_signal_cexception): New functions.
37001 (_dl_signal_error): Call _dl_exception_create to allocate an
37003 (_dl_catch_exception): New function, based on _dl_catch_error.
37004 (_dl_catch_error): Implement using _dl_catch_exception.
37005 * elf/dl-exception.c: New file.
37006 * elf/Makefile (dl-routines): Add dl-exception.
37007 (elide-routines.os): Likewise.
37008 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37009 _dl_exception_create_format, _dl_exception_free.
37010 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37011 _dl_signal_exception.
37012 * elf/dl-lookup.c (make_string): Remove.
37013 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37014 _dl_signal_cexception, _dl_exception_free.
37015 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37016 _dl_signal_exception.
37017 * elf/dl-sym.c (do_sym): Likewise.
37018 * elf/dl-version.c (make_string): Remove.
37019 (match_symbol): Use _dl_exception_create_format,
37020 _dl_signal_cexception, _dl_exception_free.
37021 (_dl_check_map_versions): Likewise.
37022 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37023 _dl_catch_exception.
37024 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37025 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37026 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37027 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37028 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37029 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37030 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37031 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37033 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37040 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37041 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37042 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37044 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37046 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37048 2017-08-10 Florian Weimer <fweimer@redhat.com>
37050 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37051 attribute_hidden, internal_function.
37052 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37055 2017-08-10 Florian Weimer <fweimer@redhat.com>
37057 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37058 function which calls __builtin_unreachable.
37060 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37062 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37063 Indian monetary formatting
37064 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37067 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37069 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37070 Fix typo in comment.
37073 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37074 PTRACE_SEIZE_DEVEL): Remove.
37075 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37076 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37077 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37078 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37079 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37081 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37083 * posix/bits/types.h (__qaddr_t): Remove.
37086 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37087 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37089 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37090 (ucontext_t): Use __ctx with uc_flags.
37091 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37092 (__ctxt): Likewise.
37093 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37095 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37096 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37098 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37099 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37101 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37103 (ucontext_t): Use __ctx with uc_flags.
37104 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37105 (ucontext_t): Use __ctx with uc_flags.
37106 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37107 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37108 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37109 (ucontext_t): Use __ctx with uc_flags.
37110 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37111 undefine further down.
37112 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37114 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37115 undefine further down.
37116 (ucontext_t): Use __ctx with uc_flags.
37117 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37118 undefine further down.
37119 (ucontext_t): Use __ctx with uc_flags.
37120 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37121 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37122 Rename uc_pad to __glibc_reserved1.
37123 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37124 undefine further down.
37125 (ucontext_t): Use __ctx with uc_flags.
37126 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37128 (ucontext_t): Use __ctx with uc_flags.
37129 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37130 __ctx with uc_flags.
37131 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37132 (ucontext_t): Use __ctx with uc_flags.
37133 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37134 __ctx with uc_flags.
37136 2017-08-09 Florian Weimer <fweimer@redhat.com>
37139 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37140 before early return.
37142 2017-08-09 Andreas Schwab <schwab@suse.de>
37145 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37149 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37150 tst-compat-forwarder.
37151 (modules-names): Add tst-compat-forwarder-mod.
37152 ($(objpfx)tst-compat-forwarder): Depend on
37153 $(objpfx)tst-compat-forwarder-mod.so.
37154 * nptl/tst-compat-forwarder.c: New file.
37155 * nptl/tst-compat-forwarder-mod.c: New file.
37157 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37159 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37162 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37163 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37165 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37167 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37168 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37169 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37170 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37172 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37175 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37178 * manual/setjmp.texi (getcontex): Document uc_stack value
37179 compatibility differences.
37181 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37183 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37184 (old_malloc_hook): Likewise.
37185 (old_memalign_hook): Likewise.
37186 (old_realloc_hook): Likewise.
37187 (struct hdr): Likewise.
37189 (freehook): Likewise.
37190 (mallochook): Likewise.
37191 (memalignhook): Likewise.
37192 (reallochook): Likewise.
37193 (mprobe): Likewise.
37194 * malloc/mtrace.c (mallwatch): Likewise.
37195 (tr_old_free_hook): Likewise.
37196 (tr_old_malloc_hook): Likewise.
37197 (tr_old_realloc_hook): Likewise.
37198 (tr_old_memalign_hook): Likewise.
37199 (tr_where): Likewise.
37200 (lock_and_info): Likewise.
37201 (tr_freehook): Likewise.
37202 (tr_mallochook): Likewise.
37203 (tr_reallochook): Likewise.
37204 (tr_memalignhook): Likewise.
37205 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37206 * misc/mmap.c (__mmap): Likewise.
37207 * misc/mmap64.c (__mmap64): Likewise.
37208 * misc/mprotect.c (__mprotect): Likewise.
37209 * misc/msync.c (msync): Likewise.
37210 * misc/munmap.c (__munmap): Likewise.
37211 * posix/posix_madvise.c (posix_madvise): Likewise.
37212 * socket/send.c (__send): Likewise.
37213 * socket/sendto.c (__sendto): Likewise.
37214 * socket/setsockopt.c (__setsockopt): Likewise.
37215 * string/memcmp.c (__ptr_t): Remove macro.
37216 (MEMCMP): Use void * instead of ptr_t.
37217 * string/memrchr.c (__ptr_t): Remove macro.
37218 (__memrchr): Use void * instead of ptr_t.
37219 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37220 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37221 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37222 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37223 * sysdeps/mach/msync.c (msync): Likewise.
37224 * sysdeps/mach/munmap.c (__munmap): Likewise.
37225 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37227 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37228 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37229 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37230 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37231 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37232 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37233 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37234 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37236 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37237 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37238 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37239 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37240 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37241 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37242 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37243 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37244 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37246 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37247 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37248 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37249 (MEMCMP): Use void * instead of ptr_t.
37250 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37251 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37253 2017-08-08 Florian Weimer <fweimer@redhat.com>
37255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37258 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37261 * csu/libc-tls.c: Include <startup.h> first.
37262 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37263 * elf/dl-tunables.c: Include <startup.h> first.
37264 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37265 * sysdeps/generic/startup.h: New file.
37266 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37267 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37268 (I386_USE_SYSENTER): New. Defined to 0.
37270 2017-08-08 Andreas Schwab <schwab@suse.de>
37273 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37274 * nptl/pt-system.c (system): Likewise.
37276 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37279 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37281 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37282 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37283 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37284 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37285 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37286 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37287 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37289 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37292 * bits/sigaction.h (struct sigaction): Define sa_handler and
37293 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37294 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37295 [__USE_XOPEN_EXTENDED].
37296 (SA_RESTART): Likewise.
37297 (SA_NODEFER): Likewise.
37298 (SA_RESETHAND): Likewise.
37299 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37300 (struct sigaction): Define sa_handler and sa_sigaction using union
37301 also for [__USE_XOPEN_EXTENDED].
37302 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37303 [__USE_XOPEN_EXTENDED].
37304 (SA_RESTART): Likewise.
37305 (SA_NODEFER): Likewise.
37306 (SA_RESETHAND): Likewise.
37307 * sysdeps/unix/sysv/linux/bits/sigaction.h
37308 (struct sigaction): Define sa_handler and sa_sigaction using union
37309 also for [__USE_XOPEN_EXTENDED].
37310 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37311 [__USE_XOPEN_EXTENDED].
37312 (SA_RESTART): Likewise.
37313 (SA_NODEFER): Likewise.
37314 (SA_RESETHAND): Likewise.
37315 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37316 (struct sigaction): Define sa_handler and sa_sigaction using union
37317 also for [__USE_XOPEN_EXTENDED].
37318 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37319 [__USE_XOPEN_EXTENDED].
37320 (SA_RESTART): Likewise.
37321 (SA_NODEFER): Likewise.
37322 (SA_RESETHAND): Likewise.
37323 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37324 (struct sigaction): Define sa_handler and sa_sigaction using union
37325 also for [__USE_XOPEN_EXTENDED].
37326 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37327 [__USE_XOPEN_EXTENDED].
37328 (SA_RESTART): Likewise.
37329 (SA_NODEFER): Likewise.
37330 (SA_RESETHAND): Likewise.
37331 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37332 (struct sigaction): Define sa_handler and sa_sigaction using union
37333 also for [__USE_XOPEN_EXTENDED].
37334 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37335 [__USE_XOPEN_EXTENDED].
37336 (SA_RESTART): Likewise.
37337 (SA_NODEFER): Likewise.
37338 (SA_RESETHAND): Likewise.
37339 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37340 (struct sigaction): Define sa_handler and sa_sigaction using union
37341 also for [__USE_XOPEN_EXTENDED].
37342 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37343 [__USE_XOPEN_EXTENDED].
37344 (SA_RESTART): Likewise.
37345 (SA_NODEFER): Likewise.
37346 (SA_RESETHAND): Likewise.
37347 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37348 (struct sigaction): Define sa_handler and sa_sigaction using union
37349 also for [__USE_XOPEN_EXTENDED].
37350 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37351 [__USE_XOPEN_EXTENDED].
37352 (SA_RESTART): Likewise.
37353 (SA_NODEFER): Likewise. Define directly rather than as alias.
37354 (SA_RESETHAND): Likewise.
37355 (SA_INTERRUPT): Define only for [__USE_MISC].
37356 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37357 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37359 (SA_STACK): Define only for [__USE_MISC].
37360 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37361 (struct sigaction): Define sa_handler and sa_sigaction using union
37362 also for [__USE_XOPEN_EXTENDED].
37363 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37364 [__USE_XOPEN_EXTENDED].
37365 (SA_RESTART): Likewise.
37366 (SA_NODEFER): Likewise.
37367 (SA_RESETHAND): Likewise.
37368 (SA_NOPTRACE): Define only for [__USE_MISC].
37370 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37371 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37372 (struct catalog_info): Likewise.
37373 * inet/htontest.c (lo): Likewise.
37375 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37376 * inet/inet_net.c (inet_network): Likewise.
37377 * inet/inet_netof.c (inet_netof): Likewise.
37378 * inet/rcmd.c (__ivaliduser): Likewise.
37379 (iruserok): Likewise.
37380 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37381 * locale/programs/locale-spec.c (locale_special): Likewise.
37382 * nis/nis_findserv.c (struct findserv_req): Likewise.
37383 (__nis_findfastest_with_timeout): Likewise.
37384 * nss/test-netdb.c (test_network): Likewise.
37385 * resolv/inet_neta.c (inet_neta): Likewise.
37386 * resolv/ns_date.c (ns_datetosecs): Likewise.
37387 (SECS_PER_DAY): Likewise.
37388 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37390 * resolv/res_comp.c (__putlong): Likewise.
37391 (__putshort): Likewise.
37392 (_getlong): Likewise.
37393 (_getshort): Likewise.
37394 * resolv/res_debug.c (p_time): Likewise.
37395 (precsize_ntoa): Likewise.
37396 (precsize_aton): Likewise.
37397 (latlon2ul): Likewise.
37398 (loc_aton): Likewise.
37399 (loc_ntoa): Likewise.
37400 * resolv/res_hconf.c (struct netaddr): Likewise.
37401 (_res_hconf_reorder_addrs): Likewise.
37402 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37403 (clnttcp_control): Likewise.
37404 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37405 (clntudp_control): Likewise.
37406 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37407 (clntunix_control): Likewise.
37408 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37409 * sunrpc/rpc/auth.h (union des_block): Likewise.
37410 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37411 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37412 (xdrrec_create): Likewise.
37413 (xdrrec_endofrecord): Likewise.
37414 (flush_out): Likewise.
37415 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37416 (xdrstdio_putlong): Likewise.
37417 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37420 * misc/sys/cdefs.h (__long_double_t): Remove.
37421 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37422 instead of __long_double_t,
37423 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37425 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37427 * benchtests/scripts/compare_strings.py: Avoid display error when
37428 running on a text terminal.
37430 * benchtests/scripts/compare_strings.py (main): Add an
37431 optional -base option.
37432 (process_results): New argument base_func.
37434 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37436 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37437 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37439 2017-08-07 Andreas Schwab <schwab@suse.de>
37441 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37442 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37443 * intl/Makefile ($(objpfx)tst-gettext.out)
37444 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37445 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37446 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37447 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37448 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37449 * posix/Makefile ($(objpfx)globtest.out)
37450 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37451 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37452 ($(objpfx)tst-printf.out): Likewise.
37453 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37454 ($(objpfx)tst-setcontext3.out): Likewise.
37456 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37458 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37459 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37460 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37461 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37462 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37464 (CFLAGS-doasin-fma.c): New.
37465 (CFLAGS-dosincos-fma.c): Likewise.
37466 (CFLAGS-e_asin-fma.c): Likewise.
37467 (CFLAGS-e_atan2-fma.c): Likewise.
37468 (CFLAGS-e_exp-fma.c): Likewise.
37469 (CFLAGS-e_log-fma.c): Likewise.
37470 (CFLAGS-e_pow-fma.c): Likewise.
37471 (CFLAGS-halfulp-fma.c): Likewise.
37472 (CFLAGS-mpa-fma.c): Likewise.
37473 (CFLAGS-mpatan-fma.c): Likewise.
37474 (CFLAGS-mpatan2-fma.c): Likewise.
37475 (CFLAGS-mpexp-fma.c): Likewise.
37476 (CFLAGS-mplog-fma.c): Likewise.
37477 (CFLAGS-mpsqrt-fma.c): Likewise.
37478 (CFLAGS-mptan-fma.c): Likewise.
37479 (CFLAGS-s_atan-fma.c): Likewise.
37480 (CFLAGS-sincos32-fma.c): Likewise.
37481 (CFLAGS-slowexp-fma.c): Likewise.
37482 (CFLAGS-slowpow-fma.c): Likewise.
37483 (CFLAGS-s_sin-fma.c): Likewise.
37484 (CFLAGS-s_tan-fma.c): Likewise.
37485 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37486 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37487 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37488 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37489 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37490 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37491 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37492 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37493 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37494 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37495 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37496 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37497 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37498 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37499 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37500 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37501 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37502 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37503 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37504 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37505 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37508 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37509 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37510 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37511 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37512 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37513 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37514 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37515 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37517 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37519 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37520 (min_of_type_f): New macro.
37521 (min_of_type_): Likewise.
37522 (min_of_type_l): Likewise.
37523 (min_of_type_f128): Likewise.
37524 (min_of_type): Define using __MATH_TG and taking an expression
37526 (math_check_force_underflow): Pass expression instead of type to
37528 (math_check_force_underflow_nonneg): Likewise.
37530 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37532 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37533 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37534 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37536 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37539 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37540 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37541 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37542 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37543 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37544 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37545 memmove_chk-nonshared and memset_chk-nonshared
37546 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37547 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37548 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37549 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37550 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37551 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37552 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37553 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37554 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37555 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37556 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37557 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37559 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37561 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37563 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37564 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37565 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37566 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37567 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37568 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37569 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37570 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37571 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37572 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37573 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37574 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37575 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37576 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37577 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37578 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37579 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37580 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37581 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37582 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37583 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37584 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37585 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37586 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37587 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37588 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37589 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37590 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37591 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37592 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37593 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37594 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37595 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37596 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37597 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37598 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37599 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37600 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37601 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37602 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37603 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37604 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37605 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37606 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37607 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37608 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37609 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37610 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37611 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37612 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37613 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37614 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37615 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37616 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37617 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37618 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37619 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37620 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37621 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37622 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37623 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37624 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37625 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37626 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37627 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37628 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37629 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37630 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37631 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37632 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37633 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37634 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37635 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37636 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37637 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37638 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37639 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37640 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37641 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37642 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37643 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37644 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37645 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37646 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37647 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37648 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37649 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37650 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37651 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37652 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37653 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37655 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37657 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37658 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37659 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37660 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37661 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37662 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37663 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37664 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37665 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37666 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37667 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37668 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37669 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37670 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37671 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37672 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37673 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37674 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37675 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37676 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37677 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37678 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37679 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37680 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37681 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37682 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37683 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37684 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37685 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37686 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37687 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37688 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37689 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37690 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37691 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37692 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37693 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37694 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37695 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37697 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37698 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37699 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37700 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37701 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37702 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37703 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37704 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37705 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37706 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37707 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37708 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37709 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37711 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37712 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37713 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37714 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37715 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37717 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37718 Don't include <sysdep.h> nor <init-arch.h>.
37719 (_ZGVbN2v_cos): Removed.
37720 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37722 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37723 Don't include <sysdep.h> nor <init-arch.h>.
37724 (_ZGVdN4v_cos): Removed.
37725 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37727 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37728 Don't include <sysdep.h> nor <init-arch.h>.
37729 (_ZGVeN8v_cos): Removed.
37730 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37732 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37733 Don't include <sysdep.h> nor <init-arch.h>.
37734 (_ZGVbN2v_exp): Removed.
37735 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37737 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37738 Don't include <sysdep.h> nor <init-arch.h>.
37739 (_ZGVdN4v_exp): Removed.
37740 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37742 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37743 Don't include <sysdep.h> nor <init-arch.h>.
37744 (_ZGVeN8v_exp): Removed.
37745 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37747 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37748 Don't include <sysdep.h> nor <init-arch.h>.
37749 (_ZGVbN2v_log): Removed.
37750 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37752 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37753 Don't include <sysdep.h> nor <init-arch.h>.
37754 (_ZGVdN4v_log): Removed.
37755 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37757 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37758 Don't include <sysdep.h> nor <init-arch.h>.
37759 (_ZGVeN8v_log): Removed.
37760 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37762 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37763 Don't include <sysdep.h> nor <init-arch.h>.
37764 (_ZGVbN2vv_pow): Removed.
37765 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37767 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37768 Don't include <sysdep.h> nor <init-arch.h>.
37769 (_ZGVdN4vv_pow): Removed.
37770 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37772 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37773 Don't include <sysdep.h> nor <init-arch.h>.
37774 (_ZGVeN8vv_pow): Removed.
37775 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37777 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37778 Don't include <sysdep.h> nor <init-arch.h>.
37779 (_ZGVbN2v_sin): Removed.
37780 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37782 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37783 Don't include <sysdep.h> nor <init-arch.h>.
37784 (_ZGVbN4v_sin): Removed.
37785 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37787 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37788 Don't include <sysdep.h> nor <init-arch.h>.
37789 (_ZGVbN8v_sin): Removed.
37790 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37792 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37793 Don't include <sysdep.h> nor <init-arch.h>.
37794 (_ZGVbN2vvv_sincos): Removed.
37795 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37797 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37798 Don't include <sysdep.h> nor <init-arch.h>.
37799 (_ZGVdN4vvv_sincos): Removed.
37800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37802 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37803 Don't include <sysdep.h> nor <init-arch.h>.
37804 (_ZGVeN8vvv_sincos): Removed.
37805 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37807 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37808 Don't include <sysdep.h> nor <init-arch.h>.
37809 (_ZGVeN16v_cosf): Removed.
37810 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37812 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37813 Don't include <sysdep.h> nor <init-arch.h>.
37814 (_ZGVbN4v_cosf): Removed.
37815 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37817 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37818 Don't include <sysdep.h> nor <init-arch.h>.
37819 (_ZGVdN8v_cosf): Removed.
37820 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37822 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37823 Don't include <sysdep.h> nor <init-arch.h>.
37824 (_ZGVeN16v_expf): Removed.
37825 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37827 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37828 Don't include <sysdep.h> nor <init-arch.h>.
37829 (_ZGVbN4v_expf): Removed.
37830 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37832 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37833 Don't include <sysdep.h> nor <init-arch.h>.
37834 (_ZGVdN8v_expf): Removed.
37835 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37837 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37838 Don't include <sysdep.h> nor <init-arch.h>.
37839 (_ZGVeN16v_logf): Removed.
37840 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37842 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37843 Don't include <sysdep.h> nor <init-arch.h>.
37844 (_ZGVbN4v_logf): Removed.
37845 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37847 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37848 Don't include <sysdep.h> nor <init-arch.h>.
37849 (_ZGVdN8v_logf): Removed.
37850 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37852 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37853 Don't include <sysdep.h> nor <init-arch.h>.
37854 (_ZGVeN16vv_powf): Removed.
37855 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37857 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37858 Don't include <sysdep.h> nor <init-arch.h>.
37859 (_ZGVbN4vv_powf): Removed.
37860 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37862 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37863 Don't include <sysdep.h> nor <init-arch.h>.
37864 (_ZGVdN8vv_powf): Removed.
37865 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37867 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37868 Don't include <sysdep.h> nor <init-arch.h>.
37869 (_ZGVeN16vvv_sincosf): Removed.
37870 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37872 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37873 Don't include <sysdep.h> nor <init-arch.h>.
37874 (_ZGVbN4vvv_sincosf): Removed.
37875 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37877 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37878 Don't include <sysdep.h> nor <init-arch.h>.
37879 (_ZGVdN8vvv_sincosf): Removed.
37880 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37882 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37883 Don't include <sysdep.h> nor <init-arch.h>.
37884 (_ZGVeN16v_sinf): Removed.
37885 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37887 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37888 Don't include <sysdep.h> nor <init-arch.h>.
37889 (_ZGVbN4v_sinf): Removed.
37890 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37892 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37893 Don't include <sysdep.h> nor <init-arch.h>.
37894 (_ZGVdN8v_sinf): Removed.
37896 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37898 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37899 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37900 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37901 s_rint-sse4_1 and s_rintf-sse4_1.
37902 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37903 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37904 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37905 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37906 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37907 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37908 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37909 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37910 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37911 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37912 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37913 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37915 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37916 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37917 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37918 (__ceilf): Removed.
37919 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37920 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37921 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37922 (__floor): Removed.
37923 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37924 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37925 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37926 (__floorf): Removed.
37927 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37928 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37929 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37930 (__nearbyint): Removed.
37931 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37932 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37933 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37934 (__nearbyintf): Removed.
37935 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37936 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37937 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37939 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37940 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37941 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37942 (__rintf): Removed.
37944 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37946 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37947 SHARED. Avoid dynamic relocation against main in static PIE.
37949 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37952 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37953 (LDFLAGS-tst-prelink): Likewise.
37955 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37957 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37958 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37959 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37960 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37961 (INTERNAL_SYSCALL_NCS): Likewise.
37962 (LOADARGS_1): Likewise.
37963 (LOADARGS_5): Likewise.
37964 (RESTOREARGS_1): Likewise.
37965 (RESTOREARGS_5): Likewise.
37967 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37969 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37970 (MEMPCPY_SYMBOL): Likewise.
37971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37972 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
37973 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
37975 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37976 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
37978 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
37979 (__hidden_ver1): Don't use in libc.a.
37980 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
37981 (__mempcpy): Don't create a weak alias in libc.a.
37982 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
37984 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
37985 (__hidden_ver1): Don't use in libc.a.
37987 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37989 * config.make.in (have-insert): New.
37990 * configure.ac (libc_cv_insert): New. Set to yes if linker
37991 supports INSERT in linker script.
37992 (AC_SUBST(libc_cv_insert): New.
37993 * configure: Regenerated.
37994 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
37995 if $(have-insert) == yes.
37997 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37999 * elf/Makefile (tests): Add vismain only if
38000 $(have-protected-data) == yes.
38001 (tests-pie): Likewise.
38003 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38006 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38007 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38009 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38012 * sysdeps/i386/i586/memset.S
38013 (__memset_zero_constant_len_parameter): Removed.
38014 * sysdeps/i386/i686/memset.S
38015 (__memset_zero_constant_len_parameter): Likewise.
38016 * sysdeps/i386/i686/multiarch/memset_chk.S
38017 (__memset_zero_constant_len_parameter): Likewise.
38018 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38021 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38023 * stdlib/getentropy.c (getentropy): Change return type to int.
38025 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38027 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38029 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38031 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38033 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38034 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38036 (ieee_float_shape_type): Likewise.
38037 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38038 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38039 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38040 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38041 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38042 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38043 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38044 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38045 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38047 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38048 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38049 (__ieee754_yn): Likewise.
38050 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38051 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38052 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38054 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38055 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38056 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38057 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38058 (__erfc): Likewise.
38059 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38060 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38061 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38062 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38063 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38064 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38066 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38067 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38068 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38069 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38070 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38071 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38072 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38073 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38074 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38075 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38076 (__issignaling): Likewise.
38077 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38078 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38079 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38081 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38082 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38083 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38084 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38086 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38088 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38089 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38090 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38091 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38092 (__erfcf): Likewise.
38093 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38094 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38095 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38096 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38098 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38099 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38101 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38102 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38103 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38104 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38105 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38106 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38107 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38108 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38110 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38112 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38114 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38115 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38117 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38119 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38120 (__ieee754_ynl): Likewise.
38121 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38122 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38124 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38126 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38127 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38128 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38130 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38131 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38132 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38133 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38134 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38135 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38136 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38137 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38139 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38140 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38141 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38143 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38144 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38145 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38146 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38147 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38148 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38150 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38152 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38154 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38156 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38157 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38158 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38159 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38160 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38161 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38162 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38164 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38167 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38169 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38170 (__ieee754_remainderl): Likewise.
38171 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38172 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38173 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38174 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38176 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38179 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38180 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38181 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38182 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38183 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38184 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38186 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38187 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38188 (__ieee754_y0l): Likewise.
38191 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38192 (__ieee754_y1l): Likewise.
38195 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38196 (__ieee754_ynl): Likewise.
38197 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38198 (__ieee754_lgammal_r): Likewise.
38199 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38201 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38202 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38203 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38204 (__erfcl): Likewise.
38205 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38206 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38208 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38209 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38210 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38211 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38212 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38213 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38214 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38216 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38217 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38218 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38219 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38220 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38222 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38223 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38225 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38226 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38227 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38228 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38229 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38231 2017-08-03 Florian Weimer <fweimer@redhat.com>
38234 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38235 on memory allocation failure.
38237 2017-08-03 Alan Modra <amodra@gmail.com>
38239 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38240 tst-tlsopt-powerpc.c with function name change and no test harness.
38241 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38242 Call tls_get_addr_opt_test.
38243 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38244 (modules-names): Add mod-tlsopt-powerpc.
38245 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38246 (tst-tlsopt-powerpc): Depend on .so.
38247 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38248 define. Expand use in TLS_GD and TLS_LD.
38250 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38252 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38254 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38256 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38259 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38260 comparing size with that of double.
38261 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38262 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38263 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38264 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38265 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38266 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38267 unsigned __int128 types.
38269 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38271 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38272 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38273 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38274 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38275 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38277 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38279 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38281 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38285 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38286 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38287 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38288 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38289 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38290 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38291 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38293 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38296 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38297 bit-field expressions passed to sizeof or typeof.
38298 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38299 (__TGMATH_F128): Likewise.
38300 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38301 (__TGMATH_CF128): Likewise.
38302 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38303 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38304 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38305 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38306 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38307 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38308 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38309 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38310 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38311 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38312 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38313 (__TGMATH_UNARY_IMAG): Likewise.
38314 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38315 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38316 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38318 (define_vars_for_type): Handle bit_field type specially.
38319 (Tests.__init__): Declare structure with bit-field element.
38321 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38324 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38325 (MEMCPY_CHK): Define only if SHARED is defined.
38326 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38331 See ChangeLog.18 for earlier changes.