1 2019-09-09 Paul Eggert <eggert@cs.ucla.edu>
3 Regenerate charmap-kw.h, locfile-kw.h
4 This propagates the recent http->https URL changes.
5 Since I used gperf 3.1 to regenerate, this is also a minor
6 internal-to-localedef API change.
7 URL problem reported by Joseph Myers in:
8 https://www.sourceware.org/ml/libc-alpha/2019-09/msg00143.html
9 * locale/programs/charmap-kw.h, locale/programs/locfile-kw.h:
10 Regenerate with gperf 3.1.
11 * locale/programs/linereader.h (kw_hash_fct_t):
12 * locale/programs/repertoire.c (repertoiremap_hash):
13 2nd arg is now size_t not unsigned, for compatibility with gperf 3.1.
15 2019-09-05 Florian Weimer <fweimer@redhat.com>
18 * locale/localeinfo.h (_nl_category_names): Remove union wrapper.
19 (_nl_category_names_get): New function.
20 * intl/dcigettext.c (category_to_name): Call it.
21 * locale/findlocale.c (_nl_find_locale): Likewise.
22 * intl/loadlocale.c (_nl_load_locale): Likewise.
23 * locale/newlocale.c (__newlocale): Likewise.
24 * locale/setlocale.c (_nl_category_names): Adjust definition.
25 (_nl_category_name_idxs): Likewise.
26 (new_composite_name): Call _nl_category_names_get.
27 (setlocale): Likewise.
29 2019-09-05 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
31 * math/bits/mathcalls.h (totalorder, totalordermag): Replace
32 const attribute with pure attribute.
34 2019-09-04 Lukasz Majewski <lukma@denx.de>
36 * sysdeps/unix/sysv/linux/kernel-features.h
37 (__ASSUME_TIME64_SYSCALLS): New macro.
39 2019-09-04 Zack Weinberg <zackw@panix.com>
42 * rt/clock_getcpuclockid.c: Move to time/clock_getcpuclockid.c.
43 * rt/clock_getres.c: Move to time/clock_getres.c.
44 * rt/clock_gettime.c: Move to time/clock_gettime.c.
45 * rt/clock_nanosleep.c: Move to time/clock_nanosleep.c.
46 * rt/clock_settime.c: Move to time/clock_settime.c.
47 * rt/tst-clock.c: Move to time/tst-clock.c.
48 * rt/tst-clock2.c: Move to time/tst-clock2.c.
49 * rt/tst-clock_nanosleep.c: Move to time/tst-clock_nanosleep.c.
50 * rt/tst-cpuclock1.c: Move to time/tst-cpuclock1.c.
51 * rt/clock-compat.c: Delete file.
53 * time/clock_getcpuclockid.c
55 * time/clock_gettime.c
56 * time/clock_nanosleep.c
57 * time/clock_settime.c
58 * sysdeps/posix/clock_getres.c
59 * sysdeps/unix/clock_gettime.c
60 * sysdeps/unix/clock_nanosleep.c
61 * sysdeps/unix/clock_settime.c
62 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63 * sysdeps/unix/sysv/linux/clock_getres.c
64 * sysdeps/unix/sysv/linux/clock_gettime.c
65 * sysdeps/unix/sysv/linux/clock_nanosleep.c
66 * sysdeps/unix/sysv/linux/clock_settime.c: Define the function
67 defined by this file with default symbol version GLIBC_2_17,
68 and optionally a compatibility alias at symbol version GLIBC_2_2.
69 * include/time.h: Remove internal prototypes for clock_getres,
70 clock_nanosleep, and clock_getcpuclockid.
72 * sysdeps/unix/sysv/linux/clock_gettime.c: Prune includes.
73 Remove unused function realtime_gettime.
75 * rt/Makefile (clock-routines, routines): Remove variable.
76 (librt-routines): Remove clock-compat.
77 (tests): Remove tst-clock, tst-clock2, tst-clock_nanosleep,
79 * time/Makefile (routines): Add clock_getres, clock_gettime,
80 clock_settime, clock_getcpuclockid, and clock_nanosleep.
81 (tests): Add tst-clock, tst-clock2, tst-clock_nanosleep,
84 * rt/Versions (libc): Remove entire stanza.
85 (librt GLIBC_2.2): Remove all clock_* functions.
86 * time/Versions (libc GLIBC_2.2, libc GLIBC_2.17):
87 Add clock_getres, clock_gettime, clock_settime,
88 clock_getcpuclockid, and clock_nanosleep.
89 (libc GLIBC_PRIVATE): Add __clock_gettime.
91 * sysdeps/mach/hurd/i386/librt.abilist
92 * sysdeps/unix/sysv/linux/alpha/librt.abilist
93 * sysdeps/unix/sysv/linux/arm/be/librt.abilist
94 * sysdeps/unix/sysv/linux/arm/le/librt.abilist
95 * sysdeps/unix/sysv/linux/hppa/librt.abilist
96 * sysdeps/unix/sysv/linux/i386/librt.abilist
97 * sysdeps/unix/sysv/linux/ia64/librt.abilist
98 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist
99 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist
100 * sysdeps/unix/sysv/linux/microblaze/be/librt.abilist
101 * sysdeps/unix/sysv/linux/microblaze/le/librt.abilist
102 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist
103 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist
104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist
105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/librt.abilist
106 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist
107 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist
108 * sysdeps/unix/sysv/linux/sh/librt.abilist
109 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist
110 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist
111 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist
112 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist:
113 Remove entries for clock_getres, clock_gettime, clock_settime,
114 clock_getcpuclockid, and clock_nanosleep.
116 * sysdeps/mach/hurd/i386/libc.abilist
117 * sysdeps/unix/sysv/linux/alpha/libc.abilist
118 * sysdeps/unix/sysv/linux/arm/libc.abilist
119 * sysdeps/unix/sysv/linux/hppa/libc.abilist
120 * sysdeps/unix/sysv/linux/i386/libc.abilist
121 * sysdeps/unix/sysv/linux/ia64/libc.abilist
122 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
123 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
124 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
125 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
126 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
127 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
131 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
132 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
133 * sysdeps/unix/sysv/linux/sh/be/libc.abilist
134 * sysdeps/unix/sysv/linux/sh/le/libc.abilist
135 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
136 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
137 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
138 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
139 Add another set of entries for clock_getres, clock_gettime,
140 clock_settime, clock_getcpuclockid, and clock_nanosleep at
141 whatever version GLIBC_2.2 maps to.
143 2019-09-03 Aurelien Jarno <aurelien@aurel32.net>
145 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated using GCC 9.2.
147 2019-09-03 Florian Weimer <fweimer@redhat.com>
150 * locale/programs/charmap.h (struct charseq): Turn bytes into a
151 flexible array member.
152 * locale/programs/ld-ctype.c (ctype_finish): Use initializer for
155 2019-09-02 Florian Weimer <fweimer@redhat.com>
157 * misc/tst-mntent-autofs.c: New file.
158 * misc/Makefile (tests): Add misc/tst-mntent-autofs.
160 2019-09-02 Ian Kent <ikent@redhat.com>
162 Use autofs "ignore" mount hint in getmntent_r/getmntent.
163 * misc/mntent_r.c (get_mnt_entry): New function, extracted from
165 (__getmntent_r): Call it. Filter out autofs entries with an
166 "ignore" mount option.
168 2019-08-30 Wilco Dijkstra <wdijkstr@arm.com>
170 * benchtests/bench-memcpy.c (simple_memcpy): Remove.
171 (generic_memcpy): Include generic C memcpy.
172 * benchtests/bench-memmove.c (simple_memmove): Remove.
173 (generic_memmove): Include generic C memmove.
174 * benchtests/bench-memset.c (simple_memset): Remove.
175 (generic_memset): Include generic C memset.
176 * benchtests/bench-memset-large.c (simple_memset): Remove.
177 (generic_memset): Include generic C memset.
178 * benchtests/bench-memset-walk.c (simple_memset): Remove.
179 (generic_memset): Include generic C memset.
180 * string/memcpy.c (MEMCPY): Add defines to enable redirection.
181 * string/memset.c (MEMSET): Likewise.
182 * sysdeps/x86_64/memcopy.h: Remove empty file.
184 2019-08-30 Florian Weimer <fweimer@redhat.com>
186 nptl: Move pthread_attr_getinheritsched implementation into libc.
187 * nptl/Makefile (routines): Add pthread_attr_getinheritsched.
188 (libpthread-routines): Remove pthread_attr_getinheritsched.
189 * nptl/Versions (libpthread GLIBC_2.0): Remove
190 pthread_attr_getinheritsched.
191 * nptl/forward.c (pthread_attr_getinheritsched): Remove definition.
192 * nptl/nptl-init.c (pthread_functions): Remove initializer for
193 ptr_pthread_attr_getinheritsched.
194 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
195 Remove ptr_pthread_attr_getinheritsched member.
196 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
197 Remove pthread_attr_getinheritsched.
198 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
200 * sysdeps/unix/sysv/linux/arm/be/libpthread.abilist (GLIBC_2.4):
202 * sysdeps/unix/sysv/linux/arm/le/libpthread.abilist (GLIBC_2.4):
204 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
206 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
208 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
210 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
212 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
213 (GLIBC_2.4): Likewise.
214 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
215 (GLIBC_2.0): Likewise.
216 * sysdeps/unix/sysv/linux/microblaze/be/libpthread.abilist
217 (GLIBC_2.18): Likewise.
218 * sysdeps/unix/sysv/linux/microblaze/le/libpthread.abilist
219 (GLIBC_2.18): Likewise.
220 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
221 (GLIBC_2.0): Likewise.
222 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
223 (GLIBC_2.0): Likewise.
224 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
227 (GLIBC_2.0): Likewise.
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
229 (GLIBC_2.3): Likewise.
230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
231 (GLIBC_2.17): Likewise.
232 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
233 (GLIBC_2.27): Likewise.
234 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
235 (GLIBC_2.0): Likewise.
236 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
237 (GLIBC_2.2): Likewise.
238 * sysdeps/unix/sysv/linux/sh/be/libpthread.abilist (GLIBC_2.2):
240 * sysdeps/unix/sysv/linux/sh/le/libpthread.abilist (GLIBC_2.2):
242 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
243 (GLIBC_2.0): Likewise.
244 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
245 (GLIBC_2.2): Likewise.
246 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
247 (GLIBC_2.2.5): Likewise.
248 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
249 (GLIBC_2.16): Likewise.
251 2019-08-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
253 * sysdeps/mach/hurd/getcwd.c
254 (_hurd_canonicalize_directory_name_internal): Do not remove the heading
255 slash if we got an unknown root directory. (__getcwd): Do not fail with
256 EGRATUITOUS if we got an unknown root directory.
257 * hurd/hurdselect.c (SELECT_ERROR): New macro.
259 - Add `error' field to `d' structures array.
260 - If a poll descriptor is bogus, set EBADF, but continue with a zero
262 - Go through the whole fd_set, not only until _hurd_dtablesize. Return
263 EBADF there is any bit set above _hurd_dtablesize.
264 - Do not request io_select on bogus descriptors (SELECT_ERROR).
265 - On io_select request error, record the error.
266 - On io_select bogus reply, use EIO error code.
267 - On io_select bogus or error reply, record the error.
268 - Do not destroy reply port for bogus FDs.
269 - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the
270 EBADF case, or else POLLERR.
271 - On error, make select simulated readiness.
274 * sysdeps/mach/hurd/mmap.c (__mmap): Remove optimizing anonymous maps
277 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function,
278 unlocks SS and returns to the saved PC.
279 (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the
280 thread stack instead of the saved PC.
282 2019-08-30 Richard Braun <rbraun@sceen.net>
284 * hurd/hurdselect.c (_hurd_select): Always call __io_select with no
286 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Fix preemptor setup.
287 * hurd/Makefile (user-interfaces): Add io_reply and io_request.
288 * hurd/hurdselect.c: Include <sys/time.h>, <hurd/io_request.h> and
290 (_hurd_select): Replace the call to __io_select with either
291 __io_select_request or __io_select_timeout_request, depending on the
292 timeout. Count the number of ready descriptors (replies for which at
293 least one type bit is set). Implement the timeout locally when there is
296 2019-08-29 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
298 * elf/dl-addr.c (determine_info): Calculate the symbol index
299 using the newly defined ELF_MACHINE_HASH_SYMIDX macro.
300 * elf/dl-lookup.c (do_lookup_x): Ditto.
301 (_dl_setup_hash): Initialize MIPS xhash translation table.
302 * elf/elf.h (SHT_MIPS_XHASH): New define.
303 (DT_MIPS_XHASH): New define.
304 * sysdeps/generic/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
306 (ELF_MACHINE_HASH_SYMIDX): Ditto.
307 (ELF_MACHINE_XHASH_SETUP): Ditto.
308 * sysdeps/mips/ldsodefs.h (ELF_MACHINE_GNU_HASH_ADDRIDX): New
310 (ELF_MACHINE_HASH_SYMIDX): Ditto.
311 (ELF_MACHINE_XHASH_SETUP): Ditto.
312 * sysdeps/mips/linkmap.h (struct link_map_machine): New member.
313 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increment valid ABI
315 * sysdeps/unix/sysv/linux/mips/libc-abis: New ABI version.
317 2019-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
319 * sysdeps/sh/preconfigure.ac: New file.
320 * sysdeps/sh/preconfigure: Regenerate.
321 * sysdeps/sh/be/sh3/Implies: New file.
322 * sysdeps/sh/be/sh4/Implies: Likewise.
323 * sysdeps/sh/le/sh3/Implies: Likewise.
324 * sysdeps/sh/le/sh4/Implies: Likewise.
325 * sysdeps/unix/sysv/linux/sh/le/sh3/Implies: Likewise.
326 * sysdeps/unix/sysv/linux/sh/le/sh4/Implies: Likewise.
327 * sysdeps/unix/sysv/linux/sh/*.abilist: Move to
328 sysdeps/unix/sysv/linux/sh/le/*.abilist.
329 * sysdeps/unix/sysv/linux/sh/be/*.abilist: New files.
331 * sysdeps/microblaze/preconfigure.ac: New file.
332 * sysdeps/microblaze/preconfigure: Regenerate.
333 * sysdeps/microblaze/be/implies: New file.
334 * sysdeps/microblaze/le/implies: Likewise.
335 * sysdeps/unix/sysv/linux/microblaze/be/implies: Likewise.
336 * sysdeps/unix/sysv/linux/microblaze/le/implies: Likewise.
337 * sysdeps/unix/sysv/linux/microblaze/*.abilist. Move to
338 sysdeps/unix/sysv/linux/microblaze/be/*.abilist.
339 * sysdeps/unix/sysv/linux/microblaze/le/*.abilist: New files.
341 * sysdeps/arm/preconfigure.ac: Set machine based on endianness.
342 * sysdeps/arm/preconfigure: Regenerate.
343 * sysdeps/arm/be/Implies: New file.
344 * sysdeps/arm/be/armv6/Implies: Likewise.
345 * sysdeps/arm/be/armv6t2/Implies: Likewise.
346 * sysdeps/arm/be/armv7/Implies: Likewise.
347 * sysdeps/arm/le/Implies: Likewise.
348 * sysdeps/unix/sysv/linux/arm/be/Implies: Likewise.
349 * sysdeps/unix/sysv/linux/arm/le/Implies: Likewise.
350 * sysdeps/unix/sysv/linux/arm/*.abilist: Move to
351 sysdeps/unix/sysv/linux/arm/le/*.abilist.
352 * sysdeps/unix/sysv/linux/arm/be/l*.abilist: New files.
354 2019-08-27 Paul Eggert <eggert@cs.ucla.edu>
356 Fix posix/tst-regex by using UTF-8 and own test input
357 Problem reported by Stefan Liebler in:
358 https://sourceware.org/ml/libc-alpha/2019-08/msg00658.html
359 * posix/tst-regex.c: Convert this file from Latin-1 to UTF-8.
360 (do_test, test_expr): Adjust to the fact that this source file,
361 and the test data in ChangeLog.8, is now UTF-8 instead of Latin-1.
362 * posix/tst-regex.input: Copy from ChangeLog.old/ChangeLog.8,
363 so that it is now UTF-8.
365 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
367 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): Delete.
368 (fegetenv_status): Generate 'mffsl' unconditionally.
370 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
372 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Utilize lightweight
374 (_FPU_MASK_ALL): Delete.
376 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
378 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc_ctx):
379 Utilize lightweight FPSCR read if possible, set fewer FPSCR bits
381 (libc_feresetround_ppc): Replace call to __libc_femergeenv_ppc
382 with simpler required steps, set fewer FPSCR bits if possible.
384 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
386 * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_mode): New.
387 (FPSCR_FPRF_MASK): New. (FPSCR_STATUS_MASK): New.
388 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use lighter-
389 weight access to FPSCR; remove unnecessary second FPSCR read and
391 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
392 * sysdeps/powerpc/fpu/fesetmode.c (fesetmode): Use lighter-weight
393 access to FPSCR; Use macros in fenv_libc.h in favor of local.
395 2019-08-28 Paul A. Clarke <pc@us.ibm.com>
397 * sysdeps/powerpc/fpu/fenv_libc.h: Define FPSCR bitmasks.
398 (fenv_reg_to_exceptions): Replace bitwise operations with mask-shift.
399 (fenv_exceptions_to_reg): New.
400 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Replace bitwise
401 operation with call to fenv_exceptions_to_reg().
402 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
404 2019-08-28 Florian Weimer <fweimer@redhat.com>
406 * misc/mntent.c (struct mntent_buffer): Define.
407 (mntent_buffer): Adjust type to void *.
408 (allocate): Adjust for allocate_once.
409 (deallocate): New function.
410 (getmntent): Call allocate_once.
412 2019-08-28 Florian Weimer <fweimer@redhat.com>
414 nptl: Move pthread_attr_setdetachstate implementation into libc.
415 * nptl/Makefile (routines): Add pthread_attr_setdetachstate.
416 (libpthread-routines): Remove pthread_attr_setdetachstate.
417 * nptl/Versions (libpthread GLIBC_2.0): Remove
418 pthread_attr_setdetachstate.
419 * nptl/forward.c (pthread_attr_setdetachstate): Remove definition.
420 * nptl/nptl-init.c (pthread_functions): Remove initializer for
421 ptr_pthread_attr_setdetachstate.
422 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
423 Remove ptr_pthread_attr_setdetachstate member.
424 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
425 Remove pthread_attr_setdetachstate.
426 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
428 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
430 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
432 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
434 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
436 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
438 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
439 (GLIBC_2.4): Likewise.
440 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
441 (GLIBC_2.0): Likewise.
442 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
443 (GLIBC_2.18): Likewise.
444 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
445 (GLIBC_2.0): Likewise.
446 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
447 (GLIBC_2.0): Likewise.
448 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
451 (GLIBC_2.0): Likewise.
452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
453 (GLIBC_2.3): Likewise.
454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
455 (GLIBC_2.17): Likewise.
456 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
457 (GLIBC_2.27): Likewise.
458 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
459 (GLIBC_2.0): Likewise.
460 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
461 (GLIBC_2.2): Likewise.
462 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
464 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
465 (GLIBC_2.0): Likewise.
466 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
467 (GLIBC_2.2): Likewise.
468 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
469 (GLIBC_2.2.5): Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
471 (GLIBC_2.16): Likewise.
473 2019-08-28 Florian Weimer <fweimer@redhat.com>
476 * login/Makefile (tests): Add tst-pututxline-lockfail.
477 (tst-pututxline-lockfail): Link with -lpthread.
478 * login/utmp_file.c (internal_getut_r): Remove buffer argument.
479 (__libc_getutid_r): Adjust.
480 (__libc_pututline): Likewise. Check for file_offset == -1.
481 * login/tst-pututxline-lockfail.c: New file.
483 2019-08-28 Stefan Liebler <stli@linux.ibm.com>
485 * posix/tst-regex.c (do_test): Use tst-regex.input as input file.
486 * posix/tst-regex.input: New file.
488 2019-08-23 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
491 * sysdeps/mips/Makefile [$(subdir) = elf] (tests): Add
493 [$(subdir) = elf] (modules-names): Add tst-undefined-weak-lib.
494 [$(subdir) = elf] ($(objpfx)tst-undefined-weak): Add dependency.
495 * sysdeps/mips/tst-undefined-weak-lib.S: New file.
496 * sysdeps/mips/tst-undefined-weak.c: Likewise.
497 * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
498 Increment highest valid ABIVERSION value.
500 2019-08-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
502 * sysdeps/unix/sysv/linux/mips/Makefile
503 (test-xfail-check-execstack):
504 Move under mips-has-gnustack != yes.
505 (CFLAGS-.o*, ASFLAGS-.o*): New rules.
506 Apply -Wa,-execstack if mips-force-execstack == yes.
507 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
508 * sysdeps/unix/sysv/linux/mips/configure.ac
509 (mips-force-execstack): New var.
510 Set to yes for hard-float builds with minimum_kernel < 4.8.0
511 or minimum_kernel not set at all.
512 (mips-has-gnustack): New var.
513 Use value of libc_cv_as_noexecstack
514 if mips-force-execstack != yes, otherwise set to no.
516 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
517 Florian Weimer <fweimer@redhat.com>
519 * gmon/Versions (libc) [GLIBC_2.31]: New entry.
520 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
521 Make a compat_symbol.
522 * sysdeps/unix/sysv/linux/sparc/profil-counter.h
523 (__profil_counter_global): Likewise.
525 * debug/segfault.c (install_handler): Use SA_SIGINFO if defined.
526 * sysdeps/generic/profil-counter.h (__profil_counter): Cast to
528 * sysdeps/generic/sigcontextinfo.h (GET_PC): Rename to
529 sigcontext_get_pc and return aligned cast to uintptr_t.
530 * sysdeps/mach/hurd/i386/sigcontextinfo.h (GET_PC): Likewise.
531 * sysdeps/posix/profil.c (profil_count): Change PC argument to
533 (__profil): Use SA_SIGINFO.
534 * sysdeps/posix/sprofil.c (profil_count): Change PCP argument to
536 (__sprofil): Use SA_SIGINFO.
537 * sysdeps/unix/sysv/linux/profil-counter.h: New file.
538 * sysdeps/unix/sysv/linux/aarch64/profil-counter.h: Remove file.
539 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
540 * sysdeps/unix/sysv/linux/hppa/profil-counter.h: Likewise.
541 * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
542 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: Likewise.
543 * sysdeps/unix/sysv/linux/microblaze/profil-counter.h: Likewise.
544 * sysdeps/unix/sysv/linux/mips/profil-counter.h: Likewise.
545 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: Likewise.
547 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h: Likewise.
548 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
549 * sysdeps/sysv/linux/s390/s390-32/profil-counter.h: Likewise.
550 * sysdeps/sysv/linux/s390/s390-64/profil-counter.h: Likewise.
551 * sysdeps/unix/sysv/linux/sh/profil-counter.h: Likewise.
552 * sysdeps/unix/sysv/linux/arm/profil-counter.h (__profil_counter):
553 Assume SA_SIGINFO and use sigcontext_get_pc instead of GET_PC.
554 * sysdeps/unix/sysv/linux/sparc/profil-counter.h: New file.
555 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h: Remove file.
556 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Likewise.
557 * sysdpes/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT,
558 GET_PC, __sigaction, sigaction): Remove defines.
559 (sigcontext_get_pc): New function.
560 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
561 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
562 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
563 * sysdeps/unix/sysv/linux/hppa/sigcontextinfo.h: Likewise.
564 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
565 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h: Likewise.
566 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
567 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
568 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: Likewise.
569 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
570 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h: Likewise.
571 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
572 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
573 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
574 * sysdeps/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
575 * sysdeps/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
576 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.
577 * sysdeps/unix/sysv/linux/alpha/register-dump.h (register_dump):
578 Handle CTX argument as ucontext_t.
579 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
581 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Likewise.
582 * sysdeps/sysv/linux/s390/s390-32/register-dump.h: Likewise.
583 * sysdeps/sysv/linux/s390/s390-64/register-dump.h: Likewise.
584 * sysdeps/unix/sysv/linux/sh/register-dump.h: New file.
585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Remove File.
586 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
587 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
588 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
589 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
590 tst-sigcontextinfo-get_pc.
591 * sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c: New file.
592 (CFLAGS-tst-sigcontextinfo-get_pc.c): New rule.
594 2019-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
596 * sysdeps/generic/single-thread.h (RTLD_SINGLE_THREAD_P): Add
599 2019-08-23 Rafał Lużyński <digitalfreak@lingonborough.com>
602 * localedata/locales/bo_CN (first_weekday): Add, set to 2 (Monday).
603 * localedata/locales/ug_CN (first_weekday): Likewise.
604 * localedata/locales/zh_CN (first_weekday): Likewise.
606 2019-08-22 Gustavo Romero <gromero@linux.vnet.ibm.com>
608 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix typos and
609 field name in mcontext_t struct.
611 2019-08-22 Joseph Myers <joseph@codesourcery.com>
613 * resolv/tst-resolv-ai_idn-latin1.c (do_test): Mark test
614 unsupported with libidn2 before 2.0.5.
615 * resolv/tst-resolv-ai_idn.c (do_test): Likewise.
617 * manual/time.texi (strftime): Document %Ob and %OB as C2X
620 2019-08-21 Paul Eggert <eggert@cs.ucla.edu>
622 Remove dead regex code
623 * posix/regex_internal.c (re_node_set_insert):
624 Remove unnecessary assignment. Reported by Tim Rühsen in:
625 https://lists.gnu.org/r/bug-gnulib/2019-08/msg00026.html
627 Fix bad pointer / leak in regex code
628 This was found by Coverity (CID 1484201). [BZ#24844]
629 * posix/regex_internal.c (create_cd_newstate): Fix use of bad
630 pointer and/or memory leak when storage is exhausted.
632 2019-08-21 Zack Weinberg <zackw@panix.com>
634 * misc/syslog.c (__vsyslog_internal)
635 * time/getdate.c (__getdate_r)
636 * time/tst_wcsftime.c (main):
637 Use return value of time, not its argument.
639 * string/strfry.c (strfry)
640 * sysdeps/mach/sleep.c (__sleep):
641 Remove unnecessary casts of NULL in calls to time.
643 2019-08-21 Joseph Myers <joseph@codesourcery.com>
645 * math/tgmath.h [__HAVE_FLOAT128X]: Give error.
646 [(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
647 || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
648 (__TGMATH_2_NARROW_F): Likewise.
649 (__TGMATH_2_NARROW_D): New macro.
650 (__TGMATH_2_NARROW_F16): Likewise.
651 (__TGMATH_2_NARROW_F32): Likewise.
652 (__TGMATH_2_NARROW_F64): Likewise.
653 (__TGMATH_2_NARROW_F32X): Likewise.
654 (__TGMATH_2_NARROW_F64X): Likewise.
655 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
656 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
657 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
658 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
659 [__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
660 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
661 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
662 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
663 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
664 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
665 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
666 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
667 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
668 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
670 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
672 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
674 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
676 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
678 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
680 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
682 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
684 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
685 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
686 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
687 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
688 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
689 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
690 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
691 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
692 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
694 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
696 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
698 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
700 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
701 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
702 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
703 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
704 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
705 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
706 [__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
707 && (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
708 * math/gen-tgmath-tests.py (Type): Add members
709 non_standard_real_argument_types_list, long_double_type,
710 complex_float64_type and float32x_ext_type.
711 (Type.__init__): Set the new members.
712 (Type.floating_type): Add new argument floatn.
713 (Type.real_floating_type): Likewise.
714 (Type.can_combine_types): Likewise.
715 (Type.combine_types): Likewise.
716 (Type.init_types): Create internal Float32x_ext type.
717 (Tests.__init__): Define Float32x_ext in generated C code.
718 (Tests.add_tests): Handle narrowing functions.
719 (Tests.add_all_tests): Likewise.
720 (Tests.tests_text): Allow variation in mant_dig for narrowing
721 functions with compilers before GCC 8.
722 * math/Makefile (tgmath3-narrow-types): New variable.
723 (tgmath3-narrow-macros): Likewise.
724 (tgmath3-macros): Add $(tgmath3-narrow-macros).
726 2019-08-20 Andreas Schwab <schwab@suse.de>
728 * sysdeps/i386/fpu/libm-test-ulps: Update.
730 2019-08-19 Carlos O'Donell <carlos@redhat.com>
732 * nscd/nscd.conf: Add warning and comment about shared option.
734 2019-08-19 Carlos O'Donell <carlos@redhat.com>
736 * nss/nsswitch.conf: Expand comments, and simplify defaults.
737 * manual/nss.texi (NSS Basics): List all known databases.
738 (Services in the NSS configuration): Mention automount.
740 2019-08-19 Florian Weimer <fweimer@redhat.com>
742 Do not print backtraces on fatal errors.
743 * debug/fortify_fail.c (__libc_argv): Remove declaration.
744 (__fortify_fail_abort): Remove definition.
745 (__fortify_fail): Call __libc_message directly.
746 * debug/stack_chk_fail.c (__libc_argv): Remove declaration.
747 (__stack_chk_fail): Call __fortify_fail instead of
748 __fortify_fail_abort.
749 * include/stdio.h (__fortify_fail_abort): Remove declaration.
750 * sysdeps/posix/libc_fatal.c (BEFORE_ABORT, before_abort): Remove
752 (__libc_message): Do not handle do_backtrace. Do not call
754 (__libc_fatal): Do not pass do_backtrace to __libc_message.
755 * sysdeps/unix/sysv/linux/libc_fatal.c (BEFORE_ABORT)
756 (before_abort): Remove definitions.
758 2019-08-16 Florian Weimer <fweimer@redhat.com>
760 nptl: Move pthread_attr_getdetachstate implementation into libc.
761 * nptl/Makefile (routines): Add pthread_attr_getdetachstate.
762 (libpthread-routines): Remove pthread_attr_getdetachstate.
763 * nptl/Versions (libpthread GLIBC_2.0): Remove
764 pthread_attr_getdetachstate.
765 * nptl/forward.c (pthread_attr_getdetachstate): Remove definition.
766 * nptl/nptl-init.c (pthread_functions): Remove initializer for
767 ptr_pthread_attr_getdetachstate.
768 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
769 Remove ptr_pthread_attr_getdetachstate member.
770 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
771 Remove pthread_attr_getdetachstate.
772 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
774 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
776 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
778 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
780 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
782 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
784 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
785 (GLIBC_2.4): Likewise.
786 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
787 (GLIBC_2.0): Likewise.
788 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
789 (GLIBC_2.18): Likewise.
790 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
791 (GLIBC_2.0): Likewise.
792 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
793 (GLIBC_2.0): Likewise.
794 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
797 (GLIBC_2.0): Likewise.
798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
799 (GLIBC_2.3): Likewise.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
801 (GLIBC_2.17): Likewise.
802 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
803 (GLIBC_2.27): Likewise.
804 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
805 (GLIBC_2.0): Likewise.
806 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
807 (GLIBC_2.2): Likewise.
808 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
810 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
811 (GLIBC_2.0): Likewise.
812 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
813 (GLIBC_2.2): Likewise.
814 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
815 (GLIBC_2.2.5): Likewise.
816 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
817 (GLIBC_2.16): Likewise.
819 2019-08-16 Joseph Myers <joseph@codesourcery.com>
821 * math/libm-test-compat_totalorder.inc (do_test)
822 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Change condition to
823 [TEST_COMPAT (libm, COMPAT_VER, GLIBC_2_31)].
824 * math/libm-test-compat_totalordermag.inc (do_test)
825 [TEST_COMPAT (libm, GLIBC_2_25, GLIBC_2_31)]: Likewise.
827 2019-08-15 Florian Weimer <fweimer@redhat.com>
829 nptl: Move pthread_attr_init implementation into libc.
830 * nptl/Makefile (routines): Add pthread_attr_init.
831 (libpthread-routines): Remove pthread_attr_init.
832 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_attr_init.
833 (libpthread GLIBC_2.0): Likewise.
834 * nptl/pthread_attr_init.c: Check for libc compat version instead
835 of libpthread compat version.
836 * nptl/forward.c (__pthread_attr_init_2_0)
837 (__pthread_attr_init_2_1): Remove definitions.
838 * nptl/nptl-init.c (pthread_functions): Remove initializers for
839 ptr___pthread_attr_init_2_0, ptr___pthread_attr_init_2_1.
840 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
841 Remove members ptr___pthread_attr_init_2_0,
842 ptr___pthread_attr_init_2_1.
843 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
844 Remove pthread_attr_init.
845 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
847 (GLIBC_2.1): Likewise.
848 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
850 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
852 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
854 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
856 (GLIBC_2.1): Likewise.
857 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
859 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
860 (GLIBC_2.4): Likewise.
861 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
862 (GLIBC_2.0): Likewise.
863 (GLIBC_2.1): Likewise.
864 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
865 (GLIBC_2.18): Likewise.
866 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
867 (GLIBC_2.0): Likewise.
868 (GLIBC_2.1): Likewise.
869 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
870 (GLIBC_2.0): Likewise.
871 (GLIBC_2.1): Likewise.
872 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
875 (GLIBC_2.0): Likewise.
876 (GLIBC_2.1): Likewise.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
878 (GLIBC_2.3): Likewise.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
880 (GLIBC_2.17): Likewise.
881 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
882 (GLIBC_2.27): Likewise.
883 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
884 (GLIBC_2.0): Likewise.
885 (GLIBC_2.1): Likewise.
886 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
887 (GLIBC_2.2): Likewise.
888 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
890 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
891 (GLIBC_2.0): Likewise.
892 (GLIBC_2.1): Likewise.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
894 (GLIBC_2.2): Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
896 (GLIBC_2.2.5): Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
898 (GLIBC_2.16): Likewise.
900 2019-08-15 Florian Weimer <fweimer@redhat.com>
903 * elf/dl-object.c (_dl_new_object): Do not store pathnames in the
904 new object in __RTLD_OPENEXEC mode (except for the origin).
905 * elf/tst-dlopen-aout.c (check_dlopen_failure): New function with
906 check for the error message.
907 (do_test): Call it. Add check using relative path.
908 * elf/Makefile (tests-container): Add tst-dlopen-aout-container.
909 (tst-dlopen-aout-container): Link with libpthread.
910 (LDFLAGS-tst-dlopen-aout-container): Set RPATH to $ORIGIN.
912 2019-08-15 Joseph Myers <joseph@codesourcery.com>
914 * math/bits/mathcalls.h
915 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
916 (totalorder): Take pointer arguments.
917 [__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
918 (totalordermag): Likewise.
919 * manual/arith.texi (totalorder): Likewise.
920 (totalorderf): Likewise.
921 (totalorderl): Likewise.
922 (totalorderfN): Likewise.
923 (totalorderfNx): Likewise.
924 (totalordermag): Likewise.
925 (totalordermagf): Likewise.
926 (totalordermagl): Likewise.
927 (totalordermagfN): Likewise.
928 (totalordermagfNx): Likewise.
929 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
930 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
931 [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
932 * math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
933 totalorderl, totalordermag, totalordermagf, totalordermagl,
934 totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
935 totalordermagf64, totalordermagf32x, totalorderf64x,
936 totalordermagf64x, totalorderf128 and totalordermagf128.
937 * math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
938 and compat_totalordermag.
939 (libm-test-funcs-compat): New variable.
940 (libm-tests-compat): Likewise.
941 (tests): Do not include compat tests.
942 (tests-internal): Add compat tests.
943 ($(foreach t,$(libm-tests-base),
944 $(objpfx)$(t)-compat_totalorder.o)): Depend
945 on $(objpfx)libm-test-totalorder.c.
946 ($(foreach t,$(libm-tests-base),
947 $(objpfx)$(t)-compat_totalordermag.o): Depend on
948 $(objpfx)libm-test-totalordermag.c.
949 (tgmath3-macros): Remove totalorder and totalordermag.
950 * math/libm-test-compat_totalorder.inc: New file.
951 * math/libm-test-compat_totalordermag.inc: Likewise.
952 * math/libm-test-driver.c (struct test_ff_i_data): Update comment.
953 (RUN_TEST_fpfp_b): New macro.
954 (RUN_TEST_LOOP_fpfp_b): Likewise.
955 * math/libm-test-totalorder.inc (totalorder_test_data): Use
957 (totalorder_test): Condition on [!COMPAT_TEST].
959 * math/libm-test-totalordermag.inc (totalordermag_test_data): Use
961 (totalordermag_test): Condition on [!COMPAT_TEST].
963 * math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
964 totalorder and totalordermag.
965 * math/test-tgmath.c (NCALLS): Change to 132.
966 (F(compile_test)): Do not call totalorder or totalordermag.
967 (F(totalorder)): Remove.
968 (F(totalordermag)): Likewise.
969 * include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
970 define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
971 * include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
973 [!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
974 [!_ISOMAC] (TEST_SIZE): Update call to STR.
975 [!_ISOMAC] (TEST_ALIGN): Likewise.
976 [!_ISOMAC] (TEST_OFFSET): Likewise.
977 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
978 and <first-versions.h>.
979 (__totalorder): Take pointer arguments. Add symbol versions and
981 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
982 <shlib-compat.h> and <first-versions.h>.
983 (__totalordermag): Take pointer arguments. Add symbol versions
985 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
986 <shlib-compat.h> and <first-versions.h>.
987 (__totalorder): Take pointer arguments. Add symbol versions and
989 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
990 <shlib-compat.h> and <first-versions.h>.
991 (__totalordermag): Take pointer arguments. Add symbol versions
993 * sysdeps/ieee754/float128/float128_private.h
994 (__totalorder_compatl): New macro.
995 (__totalordermag_compatl): Likewise.
996 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
997 and <first-versions.h>.
998 (__totalorderf): Take pointer arguments. Add symbol versions and
1000 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1001 <shlib-compat.h> and <first-versions.h>.
1002 (__totalordermagf): Take pointer arguments. Add symbol versions
1004 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1005 <shlib-compat.h> and <first-versions.h>.
1006 (__totalorderl): Take pointer arguments. Add symbol versions and
1008 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1009 <shlib-compat.h> and <first-versions.h>.
1010 (__totalordermagl): Take pointer arguments. Add symbol versions
1012 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1014 (__totalorderl): Take pointer arguments. Add symbol versions and
1016 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1018 (__totalordermagl): Take pointer arguments. Add symbol versions
1020 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1021 <shlib-compat.h> and <first-versions.h>.
1022 (__totalorderl): Take pointer arguments. Add symbol versions and
1024 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1025 <shlib-compat.h> and <first-versions.h>.
1026 (__totalordermagl): Take pointer arguments. Add symbol versions
1028 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
1030 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
1032 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1033 (do_test): Update calls to totalorderl and totalordermagl.
1034 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1035 Update calls to totalorderl and totalordermagl.
1036 * sysdeps/mach/hurd/i386/libm.abilist: Update.
1037 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1038 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1039 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1040 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
1041 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1042 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1043 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1044 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1045 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1046 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1047 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1048 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1049 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libm.abilist:
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
1058 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
1059 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1060 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1061 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1062 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1064 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1065 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1067 2019-08-15 Florian Weimer <fweimer@redhat.com>
1070 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Add
1071 __attribute_nonstring__ to ut_line, ut_id, ut_user, ut_host.
1072 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmpx):
1074 * sysdeps/gnu/bits/utmp.h (struct utmp): Add
1075 __attribute_nonstring__ to ut_id.
1076 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h (struct utmp):
1079 2019-08-15 Florian Weimer <fweimer@redhat.com>
1082 * login/utmp_file.c (file_locking_failed): Use struct flock64.
1083 (file_locking_unlock): Likewise.
1085 2019-08-15 Florian Weimer <fweimer@redhat.com>
1088 login: Disarm timer after utmp lock acquisition.
1089 * login/utmp_file.c (struct file_locking): Remove.
1090 (try_file_lock): Adjust.
1091 (file_lock_restore): Remove function.
1092 (__libc_getutent_r): .
1093 (internal_getut_r): Likewise.
1094 (__libc_getutline_r): Likewise.
1095 (__libc_pututline): Likewise.
1096 (__libc_updwtmp): Likewise.
1098 2019-08-15 Florian Weimer <fweimer@redhat.com>
1100 nptl: Remove pthread_self compatibility symbol from libpthread.
1101 * nptl/Versions (libpthread GLIBC_2.0): Remove pthread_self,
1103 * nptl/Makefile (libpthread-routines): Remove compat-pthread_self.
1104 * nptl/compat-pthread_self.c: Remove file.
1105 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1106 Remove pthread_self.
1107 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1109 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1111 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1113 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1115 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1117 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1118 (GLIBC_2.4): Likewise.
1119 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1120 (GLIBC_2.0): Likewise.
1121 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1122 (GLIBC_2.18): Likewise.
1123 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1124 (GLIBC_2.0): Likewise.
1125 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1126 (GLIBC_2.0): Likewise.
1127 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1130 (GLIBC_2.0): Likewise.
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1132 (GLIBC_2.3): Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1134 (GLIBC_2.17): Likewise.
1135 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1136 (GLIBC_2.0): Likewise.
1137 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1138 (GLIBC_2.2): Likewise.
1139 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1141 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1142 (GLIBC_2.0): Likewise.
1143 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1144 (GLIBC_2.2): Likewise.
1145 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1146 (GLIBC_2.2.5): Likewise.
1147 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1148 (GLIBC_2.16): Likewise.
1150 2019-08-15 Florian Weimer <fweimer@redhat.com>
1152 nptl: Move pthread_attr_destroy implementation into libc.
1153 * nptl/Makefile (routines): Add pthread_attr_destroy.
1154 (libpthread-routines): Remove pthread_attr_destroy.
1155 * nptl/Versions (libpthread GLIBC_2.0): Remove
1156 pthread_attr_destroy.
1157 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Check for
1158 libc compat version instead of libpthread compat version.
1159 * nptl/forward.c (pthread_attr_destroy): Remove definition.
1160 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1161 ptr_pthread_attr_destroy.
1162 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1163 Remove ptr_pthread_attr_destroy member.
1164 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1165 Remove pthread_attr_destroy.
1166 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1168 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1170 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1172 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1174 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1176 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1178 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1179 (GLIBC_2.4): Likewise.
1180 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1181 (GLIBC_2.0): Likewise.
1182 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1183 (GLIBC_2.18): Likewise.
1184 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1185 (GLIBC_2.0): Likewise.
1186 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1187 (GLIBC_2.0): Likewise.
1188 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1191 (GLIBC_2.0): Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1193 (GLIBC_2.3): Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1195 (GLIBC_2.17): Likewise.
1196 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1197 (GLIBC_2.27): Likewise.
1198 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1199 (GLIBC_2.0): Likewise.
1200 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1201 (GLIBC_2.2): Likewise.
1202 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1204 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1205 (GLIBC_2.0): Likewise.
1206 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1207 (GLIBC_2.2): Likewise.
1208 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1209 (GLIBC_2.2.5): Likewise.
1210 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1211 (GLIBC_2.16): Likewise.
1213 2019-08-15 Andreas Schwab <schwab@suse.de>
1215 * sysdeps/i386/fpu/libm-test-ulps: Update.
1217 2019-08-15 Florian Weimer <fweimer@redhat.com>
1219 * malloc/Makefile (tests): Only add tst-mxfast for
1221 * malloc/tst-mxfast.c: Fix copyright year.
1222 (do_test): Fix GNU style issues. Use TEST_COMPARE instead of
1225 2019-08-15 Florian Weimer <fweimer@redhat.com>
1227 * login/utmp_file.c (__libc_updwtmp): Unlock the right file
1229 * login/Makefile (tests): Add tst-updwtmpx.
1230 * login/tst-updwtmpx.c: New file.
1232 2019-08-15 Florian Weimer <fweimer@redhat.com>
1234 nptl: Move pthread_equal implementation into libc.
1235 * nptl/Makefile (routines): Add pthread_equal.
1236 * nptl/forward.c (pthread_equal): Remove definition.
1237 * nptl/nptl-init.c (pthread_functions): Remove initializer for
1239 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1240 Remove ptr_pthread_equal member.
1241 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
1242 Remove pthread_equal.
1243 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
1245 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
1247 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.29):
1249 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
1251 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
1253 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
1255 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1256 (GLIBC_2.4): Likewise.
1257 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1258 (GLIBC_2.0): Likewise.
1259 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1260 (GLIBC_2.18): Likewise.
1261 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1262 (GLIBC_2.0): Likewise.
1263 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1264 (GLIBC_2.0): Likewise.
1265 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.21):
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1268 (GLIBC_2.0): Likewise.
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1270 (GLIBC_2.3): Likewise.
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1272 (GLIBC_2.17): Likewise.
1273 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1274 (GLIBC_2.27): Likewise.
1275 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1276 (GLIBC_2.0): Likewise.
1277 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1278 (GLIBC_2.2): Likewise.
1279 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
1281 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1282 (GLIBC_2.0): Likewise.
1283 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1284 (GLIBC_2.2): Likewise.
1285 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1286 (GLIBC_2.2.5): Likewise.
1287 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1288 (GLIBC_2.16): Likewise.
1290 2019-08-14 Florian Weimer <fweimer@redhat.com>
1292 * support/support_descriptors.c: Include <support/descriptors.h>.
1294 2019-08-14 Feng Xue <fxue@os.amperecomputing.com>
1296 * sysdeps/aarch64/multiarch/memset_base64.S (DC_ZVA_THRESHOLD):
1297 Disable DC ZVA code if this macro is defined as zero.
1298 * sysdeps/aarch64/multiarch/memset_emag.S (DC_ZVA_THRESHOLD):
1299 Change to zero to disable using DC ZVA.
1301 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1303 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT):
1305 (__GLIBC_USE_IEC_60559_FUNCS_EXT_C2X): New macro.
1306 * bits/math-finite.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]: Change
1307 to [__GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)].
1308 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_FUNCS_EXT)]:
1311 2019-08-13 Florian Weimer <fweimer@redhat.com>
1313 * login/utmp_file.c (LOCK_FILE, LOCKING_FAILED, UNLOCK_FILE):
1315 (struct file_locking): New.
1316 (try_file_lock, file_unlock, file_lock_restore): New functions.
1317 (__libc_getutent_r): Use the new functions.
1318 (internal_getut_r): Likewise.
1319 (__libc_getutline_r): Likewise.
1320 (__libc_pututline): Likewise.
1321 (__libc_updwtmp): Likewise.
1323 2019-08-13 Joseph Myers <joseph@codesourcery.com>
1325 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
1327 (__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
1328 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
1329 [__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
1330 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1331 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1332 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1333 * stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1335 * stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1336 * stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
1337 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1339 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1341 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1343 * sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1345 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1347 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1349 * sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1351 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
1352 (IEC_60559_BFP_EXT)]: Likewise.
1353 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1355 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1357 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1359 * sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1361 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1363 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1365 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1367 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1369 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
1370 Likewise, except for totalorder, totalordermag, getpayload,
1371 setpayload and setpayloadsig.
1372 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
1373 except for totalorder and totalordermag.
1375 * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
1377 (strndup): Likewise.
1379 * include/features.h (_ISOC2X_SOURCE): New feature test macro.
1380 Undefine and define to 1 if [_GNU_SOURCE].
1381 (__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending
1382 on [_ISOC2X_SOURCE] and [__STDC_VERSION__ > 201710L].
1383 (__USE_ISOC11): Also define to 1 if [_ISOC2X_SOURCE].
1384 (__USE_ISOC99): Likewise.
1385 (__USE_ISOC95): Likewise.
1386 * manual/creature.texi (_ISOC2X_SOURCE): Document.
1388 2019-08-13 Florian Weimer <fweimer@redhat.com>
1390 * login/getutid_r.c (__getutid_r): _HAVE_UT_ID and _HAVE_UT_TYPE
1392 * login/getutmp.c (getutmp): _HAVE_UT_TYPE, _HAVE_UT_PID,
1393 _HAVE_UT_ID, _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1394 * login/getutmpx.c (getutmpx): Likewise.
1395 * login/login.c (login): _HAVE_UT_TYPE, _HAVE_UT_PID are always
1397 * login/logout.c (logout): _HAVE_UT_TYPE, _HAVE_UT_HOST,
1398 _HAVE_UT_TV are always true.
1399 * login/logwtmp.c (logwtmp): _HAVE_UT_PID, _HAVE_UT_TYPE,
1400 _HAVE_UT_HOST, _HAVE_UT_TV are always true.
1401 * login/tst-utmp.c: _HAVE_UT_TYPE, _HAVE_UT_TV are always true.
1402 * login/utmp_file.c (__libc_setutent): _HAVE_UT_TYPE, _HAVE_UT_ID
1404 (internal_getut_r): _HAVE_UT_TYPE is always true.
1405 (__libc_pututline): Likewise.
1406 * login/programs/utmpdump.c (print_entry): Assume that
1407 _HAVE_UT_TYPE, _HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST,
1408 _HAVE_UT_TV are always true.
1409 * sysdeps/generic/utmp-equal.h (__utmp_equal): _HAVE_UT_TYPE,
1410 _HAVE_UT_ID are always true.
1411 * sysdeps/gnu/bits/utmp.h: Move to ...
1412 * bits/utmp.h: ... here, replacing the old file.
1414 2019-08-12 Florian Weimer <fweimer@redhat.com>
1416 * elf/Makefile (tests): Unconditionally add tst-dlopen-aout.
1417 [$(build-hardcoded-path-in-tests)] (tst-dlopen-aout-no-pie): Do
1419 * elf/tst-dlopen-aout.c: Do not included <assert.h>.
1420 (do_test): Open the executable using an absolute path. Print
1421 error message to standard output.
1423 2019-08-09 DJ Delorie <dj@redhat.com>
1425 * elf/dl-tunables.list: Add glibc.malloc.mxfast.
1426 * manual/tunables.texi: Document it.
1427 * malloc/malloc.c (do_set_mxfast): New.
1428 (__libc_mallopt): Call it.
1429 * malloc/arena.c: Add mxfast tunable.
1430 * malloc/tst-mxfast.c: New.
1431 * malloc/Makefile: Add it.
1433 2019-08-08 Niklas Hambüchen <mail@nh2.me>
1434 Carlos O'Donell <carlos@redhat.com>
1437 * malloc/malloc.c (__malloc_info): Account for top chunk.
1439 2019-08-07 Joseph Myers <joseph@codesourcery.com>
1441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1442 (SYNC_FILE_RANGE_WRITE_AND_WAIT): New macro.
1444 2019-08-06 Joseph Myers <joseph@codesourcery.com>
1446 * io/fcntl.h [__USE_GNU] (AT_RECURSIVE): New macro.
1448 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
1450 * sysdeps/unix/sysv/linux/s390/init-first.c (VDSO_SETUP): New define.
1452 2019-08-05 Joseph Myers <joseph@codesourcery.com>
1454 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU] (CLONE_PIDFD):
1457 2019-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1460 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (ALWAYS_USE_VSYSCALL):
1462 * sysdeps/unix/sysv/linux/arm/sysdep.h (ALWAYS_USE_VSYSCALL):
1464 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1466 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (ALWAYS_USE_VSYSCALL):
1468 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1469 (ALWAYS_USE_VSYSCALL): Likewise.
1470 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1471 (ALWAYS_USE_VSYSCALL): Likewise.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1473 (ALWAYS_USE_VSYSCALL): Likewise.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1475 (ALWAYS_USE_VSYSCALL): Likewise.
1476 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1479 (ALWAYS_USE_VSYSCALL): Likewise.
1480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1481 (ALWAYS_USE_VSYSCALL): Likewise.
1482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1486 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Remove #if USE_VSYSCALL.
1487 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Likewise.
1488 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL,
1489 USE_VSYSCALL): Remove defitions.
1492 * sysdeps/unix/sysv/linux/sparc/init-first.c: Remove #ifdef SHARED.
1493 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: Likewise.
1494 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ALWAYS_USE_VSYSCALL):
1498 * sysdeps/unix/sysv/linux/s390/init-first.c: Remove #ifdef SHARED.
1499 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: Likewise.
1500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1501 (ALWAYS_USE_VSYSCALL): Define.
1502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1503 (ALWAYS_USE_VSYSCALL): Likewise.
1506 * sysdeps/unix/sysv/linux/riscv/init-first.c: Remove #ifdef SHARED.
1507 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
1508 * sysdeps/unix/sysv/linux/riscv/sysdep.h (ALWAYS_USE_VSYSCALL):
1511 * sysdeps/sh/libm-test-ulps: Update.
1513 2019-08-05 Florian Weimer <fweimer@redhat.com>
1516 * login/uptmp-private.h (struct ufuncs): Remove definition.
1517 (__libc_utmp_file_functions, __libc_utmp_unknown_functions)
1518 (__libc_utmp_jump_table): Remove declarations.
1519 (__libc_setutent, __libc_getutent_r, __libc_getutid_r)
1520 (__libc_getutline_r, __libc_pututline, __libc_endutent)
1521 (__libc_updwtmp): Declare.
1522 * login/getutent_r.c (__libc_utmp_unknown_functions)
1523 (__libc_utmp_jump_table, setutent_unknown, getutent_r_unknown)
1524 (getutid_r_unknown, getutline_r_unknown, pututline_unknown)
1525 (endutent_unknown): Remove definitions.
1526 (__setutent): Call __libc_setutent.
1527 (__getutent_r): Call __libc_getutent_r.
1528 (__pututline): Call __libc_pututline.
1529 (__endutent): Call __libc_endutent.
1530 * login/getutid_r.c (__getutid_r): Call __libc_getutid_r.
1531 * login/getutline_r.c (__getutline_r): Call __libc_getutline_r.
1532 * login/updwtmp.c (__updwtmp): Call __libc_updwtmp.
1533 * login/utmp_file.c (__libc_utmp_file_functions): Remove definition
1534 (__libc_setutent): Rename from stetutent_file. Drop static.
1535 (maybe_setutent): New function.
1536 (__libc_getutent_r): Rename from getutent_r_file. Drop static.
1537 Check for initialization.
1538 (__libc_getutid_r): Rename from getutid_r_file. Drop static.
1539 Check for initialization.
1540 (__libc_getutline_r): Rename from getutline_r_file. Drop static.
1541 Check for initialization.
1542 (__libc_pututline): Rename from pututline_file. Drop static.
1543 Check for initialization.
1544 (__libc_endutent): Rename from endutent_file. Drop static. Check
1546 (__libc_updwtmp): Rename from updwtmp_file. Drop static.
1547 * login/utmpname.c (__utmpname): Call __libc_endutent.
1548 * sysdeps/unix/getlogin_r (__getlogin_r): Call __libc_setutent,
1549 __libc_getutlien_r, __libc_endutent.
1550 * manual/users.texi (Who Logged In, Manipulating the Database):
1553 2019-08-05 Alexandra Hájková <ahajkova@redhat.com>
1555 * elf/tst-ldconfig-bad-aux-cache.c: Use support_capture_subprocess.
1557 2019-08-02 Joseph Myers <joseph@codesourcery.com>
1559 * sysdeps/unix/sysv/linux/syscall-names.list: Update comment.
1561 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Update Linux
1562 kernel version number to 5.2.
1564 2019-08-01 Raoni Fassina Firmino <raoni@linux.ibm.com>
1566 * sysdeps/powerpc/powerpc64/power8/memchr.S: Update power8
1567 mnemonics and set .machine power8.
1568 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1569 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1571 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1572 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1573 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1574 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1575 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1576 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1577 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1579 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1581 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1583 2019-08-01 Florian Weimer <fweimer@redhat.com>
1586 * malloc/malloc.c (__malloc_info): Remove unwanted leading
1589 2019-08-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1592 sysdeps/posix/tempname.c (__gen_tempname): get entropy on each
1595 2019-08-01 Carlos O'Donell <carlos@redhat.com>
1597 * version.h (RELEASE): Set to "stable".
1598 (VERSION): Set to "2.30".
1599 * include/features.h (__GLIBC_MINOR__): Set to 2.30.
1601 * manual/install.texi: Update component versions.
1602 * INSTALL: Regenerate.
1605 2019-07-31 Carlos O'Donell <carlos@redhat.com>
1607 * po/be.po: Update translations.
1608 * po/bg.po: Likewise.
1609 * po/ca.po: Likewise.
1610 * po/cs.po: Likewise.
1611 * po/da.po: Likewise.
1612 * po/de.po: Likewise.
1613 * po/el.po: Likewise.
1614 * po/eo.po: Likewise.
1615 * po/es.po: Likewise.
1616 * po/fi.po: Likewise.
1617 * po/fr.po: Likewise.
1618 * po/gl.po: Likewise.
1619 * po/hr.po: Likewise.
1620 * po/hu.po: Likewise.
1621 * po/ia.po: Likewise.
1622 * po/id.po: Likewise.
1623 * po/it.po: Likewise.
1624 * po/ja.po: Likewise.
1625 * po/ko.po: Likewise.
1626 * po/lt.po: Likewise.
1627 * po/nb.po: Likewise.
1628 * po/nl.po: Likewise.
1629 * po/pl.po: Likewise.
1630 * po/pt_BR.po: Likewise.
1631 * po/ru.po: Likewise.
1632 * po/rw.po: Likewise.
1633 * po/sk.po: Likewise.
1634 * po/sl.po: Likewise.
1635 * po/sv.po: Likewise.
1636 * po/tr.po: Likewise.
1637 * po/uk.po: Likewise.
1638 * po/vi.po: Likewise.
1639 * po/zh_CN.po: Likewise.
1640 * po/zh_TW.po: Likewise.
1642 2019-07-31 Florian Weimer <fweimer@redhat.com>
1646 iconv, libio: Revert reference counting changes.
1647 * iconv/gconv_cache.c (__gconv_release_cache): Unconditionally
1648 free the steps array.
1649 * libio/Makefile (tests): Remove tst-wfile-gconv.
1650 (tests-container): Do not add tst-wfile-ascii.
1651 (tst-wfile-gconv-ENV): Do not set.
1652 (generated): Do not add tst-wfile-gconv.mtrace,
1653 tst-wfile-gconv.check.
1654 [($run-built-tests)] (tests-special): Do not add
1655 tst-wfile-gconv-mem.out.
1656 (tst-wfile-gconv.out, tst-wfile-gconv-mem.out): Remove targets.
1657 * libio/iofclose.c (_IO_new_fclose): Call __gconv_release_step
1658 instead of __wcsmbs_clone_conv.
1659 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Remove definition.
1660 * wcsmbs/wcsmbsload.h (__wcsmbs_clone_conv): Remove declaration.
1662 2019-07-30 Joseph Myers <joseph@codesourcery.com>
1664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1665 (__CONTEXT_FUNC_NAME): Restore setting of r31.
1667 2019-07-30 Florian Weimer <fweimer@redhat.com>
1669 * nptl/tst-pthread-getattr.c (allocate_and_test): Change return
1670 type to uintptr_t. Update comment.
1671 (check_stack_top): Adjust.
1673 2019-07-29 Florian Weimer <fweimer@redhat.com>
1675 Linux: Move declaration of getdents64 to <dirent.h>.
1676 * bits/dirent_ext.h: New file.
1677 * dirent/Makefile (headers): Add bits/dirent_ext.h.
1678 * dirent/dirent.h: Include <bits/dirent_ext.h>.
1679 * sysdeps/unix/sysv/linux/bits/dirent_ext.h: New file.
1680 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Remove
1682 * manual/filesys.texi (Low-level Directory Access): Update header
1685 2019-07-29 DJ Delorie <dj@redhat.com>
1686 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1689 * Makeconfig (all-subdirs): Improved source comments.
1690 * Makefile (testroot.pristine/install.stamp): Pass
1691 subdirs='$(sorted-subdirs)' to make install.
1693 2019-07-25 Florian Weimer <fweimer@redhat.com>
1696 * iconv/gconv_cache.c (__gconv_release_cache): Check reference
1697 counter before freeing array.
1699 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
1702 * sysdeps/x86_64/configure.ac: Check if -mprefer-vector-width=128
1704 * sysdeps/x86_64/configure: Regenerated.
1705 * sysdeps/x86_64/fpu/Makefile (CFLAGS-branred.c): New. Set
1706 to -mprefer-vector-width=128 if supported.
1708 2019-07-24 Florian Weimer <fweimer@redhat.com>
1710 * scripts/build-many-glibcs.py (Context.checkout): Default to
1713 2019-07-24 Florian Weimer <fweimer@redhat.com>
1716 Linux: Use in-tree copy of SO_ constants for !__USE_MISC.
1717 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == socket]
1718 (sysdep_headers): Add bits/socket-constants.h.
1719 (tests-special): Add tst-socket-consts.out.
1720 (tst-socket-consts.out): New target.
1721 * sysdeps/unix/sysv/linux/bits/socket.h: Remove macro tracking
1722 around <asm/unistd.h>.
1723 [__USE_MISC]: Include <bits/types/time_t.h> before <asm/socket.h>.
1724 [!__USE_MISC]: Include <sys/socket-constants.h> instead of
1726 * sysdeps/unix/sysv/linux/bits/tst-socket-consts.py: New file.
1727 * sysdeps/unix/sysv/linux/bits/socket-constants.h: Likewise.
1728 * sysdeps/unix/sysv/linux/alpha/bits/socket-constants.h: Likewise.
1729 * sysdeps/unix/sysv/linux/hppa/bits/socket-constants.h: Likewise.
1730 * sysdeps/unix/sysv/linux/mips/bits/socket-constants.h: Likewise.
1731 * sysdeps/unix/sysv/linux/powerpc/bits/socket-constants.h:
1733 * sysdeps/unix/sysv/linux/sparc/bits/socket-constants.h: Likewise.
1735 2019-07-23 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1738 * Makefile (testroot.pristine/install.stamp): Pass
1739 subdirs='$(all-subdirs)' to make install.
1741 * Makefile (testroot.pristine/install.stamp): Execute ld.so with
1742 the same arguments used in all tests.
1744 2019-07-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1746 * NEWS: Mention the AArch64 IFUNC resolver ABI change.
1748 2019-07-20 Egor Kobylkin <egor@kobylkin.com>
1751 * locale/C-translit.h.in: Add Cyrillic transliteration.
1753 2019-07-19 Florian Weimer <fweimer@redhat.com>
1755 * sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
1757 (fsconfig): Add system call name.
1758 (fsmount): Likewise.
1761 (move_mount): Likewise.
1762 (open_tree): Likewise.
1764 2019-07-18 Carlos O'Donell <carlos@redhat.com>
1766 * po/libc.pot: Regenerate.
1768 2019-07-18 Mike Crowe <mac@mcrowe.com>
1770 * sysdeps/unix/sysv/linux/hppa/pthread.h: Add declarations of
1771 functions recently added to sysdeps/nptl/pthread.h:
1772 pthread_mutex_clocklock, pthread_rwlock_clockrdlock,
1773 pthread_rwlock_clockwrlock and pthread_cond_clockwait.
1775 * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
1776 pthread_cond_clockwait forwarding functions. There are no internal
1777 users, so it is unnecessary to expose these functions in libc.so.
1778 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
1779 unnecessary ptr___pthread_cond_clockwait member.
1780 * nptl/nptl-init.c (pthread_functions): Remove assignment of
1783 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1786 * localedata/locales/aa_DJ (abday): Update from CLDR, all words
1787 begin with an uppercase letter now.
1789 (mon): Update from CLDR, reword February from "Kudo" to
1790 "Naharsi Kudo", April from "Agda Baxisso" to "Agda Baxis",
1791 and August from "Liiqen" to "Leqeeni".
1792 * localedata/locales/aa_ER (mon): Update from CLDR, reword
1793 April from "Agda Baxisso" to "Agda Baxis" and August from
1794 "Leqeeni" to "Liiqen".
1795 * localedata/locales/aa_ER@saaho (mon): Likewise.
1796 * localedata/locales/aa_ET (abmon): Update from CLDR, reword
1797 abbreviated February from "Kud" to "Nah".
1798 (mon): Update from CLDR, reword February from "Kudo" to
1799 "Naharsi Kudo" and April from "Agda Baxisso" to "Agda Baxis".
1801 2019-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
1804 * localedata/locales/nl_BE (LC_NAME): Replace with “copy "nl_NL"”.
1806 2019-07-17 PanderMusubi <pander@users.sourceforge.net>
1809 * localedata/locales/nl_BE (LC_NAME): Add name_gen, name_mr,
1810 name_mrs, name_miss, and name_ms.
1811 * localedata/locales/nl_NL (LC_NAME): Likewise.
1813 2019-07-17 Daniil Zhilin <generalfailer@protonmail.com>
1816 * localedata/locales/ga_IE (first_weekday): Add, set to 2 (Monday).
1817 * localedata/locales/en_IE (first_weekday): Likewise.
1819 2019-07-12 Mike Crowe <mac@mcrowe.com>
1821 * nptl/pthread_cond_wait.c: (__pthread_cond_clockwait): Remove code
1822 that is only useful if futex_supports_exact_relative_timeouts ()
1824 * nptl/pthread_condattr_setclock.c: (pthread_condattr_setclock):
1826 * sysdeps/nptl/futex-internal.h: Remove comment about relative
1827 timeouts potentially being imprecise since it's no longer true.
1828 Remove declaration of futex_supports_exact_relative_timeouts.
1829 * sysdeps/unix/sysv/linux/futex-internal.h: Remove implementation
1830 of futex_supports_exact_relative_timeouts.
1832 * NEWS: Mention recently-added pthread_cond_clockwait,
1833 pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
1834 sem_clockwait functions.
1836 nptl: Add POSIX-proposed pthread_mutex_clocklock function that
1837 works like pthread_mutex_timedlock but takes a clockid parameter to
1838 measure the abstime parameter against.
1839 * sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
1840 * nptl/DESIGN-systemtap-probes.txt: Likewise.
1841 * nptl/pthread_mutex_timedlock.c
1842 (__pthread_mutex_clocklock_common): Rename from
1843 __pthread_mutex_timedlock and add clockid parameter. Pass this
1844 parameter to lll_clocklock and lll_clocklock_elision in place of
1845 CLOCK_REALTIME. (__pthread_mutex_clocklock): New function to add
1846 LIBC_PROBE and validate clockid parameter before calling
1847 __pthread_mutex_clocklock_common. (__pthread_mutex_timedlock): New
1848 implementation to add LIBC_PROBE and calls
1849 __pthread_mutex_clocklock_common passing CLOCK_REALTIME as the
1851 * nptl/Makefile: Add tst-mutex11.c.
1852 * nptl/tst-abstime.c (th): Add tests for pthread_mutex_clocklock.
1853 * nptl/tst-mutex11.c: New tests for passing invalid and unsupported
1854 clockid parameters to pthread_mutex_clocklock.
1855 * nptl/tst-mutex5.c (do_test_clock): Rename from do_test and take
1856 clockid parameter to indicate which clock to be used. Call
1857 pthread_mutex_timedlock or pthread_mutex_clocklock as appropriate.
1858 (do_test): Call do_test_clock to separately test
1859 pthread_mutex_timedlock, pthread_mutex_clocklock(CLOCK_REALTIME)
1860 and pthread_mutex_clocklock(CLOCK_MONOTONIC).
1861 * nptl/tst-mutex9.c: Likewise.
1862 * nptl/Versions (GLIBC_2.30): Add pthread_mutex_clocklock.
1863 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30):
1865 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30):
1867 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30):
1869 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30):
1871 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30):
1873 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30):
1875 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30):
1877 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1878 (GLIBC_2.30): Likewise.
1879 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1880 (GLIBC_2.30): Likewise.
1881 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1882 (GLIBC_2.30): Likewise.
1883 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1884 (GLIBC_2.30): Likewise.
1885 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1886 (GLIBC_2.30): Likewise.
1887 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30):
1889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1890 (GLIBC_2.30): Likewise.
1891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
1892 (GLIBC_2.30): Likewise.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
1894 (GLIBC_2.30): Likewise.
1895 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
1896 (GLIBC_2.30): Likewise.
1897 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
1898 (GLIBC_2.30): Likewise.
1899 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
1900 (GLIBC_2.30): Likewise.
1901 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30):
1903 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
1904 (GLIBC_2.30): Likewise.
1905 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
1906 (GLIBC_2.30): Likewise.
1907 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
1908 (GLIBC_2.30): Likewise.
1909 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
1910 (GLIBC_2.30): Likewise.
1912 nptl: Rename lll_timedlock to lll_clocklock and add clockid
1913 parameter to indicate the clock that the abstime parameter should
1914 be measured against in preparation for adding
1915 pthread_mutex_clocklock.
1916 * sysdeps/nptl/lowlevellock.h (lll_clocklock): Rename from
1917 lll_timedlock and add clockid parameter. (__lll_clocklock): Rename
1918 from __lll_timedlock and add clockid parameter.
1919 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_clocklock):
1921 * nptl/lll_timedlock_wait.c (__lll_clocklock_wait): Rename from
1922 __lll_timedlock_wait and add clockid parameter. Use __clock_gettime
1923 rather than __gettimeofday so that clockid can be used. This means
1924 that conversion from struct timeval is no longer required.
1925 * sysdeps/sparc/sparc32/lowlevellock.c (lll_clocklock_wait):
1927 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: Update comment to
1928 refer to __lll_clocklock_wait rather than __lll_timedlock_wait.
1929 * nptl/pthread_mutex_timedlock.c (lll_clocklock_elision): Rename
1930 from lll_timedlock_elision, add clockid parameter and use
1931 meaningful names for other parameters. (__pthread_mutex_timedlock):
1932 Pass CLOCK_REALTIME where necessary to lll_clocklock and
1933 lll_clocklock_elision.
1934 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
1935 (lll_clocklock_elision): Rename from lll_timedlock_elision and add
1936 clockid parameter. (__lll_clocklock_elision): Rename from
1937 __lll_timedlock_elision and add clockid parameter.
1938 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1939 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c
1941 (__lll_lock_elision): Call __lll_clocklock_elision rather than
1942 __lll_timedlock_elision. (EXTRAARG): Add clockid parameter.
1943 (LLL_LOCK): Likewise.
1944 * sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1945 * sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
1947 nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
1948 pthread_rwlock_clockwrlock which behave like
1949 pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
1950 respectively, except they always measure abstime against the
1951 supplied clockid. The functions currently support CLOCK_REALTIME
1952 and CLOCK_MONOTONIC and return EINVAL if any other clock is
1954 * sysdeps/nptl/pthread.h: Add pthread_rwlock_clockrdlock and
1955 pthread_wrlock_clockwrlock.
1956 * nptl/Makefile: Build pthread_rwlock_clockrdlock.c and
1957 pthread_rwlock_clockwrlock.c.
1958 * nptl/pthread_rwlock_clockrdlock.c: Implement
1959 pthread_rwlock_clockrdlock.
1960 * nptl/pthread_rwlock_clockwrlock.c: Implement
1961 pthread_rwlock_clockwrlock.
1962 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Add
1963 clockid parameter and verify that it indicates a supported clock on
1964 entry so that we fail even if it doesn't end up being used. Pass
1965 that clock on to futex_abstimed_wait when necessary.
1966 (__pthread_rwlock_wrlock_full): Likewise.
1967 * nptl/pthread_rwlock_rdlock.c: (__pthread_rwlock_rdlock): Pass
1968 CLOCK_REALTIME to __pthread_rwlock_rdlock_full even though it won't
1969 be used because there's no timeout.
1970 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Pass
1971 CLOCK_REALTIME to __pthread_rwlock_wrlock_full even though it won't
1972 be used because there is no timeout.
1973 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1974 Pass CLOCK_REALTIME to __pthread_rwlock_rdlock_full since abstime
1976 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1977 Pass CLOCK_REALTIME to __pthread_rwlock_wrlock_full since abstime
1979 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
1980 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
1981 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
1982 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
1983 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
1984 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
1985 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
1986 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
1987 (GLIBC_2.30): Likewise.
1988 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
1989 (GLIBC_2.30): Likewise.
1990 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
1991 (GLIBC_2.30): Likewise.
1992 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
1993 (GLIBC_2.30): Likewise.
1994 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
1995 (GLIBC_2.30): Likewise.
1996 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
1998 (GLIBC_2.30): Likewise.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2000 (GLIBC_2.30): Likewise.
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2002 (GLIBC_2.30): Likewise.
2003 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2004 (GLIBC_2.30): Likewise.
2005 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2006 (GLIBC_2.30): Likewise.
2007 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2008 (GLIBC_2.30): Likewise.
2009 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2010 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2011 (GLIBC_2.30): Likewise.
2012 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2013 (GLIBC_2.30): Likewise.
2014 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2015 (GLIBC_2.30): Likewise.
2016 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2017 (GLIBC_2.30): Likewise.
2018 * nptl/tst-abstime.c (th): Add pthread_rwlock_clockrdlock and
2019 pthread_rwlock_clockwrlock timeout tests to match the existing
2020 pthread_rwlock_timedrdloock and pthread_rwlock_timedwrlock tests.
2021 * nptl/tst-rwlock14.c (do_test): Likewise.
2022 * nptl/tst-rwlock6.c Invent verbose_printf macro, and use for
2023 ancillary output throughout. (tf): Accept thread_args structure so
2024 that rwlock, a clockid and function name can be passed to the
2025 thread. (do_test_clock): Rename from do_test. Accept clockid
2026 parameter to specify test clock. Use the magic clockid value of
2027 CLOCK_USE_TIMEDLOCK to indicate that pthread_rwlock_timedrdlock and
2028 pthread_rwlock_timedwrlock should be tested, otherwise pass the
2029 specified clockid to pthread_rwlock_clockrdlock and
2030 pthread_rwlock_clockwrlock. Use xpthread_create and xpthread_join.
2031 (do_test): Call do_test_clock to test each clockid in turn.
2032 * nptl/tst-rwlock7.c: Likewise.
2033 * nptl/tst-rwlock9.c (writer_thread, reader_thread): Accept
2034 thread_args structure so that the (now int) thread number, the
2035 clockid and the function name can be passed to the thread.
2036 (do_test_clock): Renamed from do_test. Pass the necessary
2037 thread_args when creating the reader and writer threads. Use
2038 xpthread_create and xpthread_join.
2039 (do_test): Call do_test_clock to test each clockid in turn.
2040 * manual/threads.texi: Add documentation for
2041 pthread_rwlock_clockrdlock and pthread_rwlock_clockwrclock.
2043 nptl: pthread_rwlock: Move timeout validation into _full functions
2044 * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full):
2045 Check validity of abstime parameter.
2046 (__pthread_rwlock_rwlock_full): Likewise.
2047 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2048 Remove check for validity of abstime parameter.
2049 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2052 nptl: Add POSIX-proposed pthread_cond_clockwait which behaves just
2053 like pthread_cond_timedwait except it always measures abstime
2054 against the supplied clockid.
2055 * nptl/Makefile: Add tst-cond26 and tst-cond27
2056 * nptl/Versions (GLIBC_2.30): Add pthread_cond_clockwait
2057 * sysdeps/nptl/pthread.h: Likewise
2058 * nptl/forward.c: Add __pthread_cond_clockwait
2059 * nptl/forward.c: Likewise
2060 * nptl/pthreadP.h: Likewise
2061 * sysdeps/nptl/pthread-functions.h: Likewise
2062 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Add
2063 clockid parameter and comment describing why we don't need to check
2064 its value. Use that value when calling
2065 futex_abstimed_wait_cancelable rather than reading the clock from
2066 the flags. (__pthread_cond_wait): Pass unused clockid parameter.
2067 (__pthread_cond_timedwait): Read clock from flags and pass it to
2068 __pthread_cond_wait_common. (__pthread_cond_clockwait): Add new
2069 function with weak alias from pthread_cond_clockwait.
2070 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2071 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2072 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2073 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2074 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2075 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2076 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2077 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2078 (GLIBC_2.30): Likewise.
2079 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2080 (GLIBC_2.30): Likewise.
2081 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2082 (GLIBC_2.30): Likewise.
2083 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2084 (GLIBC_2.30): Likewise.
2085 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2086 (GLIBC_2.30): Likewise.
2087 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2089 (GLIBC_2.30): Likewise.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2091 (GLIBC_2.30): Likewise.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2093 (GLIBC_2.30): Likewise.
2094 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2095 (GLIBC_2.30): Likewise.
2096 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2097 (GLIBC_2.30): Likewise.
2098 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2099 (GLIBC_2.30): Likewise.
2100 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2101 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2102 (GLIBC_2.30): Likewise.
2103 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2104 (GLIBC_2.30): Likewise.
2105 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2106 (GLIBC_2.30): Likewise.
2107 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2108 (GLIBC_2.30): Likewise.
2109 * nptl/tst-cond11.c (run_test): Support testing
2110 pthread_cond_clockwait too by using a special magic
2111 CLOCK_USE_ATTR_CLOCK value to determine whether to call
2112 pthread_cond_timedwait or pthread_cond_clockwait. (do_test): Pass
2113 CLOCK_USE_ATTR_CLOCK for existing tests, and add new tests using
2114 all combinations of CLOCK_MONOTONIC and CLOCK_REALTIME.
2115 * ntpl/tst-cond26.c: New test for passing unsupported and invalid
2116 clocks to pthread_cond_clockwait.
2117 * nptl/tst-cond27.c: Add test similar to tst-cond5.c, but using
2118 struct timespec and pthread_cond_clockwait.
2119 * manual/threads.texi: Document pthread_cond_clockwait.
2121 nptl: Add POSIX-proposed sem_clockwait which behaves just like
2122 sem_timedwait, but measures abstime against the specified clock.
2123 * nptl/sem_waitcommon.c (do_futex_wait, __new_sem_wait_slow): Add
2124 clockid parameters to indicate the clock which abstime should be
2126 * nptl/sem_timedwait.c (sem_timedwait), nptl/sem_wait.c
2127 (__new_sem_wait): Pass CLOCK_REALTIME as clockid to
2128 __new_sem_wait_slow.
2129 * nptl/sem_clockwait.c: New file to implement sem_clockwait based
2131 * nptl/Makefile: Add sem_clockwait.c source file. Add CFLAGS for
2132 sem_clockwait.c to match those used for sem_timedwait.c.
2133 * sysdeps/pthread/semaphore.h: Add sem_clockwait.
2134 * nptl/Versions (GLIBC_2.30): Likewise.
2135 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.30): Likewise.
2136 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.30): Likewise.
2137 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.30): Likewise.
2138 * sysdeps/unix/sysv/linux/csky/libpthread.abilist (GLIBC_2.30): Likewise.
2139 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.30): Likewise.
2140 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.30): Likewise.
2141 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.30): Likewise.
2142 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2143 (GLIBC_2.30): Likewise.
2144 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2145 (GLIBC_2.30): Likewise.
2146 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2147 (GLIBC_2.30): Likewise.
2148 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2149 (GLIBC_2.30): Likewise.
2150 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
2151 (GLIBC_2.30): Likewise.
2152 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist (GLIBC_2.30): Likewise.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist
2154 (GLIBC_2.30): Likewise.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2156 (GLIBC_2.30): Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2158 (GLIBC_2.30): Likewise.
2159 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist
2160 (GLIBC_2.30): Likewise.
2161 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2162 (GLIBC_2.30): Likewise.
2163 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2164 (GLIBC_2.30): Likewise.
2165 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.30): Likewise.
2166 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2167 (GLIBC_2.30): Likewise.
2168 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2169 (GLIBC_2.30): Likewise.
2170 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2171 (GLIBC_2.30): Likewise.
2172 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2173 (GLIBC_2.30): Likewise.
2174 * nptl/tst-sem17.c: Add new test for passing invalid clock to
2176 * nptl/tst-sem13.c, nptl/tst-sem5.c: Modify existing sem_timedwait
2177 tests to also test sem_clockwait.
2178 * manual/threads.texi: Document sem_clockwait.
2180 nptl: Add clockid parameter to futex timed wait calls
2181 * sysdeps/nptl/lowlevellock-futex.h,
2182 sysdeps/unix/sysv/linux/lowlevellock-futex.h: Replace
2183 lll_futex_timed_wait_bitset with lll_futex_clock_wait_bitset that
2184 takes a clockid rather than a special clockbit.
2185 * sysdeps/nptl/lowlevellock-futex.h: Add
2186 lll_futex_supported_clockid so that client functions can check
2187 whether their clockid parameter is valid even if they don't
2188 ultimately end up calling lll_futex_clock_wait_bitset.
2189 * sysdeps/nptl/futex-internal.h,
2190 sysdeps/unix/sysv/linux/futex-internal.h
2191 (futex_abstimed_wait, futex_abstimed_wait_cancelable): Add
2192 clockid_t parameter to indicate which clock the absolute time
2193 passed should be measured against. Pass that clockid onto
2194 lll_futex_clock_wait_bitset. Add invalid clock as reason for
2196 * sysdeps/nptl/futex-internal.h,
2197 sysdeps/unix/sysv/linux/futex-internal.h: Introduce
2198 futex_abstimed_supported_clockid so that client functions can check
2199 whether their clockid parameter is valid even if they don't
2200 ultimately end up calling futex_abstimed_wait.
2201 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Remove
2202 code to calculate relative timeout for
2203 __PTHREAD_COND_CLOCK_MONOTONIC_MASK and just pass CLOCK_MONOTONIC
2204 or CLOCK_REALTIME as required to futex_abstimed_wait_cancelable.
2205 * nptl/pthread_rwlock_common (__pthread_rwlock_rdlock_full)
2206 (__pthread_wrlock_full), nptl/sem_waitcommon (do_futex_wait): Pass
2207 additional CLOCK_REALTIME to futex_abstimed_wait_cancelable.
2208 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2209 Switch to lll_futex_clock_wait_bitset and pass CLOCK_REALTIME
2211 2019-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2214 * posix/tst-mmap-offset.c: Mention BZ #24699.
2215 (do_test_bz21270): Rename to do_test_large_offset and use
2216 mmap64_maximum_offset to check for maximum expected offset value.
2217 * sysdeps/generic/mmap_info.h: New file.
2218 * sysdeps/unix/sysv/linux/mips/mmap_info.h: Likewise.
2219 * sysdeps/unix/sysv/linux/mmap64.c (MMAP_OFF_HIGH_MASK): Define iff
2222 2019-07-10 DJ Delorie <dj@redhat.com>
2223 Sergei Trofimovich <slyfox@inbox.ru>
2227 * nss/nss_db/db-open.c (internal_endent): Protect against NULL
2229 * nss/tst-nss-db-endgrent.c: New.
2230 * nss/tst-nss-db-endgrent.root: New.
2231 * nss/tst-nss-db-endpwent.c: New.
2232 * nss/tst-nss-db-endpwent.root: New.
2233 * nss/Makefile: Add new tests.
2234 * support/links-dso-program-c.c: Add selinux dependency.
2235 * support/links-dso-program.cc: Add selinux dependency.
2236 * support/Makefile: Build those with -lselinux if enabled.
2238 2019-07-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
2240 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove the
2241 DT_AARCH64_VARIANT_PCS check.
2242 (elf_machine_lazy_rel): Use l_info[DT_AARCH64 (VARIANT_PCS)].
2243 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Remove
2246 2019-07-10 Andreas Schwab <schwab@suse.de>
2249 * malloc/malloc.h (__malloc_check_init): Don't declare.
2250 * include/malloc.h (__malloc_check_init): Likewise.
2251 * malloc/malloc-internal.h (__malloc_check_init): Declare it here.
2252 * manual/memory.texi (__malloc_check_init): Don't mention it.
2254 2019-07-10 Mao Han <han_mao@c-sky.com>
2256 * locale/Makefile: Fix tst-locale-locpath arguments passing.
2258 2019-07-09 Paul A. Clarke <pc@us.ibm.com>
2260 * sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
2261 __builtin_cpu_supports with __BUILTIN_CPU_SUPPORTS__.
2263 2019-07-08 DJ Delorie <dj@redhat.com>
2266 * io/ftw.c (process_entry): Fill in statbuf for dangling links.
2267 * io/tst-ftw-lnk.c: New test.
2268 * io/Makefile: Run it.
2270 2019-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2272 * sysdeps/powerpc/power7/fpu/s_logb.c: Move to ...
2273 * sysdeps/powerpc/fpu/s_logb.c: ... here. Use inline FP constants.
2274 * sysdeps/powerpc/power7/fpu/s_logbf.c: Move to ...
2275 * sysdeps/powerpc/fpu/s_logbf.c: ... here. Use inline FP constants.
2276 * sysdeps/powerpc/power7/fpu/s_logbl.c: Move to ...
2277 * sysdeps/powerpc/fpu/s_logbl.c: ... here. Use inline FP constants.
2278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c:
2279 Adjust implementation path.
2280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c:
2281 Adjust implementation path.
2282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-power7.c:
2283 Adjust implementation path.
2284 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2285 (libm-sysdep_routines): Add s_log* objects.
2286 (CFLAGS-s_logbf-power7.c, CFLAGS-s_logbl-power7.c,
2287 CFLAGS-s_logb-power7.c): New fule.
2288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: Move
2290 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-power7.c:
2292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: Move
2294 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb-ppc64.c:
2296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Move to ...
2297 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logb.c: ... here.
2298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: Move
2300 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-power7.c:
2302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: Move
2304 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf-ppc64.c:
2306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Move to ...
2307 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbf.c: ... here.
2308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: Move
2310 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-power7.c:
2312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: Move
2314 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl-ppc64.c:
2316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: Move to ...
2317 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_logbl.c: ... here.
2318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Remove file.
2319 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Remove file.
2320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Move to ...
2324 * sysdeps/ieee754/dbl-64/s_logb.c: ... here. Add work around for
2325 powerpc32 integer 0 converting to -0.
2327 * benchtests/Makefile (bench-math): Add logb.
2328 * benchtests/logb-inputs: New file.
2329 * benchtests/logbf-inputs: New file.
2331 * sysdeps/powerpc/power5+/fpu/s_modf.c: Move to ...
2332 * sysdeps/powerpc/fpu/s_modf.c: ... here. Add ISA 2.07 optimization.
2333 * sysdeps/powerpc/power5+/fpu/s_modff.c: Move to ...
2334 * sysdeps/powerpc/fpu/s_modff.c: ... here. Add ISA 2.07 optimization.
2335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2339 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile (sysdep_calls,
2340 sysdep_routines): Add s_modf* objects.
2341 (CFLAGS-s_modf-power5+.c, CFLAGS-s_modff-power5+.c,
2342 CFLAGS-s_modf-ppc64.c, CFLAGS-s_modff-ppc64.c): New rule.
2343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Move
2345 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c:
2347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: Movo
2349 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf-power5+.c: Move
2351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Move to ...
2352 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modf.c: ... here.
2353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: Move
2355 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-power5+.c:
2357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: Move to ...
2358 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff-ppc64.c:
2360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Move to ...
2361 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_modff.c: ... here.
2363 * sysdeps/powerpc/fpu/e_hypot.c (two60, two500, two600, two1022,
2364 twoM500, twoM600, two60factor, pdnum): Remove.
2365 (TEST_INFO_NAN, GET_TW0_HIGH_WORD): Remove macro.
2366 (__ieee754_hypot): Replace static variables with inline definition,
2367 remove ununsed branches.
2368 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2369 (libm-sysdep_routines): Remove e_hypot-* objects.
2370 (CFLAGS-e_hypot-power7.c, CFLAGS-e_hypotf-power7.c): Remove rule.
2371 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: Remove
2373 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: Likewise.
2374 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: Likewise.
2375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: Likewise.
2376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: Likewise.
2377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: Likewise.
2379 * benchtests/Makefile (bench-math): Add hypot.
2380 * benchtests/hypot-inputs: New file.
2382 2019-07-08 Vincent Chen <vincentc@andestech.com>
2384 * sysdeps/unix/sysv/linux/dl-vdso.h
2385 (VDSO_NAME_LINUX_4, VDSO_HASH_LINUX_4): New defines.
2387 2019-07-04 Andreas Schwab <schwab@suse.de>
2390 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Define.
2392 2019-07-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
2394 * sysdeps/aarch64/Makefile: Install sys/ifunc.h and add tests.
2395 * sysdeps/aarch64/dl-irel.h (elf_ifunc_invoke): Update to new ABI.
2396 * sysdeps/aarch64/sys/ifunc.h: New file.
2397 * sysdeps/aarch64/tst-ifunc-arg-1.c: New file.
2398 * sysdeps/aarch64/tst-ifunc-arg-2.c: New file.
2400 2019-07-01 Florian Weimer <fweimer@redhat.com>
2403 * nptl/Versions (libpthread): Remove __fork from GLIBC_2.0.
2404 Replace __vfork with __libpthread_version_placeholder for
2406 (libc): Remove __libc_vfork from GLIBC_PRIVATE.
2407 * nptl/Makefile (libpthread-routines): Remove pt-vfork. Add
2409 * nptl/pt-vfork.c: Remove file.
2410 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: Likewise.
2411 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: Likewise.
2412 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
2413 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2414 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: Likewise.
2415 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: Likewise.
2416 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Likewise.
2417 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: Likewise.
2418 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: Likewise.
2419 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
2420 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: Likewise.
2421 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: Likewise.
2423 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist (GLIBC_2.17):
2424 Remove vfork, __vfork.
2425 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist (GLIBC_2.0):
2427 (GLIBC_2.1.2): Replace __vfork with
2428 __libpthread_version_placeholder.
2429 * sysdeps/unix/sysv/linux/arm/libpthread.abilist (GLIBC_2.4):
2430 Remove vfork, __vfork.
2431 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist (GLIBC_2.2):
2433 * sysdeps/unix/sysv/linux/i386/libpthread.abilist (GLIBC_2.0):
2435 (GLIBC_2.1.2): Replace __vfork with
2436 __libpthread_version_placeholder.
2437 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist (GLIBC_2.2):
2439 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist
2440 (GLIBC_2.4): Remove vfork, __vfork.
2441 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist
2442 (GLIBC_2.0): Remove vfork.
2443 (GLIBC_2.1.2): Replace __vfork with
2444 __libpthread_version_placeholder.
2445 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist
2446 (GLIBC_2.18): Remove vfork, __vfork.
2447 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist
2448 (GLIBC_2.0): Remove vfork.
2449 (GLIBC_2.2): Remove __vfork.
2450 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist:
2451 (GLIBC_2.2): Remove vfork, __vfork.
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
2453 (GLIBC_2.0): Remove vfork.
2454 (GLIBC_2.1.2): Replace __vfork with
2455 __libpthread_version_placeholder.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libpthread.abilist
2457 (GLIBC_2.3): Remove vfork, __vfork.
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libpthread.abilist
2459 (GLIBC_2.17): Likewise.
2460 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist
2461 (GLIBC_2.0): Remove vfork.
2462 (GLIBC_2.1.2): Replace __vfork with
2463 __libpthread_version_placeholder.
2464 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist
2465 (GLIBC_2.2): Remove vfork, __vfork.
2466 * sysdeps/unix/sysv/linux/sh/libpthread.abilist (GLIBC_2.2):
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist
2469 (GLIBC_2.0): Remove vfork.
2470 (GLIBC_2.1.2): Replace __vfork with
2471 __libpthread_version_placeholder.
2472 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist
2473 (GLIBC_2.2): Remove vfork, __vfork.
2474 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist
2475 (GLIBC_2.2.5): Likewise.
2476 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist
2477 (GLIBC_2.16): Likewise.
2478 * sysdeps/unix/sysv/linux/hppa/localplt.data (libpthread.so):
2479 Remove __errno_location.
2481 2019-07-02 Florian Weimer <fweimer@redhat.com>
2484 * malloc/Depend: Add nptl and htl, due to potential indirect
2485 libpthread dependency of memusagestat.
2487 2019-07-02 Stefan Liebler <stli@linux.ibm.com>
2489 * resolv/res_send.c (__res_context_send): Disable maybe-uninitialized
2492 2019-07-01 Florian Weimer <fweimer@redhat.com>
2494 * scripts/build-many-glibcs.py (Context.add_all_configs): Add v4t
2495 variant for arm-linux-gnueabi.
2497 2019-07-01 H.J. Lu <hongjiu.lu@intel.com>
2500 * elf/dl-open.c (dl_open_worker): Call _dl_open_check after
2502 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-5a,
2503 tst-cet-legacy-5b, tst-cet-legacy-6a and tst-cet-legacy-6b.
2504 (modules-names): Add tst-cet-legacy-mod-5a, tst-cet-legacy-mod-5b,
2505 tst-cet-legacy-mod-5c, tst-cet-legacy-mod-6a, tst-cet-legacy-mod-6b
2506 and tst-cet-legacy-mod-6c.
2507 (CFLAGS-tst-cet-legacy-5a.c): New.
2508 (CFLAGS-tst-cet-legacy-5b.c): Likewise.
2509 (CFLAGS-tst-cet-legacy-mod-5a.c): Likewise.
2510 (CFLAGS-tst-cet-legacy-mod-5b.c): Likewise.
2511 (CFLAGS-tst-cet-legacy-mod-5c.c): Likewise.
2512 (CFLAGS-tst-cet-legacy-6a.c): Likewise.
2513 (CFLAGS-tst-cet-legacy-6b.c): Likewise.
2514 (CFLAGS-tst-cet-legacy-mod-6a.c): Likewise.
2515 (CFLAGS-tst-cet-legacy-mod-6b.c): Likewise.
2516 (CFLAGS-tst-cet-legacy-mod-6c.c): Likewise.
2517 ($(objpfx)tst-cet-legacy-5a): Likewise.
2518 ($(objpfx)tst-cet-legacy-5a.out): Likewise.
2519 ($(objpfx)tst-cet-legacy-mod-5a.so): Likewise.
2520 ($(objpfx)tst-cet-legacy-mod-5b.so): Likewise.
2521 ($(objpfx)tst-cet-legacy-5b): Likewise.
2522 ($(objpfx)tst-cet-legacy-5b.out): Likewise.
2523 (tst-cet-legacy-5b-ENV): Likewise.
2524 ($(objpfx)tst-cet-legacy-6a): Likewise.
2525 ($(objpfx)tst-cet-legacy-6a.out): Likewise.
2526 ($(objpfx)tst-cet-legacy-mod-6a.so): Likewise.
2527 ($(objpfx)tst-cet-legacy-mod-6b.so): Likewise.
2528 ($(objpfx)tst-cet-legacy-6b): Likewise.
2529 ($(objpfx)tst-cet-legacy-6b.out): Likewise.
2530 (tst-cet-legacy-6b-ENV): Likewise.
2531 * sysdeps/x86/tst-cet-legacy-5.c: New file.
2532 * sysdeps/x86/tst-cet-legacy-5a.c: Likewise.
2533 * sysdeps/x86/tst-cet-legacy-5b.c: Likewise.
2534 * sysdeps/x86/tst-cet-legacy-6.c: Likewise.
2535 * sysdeps/x86/tst-cet-legacy-6a.c: Likewise.
2536 * sysdeps/x86/tst-cet-legacy-6b.c: Likewise.
2537 * sysdeps/x86/tst-cet-legacy-mod-5.c: Likewise.
2538 * sysdeps/x86/tst-cet-legacy-mod-5a.c: Likewise.
2539 * sysdeps/x86/tst-cet-legacy-mod-5b.c: Likewise.
2540 * sysdeps/x86/tst-cet-legacy-mod-5c.c: Likewise.
2541 * sysdeps/x86/tst-cet-legacy-mod-6.c: Likewise.
2542 * sysdeps/x86/tst-cet-legacy-mod-6a.c: Likewise.
2543 * sysdeps/x86/tst-cet-legacy-mod-6b.c: Likewise.
2544 * sysdeps/x86/tst-cet-legacy-mod-6c.c: Likewise.
2546 2019-06-30 Paul A. Clarke <pc@us.ibm.com>
2548 * sysdeps/powerpc/bits/fenvinline.h (__fegetround): Use
2549 __fegetround_ISA300() or __fegetround_ISA2() as appropriate.
2550 (__fegetround_ISA300) New.
2551 (__fegetround_ISA2) New.
2552 * sysdeps/powerpc/fpu_control.h (IS_ISA300): New.
2553 (_FPU_MFFS): Move implementation...
2555 (_FPU_MFFSL): Move implementation....
2556 (_FPU_GET_RC_ISA300): Here. New.
2557 (_FPU_GET_RC): Use _FPU_GET_RC_ISA300() or _FPU_GETCW() as appropriate.
2558 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_status_ISA300): New.
2559 (fegetenv_status): New.
2560 * sysdeps/powerpc/fpu/fegetmode.c (fegetmode): Use fegetenv_status()
2561 instead of fegetenv_register().
2562 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Likewise.
2564 2019-06-28 Wilco Dijkstra <wdijkstr@arm.com>
2566 * benchtests/bench-math-inlines.c: Increase iterations.
2567 * benchtests/bench-memcmp.c: Likewise.
2568 * benchtests/bench-rawmemchr.c: Likewise.
2569 * benchtests/bench-strcmp.c: Likewise.
2570 * benchtests/bench-strcpy_chk.c: Likewise.
2571 * benchtests/bench-string.h (INNER_LOOP_ITERS8): Add define.
2572 (INNER_LOOP_ITERS_MEDIUM): Increase iterations.
2573 (INNER_LOOP_ITERS_SMALL): Likewise.
2574 * benchtests/bench-strncat.c: Increase iterations.
2575 * benchtests/bench-strncmp.c: Increase iterations.
2576 * benchtests/bench-strncpy.c: Reduce iterations for wide strings.
2577 * benchtests/bench-strrchr.c: Increase iterations.
2578 * benchtests/bench-strstr.c: Keep iterations unchanged.
2579 * benchtests/bench-strtod.c: Increase iterations.
2581 2019-06-28 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
2583 * benchtests/bench-memccpy.c: Replace INNER_LOOP_ITERS
2584 with INNER_LOOP_ITERS_LARGE.
2585 * benchtests/bench-memchr.c: Likewise.
2586 * benchtests/bench-rawmemchr.c: Likewise.
2587 * benchtests/bench-strcat.c: Likewise.
2588 * benchtests/bench-strchr.c: Likewise.
2589 * benchtests/bench-string.h: Likewise.
2590 * benchtests/bench-strlen.c: Likewise.
2591 * benchtests/bench-strncpy.c: Likewise.
2592 * benchtests/bench-strnlen.c: Likewise.
2594 2019-06-28 Florian Weimer <fweimer@redhat.com>
2596 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_checks):
2597 Use mmap instead of malloc. malloc with M_PERTURB writes to the
2598 entire allocated memory range.
2600 2019-06-28 Tobias Klauser <tklauser@distanz.ch>
2602 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION): Remove macro.
2603 (prepare_version_base): New helper inline function.
2604 (prepare_version): New macro replacing PREPARE_VERSION.
2605 (PREPARE_VERSION_KNOWN): Use prepare_version instead of PREPARE_VERSION.
2607 2019-06-28 Florian Weimer <fweimer@redhat.com>
2610 * elf/dl-lookup.c (do_lookup_x): Do not fail if there is a soname
2611 mismatch in a versioned symbol reference.
2612 (_dl_lookup_symbol_x): Do not report soname mismatch failures.
2613 * elf/Makefile [$(build-shared)] (tests): Add tst-sonamemove-link,
2614 tst-sonamemove-dlopen.
2615 (module-names): Add tst-sonamemove-linkmod1,
2616 tst-sonamemove-runmod1, tst-sonamemove-runmod2.
2617 (LDFLAGS-tst-sonamemove-linkmod1.so): Set.
2618 (LDFLAGS-tst-sonamemove-runmod1.so): Likewise.
2619 (LDFLAGS-tst-sonamemove-runmod2.so): Likewise.
2620 (tst-sonamemove-runmod1.so): Link against
2621 tst-sonamemove-runmod2.so.
2622 (tst-sonamemove-link): Link against tst-sonamemove-linkmod1.so.
2623 (tst-sonamemove-link.out): Depend on tst-sonamemove-runmod1.so,
2624 tst-sonamemove-runmod2.so.
2625 (tst-sonamemove-dlopen): Link with -ldl.
2626 (tst-sonamemove-dlopen.out): Likewise.
2627 * elf/tst-sonamemove-link.c: New file.
2628 * elf/tst-sonamemove-dlopen.c: Likewise.
2629 * elf/tst-sonamemove-linkmod1.c: Likewise.
2630 * elf/tst-sonamemove-linkmod1.map: Likewise.
2631 * elf/tst-sonamemove-runmod1.c: Likewise.
2632 * elf/tst-sonamemove-runmod1.map: Likewise.
2633 * elf/tst-sonamemove-runmod2.c: Likewise.
2634 * elf/tst-sonamemove-runmod2.map: Likewise.
2636 2019-06-28 Florian Weimer <fweimer@redhat.com>
2638 * support/xdlfcn.h (xdlvsym): Declare function.
2639 * support/xdlfcn.c (xdlvsym): Define funciton.
2641 2019-06-28 Florian Weimer <fweimer@redhat.com>
2644 io: Remove the copy_file_range emulation.
2645 * sysdeps/unix/sysv/linux/copy_file_range.c (copy_file_range): Do
2646 not define and call copy_file_range_compat.
2647 * io/Makefile (tests-static, tests-internal): Do not add
2648 tst-copy_file_range-compat.
2649 * io/copy_file_range-compat.c: Remove file.
2650 * io/copy_file_range.c (copy_file_range): Define as stub.
2651 * io/tst-copy_file_range-compat.c: Remove file.
2652 * io/tst-copy_file_range.c (xdevfile): Remove variable.
2653 (typical_sizes): Update comment. Remove 16K sizes.
2654 (maximum_offset, maximum_offset_errno, maximum_offset_hard_limit):
2656 (find_maximum_offset, pipe_as_source, pipe_as_destination)
2657 (delayed_write_failure_beginning, delayed_write_failure_end)
2658 (cross_device_failure, enospc_failure_1, enospc_failure)
2659 (oappend_failure): Remove functions.
2660 (tests): Adjust test case list.
2661 (do_test): Remove file system search code. Check for ENOSYS from
2662 copy_file_range. Do not free xdevfile.
2663 * manual/llio.texi (Copying File Data): Document ENOSYS error from
2664 copy_file_range. Do not document the EXDEV error, which future
2665 kernels may not report. Update the wording to reflect that
2666 further errors are possible.
2667 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2668 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_COPY_FILE_RANGE): Do
2670 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2671 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2673 * sysdeps/unix/sysv/linux/kernel-features.h
2674 [__LINUX_KERNEL_VERSION >= 0x040500] (__ASSUME_COPY_FILE_RANGE):
2676 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2677 [__LINUX_KERNEL_VERSION < 0x040A00] (__ASSUME_COPY_FILE_RANGE): Do
2679 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2680 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2683 2019-06-27 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
2685 * libio/libioP.h (PRINTF_LDBL_USES_FLOAT128): New macro to be
2686 used as a mask for the mode argument of __vfprintf_internal.
2687 * stdio-common/printf-parse.h (printf_arg): New union member:
2689 * stdio-common/vfprintf-internal.c
2690 (PARSE_FLOAT_VA_ARG_EXTENDED): New macro.
2691 (PARSE_FLOAT_VA_ARG): Likewise.
2692 (SETUP_FLOAT128_INFO): Likewise.
2693 (process_arg): Use PARSE_FLOAT_VA_ARG_EXTENDED and
2694 SETUP_FLOAT128_INFO.
2695 [__HAVE_FLOAT128_UNLIKE_LDBL] (printf_positional): Write
2696 floating-point value to the new union member, pa_float128.
2697 (printf_positional): Zero-initialize args_value[cnt] with memset.
2699 2019-06-27 Florian Weimer <fweimer@redhat.com>
2702 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Adjust
2703 buffer size if necessary.
2704 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
2706 * sysdeps/unix/sysv/linux/tst-getdents64.c (large_buffer_check):
2708 (large_buffer_checks): Likewise.
2709 (do_test): Call large_buffer_checks.
2711 2019-06-26 H.J. Lu <hongjiu.lu@intel.com>
2713 * sysdeps/i386/dl-lookupcfg.h: Moved to ...
2714 * sysdeps/x86/dl-lookupcfg.h: Here.
2715 * sysdeps/x86_64/dl-lookupcfg.h: Removed.
2717 2019-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2720 (libm-sysdep_routines): Remove e_expf-power8 and expf-ppc64.
2721 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Remove
2723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: Likewise.
2726 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: Likewise.
2729 * sysdeps/powerpc/powerpc32/fpu/Makefile
2730 [$(subdir) == math] (CFLAGS-s_lround.c): New rule.
2731 * sysdeps/powerpc/powerpc32/fpu/s_llround.c (__llround): Add power5+
2732 and fctidz optimization.
2733 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove file.
2734 * sysdeps/powerpc/powerpc32/fpu/s_lround.c: New file.
2735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2736 (CFLAGS-s_llround-power6.c, CFLAGS-s_llround-power5+.c,
2737 CFLAGS-s_llround-ppc32.c, CFLAGS-s_lround-ppc32.c,
2738 CFLAGS-s_lround-power5+.c): New rule.
2739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.c:
2741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.c:
2743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.c:
2745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.c:
2747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.c:
2749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2759 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2760 * sysdeps/powerpc/powerpc32/power4/fpu/s_llroundf.S: Likewise.
2761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2762 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llroundf.S: Likewise.
2763 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2765 * sysdeps/powerpc/powerpc32/power6/fpu/s_llroundf.S: Likewise.
2767 2019-06-26 Vincent Chen <vincentc@andestech.com>
2769 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
2770 specific system calls, fp_udfiex_crtl and udftrap.
2772 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2774 * nptl/tst-eintr1.c (tf1): Add return statement.
2775 (do_test): Remove unused th variable.
2777 2019-06-26 Stefan Liebler <stli@linux.ibm.com>
2779 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
2780 Return error if get_character fails.
2782 2019-06-25 Stefan Liebler <stli@linux.ibm.com>
2784 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2786 2019-06-24 Rafał Lużyński <digitalfreak@lingonborough.com>
2789 * localedata/locales/szl_PL (day): Use the correct Unicode
2790 sequences instead of non-ASCII characters.
2792 2019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
2795 * localedata/locales/szl_PL (abday): Spelling corrections.
2799 (alt_mon): This, then apply spelling corrections.
2800 (mon): New entry, month names in the genitive case.
2802 2019-06-21 Rafał Lużyński <digitalfreak@lingonborough.com>
2805 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
2806 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
2807 (thousands_sep): Likewise.
2808 (grouping): Set to 3;3.
2810 2019-06-21 Tobias Klauser <tklauser@distanz.ch>
2812 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
2813 PREPARE_VERSION_KNOWN.
2814 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2815 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
2817 (VDSO_HASH_LINUX_2_6_39): Likewise.
2818 (VDSO_NAME_LINUX_4_9): Likewise.
2819 (VDSO_HASH_LINUX_4_9): Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2822 (_libc_vdso_platform_setup): Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
2824 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
2826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
2829 2019-06-20 Mike Crowe <mac@mcrowe.com>
2831 * nptl/eintr.c: Use libsupport.
2832 * nptl/tst-eintr1.c: Likewise.
2833 * nptl/tst-eintr2.c: Likewise.
2834 * nptl/tst-eintr3.c: Likewise.
2835 * nptl/tst-eintr4.c: Likewise.
2836 * nptl/tst-eintr5.c: Likewise.
2837 * nptl/tst-mutex-errorcheck.c: Likewise.
2838 * nptl/tst-mutex5.c: Likewise.
2840 * support/test-driver.h: Add verbose_printf macro.
2842 * support/xtime.h: Add xclock_now() helper function.
2844 2019-06-20 Dmitry V. Levin <ldv@altlinux.org>
2845 Florian Weimer <fweimer@redhat.com>
2848 * libio/genops.c (_IO_unbuffer_all)
2849 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
2850 buffers and access _IO_FILE_complete members of legacy libio streams.
2851 * libio/tst-bz24228.c: New file.
2852 * libio/tst-bz24228.map: Likewise.
2853 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
2854 [build-shared] (generated): Add tst-bz24228.mtrace and
2856 [run-built-tests && build-shared] (tests-special): Add
2857 $(objpfx)tst-bz24228-mem.out.
2858 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
2859 ($(objpfx)tst-bz24228-mem.out): New rule.
2861 2019-06-19 Paul A. Clarke <pc@us.ibm.com>
2863 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
2864 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
2865 (__FPU_MFFSL): Likewise.
2866 (_FPU_SETCW): Likewise.
2868 2019-06-19 Stan Shebs <stanshebs@google.com>
2869 Raoni Fassina Firmino <raoni@linux.ibm.com>
2872 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2873 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
2874 static-linking version.
2875 * sysdeps/unix/sysv/linux/powerpc/Makefile
2876 (tests-static): Add test-gettimebasefreq-static.
2878 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
2881 2019-06-19 Rafał Lużyński <digitalfreak@lingonborough.com>
2884 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
2885 between the currency symbol and the minus sign).
2886 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2888 2019-06-19 Stefan Liebler <stli@linux.ibm.com>
2891 * string/test-strcasestr.c (check_result): Add NULL check.
2892 * nss/tst-field.c (check_rewrite): Likewise.
2893 * benchtests/bench-strstr.c (do_one_test): Likewise.
2894 * string/test-strstr.c (check_result): Likewise.
2895 * argp/argp-test.c (popt): Increase size of buf to 12.
2896 * benchtests/bench-malloc-simple.c (bench):
2897 Do not initialize tests array out of bounds.
2899 2019-06-19 Florian Weimer <fweimer@redhat.com>
2902 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
2905 2019-06-18 Florian Weimer <fweimer@redhat.com>
2908 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
2909 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
2910 fail when called from dlopen.
2911 * elf/Makefile [have-fpie && build-shared] (tests): Add
2913 (tst-dlopen-pie): Link with -ldl.
2914 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
2915 * elf/tst-dlopen-pie.c (do_test): New file.
2917 2019-06-17 Rafał Lużyński <digitalfreak@lingonborough.com>
2920 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
2921 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
2922 between the currency symbol and the minus sign).
2923 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
2924 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
2926 2019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2928 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
2929 sysdep-rtld-routines): Remove rules.
2930 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
2931 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
2932 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
2933 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
2934 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
2935 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
2936 vDSO path for SHARED.
2937 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
2938 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
2939 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2940 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2941 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
2942 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
2944 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
2945 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
2946 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
2947 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
2948 CFLAGS-s_llround-power5+.c): New rule.
2949 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
2951 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
2953 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
2955 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
2957 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
2959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
2960 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
2961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
2962 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
2963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
2964 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
2965 * sysdeps/powerpc/powerpc64/fpu/Makefile
2966 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
2967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2968 (libm-sysdep_routines): Remove s_llround-* objects.
2969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
2971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
2973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
2975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
2977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
2979 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2980 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2981 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
2982 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
2983 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
2984 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
2985 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
2986 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
2987 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2988 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
2989 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2990 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
2991 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2992 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
2994 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
2995 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
2996 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
2997 * sysdeps/powerpc/powerpc32/fpu/Makefile
2998 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
2999 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
3001 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
3002 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
3003 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
3004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3005 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
3006 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
3007 CFLAGS-s_lrint-ppc32.c): New rule.
3008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3018 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3019 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3021 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
3024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
3026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
3028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
3030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
3033 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
3034 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
3036 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
3037 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
3039 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
3041 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
3043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
3044 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
3045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
3046 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
3047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
3048 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
3049 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
3050 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
3051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3052 (libm-sysdep_routines): Remove s_llrint-* objects.
3053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
3055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
3057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
3058 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
3059 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
3060 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
3061 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
3062 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
3063 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3064 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3066 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
3068 2019-06-14 Florian Weimer <fweimer@redhat.com>
3070 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
3071 argument to __glibc_has_include to inhibit macro expansion.
3073 2019-06-14 Florian Weimer <fweimer@redhat.com>
3075 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
3076 function-like macro, so that __has_include can inhibit expansion
3079 2019-06-13 Joseph Myers <joseph@codesourcery.com>
3081 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
3084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3085 Allow memset in libc.so.
3087 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3089 * sysdeps/aarch64/dl-dtprocnum.h: New file.
3090 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
3091 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
3092 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
3093 symbols at load time.
3094 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
3096 2019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3098 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
3099 (DT_AARCH64_VARIANT_PCS): Define.
3101 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3104 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
3106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
3110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
3111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
3114 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3115 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
3116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3117 Remove s_finite* objects.
3118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
3119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
3120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
3121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
3123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
3124 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3125 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
3126 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3127 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
3129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
3130 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
3132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3133 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
3135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
3137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
3139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
3140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
3143 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3144 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
3145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
3146 Remove s_isinf* and s_isinf* objects.
3147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
3148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
3149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
3150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
3152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
3153 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3154 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
3155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3156 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
3158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
3159 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
3161 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
3162 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
3163 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3165 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
3167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
3169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
3171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
3173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
3175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
3176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
3178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
3181 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3182 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
3183 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3184 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
3185 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3186 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
3188 Remove s_isnan-* and s_isnanf-* objects.
3189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
3190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
3191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
3193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
3194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
3195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3198 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3199 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3200 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3201 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3202 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3203 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
3204 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3205 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
3207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
3208 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
3210 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
3211 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
3212 CFLAGS-bench-isfinite.c): New rule.
3213 * benchtests/isnan-input: New file.
3214 * benchtests/isinf-input: New file.
3215 * benchtests/isfinite-input: New file.
3217 * sysdeps/powerpc/fpu/s_copysign.c: New file.
3218 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
3219 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
3220 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
3221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3222 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
3224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3232 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3233 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
3234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
3235 Remove s_copysign-power6 s_copysign-ppc64.
3236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
3238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
3240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3242 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3243 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
3244 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3245 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
3247 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
3248 round_to_integer_float, round_mode): Add RINT handling.
3249 (reset_fenv_mode): New symbol.
3250 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
3251 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
3252 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
3253 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3254 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3255 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3257 2019-06-12 Florian Weimer <fweimer@redhat.com>
3260 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
3261 * libio/freopen.c (freopen): Use it.
3263 2019-06-12 Florian Weimer <fweimer@redhat.com>
3265 Linux: Deprecate sysctl.
3266 * include/sysctl.h (__sysctl): Remove declaration.
3267 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
3269 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
3270 (sysctl): Add deprecation attribute.
3271 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
3272 directly, to avoid the deprecation warning. Do not include
3274 (__sysctl): Remove hidden alias.
3276 2019-06-12 Florian Weimer <fweimer@redhat.com>
3278 Linux: Use kernel headers for statx definitions if available.
3279 * include/bits/statx-generic.h: New file.
3280 * include/bits/types/struct_statx.h: Likewise.
3281 * include/bits/types/struct_statx_timestamp.h: Likewise.
3282 * io/Makefile (headers): Add bits/statx-generic.h.
3283 * io/bits/statx-generic.h: New file. Partly copied from
3285 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
3286 define original_statx.
3287 * io/bits/types/struct_statx.h: Likewise.
3288 * io/bits/types/struct_statx_timestamp.h: Likewise.
3289 (statx_generic): Use original_statx.
3290 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
3291 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
3293 2019-06-12 Florian Weimer <fweimer@redhat.com>
3295 * misc/sys/cdefs.h (__glibc_has_include): Define.
3297 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3299 * string/memmem.c (__memmem): Rewrite to improve performance.
3301 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
3303 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
3305 (two_way_long_needle): Block inlining.
3306 * string/strstr.c (strstr2): Add new function.
3307 (strstr3): Likewise.
3308 (STRSTR): Completely rewrite strstr to improve performance.
3310 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
3312 * benchtests/bench-strstr.c (test_hard_needle): New function.
3314 2019-06-10 Joseph Myers <joseph@codesourcery.com>
3316 * malloc/tst-calloc.c: Include <libc-diag.h>.
3317 (null_test): Ignore -Wunused-result around calls to calloc.
3318 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
3319 (do_test): Ignore -Wunused-result around call to malloc.
3321 2019-06-07 Florian Weimer <fweimer@redhat.com>
3323 Linux: Add getdents64 system call.
3324 * include/dirnent.h (getdents): Add comment and change buffer
3325 argument type to void *.
3326 (getdents64): Likewise. Add hidden prototype.
3327 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
3329 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
3331 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
3332 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
3333 argument type to void *.
3334 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
3335 Add hidden definition and getdents64 alias.
3336 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
3338 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
3339 * manual/filesys.texi (Accessing Directories): Add Low-level
3340 Directory Access node reference.
3341 (Opening a Directory): Cross-reference it.
3342 (Low-level Directory Access): New node.
3343 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3345 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3347 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3348 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3350 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3352 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3354 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3356 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3358 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3360 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3362 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3363 (GLIBC_2.30): Likewise.
3364 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3365 (GLIBC_2.30): Likewise.
3366 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3367 (GLIBC_2.30): Likewise.
3368 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3369 (GLIBC_2.30): Likewise.
3370 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3373 (GLIBC_2.30): Likewise.
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3375 (GLIBC_2.30): Likewise.
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3377 (GLIBC_2.30): Likewise.
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3379 (GLIBC_2.30): Likewise.
3380 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3382 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3384 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3386 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3387 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3389 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3391 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3393 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3396 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
3398 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
3402 (_FPU_GETCW): Use __FPU_MFFS().
3403 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
3405 2019-06-06 Florian Weimer <fweimer@redhat.com>
3407 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
3408 internal GCC preprocessor identifier __has_include__.
3410 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
3412 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
3413 with call to equivalent function.
3415 2019-06-04 Florian Weimer <fweimer@redhat.com>
3417 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
3418 (do_release_shlib): Adjust for __twalk_r.
3419 (__gconv_release_shlib): Call __twalk_r.
3421 2019-06-04 Andreas Schwab <schwab@suse.de>
3424 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
3425 no irreversible characters occurred.
3426 * iconv/gconv_simple.c (internal_ucs4_loop)
3427 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
3428 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
3429 (ucs4_internal_loop_single, internal_ucs4le_loop)
3430 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
3431 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
3432 (ucs4le_internal_loop_single): Add const to outend.
3433 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
3434 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
3435 * iconv/Makefile (tests): Add tst-iconv7.
3436 * iconv/tst-iconv7.c: New file.
3438 2019-06-03 Joseph Myers <joseph@codesourcery.com>
3440 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
3442 2019-06-01 Florian Weimer <fweimer@redhat.com>
3444 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
3445 * sysdeps/unix/sysv/linux/arm/Makefile
3446 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
3447 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
3448 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
3449 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
3450 compatibility symbols.
3452 2019-05-31 Florian Weimer <fweimer@redhat.com>
3454 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
3455 system calls for the arm architecture: breakpoint, get_tls,
3456 set_tls, usr26, usr32.
3458 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
3460 * sysdeps/powerpc/Makefile
3461 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
3462 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
3463 Declare '.machine power7' to get support for ldbrx.
3464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
3465 directive based on the directory of the file.
3466 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
3467 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3468 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
3469 '.machine' directive.
3470 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
3471 (VADDUQM_V7_V8): Remove.
3472 (__STRCASECMP): Replace macros with actual instructions.
3473 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
3474 '.machine' directive.
3475 (VCLZD_V8_v7): Remove.
3476 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
3478 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3480 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
3482 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
3484 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3486 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
3488 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
3489 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
3490 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
3491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
3492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
3493 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3495 2019-05-28 mansayk <6688000@gmail.com>
3498 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
3500 2019-05-28 mansayk <6688000@gmail.com>
3503 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
3504 (abmon): Likewise, but remove the trailing dots.
3506 2019-05-28 Joseph Myers <joseph@codesourcery.com>
3508 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
3510 2019-05-27 Florian Weimer <fweimer@redhat.com>
3512 * nptl/nptl-init.c: Add comment.
3514 2019-05-24 Florian Weimer <fweimer@redhat.com>
3516 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
3517 struct in_addr/struct in6_addr alignment.
3519 2019-05-23 Joseph Myers <joseph@codesourcery.com>
3521 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3522 (F_SEAL_FUTURE_WRITE): New macro.
3524 2019-05-23 Alexandra Hájková <ahajkova@redhat.com>
3526 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
3527 * elf/tst-ldconfig-bad-aux-cache.c: New file.
3528 * elf/tst-ldconfig_aux-cache.root: New directory.
3529 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
3530 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
3531 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
3533 2019-05-22 Zack Weinberg <zackw@panix.com>
3535 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
3537 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
3538 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
3540 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
3545 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
3546 Issue an #error if used with a compiler in SPE-float mode.
3547 * sysdeps/powerpc/powerpc32/__longjmp_common.S
3548 * sysdeps/powerpc/powerpc32/setjmp_common.S
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3555 Remove code to preserve SPE register state.
3557 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3558 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3559 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
3560 Remove __SPE__ ifndefs.
3562 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
3564 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
3565 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
3566 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
3567 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
3568 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
3569 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
3570 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
3571 (INNER_LOOP_ITERS_MEDIUM): New define.
3572 (INNER_LOOP_ITERS_SMALL): New define.
3573 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
3574 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
3575 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
3576 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
3577 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
3579 2019-05-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3581 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
3583 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
3584 (SEMTIMEDOP_IPC_ARGS): Likewise.
3586 2019-05-21 Florian Weimer <fweimer@redhat.com>
3589 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
3590 before updating __counter field and release it afterwards. Add
3592 * iconv/gconv.h (struct __gconv_step): Mention synchronization
3593 requirement for __counter member.
3595 2019-05-21 Florian Weimer <fweimer@redhat.com>
3598 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
3599 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
3600 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
3601 instead of __gconv_release_step.
3602 * libio/Makefile (tests): Add tst-wfile-gconv.
3603 (tests-container): Add tst-wfile-ascii.
3604 (tst-wfile-gconv-ENV): Enable mtrace.
3605 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
3606 (tests-special): Add tst-wfile-gconv-mem.out.
3607 (tst-wfile-gconv.out): Depend on locales.
3608 (tst-wfile-gconv-mem.out): Add mtrace rule.
3609 * libio/tst-wfile-ascii.c: New file.
3610 * libio/tst-wfile-gconv.c: Likewise.
3612 2019-05-20 Florian Weimer <fweimer@redhat.com>
3615 libio: Remove codecvt vtable.
3616 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
3618 * libio/iofgetpos.c (_IO_new_fgetpos): Call
3619 __libio_codecvt_encoding.
3620 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
3621 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3622 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
3623 * libio/iofwide.c (__libio_codecvt): Remove variable.
3624 (_IO_fwide): Do not copy __libio_codecvt.
3625 (__libio_codecvt_out): Rename from do_out and export.
3626 (do_unshift): Remove function.
3627 (__libio_codecvt_in): Rename from do_in and export.
3628 (__libio_codecvt_encoding): Rename from do_encoding and export.
3629 (do_always_noconv): Remove function.
3630 (__libio_codecvt_length): Rename from do_length and export.
3631 (do_max_length): Remove function.
3632 * libio/libio.h (enum __codecvt_result): Remove definition; moved
3634 (struct _IO_codecvt): Remove fields __codecvt_destr,
3635 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
3636 __codecvt_do_encoding, __codecvt_do_always_noconv,
3637 __codecvt_do_length, __codecvt_do_max_length.
3638 * libio/libioP.h (enum __codecvt_result): Define; moved from
3640 (__libio_codecvt_out, __libio_codecvt_in)
3641 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
3643 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
3644 (_IO_wfile_underflow): Call __libio_codecvt_in.
3645 (_IO_wfile_underflow): Likewise.
3646 (_IO_wfile_underflow_mmap): Likewise.
3647 (_IO_wfile_sync): Call __libio_codecvt_encoding,
3648 __libio_codecvt_length.
3649 (adjust_wide_data): Call __libio_codecvt_encoding,
3651 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
3652 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
3653 __libio_codecvt_length.
3655 2019-05-20 Florian Weimer <fweimer@redhat.com>
3657 * support/support.h (support_sbindir_prefix): Declare.
3658 (support_install_rootsbindir): Update comment.
3659 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
3660 * support/support_paths.c (support_sbindir_prefix): Define.
3662 2019-05-20 Mike Crowe <mac@mcrowe.com>
3664 * support/timespec.c: Add backslash to correct newline in failure
3667 * support/timespec.h: Correct confusing comment.
3669 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3671 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
3673 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
3674 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
3675 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
3676 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
3679 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
3682 2019-05-20 Joseph Myers <joseph@codesourcery.com>
3684 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
3685 (NT_ARM_PACG_KEYS): Likewise.
3687 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
3689 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
3690 (tcache_put): Remove redundant assert.
3691 (tcache_get): Remove redundant asserts.
3692 (__libc_malloc): Check tcache count is not zero.
3693 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
3695 2019-05-17 Florian Weimer <fweimer@redhat.com>
3697 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
3699 2019-05-16 Joseph Myers <joseph@codesourcery.com>
3701 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3702 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
3704 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
3706 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3707 (__ASSUME_STATX): Likewise.
3709 2019-05-16 Florian Weimer <fweimer@redhat.com>
3711 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
3713 (LINE_PARSER): Do not map IPv4 addresses.
3714 (internal_nis_gethostent_r): Remove flags argument. Adjust call
3716 (_nss_nis_gethostent_r): Always pass AF_INET to
3717 internal_nis_gethostent_r.
3718 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3720 (_nss_nis_gethostbyname2_r): Adjust call to
3721 internal_nis_gethostent_r.
3722 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
3723 call to internal_nis_gethostent_r.
3724 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
3726 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
3727 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
3728 Remove flags argument. Do not map IPv4 addresses.
3729 (internal_nisplus_gethostent_r): Adjust call to
3730 _nss_nisplus_parse_hostent.
3731 (internal_gethostbyname2_r): Remove flags argument. Adjust call
3732 to _nss_nisplus_parse_hostent.
3733 (_nss_nisplus_gethostbyname2_r): Adjust call to
3734 internal_gethostbyname2_r.
3735 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
3736 Adjust call to internal_gethostbyname2_r.
3737 (_nss_nisplus_gethostbyaddr_r): Adjust call to
3738 _nss_nisplus_parse_hostent.
3739 (_nss_nisplus_gethostbyname4_r): Adjust call to
3740 internal_gethostbyname2_r.
3742 2019-05-16 Florian Weimer <fweimer@redhat.com>
3744 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
3746 (LINE_PARSER): Remove address mapping.
3747 (EXTRA_ARGS_VALUE): Remove flags argument.
3748 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
3749 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
3750 gethostbyname3_multi.
3751 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
3752 _nss_files_gethostbyname3_r.
3753 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
3755 2019-05-16 Florian Weimer <fweimer@redhat.com>
3757 * support/support_test_compare_blob.c (report_blob): Report
3758 incorrect NULL blobs.
3760 2019-05-15 Mark Wielaard <mark@klomp.org>
3763 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
3764 __libc_once_get (once) and static_buf == NULL.
3765 (__dlerror): Check we have a valid key, set result to static_buf
3768 2019-05-15 Andreas Schwab <schwab@suse.de>
3771 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
3772 __codecvt_do_length.
3773 * libio/Makefile (tests): Add tst-wfile-sync.
3774 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
3775 * libio/tst-wfile-sync.c: New file.
3776 * libio/tst-wfile-sync.input: New file.
3778 2019-05-15 Florian Weimer <fweimer@redhat.com>
3780 nss: Turn __nss_database_lookup into a compatibility symbol.
3781 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
3782 __nss_database_lookup.
3783 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
3784 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
3785 __nss_database_lookup.
3786 (__nss_next): Move to …
3787 * nss/compat-lookup.c (nss_next): … here. Change it to fail
3789 (__nss_database_lookup): New function.
3790 * nss/Versions (GLIBC_2.0): Update comment.
3791 (GLIBC_PRIVATE): Export __nss_database_lookup2.
3792 * grp/initgroups.c (internal_getgrouplist): Call
3793 __nss_database_lookup2 instead of __nss_database_lookup.
3794 * nscd/aicache.c (addhstaiX): Likewise.
3795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3796 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3797 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
3798 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
3799 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
3801 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
3802 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
3803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3805 2019-05-15 Alexandra Hájková <ahajkova@redhat.com>
3807 * support/support.h (support_install_rootsbindir): New variable.
3808 * support/support_paths.c: Likewise.
3809 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
3811 2019-05-15 Florian Weimer <fweimer@redhat.com>
3813 * iconv/gconv.h (__gconv_transliterate): Move declaration …
3814 * iconv/gconv_int.h (__gconv_transliterate): … here.
3815 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
3816 * iconv/skeleton.c: Likewise.
3818 2019-05-14 Florian Weimer <fweimer@redhat.com>
3820 Linux: Add the tgkill function.
3821 * bits/signal_ext.h: New file.
3822 * manual/signal.texi (Signaling Another Process): Document tgkill.
3823 * signal/Makefile (headers): Add bits/signal_ext.h.
3824 * signal/signal.h: Include <bits/signal_ext.h>.
3825 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
3826 (tst-tgkill): Link with libpthread.
3827 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
3828 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
3829 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
3830 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
3832 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3833 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3834 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
3835 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3836 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3837 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3838 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3839 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3840 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3841 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3842 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
3844 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3845 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3846 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
3855 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
3856 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3857 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3858 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3859 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3860 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3861 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3862 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3864 2019-05-14 Carlos O'Donell <carlos@redhat.com>
3866 * manual/search.texi (Tree Search Function): Adjust twalk_r
3869 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3872 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
3875 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
3876 * support/support.h (support_bindir_prefix): New variable.
3877 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
3879 * config.make.in (bindir): New variable.
3881 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
3882 (lll_trylock): Call __lll_trylock.
3883 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
3884 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
3885 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
3886 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3887 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
3888 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
3889 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3890 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3891 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
3892 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
3893 lowlevellock-futex.h.
3895 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
3896 initialization for LLL_LOCK_INITIALIZER different than 0.
3897 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
3898 Assume LLL_LOCK_INITIALIZER being 0.
3899 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
3900 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
3902 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
3903 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
3905 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
3906 Optimize futex call and add systemtap probe.
3908 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
3909 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
3910 __libc_disable_asynccancel, __librt_enable_asynccancel,
3911 __libc_disable_asynccancel, __librt_enable_asynccancel,
3912 __librt_disable_asynccancel): Move to ...
3913 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
3914 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
3915 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
3916 * sysdeps/generic/single-thread.h: New file.
3917 * sysdeps/unix/sysdep.h: Include single-thread.h.
3918 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
3919 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3921 2019-05-08 Mike FABIAN <mfabian@redhat.com>
3924 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
3925 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
3927 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
3928 * localedata/unicode-gen/PropList.txt: Likewise.
3929 * localedata/unicode-gen/UnicodeData.txt: Likewise.
3930 * localedata/charmaps/UTF-8: Regenerate.
3931 * localedata/locales/i18n_ctype: Likewise.
3932 * localedata/locales/tr_TR: Likewise.
3933 * localedata/locales/translit_circle: Likewise.
3934 * localedata/locales/translit_cjk_compat: Likewise.
3935 * localedata/locales/translit_combining: Likewise.
3936 * localedata/locales/translit_compat: Likewise.
3937 * localedata/locales/translit_font: Likewise.
3938 * localedata/locales/translit_fraction: Likewise.
3940 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
3943 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
3944 (do_set_tcache_count): Only update if count is small enough.
3945 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
3947 2019-05-10 Florian Weimer <fweimer@redhat.com>
3949 * nptl/sem_close.c (struct walk_closure): Define.
3950 (walker): Adjust for __twalk_r.
3951 (sem_close): Call __twalk_r.
3953 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3955 * support/timespec.c (test_timespec_before_impl,
3956 test_timespec_equal_or_after_impl): print timespec member as intmax_t
3959 2019-05-09 Mike Crowe <mac@mcrowe.com>
3961 * nptl/tst-abstime.c: Use libsupport.
3963 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
3964 small bug where only tv.tv_usec was checked which could cause an
3965 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
3968 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
3971 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
3972 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
3974 * nptl/tst-cond11.c: Use libsupport.
3976 * support/timespec.h: New file. Provide timespec helper functions
3977 along with macros in the style of those in check.h.
3978 * support/timespec.c: New file. Implement check functions declared
3979 in support/timespec.h.
3980 * support/timespec-add.c: New file from gnulib containing
3981 timespec_add implementation that handles overflow.
3982 * support/timespec-sub.c: New file from gnulib containing
3983 timespec_sub implementation that handles overflow.
3984 * support/README: Mention timespec.h.
3986 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3989 * nptl/Makefile: Move tst-eintr1 to xtests.
3991 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3993 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
3995 (round_mode): Add definition for TRUNC.
3996 * sysdeps/powerpc/fpu/s_trunc.c: New file.
3997 * sysdeps/powerpc/fpu/s_truncf.c: New file.
3998 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
3999 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4000 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
4002 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
4004 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
4006 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4008 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
4010 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
4012 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
4014 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
4016 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
4017 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
4018 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4019 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
4020 s_truncf-power5+, and s_truncf-ppc64.
4021 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
4022 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
4024 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
4025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
4026 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
4027 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
4029 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
4031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
4032 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
4033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4034 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
4035 s_truncf-power5+, and s_truncf-ppc64.
4036 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
4038 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
4039 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
4041 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4043 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4044 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
4045 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
4047 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
4049 (round_mode): Add definition for ROUND.
4050 (round_to_integer_float): Likewise.
4051 * sysdeps/powerpc/fpu/s_round.c: New file.
4052 * sysdeps/powerpc/fpu/s_roundf.c: New file.
4053 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
4054 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4055 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
4057 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
4059 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
4061 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4063 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
4065 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
4067 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
4069 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
4071 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
4072 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
4073 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
4074 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
4075 s_roundf-power5+, and s_roundf-ppc64.
4076 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
4077 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
4079 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
4080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
4081 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
4082 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
4084 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
4086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
4087 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
4088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4089 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
4090 s_roundf-power5+, and s_roundf-ppc64.
4091 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
4093 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
4094 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
4096 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
4097 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4098 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4099 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
4100 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
4102 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
4104 (round_mode): Add definition for FLOOR.
4105 * sysdeps/powerpc/fpu/s_floor.c: New file.
4106 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
4107 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
4108 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
4113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
4119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
4121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
4123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
4125 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
4126 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
4127 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
4128 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
4129 s_floorf-power5+, and s_floorf-ppc64.
4130 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
4131 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
4133 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
4134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
4135 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
4136 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
4138 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
4140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
4141 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
4142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4143 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
4144 s_floorf-power5+, and s_floorf-ppc64.
4145 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
4147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
4149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
4151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
4153 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4154 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4155 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
4156 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
4158 2019-05-08 Mike Crowe <mac@mcrowe.com>
4160 * support/xclock_gettime.c (xclock_gettime): New file. Provide
4161 clock_gettime wrapper for use in tests that fails the test rather
4162 than returning failure.
4164 * support/xtime.h: New file to declare xclock_gettime.
4166 * support/Makefile: Add xclock_gettime.c.
4168 * support/README: Mention xtime.h.
4170 2019-05-08 Florian Weimer <fweimer@redhat.com>
4172 malloc/tst-mallocfork2: Use process-shared barriers.
4173 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
4174 (signal_count, sigusr1_sender_pid): Remove.
4175 (iterations): Define constant.
4176 (shared): New variable.
4177 (sigusr1_received): Update comment.
4178 (sigusr1_handler): Do not send SIGSTOP to the sender process.
4179 (signal_sender): Optional use barriers to avoid sending signals
4180 during irrelevant times.
4181 (do_it): Initialize variable shared. Use xfork for error
4182 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
4183 the iteration count, independent of signal delivery. Check for
4184 deadlocks in fork. Introduce barriers for reducing signal
4185 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
4186 replaced by the barriers. Count signals during fork/free/malloc
4188 * malloc/Makefile (tst-mallocfork): Link with libpthread.
4190 2019-05-07 Joseph Myers <joseph@codesourcery.com>
4192 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4194 (clock_adjtime64) New syscall.
4195 (clock_getres_time64) Likewise.
4196 (clock_gettime64) Likewise.
4197 (clock_nanosleep_time64) Likewise.
4198 (clock_settime64) Likewise.
4199 (futex_time64) Likewise.
4200 (io_pgetevents_time64) Likewise.
4201 (io_uring_enter) Likewise.
4202 (io_uring_register) Likewise.
4203 (io_uring_setup) Likewise.
4204 (mq_timedreceive_time64) Likewise.
4205 (mq_timedsend_time64) Likewise.
4206 (pidfd_send_signal) Likewise.
4207 (ppoll_time64) Likewise.
4208 (pselect6_time64) Likewise.
4209 (recvmmsg_time64) Likewise.
4210 (rt_sigtimedwait_time64) Likewise.
4211 (sched_rr_get_interval_time64) Likewise.
4212 (semtimedop_time64) Likewise.
4213 (timer_gettime64) Likewise.
4214 (timer_settime64) Likewise.
4215 (timerfd_gettime64) Likewise.
4216 (timerfd_settime64) Likewise.
4217 (utimensat_time64) Likewise.
4219 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
4220 version to 9 branch.
4222 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4224 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
4225 __memmove_thunderx2 to the list of implementations
4226 * sysdeps/aarch64/multiarch/memmove.c: Likewise
4227 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
4228 (__memmove_thunderx2): Rewritten using SIMD ld/st
4229 (__memcpy_thunderx2): Fixed handling overlapping cases.
4230 Used ldp/stp instead of ldr/str if possible. Made loops
4233 2019-05-03 Florian Weimer <fweimer@redhat.com>
4235 * misc/tst-tsearch.c (walk_tree): Add more error checking.
4237 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4240 * elf/tst-pldd.c (in_str_list): New function.
4241 (do_test): Add default names for ld and libc as one option.
4243 2019-05-02 Florian Weimer <fweimer@redhat.com>
4245 misc: Add twalk_r function.
4246 * include/search.h (__twalk_r): Declare.
4247 * manual/examples/twalk.c: New file.
4248 * manual/search.texi (Tree Search Function): Document twalk_r.
4249 * misc/Versions (2.30): Export twalk_r.
4250 (GLIBC_PRIVATE): Export __twalk_r.
4251 * misc/search.h [__USE_GNU] (twalk_r): Declare.
4252 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
4253 (twalk_r): Add weak alias.
4254 * misc/tst-tsearch.c (struct walk_trace_element): Define.
4255 (walk_trace): New variable.
4256 (struct twalk_with_twalk_r_closure): Define.
4257 (twalk_with_twalk_r_action): New function.
4258 (twalk_with_twalk_r): Likewise.
4259 (walk_action): Call walk_trace_add.
4260 (walk_tree_with): Rename from walk_tree. Add walk argument.
4261 (walk_tree): New function.
4262 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
4263 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
4265 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
4267 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
4268 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
4269 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
4270 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
4271 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
4272 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
4274 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
4276 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
4278 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4279 (GLIBC_2.30): Likewise.
4280 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4281 (GLIBC_2.30): Likewise.
4282 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4283 (GLIBC_2.30): Likewise.
4284 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4285 (GLIBC_2.30): Likewise.
4286 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4289 (GLIBC_2.30): Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4291 (GLIBC_2.30): Likewise.
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
4293 (GLIBC_2.30): Likewise.
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
4295 (GLIBC_2.30): Likewise.
4296 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
4298 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
4300 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
4302 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
4303 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
4305 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
4307 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
4309 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
4312 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
4314 Make mktime etc. compatible with __time64_t
4315 Keep these functions compatible with Gnulib while adding
4316 __time64_t support. The basic idea is to move private API
4317 declarations from include/time.h to time/mktime-internal.h, since
4318 the former file cannot easily be shared with Gnulib whereas the
4320 Also, do some other minor cleanup while in the neighborhood.
4321 * include/time.h: Include stdbool.h, time/mktime-internal.h.
4322 (__mktime_internal): Move this prototype to time/mktime-internal.h,
4323 since Gnulib needs it.
4324 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
4325 Move these macros to time/mktime-internal.h, since Gnulib needs them.
4326 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
4327 (in_time_t_range): New static function.
4328 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
4329 so that glibc users are not tempted to use __time64_t.
4330 * time/mktime-internal.h: Rewrite so that it does both glibc
4331 and Gnulib work. Include time.h if not _LIBC.
4332 (mktime_offset_t) [!_LIBC]: Define for gnulib.
4333 (__time64_t): New type or macro, moved here from
4335 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
4336 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
4337 from include/time.h.
4338 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
4339 New macros, taken from GNulib.
4340 (__mktime_internal): New prototype, moved here from include/time.h.
4341 * time/mktime.c (mktime_min, mktime_max, convert_time)
4342 (ranged_convert, __mktime_internal, __mktime64):
4343 * time/timegm.c (__timegm64):
4344 Use __time64_t, not time_t.
4345 * time/mktime.c: Stop worrying about whether time_t is floating-point.
4346 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
4348 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
4349 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
4350 for libc_hidden_def.
4352 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
4354 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
4356 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
4359 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
4360 from `-Wmaybe-uninitialized'.
4361 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
4363 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4365 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
4367 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
4368 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
4369 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
4370 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
4371 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4373 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
4374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
4378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
4382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
4384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
4386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
4388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
4390 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
4391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
4392 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
4393 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
4395 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
4397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
4398 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
4399 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
4401 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
4403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
4404 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
4406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4407 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
4408 s_ceilf-power5+, and s_ceilf-ppc64.
4409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
4411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
4412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
4413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
4414 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
4415 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
4416 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
4417 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
4419 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
4420 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
4421 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
4423 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
4425 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
4426 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
4427 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
4428 (sem_getvalue): Likewise.
4430 2019-04-26 Florian Weimer <fweimer@redhat.com>
4432 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
4433 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
4435 2019-04-26 Florian Weimer <fweimer@redhat.com>
4437 Makeconfig: Move -Wl,-rpath-link options before library references.
4438 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
4439 (link-libc): Remove $(link-libc-rpath-link).
4441 2019-04-25 Florian Weimer <fweimer@redhat.com>
4443 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4444 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4445 (+link-static-before-libc): Remove $(CC).
4446 (+link-static, +link-static-tests): Add $(CC).
4447 (+link-before-libc): Remove $(CC).
4448 (+link, +link-pie, +link-pie-printers): Add $(CC).
4450 2019-04-26 Florian Weimer <fweimer@redhat.com>
4452 * Makeconfig (+link-pie-before-libc): Remove $(CC).
4453 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
4454 (+link-static-before-libc): Remove $(CC).
4455 (+link-static, +link-static-tests): Add $(CC).
4456 (+link-before-libc): Remove $(CC).
4457 (+link, +link-pie, +link-pie-printers): Add $(CC).
4459 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
4462 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
4464 2019-04-25 Florian Weimer <fweimer@redhat.com>
4466 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
4467 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
4468 (bench-link-targets): New variable.
4469 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
4471 2019-04-25 Florian Weimer <fweimer@redhat.com>
4473 Also enable BIND_NOW for programs if --enable-bind-now.
4474 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
4475 (+link-pie): Use $(link-extra-flags).
4476 (+link-static): Likewise.
4477 [! $(build-pie-default)] (+link): Likewise.
4478 * manual/install.texi (Configuring and compiling): Update
4479 --enable-bind-now description.
4480 * INSTALL: Regenerated.
4482 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
4484 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
4485 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
4487 2019-04-24 Mike Frysinger <vapier@gentoo.org>
4490 * malloc/Makefile (others): Add memusagestat.
4491 ($(objpfx)memusagestat): Delete rule.
4492 (LDLIBS-memusagestat): New variable.
4494 2019-04-24 Florian Weimer <fweimer@redhat.com>
4496 * locale/Makefile (tests-special): Guard setting by
4497 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
4498 to run while cross-compiling.
4500 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4503 * elf/Makefile (tests-container): Add tst-pldd.
4504 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
4505 (E(find_maps)): Avoid use alloca, use default read file operations
4506 instead of explicit LFS names, and fix infinite loop.
4507 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
4508 (get_process_info): Use _Static_assert instead of assert, use default
4509 directory operations instead of explicit LFS names, and free some
4511 * elf/tst-pldd.c: New file.
4513 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
4515 * malloc/arena.c (do_set_mallopt_check): Removed.
4517 2019-04-23 Florian Weimer <fweimer@redhat.com>
4519 locale: Add LOCPATH diagnostics to the locale program.
4520 * locale/programs/locale.c (setlocale_failed): New variable.
4521 (try_setlocale): New function.
4522 (quote_string): Likewise.
4523 (setlocale_diagnostics): Likewise.
4524 (main): Call try_setlocale instead of setlocale. Call
4525 setlocale_diagnostics.
4526 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
4527 (tst-locale-locpath.out): New target.
4528 * locale/tst-locale-locpath.sh: New file.
4530 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4532 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
4535 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4538 * malloc/hooks.c (malloc_check, realloc_check): Use
4539 __builtin_add_overflow on overflow check and adapt to
4540 checked_request2size change.
4541 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
4542 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
4543 allocation size to PTRDIFF_MAX.
4544 (REQUEST_OUT_OF_RANGE): Remove macro.
4545 (checked_request2size): Change to inline function and limit maximum
4546 requested size to PTRDIFF_MAX.
4547 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
4548 maximum allocation size to PTRDIFF_MAX.
4549 (_mid_memalign): Use _int_memalign call for overflow check.
4550 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
4551 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
4552 limit maximum requested size to PTRDIFF_MAX.
4553 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
4554 valloc, pvalloc): Add __attribute_alloc_size__.
4555 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
4556 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
4557 larger than PTRDIFF_MAX.
4558 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
4559 around tests of malloc with negative sizes.
4560 * malloc/tst-posix_memalign.c (do_test): Likewise.
4561 * malloc/tst-pvalloc.c (do_test): Likewise.
4562 * malloc/tst-valloc.c (do_test): Likewise.
4563 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
4564 with resulting size allocation larger than PTRDIFF_MAX with
4565 reallocarray_nowarn.
4566 (reallocarray_nowarn): New function.
4567 * NEWS: Mention the malloc function semantic change.
4569 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4571 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
4572 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4574 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
4575 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
4576 * sysdeps/powerpc/fpu/s_fma.c: New file.
4577 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
4579 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
4580 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
4582 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
4583 the magic flag store.
4584 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
4586 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
4588 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
4589 Remove rt_sigreturn call.
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4592 Remove rt_sigreturn call.
4593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4598 * support/Makefile (libsupport-routines): Add support_subprocess,
4599 xposix_spawn, xposix_spawn_file_actions_addclose, and
4600 xposix_spawn_file_actions_adddup2.
4601 (tst-support_capture_subprocess-ARGS): New rule.
4602 * support/capture_subprocess.h (support_capture_subprogram): New
4604 * support/support_capture_subprocess.c (support_capture_subprocess):
4605 Refactor to use support_subprocess and support_capture_poll.
4606 (support_capture_subprogram): New function.
4607 * support/tst-support_capture_subprocess.c (write_mode_to_str,
4608 str_to_write_mode, test_common, parse_int, handle_restart,
4609 do_subprocess, do_subprogram, do_multiple_tests): New functions.
4610 (do_test): Add support_capture_subprogram tests.
4611 * support/subprocess.h: New file.
4612 * support/support_subprocess.c: Likewise.
4613 * support/xposix_spawn.c: Likewise.
4614 * support/xposix_spawn_file_actions_addclose.c: Likewise.
4615 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
4616 * support/xspawn.h: Likewise.
4618 2019-04-17 Mike Gerow <gerow@google.com>
4620 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
4623 2019-04-11 Florian Weimer <fweimer@redhat.com>
4625 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
4626 domain with empty string.
4627 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4629 2019-04-11 Florian Weimer <fweimer@redhat.com>
4631 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
4633 (alloc_buffer_next): Change return type to non-const. Update
4636 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
4638 * manual/time.texi (Formatting Calendar Time): Add missing percent
4639 sign to conversion specifier.
4641 2019-04-09 Carlos O'Donell <carlos@redhat.com>
4642 Kwok Cheung Yeung <kcy@codesourcery.com>
4645 * malloc/mtrace.c: Define prototypes for all hooks.
4646 (set_default_hooks): New function.
4647 (set_trace_hooks): Likewise.
4648 (save_default_hooks): Likewise.
4649 (tr_freehook): Use new s*_hooks functions.
4650 (tr_mallochook): Likewise.
4651 (tr_reallochook): Likewise.
4652 (tr_memalignhook): Likewise.
4654 (muntrace): Likewise.
4656 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4658 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
4659 (generic_stpcpy): New function.
4660 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
4661 (generic_stpncpy): New function.
4662 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
4663 (generic_strcat): New function.
4664 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
4665 (generic_strcpy): New function.
4666 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
4667 (STUPID_STRNCAT): Remove function.
4668 (generic_strncat): New function.
4669 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
4670 (STUPID_STRNCPY): Remove function.
4671 (generic_strncpy): New function.
4672 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
4673 (generic_strnlen): New function.
4674 (memchr_strnlen): New function.
4675 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
4676 (memchr_strlen): Likewise.
4678 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4680 * benchtests/bench-strstr.c (input): Add realistic input text.
4681 (stupid_strstr): Remove function.
4682 (basic_strstr): Add function.
4683 (twoway_strstr): Add function.
4684 (do_one_test): Add result checking.
4685 (do_test): Use new input text. Remove accidental early matches.
4686 (test_main): Improve range of tests, reduce unaligned cases.
4688 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4690 * benchtests/bench-memmem.c (simple_memmem): Remove function.
4691 (basic_memmem): Add function.
4692 (twoway_memmem): Add function.
4694 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
4696 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
4697 * benchtests/bench-malloc-thread.c: Likewise.
4698 * benchtests/bench-skeleton.c: Likewise.
4699 * benchtests/bench-strtod.c: Likewise.
4700 * benchtests/bench-timing.h: Likewise.
4702 2019-04-08 Florian Weimer <fweimer@redhat.com>
4704 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
4706 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
4707 RES_INSECURE2 security checks.
4708 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
4709 RES_INSECURE2 handling.
4711 2019-04-08 Florian Weimer <fweimer@redhat.com>
4713 resolv: Remove support for RES_USE_INET6 and the inet6 option.
4714 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
4715 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
4717 * resolv/Makefile (tests): Remove tst-res_use_inet6.
4718 (tests-internal): Update justification for tst-resolv-res_init,
4719 tst-resolv-res_init-thread.
4720 (tst-res_use_inet6): Remove target.
4721 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
4722 * resolv/res_debug.c (p_option): Remove "inet6" support.
4723 * resolv/res_init.c (res_setoptions): Likewise.
4724 * resolv/res_use_inet6.h: Remove file.
4725 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
4727 (res_use_inet6): Always return false.
4728 * resolv/resolv.h (RES_USE_INET6): Remove definition.
4729 * resolv/resolv_context.h: Adjust file comment.
4730 (struct resolv_context): Update comment on __next field.
4731 (__resolv_context_put): Update comment.
4732 * resolv/tst-res_use_inet6.c: Remove file.
4733 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
4735 (test_cases): Adjust test case.
4736 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
4737 (thread_byname2_af_inet6): Use old byname_inet6 code.
4738 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
4739 (gai): Remove do_inet6 argument.
4740 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
4741 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
4742 (thread_gai_unspec_inet6): Remove functions.
4743 (do_test): Adjust thread_funcs.
4744 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
4746 (gaih_inet): Do not disable RES_USE_INET6 flag.
4748 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
4750 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
4751 and remove redundant code.
4753 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4755 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
4757 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
4758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
4760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
4762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
4764 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4765 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
4766 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
4767 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
4768 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4769 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
4770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4771 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
4773 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
4774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4776 Remove wcsrchr optimizations.
4777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4779 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
4782 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
4784 * sysdeps/powerpc/power6/wcschr.c: Remove file.
4785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
4787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
4789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
4791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4792 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
4793 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
4794 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
4795 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4796 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
4797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4798 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
4800 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
4801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4803 Remove wcschr optimizations.
4804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4806 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
4809 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
4811 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
4812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
4814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
4816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
4818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4819 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
4820 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
4821 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
4822 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4823 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
4824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4825 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
4827 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
4828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
4829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4830 Remove wcscpy optimizations.
4831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4833 * include/loop_unroll.h: New file.
4834 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
4835 besides generic implementation.
4837 2019-04-03 DJ Delorie <dj@redhat.com>
4839 * time/tst-strftime3.c (tm_to_printed): Disable warning about
4840 snprintf truncating output.
4842 2019-04-02 DJ Delorie <dj@redhat.com>
4844 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
4847 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4850 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
4852 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
4853 (mkreftable): Add rules for the new Japanese era and the new dates.
4855 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
4856 Rafał Lużyński <digitalfreak@lingonborough.com>
4858 * time/tst-strftime2.c (date_t): Explicitly define the type.
4859 (dates): Use natural month and year numbers to express a date.
4860 (is_before): New function to compare dates.
4861 (mkreftable): Minor improvements to simplify maintenance.
4862 (do_test): Reflect the changes in dates array.
4865 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
4866 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
4867 * time/tst-strftime2.c (locales): Likewise.
4868 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
4869 2010-04-01, and 2011-04-01.
4870 (mkreftable): Add rules for the new locales and the new dates.
4872 2019-04-01 Carlos O'Donell <carlos@redhat.com>
4874 * localedata/locales/ja_JP: Add comments to era entries.
4876 2019-04-01 DJ Delorie <dj@redhat.com>
4879 * time/strptime_l.c (%Ey): Fix fencepost error.
4880 * time/tst-strftime3.c: New.
4881 * time/Makefile (tests): Add tst-strftime3.
4883 2019-04-01 Uroš Bizjak <ubizjak@gmail.com>
4885 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
4886 conditional branch to DIVBYZERO. Fix unwind info.
4887 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
4888 excb after conditional branch to $powerof2. Add missing unop
4889 instructions and .align directives and reorder instructions to
4892 2019-04-01 Richard Henderson <rth@twiddle.net>
4894 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4896 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
4899 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
4901 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
4902 $libc_cv_riscv_float_abi in `test' invocation.
4903 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
4905 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
4907 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
4909 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
4911 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4912 (_GET_SI_FPSCR): Likewise.
4913 (_SET_SI_FPSCR): Likewise.
4915 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4917 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
4919 (signbit): Use builtin for clang 3.3.
4920 (isinf): Use builtin for clang 3.7.
4922 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4924 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
4926 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
4928 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
4931 2019-03-25 Mike Crowe <mac@mcrowe.com>
4933 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
4934 pthread_rwlock_timedrdlock with calls to
4935 pthread_rwlock_timedwrlock to ensure that the latter is tested
4936 too. Use new function name in diagnostic messages too.
4938 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
4939 (do_test) Use libsupport test macros rather than hand-coded
4940 conditionals and error messages. Ensure that sem_init returns zero
4941 rather than not -1. Use <support/test-driver.c> rather than
4944 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
4945 test macros rather than hand-coded conditionals and error messages.
4946 Use <support/test-driver.c> rather than test-skeleton.c.
4948 2019-03-25 Joseph Myers <joseph@codesourcery.com>
4950 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
4952 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
4953 (NT_MIPS_MSA): Likewise.
4955 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4957 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
4958 * benchtests/README: Update description.
4959 * benchtests/bench-timing.h: Default to hp-timing.
4960 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
4961 HP_TIMING_PRINT): Remove.
4962 (HP_TIMING_NOW): Add generic implementation.
4963 (hp_timing_t): Change to uint64_t.
4965 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
4967 * nptl/descr.h: Likewise.
4968 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
4969 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
4970 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
4971 Abstract hp-timing usage with RTLD_* macros.
4972 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
4973 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
4974 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
4975 HP_TIMING_NONAVAIL): Likewise.
4976 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4978 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
4979 HP_SMALL_TIMING_AVAIL): Likewise.
4980 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
4981 HP_SMALL_TIMING_AVAIL): Likewise.
4982 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
4983 HP_SMALL_TIMING_AVAIL): Likewise.
4984 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
4985 HP_SMALL_TIMING_AVAIL): Likewise.
4986 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
4988 * sysdeps/generic/hp-timing-common.h: Update comment with
4989 HP_TIMING_AVAIL removal.
4991 * include/random-bits.h: New file.
4992 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
4993 (__res_context_mkquery): Remove usage hp-timing usage and replace with
4995 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
4996 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
4999 * include/libc-internal.h (__get_clockfreq): Remove prototype.
5000 * rt/Makefile (clock-routines): Remove get_clockfreq.
5001 * rt/get_clockfreq.c: Remove file.
5002 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
5003 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
5006 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
5008 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
5009 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
5010 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
5011 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
5012 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
5014 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
5015 pthread_clock_settime.
5016 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
5017 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
5018 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
5019 * elf/rtld.c (_dl_start_final): Likewise.
5020 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
5021 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
5023 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
5024 (_dl_cpuclock_offset): Remove.
5025 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
5026 cpuclock_offset_ununsed.
5027 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
5028 cpuclock_offset set.
5029 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
5030 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
5031 * nptl/pthread_clock_gettime.c: Remove file.
5032 * nptl/pthread_clock_settime.c: Likewise.
5033 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
5034 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
5035 and CLOCK_PROCESS_CPUTIME_ID support.
5036 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
5037 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
5038 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
5039 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
5040 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
5042 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
5044 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5046 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
5047 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
5048 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
5050 * sysdeps/s390/memmem-arch13.S: New file.
5051 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
5052 if it is only used as fallback.
5053 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
5054 * sysdeps/s390/multiarch/ifunc-impl-list.c
5055 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
5057 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5059 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
5060 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
5061 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
5063 * sysdeps/s390/multiarch/ifunc-impl-list.c
5064 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
5065 * sysdeps/s390/strstr-arch13.S: New file.
5066 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
5067 if it is only used as fallback.
5068 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
5070 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5072 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
5073 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
5074 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
5075 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
5077 * sysdeps/s390/multiarch/ifunc-impl-list.c
5078 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
5079 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
5080 S390_IS_ARCH13_MIE3): New defines.
5082 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5084 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
5085 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
5086 * sysdeps/s390/configure.ac: Add checks for arch13 support.
5087 * sysdeps/s390/configure: Regenerated.
5089 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
5091 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
5092 Add vxe2, vxp, dflt, sort flags.
5093 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
5094 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
5096 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
5097 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
5098 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
5099 HWCAP_S390_DFLT): Define.
5101 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5104 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
5105 of compiler warning.
5106 * locale/programs/ld-collate.c (collate_output): Likewise.
5108 2019-03-21 DJ Delorie <dj@redhat.com>
5111 * iconv/iconvconfig.c (write_output): Replace floating point math
5112 with integer math to avoid imprecise results.
5113 * locale/programs/ld-collate.c (collate_output): Likewise.
5115 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
5117 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
5118 Add HWCAP_S390_VX and HWCAP_S390_VXE.
5120 2019-03-20 mansayk <6688000@gmail.com>
5123 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
5124 (abday): Likewise, but remove the trailing dots.
5126 2019-03-19 Joseph Myers <joseph@codesourcery.com>
5128 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
5130 (HWCAP_PACA): Likewise.
5131 (HWCAP_PACG): Likewise.
5132 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
5134 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
5136 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5138 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
5141 2019-03-15 Joseph Myers <joseph@codesourcery.com>
5143 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5145 (old_getpagesize): New syscall.
5147 2019-03-15 Felix Yan <felixonmars@archlinux.org>
5150 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
5151 * localedata/locales/cmn_TW (era): Likewise.
5152 * localedata/locales/hak_TW (era): Likewise.
5153 * localedata/locales/lzh_TW (era): Likewise.
5154 * localedata/locales/nan_TW (era): Likewise.
5156 2019-03-14 Adam Maris <amaris@redhat.com>
5158 * malloc/malloc.c (_int_malloc): Check for large bin list
5159 corruption when inserting unsorted chunk.
5161 2019-03-14 Florian Weimer <fweimer@redhat.com>
5163 Remove obsolete, never-implemented XSI STREAMS declarations.
5164 * manual/terminal.texi (Allocation): Remove portability note and
5166 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
5168 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
5169 * sysdeps/unix/inet/Subdirs (streams): Remove.
5170 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
5171 (conformtest-headers-UNIX98): Likewise.
5172 (conformtest-headers-XOPEN2K): Likewise.
5173 (conformtest-headers-POSIX2008): Likewise.
5174 * posix/compat-streams.c: New file.
5175 * posix/Makefile (routines): Add it.
5176 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
5177 getpmsg, isastream, putmsg, putpmsg.
5178 (GLIBC_2.30): New section.
5179 * bits/stropts.h: Remove file.
5180 * bits/xtitypes.h: Likewise.
5181 * conform/data/stropts.h-data: Likewise.
5182 * include/stropts.h: Likewise.
5183 * include/sys/stropts.h: Likewise.
5184 * include/xtitypes.h: Likewise.
5185 * streams/Makefile: Likewise.
5186 * streams/fattach.c: Likewise.
5187 * streams/fdetach.c: Likewise.
5188 * streams/getmsg.c: Likewise.
5189 * streams/getpmsg.c: Likewise.
5190 * streams/isastream.c: Likewise.
5191 * streams/putmsg.c: Likewise.
5192 * streams/putpmsg.c: Likewise.
5193 * streams/stropts.h: Likewise.
5194 * streams/sys/stropts.h: Likewise.
5195 * sysdeps/ia64/bits/xtitypes.h: Likewise.
5196 * sysdeps/s390/bits/xtitypes.h: Likewise.
5197 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
5198 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
5199 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
5200 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
5201 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
5202 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
5203 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
5204 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
5205 * sysdeps/x86/bits/xtitypes.h: Likewise.
5207 2019-03-14 Florian Weimer <fweimer@redhat.com>
5209 * nss/tst-nss-files-alias-truncated.c (do_test): Load
5211 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
5212 but not with libnss_files.
5213 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
5215 2019-03-14 Zack Weinberg <zackw@panix.com>
5217 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
5218 Specify encoding="utf-8" when opening headers to check.
5220 2019-03-13 Joseph Myers <joseph@codesourcery.com>
5222 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5224 (Context.checkout_tar): Handle variable major version for Linux
5227 2019-03-13 Florian Weimer <fweimer@redhat.com>
5230 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
5232 2019-03-13 Zack Weinberg <zackw@panix.com>
5234 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
5236 * include/inttypes.h: Adjust to match.
5237 * include/stdint.h: New wrapper.
5239 2019-03-13 Zack Weinberg <zackw@panix.com>
5241 * scripts/check-obsolete-constructs.py: New test script.
5242 * scripts/check-installed-headers.sh: Remove tests for
5243 obsolete typedefs, superseded by check-obsolete-constructs.py.
5244 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
5245 as a special test. Update commentary.
5246 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
5247 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
5249 * posix/sys/types.h (__u_intN_t): Remove.
5250 (u_int8_t): Typedef using __uint8_t.
5251 (u_int16_t): Typedef using __uint16_t.
5252 (u_int32_t): Typedef using __uint32_t.
5253 (u_int64_t): Typedef using __uint64_t.
5255 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
5257 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
5259 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
5260 Ignore types other than AT_HWCAP.
5261 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
5262 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
5264 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
5265 in the case of falling back to generic output mechanism.
5266 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
5269 2019-03-12 Florian Weimer <fweimer@redhat.com>
5271 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
5273 2019-03-12 Florian Weimer <fweimer@redhat.com>
5276 resolv: Enable full ICMP errors for UDP DNS sockets
5277 * resolv/res_enable_icmp.c: New file.
5278 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
5279 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
5280 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
5283 2019-03-11 Mao Han <han_mao@c-sky.com>
5285 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
5286 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
5288 2019-03-11 Mao Han <han_mao@c-sky.com>
5290 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
5291 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5292 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5294 2019-03-11 Mao Han <han_mao@c-sky.com>
5296 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
5298 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
5301 2019-03-11 Mao Han <han_mao@c-sky.com>
5303 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
5304 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
5307 2019-03-08 Mike FABIAN <mfabian@redhat.com>
5310 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
5311 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
5313 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
5314 * localedata/unicode-gen/PropList.txt: Likewise.
5315 * localedata/unicode-gen/UnicodeData.txt: Likewise.
5316 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
5317 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
5318 * localedata/charmaps/UTF-8: Regenerate.
5319 * localedata/locales/i18n_ctype: Likewise.
5320 * localedata/locales/tr_TR: Likewise.
5321 * localedata/locales/translit_circle: Likewise.
5322 * localedata/locales/translit_cjk_compat: Likewise.
5323 * localedata/locales/translit_combining: Likewise.
5324 * localedata/locales/translit_compat: Likewise.
5325 * localedata/locales/translit_font: Likewise.
5326 * localedata/locales/translit_fraction: Likewise.
5328 2019-03-07 Joseph Myers <joseph@codesourcery.com>
5330 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
5331 than after operators.
5332 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
5333 (setitimer_locked): Likewise.
5334 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
5335 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
5336 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
5337 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
5338 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
5339 (PPC_CPU_SUPPORTED): Likewise.
5340 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
5341 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
5342 (stat_overflow): Likewise.
5343 (statfs_overflow): Likewise.
5344 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
5345 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
5346 (eq_ttyname_r): Likewise.
5347 (run_chroot_tests): Likewise.
5349 2019-03-07 Florian Weimer <fweimer@redhat.com>
5351 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
5354 2019-03-07 Martin Liska <mliska@suse.cz>
5356 * math/Makefile: Change location where math-vector-fortran.h is
5358 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
5359 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
5360 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
5361 * scripts/check-installed-headers.sh: Skip Fortran header files.
5362 * scripts/check-wrapper-headers.py: Likewise.
5364 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5366 * nptl/nptl-init.c (__have_futex_clock_realtime,
5367 __have_futex_clock_realtime): Remove definition.
5368 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
5369 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
5370 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
5371 __ASSUME_FUTEX_CLOCK_REALTIME support.
5372 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5374 * sysdeps/unix/sysv/linux/kernel-features.h
5375 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
5376 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
5379 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5381 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
5382 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
5383 __GI___wcscpy and wcscpy.
5385 2019-03-04 Florian Weimer <fweimer@redhat.com>
5387 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
5389 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
5392 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
5394 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
5395 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5397 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
5400 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
5401 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
5403 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5405 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
5407 (do_test): Likewise.
5408 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
5409 (do_test_call_varg): Likewise.
5410 (do_test_call_rarg): Likewise.
5411 * sysdeps/ieee754/ldbl-opt/Makefile
5412 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
5414 ($(objpfx)tst-nldbl-warn.c): New rule.
5415 ($(objpfx)tst-nldbl-error.c): Likewise.
5416 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
5419 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5422 * include/bits/error-ldbl.h: New file.
5423 * include/error.h: Include stdarg.h. Declare internal functions
5424 __error_internal and __error_at_line_internal.
5425 * misc/Makefile (headers): Add bits/error-ldbl.h.
5426 * misc/bits/error-ldbl.h: New file.
5427 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
5428 avoid the inclusion of bits/error.h.
5429 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
5430 and __nldbl_error_at_line.
5431 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
5432 (__nldbl_error, __ndlbl_error_at_line): New functions.
5433 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
5434 Redirect error and error_at_line.
5435 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5444 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5445 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5446 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5448 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5451 * include/bits/err-ldbl.h: New file.
5452 * include/err.h: Add prototypes for the internal functions:
5453 __vwarnx_internal and __vwarn_internal.
5454 * misc/Makefile (headers): Add bits/err-ldbl.h.
5455 * misc/bits/err-ldbl.h: New file.
5456 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
5457 defined, i.e.: when -mlong-double-64 is in use.
5458 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
5459 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
5460 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
5461 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
5462 (VA_CALL): New macro.
5463 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
5464 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
5466 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
5467 declare prototypes for the new functions.
5468 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5477 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5478 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5479 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5481 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5483 * sysdeps/ieee754/ldbl-opt/Makefile
5484 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
5485 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
5486 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
5488 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5491 * argp/Makefile (headers): Add bits/argp-ldbl.h.
5492 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
5493 * argp/bits/argp-ldbl.h: New file.
5494 * include/argp.h: Include stdarg.h. Add prototypes for internal
5495 functions: __argp_error_internal and __argp_failure_internal.
5496 * include/bits/argp-ldbl.h: New file.
5497 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
5498 __nldbl_argp_error and __nldbl_argp_failure.
5499 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
5500 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
5501 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
5502 Redirect argp_error and argp_failure calls.
5503 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
5512 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5513 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5514 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5516 2019-03-01 Florian Weimer <fweimer@redhat.com>
5519 * elf/tst-big-note-lib.S: Create a syntactically valid note.
5520 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
5521 code, to avoid creating an ABI tag note.
5522 (modules-names-nobuild): Add tst-big-note-lib.
5524 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
5526 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
5527 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
5529 2019-03-01 Florian Weimer <fweimer@redhat.com>
5532 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5533 (__netlink_assert_response): Add additional missing newlines.
5535 2019-02-28 Joseph Myers <joseph@codesourcery.com>
5537 * sysdeps/powerpc/powerpc32/dl-machine.c
5538 (__elf_machine_fixup_plt): Use space before '('.
5539 (__process_machine_rela): Likewise.
5540 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
5542 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
5544 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
5546 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
5547 (pattern): Likewise.
5549 (check_result): Likewise.
5550 (check_excepts): Likewise.
5551 (check_op): Likewise.
5552 (fail_xr): Likewise.
5553 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
5554 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
5556 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
5559 (__makecontext): Likewise.
5560 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
5563 2019-02-28 Florian Weimer <fweimer@redhat.com>
5566 elf: Add test with a local IFUNC resolver.
5567 * elf/ifuncmain9.c: New file.
5568 * elf/ifuncmain9pic.c: Likewise.
5569 * elf/ifuncmain9picstatic.c: Likewise.
5570 * elf/ifuncmain9pie.c: Likewise.
5571 * elf/ifuncmain9static.c: Likewise.
5572 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
5573 ifuncmain9static, ifuncmain9picstatic.
5574 * elf/Makefile [multi-arch && build-shared] (tests-internal):
5575 Add ifuncmain9, ifuncmain9pic.
5576 * elf/Makefile [multi-arch && build-shared && have-fpie]
5577 (ifunc-pie-tests): Add ifuncmain9pie.
5578 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
5579 (CFLAGS-ifuncmain9picstatic.c): Likewise.
5580 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
5582 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
5584 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
5585 * configure: Regenerated.
5586 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
5588 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5590 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
5591 symbol as __wcspcy instead of wcscpy.
5593 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5595 * include/stdio.h (__renameat2): New hidden prototype.
5596 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
5597 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
5598 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
5599 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
5601 2019-02-27 Joseph Myers <joseph@codesourcery.com>
5603 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
5606 * benchtests/bench-strcpy.c (do_test): Use space before '('.
5607 * benchtests/bench-string.h (cmdline_process_function): Likewise.
5608 * benchtests/bench-strlen.c (do_test): Likewise.
5609 (test_main): Likewise.
5610 * catgets/gencat.c (read_old): Likewise.
5611 * elf/cache.c (load_aux_cache): Likewise.
5612 * iconvdata/bug-iconv8.c (do_test): Likewise.
5613 * math/test-tgmath-ret.c (do_test): Likewise.
5614 * nis/nis_call.c (rec_dirsearch): Likewise.
5615 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5616 * nptl/tst-audit-threads.c (do_test): Likewise.
5617 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
5618 * nss/nss_test1.c (init): Likewise.
5619 * nss/test-netdb.c (test_hosts): Likewise.
5620 * posix/execvpe.c (maybe_script_execute): Likewise.
5621 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
5622 * stdio-common/tst-printf.c (do_test): Likewise.
5623 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
5624 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
5625 * stdlib/qsort.c (STACK_SIZE): Likewise.
5626 * stdlib/test-canon.c (do_test): Likewise.
5627 * stdlib/tst-swapcontext1.c (do_test): Likewise.
5628 * string/memcmp.c (OPSIZ): Likewise.
5629 * string/test-strcpy.c (do_test): Likewise.
5630 (do_random_tests): Likewise.
5631 * string/test-strlen.c (do_test): Likewise.
5632 (test_main): Likewise.
5633 * string/test-strrchr.c (do_test): Likewise.
5634 (do_random_tests): Likewise.
5635 * string/tester.c (test_memrchr): Likewise.
5636 (test_memchr): Likewise.
5637 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
5638 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
5639 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
5640 (read_encoded_value_with_base): Likewise.
5641 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
5642 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
5643 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
5644 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5645 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
5646 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
5648 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
5650 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
5651 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
5652 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
5654 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
5656 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
5658 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
5660 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
5661 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5662 (FP_XSTATE_MAGIC2_SIZE): Likewise.
5663 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
5664 * time/test_time.c (main): Likewise.
5666 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5668 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
5670 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
5673 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
5676 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5678 * include/wchar.h (__wcscpy): New prototype.
5679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
5680 (__wcscpy): Route internal symbol to generic implementation.
5681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
5682 Add internal __wcscpy alias.
5683 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
5684 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
5685 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
5686 * wcsmbs/wcscpy.c (wcscpy): Add
5687 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
5688 use generic implementation.
5689 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
5691 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
5694 * sysdeps/m68k/wcpcpy.c: Remove file.
5695 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
5697 2019-02-26 Joseph Myers <joseph@codesourcery.com>
5699 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
5700 than after operators.
5701 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5702 * sysdeps/mach/hurd/getcwd.c
5703 (__hurd_canonicalize_directory_name_internal): Likewise.
5704 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
5705 (pthread_mutex_consistent): Likewise.
5706 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
5708 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
5709 (__pthread_mutex_transfer_np): Likewise.
5710 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
5711 (__pthread_mutex_unlock): Likewise.
5712 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
5713 (mtx_owned_p): Likewise.
5714 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
5715 (pthread_mutexattr_getrobust): Likewise.
5716 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
5717 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
5719 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5720 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
5721 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
5722 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
5723 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5724 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5725 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
5727 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
5729 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
5730 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
5731 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
5732 (____longjmp_chk): Likewise.
5733 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
5735 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5736 (INTERNAL_SYSCALL): Likewise.
5737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5738 (INTERNAL_SYSCALL): Likewise.
5739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5740 (__get_clockfreq_via_cpuinfo): Likewise.
5742 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
5744 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
5745 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
5746 (WORD_COPY_BWD): Likewise.
5747 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5750 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
5751 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
5753 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
5755 2019-02-25 Joseph Myers <joseph@codesourcery.com>
5757 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
5758 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
5759 rather than after operators.
5760 * elf/cache.c (print_cache): Likewise.
5761 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
5762 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
5763 * hurd/hurdinit.c (_hurd_setproc): Likewise.
5764 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
5765 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
5766 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
5767 (reauth_proc): Likewise.
5768 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
5769 (__file_name_split_at): Likewise.
5770 (__directory_name_split_at): Likewise.
5771 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5772 * hurd/port2fd.c (_hurd_port2fd): Likewise.
5773 * iconv/gconv_dl.c (do_print): Likewise.
5774 * inet/netinet/in.h (struct sockaddr_in): Likewise.
5775 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
5776 * locale/setlocale.c (new_composite_name): Likewise.
5777 * malloc/memusagestat.c (main): Likewise.
5778 * misc/fstab.c (fstab_convert): Likewise.
5779 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
5781 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
5782 (getgrent_next_file): Likewise.
5783 (internal_getgrnam_r): Likewise.
5784 (internal_getgrgid_r): Likewise.
5785 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
5787 (internal_getgrent_r): Likewise.
5788 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5789 (getpwent_next_nss): Likewise.
5790 (getpwent_next_file): Likewise.
5791 (internal_getpwnam_r): Likewise.
5792 (internal_getpwuid_r): Likewise.
5793 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
5795 (getspent_next_nss): Likewise.
5796 (internal_getspnam_r): Likewise.
5797 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
5798 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
5799 * string/strchr.c (STRCHR): Likewise.
5800 * string/strchrnul.c (STRCHRNUL): Likewise.
5801 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
5802 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5803 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
5804 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
5805 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
5807 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
5808 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5809 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
5810 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
5811 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
5812 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
5813 (open_file): Likewise.
5814 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
5815 (pthread_mutexattr_setprotocol): Likewise.
5816 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
5817 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
5818 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
5819 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
5820 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5822 (elf_machine_rela): Likewise.
5823 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5824 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5825 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
5826 * sysdeps/posix/rename.c (rename): Likewise.
5827 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
5828 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
5829 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
5830 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
5831 * sysdeps/unix/grantpt.c (grantpt): Likewise.
5832 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
5833 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
5835 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
5837 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
5838 * time/tzfile.c (__tzfile_compute): Likewise.
5840 2019-02-22 Joseph Myers <joseph@codesourcery.com>
5842 * benchtests/bench-memmem.c (simple_memmem): Break lines before
5843 rather than after operators.
5844 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
5845 * crypt/md5.c (md5_finish_ctx): Likewise.
5846 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
5847 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
5848 * elf/cache.c (load_aux_cache): Likewise.
5849 * elf/dl-load.c (open_verify): Likewise.
5850 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
5851 * elf/readelflib.c (process_elf_file): Likewise.
5852 * elf/rtld.c (dl_main): Likewise.
5853 * elf/sprof.c (generate_call_graph): Likewise.
5854 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
5855 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
5856 * hurd/dtable.c (reauth_dtable): Likewise.
5857 * hurd/getdport.c (__getdport): Likewise.
5858 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
5859 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
5860 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
5862 * hurd/hurdioctl.c (fioctl): Likewise.
5863 * hurd/hurdselect.c (_hurd_select): Likewise.
5864 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
5865 (STOPSIGS): Likewise.
5866 * hurd/hurdstartup.c (_hurd_startup): Likewise.
5867 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
5868 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
5869 * hurd/msgportdemux.c (msgport_server): Likewise.
5870 * hurd/setauth.c (_hurd_setauth): Likewise.
5871 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
5872 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
5873 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
5874 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
5875 * login/tst-utmp.c (do_check): Likewise.
5876 (simulate_login): Likewise.
5877 * mach/lowlevellock.h (lll_lock): Likewise.
5878 (lll_trylock): Likewise.
5879 * math/test-fenv.c (ALL_EXC): Likewise.
5880 * math/test-fenvinline.c (ALL_EXC): Likewise.
5881 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
5882 * nis/nis_call.c (__do_niscall3): Likewise.
5883 * nis/nis_callback.c (cb_prog_1): Likewise.
5884 * nis/nis_defaults.c (searchaccess): Likewise.
5885 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5886 * nis/nis_ismember.c (internal_ismember): Likewise.
5887 * nis/nis_local_names.c (nis_local_principal): Likewise.
5888 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
5889 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
5891 * nis/ypclnt.c (yp_match): Likewise.
5892 (yp_first): Likewise.
5893 (yp_next): Likewise.
5894 (yp_master): Likewise.
5895 (yp_order): Likewise.
5896 * nscd/hstcache.c (cache_addhst): Likewise.
5897 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5898 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
5899 (internal_getpwuid_r): Likewise.
5900 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
5901 * posix/glob.h (__GLOB_FLAGS): Likewise.
5902 * posix/regcomp.c (peek_token): Likewise.
5903 (peek_token_bracket): Likewise.
5904 (parse_expression): Likewise.
5905 * posix/regexec.c (sift_states_iter_mb): Likewise.
5906 (check_node_accept_bytes): Likewise.
5907 * posix/tst-spawn3.c (do_test): Likewise.
5908 * posix/wordexp-test.c (testit): Likewise.
5909 * posix/wordexp.c (parse_tilde): Likewise.
5910 (exec_comm): Likewise.
5911 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
5912 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
5913 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
5914 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
5915 * stdio-common/tst-fileno.c (do_test): Likewise.
5916 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
5917 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
5918 * stdlib/strtod_l.c (round_and_return): Likewise.
5919 (____STRTOF_INTERNAL): Likewise.
5920 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
5921 * string/strcspn.c (STRCSPN): Likewise.
5922 * string/test-memmem.c (simple_memmem): Likewise.
5923 * termios/tcsetattr.c (tcsetattr): Likewise.
5924 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
5925 * time/asctime.c (asctime_internal): Likewise.
5926 * time/strptime_l.c (__strptime_internal): Likewise.
5927 * time/sys/time.h (timercmp): Likewise.
5928 * time/tzfile.c (__tzfile_compute): Likewise.
5930 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
5933 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
5935 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5937 * argp/argp-help.c (__argp_error_internal): New function,
5938 renamed from __argp_error, but that takes a 'mode_flags'
5939 parameter to control the format of long double parameters.
5940 (__argp_error): Converted into a call __argp_error_internal.
5941 (__argp_failure_internal): New function, renamed from
5942 __argp_failure, but that takes a 'mode_flags' parameter.
5943 (__argp_failure): Converted into a call __argp_failure_internal.
5944 * misc/err.c (__vwarnx_internal): New function, renamed from
5945 vwarnx, but that takes a 'mode_flags' parameter.
5946 (vwarnx): Converted into a call to __vwarnx_internal.
5947 (__vwarn_internal): New function, renamed from vwarn, but that
5948 takes a 'mode_flags' parameter.
5949 (vwarn): Converted into a call to __vwarn_internal.
5950 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
5951 call to __vfxprintf with 'mode_flags'.
5952 (__error_internal): New function, renamed from error, but that
5953 takes a 'mode_flags' parameter.
5954 (error): Converted into a call to __error_internal.
5955 (__error_at_line_internal): New function, renamed from
5956 error_at_line, but that takes a 'mode_flags' parameter.
5957 (error_at_line): Converted into a call to
5958 __error_at_line_internal.
5959 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
5960 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
5963 2019-02-20 Martin Liska <mliska@suse.cz>
5965 * math/Makefile: Install math-vector-fortran.h.
5966 * bits/math-vector-fortran.h: New file.
5967 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
5969 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5971 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
5972 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
5974 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
5976 * nptl/pthread_mutex_trylock.c: Fix comment.
5978 2019-02-19 Carlos O'Donell <carlos@redhat.com>
5980 * nptl/pthread_tryjoin.c: Fix comment.
5982 2019-02-18 Joseph Myers <joseph@codesourcery.com>
5985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
5986 after R_SPARC_H34 case.
5988 2019-02-18 Florian Weimer <fweimer@redhat.com>
5990 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
5991 (getanswer): Do not call Dprintf.
5992 (res_gethostbyname2_context): Likewise.
5993 (res_gethostbyaddr_context): Likewise.
5995 2019-02-18 Florian Weimer <fweimer@redhat.com>
5997 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
5999 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
6001 * libio/stdfiles.c: Update comment.
6002 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
6003 set _IO_stdin, _IO_stdout, _IO_stderr.
6004 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
6005 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
6007 (_IO_deallocate_file): New inline function.
6008 * libio/iolibio.h (_IO_vprintf): Remove definition.
6009 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
6010 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
6011 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
6013 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
6014 __builtin_expect. Use _IO_legacy_file.
6016 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
6018 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
6019 Initialize ctid with a known value and remove update of ctid
6021 (wait_tid): Adjust arguments and call futex_wait with ctid_val
6022 as assumed current value of ctid_ptr.
6024 2019-02-16 Florian Weimer <fweimer@redhat.com>
6026 Check that non-sysdeps headers have wrapper headers.
6027 * scripts/check-wrapper-headers.py: New file.
6028 * Makefile (tests-special): Add check-wrapper-headers.out.
6029 (check-wrapper-headers.out): New target.
6030 * Rules (tests-special): Add check-wrapper-headers.out.
6031 (check-wrapper-headers.out): New target.
6033 2019-02-16 Florian Weimer <fweimer@redhat.com>
6035 Add missing header wrappers under include/.
6036 * include/ar.h: New file.
6037 * include/bits/mqueue2.h: Likewise.
6038 * include/bits/stdio.h: Likewise.
6039 * include/bits/stdio2.h: Likewise.
6040 * include/fstab.h: Likewise.
6041 * include/fts.h: Likewise.
6042 * include/lastlog.h: Likewise.
6043 * include/netinet/icmp6.h: Likewise.
6044 * include/netinet/igmp.h: Likewise.
6045 * include/netinet/ip6.h: Likewise.
6046 * include/re_comp.h: Likewise.
6047 * include/regexp.h: Likewise.
6048 * include/rpcsvc/bootparam.h: Likewise.
6049 * include/rpcsvc/yp_prot.h: Likewise.
6050 * include/sys/random.h: Likewise.
6051 * include/sys/stropts.h: Likewise.
6052 * include/sys/ttychars.h: Likewise.
6053 * include/sys/vfs.h: Likewise.
6054 * include/wait.h: Likewise.
6056 2019-02-16 Florian Weimer <fweimer@redhat.com>
6058 * nptl_db/proc_service.h: Move to ...
6059 * sysdeps/nptl/proc_service.h: ... here.
6060 * nptl_db/thread_db.h: Move to ...
6061 * sysdeps/nptl/thread_db.h: ... here.
6062 * nptl/descr.h: Include <thread_db.h>.
6064 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6066 * io/Makefile (tests): Add tst-lockf.
6067 * io/lockf.c (lockf): Use __fcntl and only define for
6068 !__OFF_T_MATCHES_OFF64_T.
6069 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
6070 __OFF_T_MATCHES_OFF64_T case.
6071 * io/tst-lockf.c: New file.
6072 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
6073 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
6074 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
6075 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
6076 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
6078 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
6079 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
6080 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
6082 2019-02-15 Florian Weimer <fweimer@redhat.com>
6085 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
6086 pd->result after the thread descriptor has been freed.
6088 2019-02-15 Joseph Myers <joseph@codesourcery.com>
6090 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
6091 from function return type.
6093 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
6095 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6097 * scripts/test_printers_common.py: Set TERM to a known harmless
6100 2019-02-14 Joseph Myers <joseph@codesourcery.com>
6102 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
6103 (xdr_u_int): Likewise.
6104 (xdr_enum): Likewise.
6105 (xdr_bytes): Reword fall-through comment.
6106 (xdr_string): Likewise.
6108 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6111 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
6112 (tests): Add tst-join8 tst-join9.
6113 * nptl/lll_timedwait_tid.c: Remove file.
6114 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
6115 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
6116 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
6117 * nptl/pthread_join_common.c (timedwait_tid): New function.
6118 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
6120 * nptl/tst-join5.c (thread_join): New function.
6121 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
6123 * nptl/tst-join8.c: New file.
6124 * nptl/tst-join9.c: Likewise.
6125 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
6126 lll_futex_timed_wait_cancel): Add generic macros.
6127 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
6129 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6130 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6131 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6132 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
6134 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
6136 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6137 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
6138 (lll_futex_timed_wait_cancel): New macro.
6140 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
6142 * benchtests/Makefile: Add malloc-simple benchmark.
6143 * benchtests/bench-malloc-simple.c: New benchmark.
6145 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
6147 * benchtests/bench-memmove.c (do_one_test): Remove unused
6150 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
6154 2019-01-13 Jim Wilson <jimw@sifive.com>
6157 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
6158 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
6160 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
6162 * nptl/Makefile (tests): Add tst-unwind-thread.
6163 (CFLAGS-tst-unwind-thread.c): Define.
6164 * nptl/tst-unwind-thread.c: New file.
6165 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
6168 2019-02-13 Joseph Myers <joseph@codesourcery.com>
6170 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
6172 * nis/nis_call.c (__do_niscall3): Likewise.
6174 * catgets/gencat.c (normalize_line): Use braces around empty
6176 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6177 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
6178 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
6179 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
6180 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
6181 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
6182 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
6185 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
6188 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
6190 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
6191 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
6192 * benchtests/bench-strchr.c (stupid_strchr): Remove.
6193 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
6194 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
6195 * benchtests/bench-strlen.c (builtin_strlen): Remove.
6196 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
6197 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
6198 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
6199 * benchtests/bench-strspn.c (stupid_strspn): Remove.
6200 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
6201 * benchtests/bench-bcopy.c: Delete file.
6202 * benchtests/bench-bzero.c: Likewise.
6203 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
6204 (simple_memccpy): Remove.
6205 (generic_memccpy): Add function.
6206 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
6207 * benchtests/bench-memmove.c (simple_bcopy): Remove.
6208 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
6209 (generic_mempcpy): Add new function.
6210 * benchtests/bench-memset.c (simple_bzero): Remove.
6211 (builtin_bzero): Remove.
6212 (builtin_memset): Remove.
6213 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
6214 (generic_rawmemchr): Add new function.
6216 2019-02-12 Florian Weimer <fweimer@redhat.com>
6218 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
6220 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6223 * elf/Makefile (tests): Add tst-audit13.
6224 (modules-names): Add tst-audit13mod1.
6225 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6227 * elf/tst-audit13.c: New file.
6228 * elf/tst-audit13mod1.c: Likewise.
6230 2019-02-12 Florian Weimer <fweimer@redhat.com>
6233 * elf/rtld.c (unload_audit_module): New function.
6234 (report_audit_module_load_error): Likewise.
6235 (load_audit_module): Likewise. Extracted from dl_main. Call
6236 _dl_close if the laversion symbol cannot be found. Use early
6237 returns for error handling. Add malloc error check. Check for a
6238 zero return value from la_version. Remove spurious comment about
6239 static TLS initialization. Remove useless casts.
6240 (notify_audit_modules_of_loaded_object): New function. Extracted
6242 (load_audit_module): Likewise.
6243 (dl_main): Call load_audit_modules.
6245 2019-02-12 Joseph Myers <joseph@codesourcery.com>
6247 * elf/dl-exception.c (_dl_exception_create_format): Add
6248 fall-through comments.
6249 * elf/ldconfig.c (parse_conf_include): Likewise.
6250 * elf/rtld.c (print_statistics): Likewise.
6251 * locale/programs/charmap.c (parse_charmap): Likewise.
6252 * misc/mntent_r.c (__getmntent_r): Likewise.
6253 * posix/wordexp.c (parse_arith): Likewise.
6254 (parse_backtick): Likewise.
6255 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
6256 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6259 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
6261 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
6262 Use float instead of double.
6264 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
6266 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
6268 2019-02-08 Joseph Myers <joseph@codesourcery.com>
6270 * sysdeps/powerpc/bits/mathinline.h: Remove.
6272 2019-02-08 Florian Weimer <fweimer@redhat.com>
6274 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
6275 * math/bits/math-finite.h: Move to ...
6276 * bits/math-finite.h: ... here.
6278 2019-02-08 Florian Weimer <fweimer@redhat.com>
6280 * sysdeps/generic/bits/unistd_ext.h: Move to ...
6281 * bits/unistd_ext.h: here.
6283 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
6286 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
6287 * nss/tst-nss-files-hosts-long.c: New file.
6288 * nss/tst-nss-files-hosts-long.root: New directory.
6289 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
6290 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
6292 2019-02-08 Florian Weimer <fweimer@redhat.com>
6294 * include/bits/unistd_ext.h: Remove file.
6295 * posix/bits/unistd_ext.h: Move to ...
6296 * sysdeps/generic/bits/unistd_ext.h: ... here.
6298 2019-02-08 Florian Weimer <fweimer@redhat.com>
6300 * include/bits/unistd_ext.h: New file.
6302 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
6304 * time/tst-strftime2.c: Use array_length macros instead of magic
6307 2019-02-08 Florian Weimer <fweimer@redhat.com>
6310 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
6312 * nptl/register-atfork.c (__run_fork_handlers): Only perform
6313 locking if the new do_locking argument is true.
6314 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
6315 __run_fork_handlers.
6317 2019-02-08 Florian Weimer <fweimer@redhat.com>
6320 Linux: Add gettid system call wrapper.
6321 * posix/Makefile (headers): Add bits/unistd_ext.h.
6322 * posix/bits/unistd_ext.h: New file.
6323 * posix/unistd.h: Include it.
6324 * manual/process.texi (Process Identification): Document gettid.
6325 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
6326 tst-gettid, tst-gettid-kill.
6327 (tst-gettid): Link with $(shared-thread-library).
6328 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
6329 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
6330 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
6331 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
6332 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
6333 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
6335 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
6337 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
6338 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
6340 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
6342 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
6344 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
6346 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
6348 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
6350 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
6352 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6353 (GLIBC_2.30): Likewise.
6354 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6355 (GLIBC_2.30): Likewise.
6356 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6357 (GLIBC_2.30): Likewise.
6358 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6359 (GLIBC_2.30): Likewise.
6360 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
6362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6363 (GLIBC_2.30): Likewise.
6364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6365 (GLIBC_2.30): Likewise.
6366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
6367 (GLIBC_2.30): Likewise.
6368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
6369 (GLIBC_2.30): Likewise.
6370 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
6372 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
6374 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
6376 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
6377 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
6379 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
6381 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
6383 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
6385 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
6387 2019-02-08 Florian Weimer <fweimer@redhat.com>
6389 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
6390 compatibility symbols.
6392 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
6395 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6396 Add compiler barriers and comments.
6398 2019-02-07 Florian Weimer <fweimer@redhat.com>
6400 * include/array_length.h (array_length): Do not use a statement
6401 expression and _Static_assert, so that array_length can be used at
6402 file scope and as a constant expression.
6404 2019-02-07 Florian Weimer <fweimer@redhat.com>
6406 * support/xdlfcn.h (xdlmopen): Declare.
6407 * support/xdlmopen.c: New file.
6408 * support/Makefile (libsupport-routines): Add xdlmopen.
6410 2019-02-06 Joseph Myers <joseph@codesourcery.com>
6412 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
6413 before return type, without separate inline.
6414 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
6415 * elf/dl-tunables.h (tunable_is_name): Likewise.
6416 * malloc/malloc.c (do_set_trim_threshold): Likewise.
6417 (do_set_top_pad): Likewise.
6418 (do_set_mmap_threshold): Likewise.
6419 (do_set_mmaps_max): Likewise.
6420 (do_set_mallopt_check): Likewise.
6421 (do_set_perturb_byte): Likewise.
6422 (do_set_arena_test): Likewise.
6423 (do_set_arena_max): Likewise.
6424 (do_set_tcache_max): Likewise.
6425 (do_set_tcache_count): Likewise.
6426 (do_set_tcache_unsorted_limit): Likewise.
6427 * nis/nis_subr.c (count_dots): Likewise.
6428 * nptl/allocatestack.c (advise_stack_range): Likewise.
6429 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
6431 (reduce_sincos): Likewise.
6432 (do_sincos): Likewise.
6433 * sysdeps/unix/sysv/linux/x86/elision-conf.c
6434 (do_set_elision_enable): Likewise.
6435 (TUNABLE_CALLBACK_FNDECL): Likewise.
6437 2019-02-06 Florian Weimer <fweimer@redhat.com>
6439 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
6440 (xdlsym): Use dlerror to detect a NULL symbol.
6442 2019-02-06 Florian Weimer <fweimer@redhat.com>
6444 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
6446 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6448 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6450 * libio/tst-bz24153.c (wide): Use wide char format specifier.
6452 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6454 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
6455 __wmemcmp and weak alias to wmemcmp.
6457 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
6460 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
6461 TLS_TCB_AT_TP tls variant.
6462 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
6463 Add alignment checks.
6464 * support/Makefile (libsupport-routines): Add xposix_memalign and
6466 * support/support.h: Add xposix_memalign.
6467 * support/xthread.h: Add xpthread_attr_setstack.
6468 * support/xposix_memalign.c: New File.
6469 * support/xpthread_attr_setstack.c: Likewise.
6471 2019-02-05 Florian Weimer <fweimer@redhat.com>
6474 arm: Use "nr" constraint for Systemtap probes, to avoid the
6475 compiler using memory operands for constants, due to the "o"
6476 alternative in the default "nor" constraint.
6477 * include/stap-probe.h [USE_STAP_PROBE]: Include
6478 <stap-probe-machine.h>
6479 * sysdeps/generic/stap-probe-machine.h: New file.
6480 * sysdeps/arm/stap-probe-machine.h: Likewise.
6482 2019-02-04 Joseph Myers <joseph@codesourcery.com>
6484 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
6485 with 0, not tcache->entries[tc_idx].
6487 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
6490 2019-02-04 Andreas Schwab <schwab@suse.de>
6494 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
6495 looking up collating elements match against (wide) character
6496 sequence instead of name. Correct alignment adjustment.
6497 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
6498 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
6499 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
6500 (LOCALES): Add cs_CZ.ISO-8859-2.
6501 * posix/tst-fnmatch4.c: New file.
6502 * posix/tst-fnmatch5.c: New file.
6503 * include/wchar.h (__wmemcmp): Declare.
6504 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
6505 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
6506 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
6507 * sysdeps/s390/wmemcmp.c: Likewise.
6509 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
6513 * NEWS: Updated for CVE-2019-7309.
6514 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
6515 upper 32 bits of RDX register for x32. Use unsigned Jcc
6516 instructions, instead of signed.
6517 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
6518 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
6520 2019-02-04 Florian Weimer <fweimer@redhat.com>
6522 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
6523 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
6524 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
6526 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
6527 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
6528 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
6529 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
6531 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
6533 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
6535 (posix_spawn_file_actions_addopen): Likewise.
6536 (posix_spawn_file_actions_addclose): Likewise.
6537 (posix_spawn_file_actions_adddup2): Likewise.
6538 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
6540 (posix_spawn_file_actions_addfchdir_np): Likewise.
6542 2019-02-04 David Newall <glibc@davidnewall.com>
6544 elf: Implement --preload option for the dynamic linker.
6545 * elf/rtld.c (preloadarg): New variable.
6546 (handle_preload_list): Pass through “where” argument to
6548 (dl_main): Handle "--preload" and add second call to
6549 handle_preload_list.
6550 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
6551 (tst-rtld-preload-OBJS): Set variable.
6552 (tst-rtld-preload.out): New target.
6553 * elf/tst-rtld-preload.sh: New file.
6555 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
6557 * Makefile (testrun.sh): Exit in case of incorrect argument.
6559 2019-02-04 Florian Weimer <fweimer@redhat.com>
6561 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
6564 2019-02-03 Florian Weimer <fweimer@redhat.com>
6566 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
6567 implicit overflow checks.
6569 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
6571 * stdlib/isomac.c: Include <unistd.h>.
6573 2019-02-03 Florian Weimer <fweimer@redhat.com>
6575 * include/time.h (__tzfile_default): Use int, not long int, for
6577 * time/tzfile.c (struct ttinfo): Change type of the offset member
6579 (__tzfile_read): Remove useless cast.
6580 (__tzfile_default): Adjust prototype.
6581 * time/tzset.c (tz_rule): Change type of the offset member to int.
6582 (parse_offset): Change the type of the sign variable to int.
6584 2019-02-03 Florian Weimer <fweimer@redhat.com>
6587 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
6588 * libio/getchar.c (getchar): Likewise.
6589 * libio/getchar_u.c (getchar_unlocked): Likewise.
6590 * libio/getwchar.c (getwchar): Likewise.
6591 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6592 * libio/iogets.c (_IO_gets): Likewise.
6593 * libio/vscanf.c (_IO_vscanf): Likewise.
6594 * libio/vwscanf.c (__vwscanf): Likewise.
6595 * libio/tst-bz24153.c: New file.
6596 * libio/Makefile (tests): Add it.
6598 2019-02-02 Florian Weimer <fweimer@redhat.com>
6601 * manual/resource.texi (Basic Scheduling Functions): Add
6602 portability note. Change process to task throughout the section.
6603 Remove incorrect comment about sched_yield as it affects
6604 tasks/threads, not entire processes.
6605 * sysdeps/unix/sysv/linux/bits/posix_opt.h
6606 (_POSIX_PRIORITY_SCHEDULING): Update comment.
6608 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6610 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
6611 * configure: Regenerated.
6612 * manual/install.texi (Tools for Compilation): Update minimum GCC
6614 * INSTALL: Regenerated.
6616 2019-02-01 Florian Weimer <fweimer@redhat.com>
6618 * support/support_test_compare_string.c
6619 (support_test_compare_string): Use "string" in error message.
6620 * support/tst-test_compare_string.c (do_test): Adjust.
6622 2019-02-01 Florian Weimer <fweimer@redhat.com>
6624 * support/support_format_address_family.c
6625 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
6627 2019-02-01 Florian Weimer <fweimer@redhat.com>
6629 * manual/socket.texi (Internet Address Formats): Clarify the byte
6630 order of struct sockaddr_in, struct sockaddr_in6. Document
6631 sin6_flowinfo and sin6_scope_id.
6633 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
6635 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
6636 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
6637 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
6638 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
6639 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
6640 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
6642 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6644 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
6645 [!MEMCHR](MEMCHR): Set to __memchr.
6646 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6647 Add memchr_generic and memchr_nosimd.
6648 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6649 (__libc_ifunc_impl_list): Add memchr ifuncs.
6650 * sysdeps/aarch64/multiarch/memchr.c: New file.
6651 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
6652 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
6654 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6656 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
6658 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
6659 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
6660 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
6661 Add IS_EMAG check for ifunc dispatch.
6662 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
6663 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
6665 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
6667 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
6668 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
6670 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
6673 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
6675 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
6677 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
6679 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
6680 syscall-template file.
6682 2019-01-31 Carlos O'Donell <carlos@redhat.com>
6683 Torvald Riegel <triegel@redhat.com>
6684 Rik Prohaska <prohaska7@gmail.com>
6687 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
6688 tst-rwlock-trywrlock-stall.
6689 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
6690 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
6691 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
6692 Set __wrphase_fute to 1 only if we started the write phase.
6693 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
6694 * nptl/tst-rwlock-trywrlock-stall.c: New file.
6695 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
6696 * support/xpthread_rwlock_destroy.c: New file.
6697 * support/xthread.h: Declare xpthread_rwlock_destroy.
6699 2019-02-01 Joseph Myers <joseph@codesourcery.com>
6701 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
6704 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6707 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
6708 * libio/fileops.c (_IO_new_file_underflow): Likewise
6709 * libio/wfileops.c (_IO_wfile_underflow): Likewise
6710 * libio/putchar.c (putchar): Likewise.
6711 * libio/putchar_u.c (putchar_unlocked): Likewise.
6712 * libio/putwchar.c (putchar): Likewise.
6713 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
6714 * libio/tst-bz24051.c: New test.
6715 * libio/Makefile (tests): Add tst-bz24051
6717 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
6720 regex: fix read overrun [BZ #24114]
6721 Problem found by AddressSanitizer, reported by Hongxu Chen in:
6722 https://debbugs.gnu.org/34140
6723 * posix/regexec.c (proceed_next_node):
6724 Do not read past end of input buffer.
6726 2019-01-31 Florian Weimer <fweimer@redhat.com>
6729 * nss/nss_files/files-alias.c (get_next_alias): Handle
6730 continuation line without newline at the end.
6731 * nss/tst-nss-files-alias-truncated.c: New file.
6732 * nss/Makefile [$(build-shared)] (tests): Add
6733 tst-nss-files-alias-truncated.
6734 (tst-nss-files-alias-truncated): Link with libnss_files.so.
6735 * support/namespace.h (struct support_chroot_configuration): Add
6737 (struct support_chroot): Add path_aliases member.
6738 * support/support_chroot.c (support_chroot_create): Handle
6740 (support_chroot_free): Free path_aliases.
6742 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
6744 * version.h (RELEASE): Set to "development".
6745 (VERSION): Set to "2.29.9000".
6746 * NEWS: Add section for 2.30.
6748 * version.h (RELEASE): Set to "stable".
6749 (VERSION): Set to "2.29".
6750 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
6752 * NEWS: Add the list of bugs fixed in 2.29.
6753 * manual/contrib.texi: Update contributors list with some more
6755 * manual/install.texi: Update latest versions of packages
6757 * INSTALL: Regenerated.
6759 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
6761 * po/be.po: Update translations.
6762 * po/bg.po: Likewise.
6763 * po/ca.po: Likewise.
6764 * po/cs.po: Likewise.
6765 * po/da.po: Likewise.
6766 * po/de.po: Likewise.
6767 * po/el.po: Likewise.
6768 * po/eo.po: Likewise.
6769 * po/es.po: Likewise.
6770 * po/fi.po: Likewise.
6771 * po/fr.po: Likewise.
6772 * po/gl.po: Likewise.
6773 * po/hr.po: Likewise.
6774 * po/hu.po: Likewise.
6775 * po/ia.po: Likewise.
6776 * po/id.po: Likewise.
6777 * po/it.po: Likewise.
6778 * po/ja.po: Likewise.
6779 * po/ko.po: Likewise.
6780 * po/lt.po: Likewise.
6781 * po/nb.po: Likewise.
6782 * po/nl.po: Likewise.
6783 * po/pl.po: Likewise.
6784 * po/pt_BR.po: Likewise.
6785 * po/ru.po: Likewise.
6786 * po/rw.po: Likewise.
6787 * po/sk.po: Likewise.
6788 * po/sl.po: Likewise.
6789 * po/sv.po: Likewise.
6790 * po/tr.po: Likewise.
6791 * po/uk.po: Likewise.
6792 * po/vi.po: Likewise.
6793 * po/zh_CN.po: Likewise.
6794 * po/zh_TW.po: Likewise.
6796 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
6799 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
6800 of $f3 register on $y_is_neg path.
6802 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
6805 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
6806 sigaltstack.ss_flags.
6808 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
6811 * manual/time.texi (strftime): Document "%Ey".
6812 * time/strftime_l.c (__strftime_internal): Set the default width
6813 padding with zero of "%Ey" to 2.
6816 * manual/time.texi (strftime): Document "%EC" and "%EY".
6817 * time/Makefile (tests): Add tst-strftime2.
6818 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
6819 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
6820 override padding for "%Ey".
6821 If an optional flag ('_' or '-') is specified to "%EY", interpret the
6822 "%Ey" in the subformat as if decorated with that flag.
6823 * time/tst-strftime2.c: New file.
6825 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6827 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
6831 * elf/Makefile (tests): Add tst-audit13.
6832 (modules-names): Add tst-audit13mod1.
6833 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
6835 * elf/rtld.c (dl_main): Handle invalid audit module version.
6836 * elf/tst-audit13.c: New file.
6837 * elf/tst-audit13mod1.c: Likewise.
6839 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6841 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
6842 returned by __hurd_at_flags.
6843 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
6844 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
6845 directly instead of __hurd_file_name_lookup.
6847 2019-01-21 Joseph Myers <joseph@codesourcery.com>
6849 * scripts/build-many-glibcs.py (Context.checkout): Default
6850 binutils version to 2.32 branch.
6852 2019-01-21 Florian Weimer <fweimer@redhat.com>
6856 resolv: Reject trailing characters in host names
6857 * include/arpa/inet.h (__inet_aton_exact): Declare.
6858 (inet_aton): Remove hidden prototype. No longer used internally.
6859 * nscd/gai.c (__inet_aton): Do not define.
6860 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
6861 * nss/digits_dots.c (__inet_aton): Likewise.
6862 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
6863 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
6864 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
6865 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
6866 (tst-resolv-trailing): Likewise.
6867 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
6869 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
6870 Make static. Add endp parameter.
6871 (__inet_aton_exact): New function.
6872 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
6873 (__inet_addr): Call inet_aton_end.
6874 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
6875 not just IPv6. Call __inet_aton_exact.
6876 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
6877 (tests): Make const. Add additional test cases with trailing
6879 (do_test): Use array_length.
6880 * resolv/tst-inet_aton_exact.c: New file.
6881 * resolv/tst-resolv-trailing.c: Likewise.
6882 * resolv/tst-resolv-nondecimal.c: Likewise.
6883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
6885 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6889 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
6890 Clear the upper 32 bits of RSI register.
6891 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
6892 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
6893 and tst-size_t-wcsnlen.
6894 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
6895 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
6897 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6901 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
6902 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6903 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6904 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
6905 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
6907 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6911 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
6912 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6913 * sysdeps/x86_64/strcmp.S: Likewise.
6914 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
6915 tst-size_t-strncmp and tst-size_t-wcsncmp.
6916 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
6917 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
6918 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
6920 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6924 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
6925 RDX_LP for length. Clear the upper 32 bits of RDX register.
6926 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
6927 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
6928 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
6929 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
6931 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6935 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
6936 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
6937 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
6938 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
6940 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6944 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
6945 length. Clear the upper 32 bits of RDX register.
6946 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6947 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6949 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6951 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
6953 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
6955 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6959 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
6960 length. Clear the upper 32 bits of RDX register.
6961 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6962 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6963 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
6965 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
6966 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
6968 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
6972 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
6973 upper 32 bits of RDX register.
6974 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
6975 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
6977 * sysdeps/x86_64/x32/test-size_t.h: New file.
6978 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
6979 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
6981 2019-01-18 Florian Weimer <fweimer@redhat.com>
6984 resolv: Do not send queries for non-host-names in nss_dns.
6985 * resolv/nss_dns/dns-host.c (check_name): New function.
6986 (_nss_dns_gethostbyname2_r): Use it.
6987 (_nss_dns_gethostbyname_r): Likewise.
6988 (_nss_dns_gethostbyname4_r): Likewise.
6990 2019-01-21 Florian Weimer <fweimer@redhat.com>
6992 * resolv/inet_addr.c: Reformat to GNU style.
6993 (__inet_addr, __inet_aton): Update comment.
6995 2019-01-18 Florian Weimer <fweimer@redhat.com>
6997 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
6998 ("malloc: Use current (C11-style) atomics for fastbin access").
6999 This commit introduces a substantial performance regression on
7001 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
7002 (REMOVE_FB): Define.
7003 (_int_malloc): Use it and reindent.
7004 (_int_free): Use CAS loop with
7005 catomic_compare_and_exchange_val_rel.
7006 (malloc_consolidate): Use atomic_exchange_acq.
7009 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
7011 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
7013 (LDFLAGS-tst-minsigstksz-2): Likewise.
7014 (LDFLAGS-tst-minsigstksz-3): Likewise.
7015 (LDFLAGS-tst-minsigstksz-3a): Likewise.
7016 (LDFLAGS-tst-minsigstksz-4): Likewise.
7018 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
7020 * manual/time.texi (strftime): Fix the wording to "alternative" rather
7023 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
7025 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
7027 2019-01-16 Zack Weinberg <zackw@panix.com>
7029 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
7030 (xget_sigstack_location): New test support functions.
7031 * support/xsigstack.c: New file, implementing them.
7032 * support/tst-xsigstack.c: New test for them.
7033 * support/Makefile: Update.
7035 * signal/tst-minsigstksz-1.c
7036 * signal/tst-minsigstksz-2.c
7037 * signal/tst-minsigstksz-3.c
7038 * signal/tst-minsigstksz-3a.c
7039 * signal/tst-minsigstksz-4.c: New tests.
7040 * signal/Makefile: Run them.
7042 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
7044 * po/libc.pot: Regenerate.
7046 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7048 * math/libm-test-fma.inc (fma_test_data): Set
7049 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
7051 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7053 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
7054 (do_test): Changed __vector __int128_t to __vector unsigned int.
7056 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
7058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7059 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
7060 stpcpy-avx2 and stpncpy-avx2.
7061 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
7062 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
7063 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
7065 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
7066 ifunc-strcpy.h}: rename header for a more generic name.
7067 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
7068 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
7069 AVX unaligned load is fast and vzeroupper is preferred.
7070 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
7071 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
7072 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
7073 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
7074 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
7075 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
7077 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
7079 * argp/argp-help.c: Fix typo in comment.
7080 * misc/sys/cdefs.h: Likewise.
7081 * posix/regexec.c (sift_states_iter_mb): Likewise.
7082 * socket/sockatmark.c: Likewise.
7083 * socket/sys/socket.h: Likewise.
7084 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7085 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7086 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7088 * sysdeps/unix/sockatmark.c: Likewise.
7089 * time/strptime_l.c: Likewise.
7091 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
7093 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
7094 missing space after the cast of "_NL_CURRENT".
7096 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
7098 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
7099 ifdef to fix read of VSCR.
7100 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
7101 tst-ucontext-ppc64-vscr.c to test list.
7102 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
7104 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
7106 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
7109 2019-01-09 Jim Wilson <jimw@sifive.com>
7111 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
7113 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
7115 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
7116 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
7117 __memcpy_falkor for ares.
7118 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
7120 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
7123 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
7126 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
7127 4_FP_W_TYPEs are used for IEEE quad precision.
7128 * soft-fp/extendhftf2.c: Likewise.
7129 * soft-fp/extendsftf2.c: Likewise.
7130 * soft-fp/extendxftf2.c: Likewise.
7131 * soft-fp/trunctfdf2.c: Likewise.
7132 * soft-fp/trunctfhf2.c: Likewise.
7133 * soft-fp/trunctfsf2.c: Likewise.
7134 * soft-fp/trunctfxf2.c: Likewise.
7135 * sysdeps/alpha/ots_cvttx.c: Likewise.
7136 * sysdeps/alpha/ots_cvtxt.c: Likewise.
7137 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
7138 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
7139 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
7140 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
7141 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
7142 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
7143 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
7144 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
7145 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
7146 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
7147 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
7148 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
7149 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
7150 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
7151 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
7152 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
7154 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7157 * Makeconfig: Build libm with -fno-math-errno but build the remaining
7158 code with -fmath-errno.
7159 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
7160 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
7161 * string/test-strerror-errno.c: New file.
7163 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
7166 * localedata/locales/en_US (date_fmt): Add, set to
7167 "%a %d %b %Y %r %Z".
7169 2019-01-07 Florian Weimer <fweimer@redhat.com>
7172 * manual/arith.texi (Math Error Reporting): Use @code{errno}
7173 instead of @var{errno}.
7174 (Parsing of Integers): Likewise.
7175 (Parsing of Floats): Likewise.
7176 * manual/filesys.texi (Working with Directory Trees): Likewise.
7177 (Temporary Files): Likewise.
7178 * manual/job.texi (Terminal Access Functions): Likewise.
7179 * manual/llio.texi (Synchronizing I/O): Likewise.
7180 * manual/math.texi (SVID Random): Likewise.
7181 * manual/message.texi (The catgets Functions): Likewise.
7182 (Translation with gettext): Likewise.
7183 (Locating gettext catalog): Likewise.
7184 (Charset conversion in gettext): Likewise.
7185 * manual/nss.texi (NSS Module Function Internals): Likewise.
7186 * manual/search.texi (Hash Search Function): Likewise.
7187 * manual/setjmp.texi (System V contexts): Likewise.
7188 * manual/time.texi (Sleeping): Likewise.
7189 * manual/users.texi (Lookup User): Likewise.
7190 (Lookup Group): Likewise.
7192 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7194 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
7197 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
7200 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
7201 __builtin_unreachable for default case in switch.
7202 (__ieee754_yn): Likewise.
7203 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7204 (__ieee754_ynl): Likewise.
7205 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7206 (__ieee754_ynl): Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7208 (__ieee754_ynl): Likewise.
7210 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
7212 * manual/maint.texi: Use @{ and @}.
7214 2019-01-04 Florian Weimer <fweimer@redhat.com>
7216 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
7218 (do_in_chroot_1): Call it.
7220 Improve error reporting in case it is not possible to create a
7221 collision for the PTY name required by the test.
7223 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7225 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
7226 lll_wait_tid with timeout.
7227 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
7228 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
7229 futex_reltimed_wait_cancelable for cancelabla mode.
7230 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
7231 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
7233 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
7234 * sysdeps/posix/waitid.c (__sigwait): Likewise.
7235 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
7236 SYSCALL_CANCEL_NCS): New macro.
7237 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
7238 (lll_timedwait_tid): Remove macro.
7239 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
7241 (lll_timedwait_tid): Likewise.
7242 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
7244 (lll_timedwait_tid): Likewise.
7245 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
7247 (lll_timedwait_tid): Likewise.
7248 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
7249 Use INTERNAL_SYSCALL_CANCEL.
7250 * sysdeps/unix/sysv/linux/futex-internal.h
7251 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
7252 instead of __pthread_{enable,disable}_asynccancel.
7253 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
7254 (lll_futex_wait_cancel): New macro.
7256 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7257 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7259 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
7260 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
7262 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
7263 in backtrace analysis.
7264 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
7266 (tf_send): Likewise.
7268 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
7269 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
7270 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
7271 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
7272 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7273 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
7274 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
7275 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
7276 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
7277 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
7278 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
7279 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
7281 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
7282 tst-cancel-wrappers.sh.
7283 (generated): Remove tst-cancel-wrappers.out.
7284 (tst-cancel-wrappers.out): Remove rule.
7285 * nptl/tst-cancel-wrappers.sh: Remove file.
7287 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
7289 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
7290 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
7293 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7296 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
7297 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
7298 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
7299 close-on-exec reset for adddup2 file action.
7300 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
7302 2019-01-03 Zack Weinberg <zackw@panix.com>
7304 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
7305 parameter. Only use deprecated scanf when __USE_GNU is defined
7306 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
7307 than 201103L, whichever is relevant for the language being compiled.
7309 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
7310 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
7311 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
7312 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
7313 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
7317 * libio/iovswscanf.c
7322 * stdio-common/fscanf.c
7323 * stdio-common/scanf.c
7324 * stdio-common/vfscanf.c
7325 * stdio-common/vfwscanf.c
7326 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7327 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
7328 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
7329 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
7330 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
7331 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
7332 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
7333 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
7334 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
7335 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
7336 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
7337 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
7338 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
7339 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
7340 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
7342 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
7343 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
7344 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
7346 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
7347 with a preprocessor macro.
7349 * stdio-common/bug21.c, stdio-common/scanf14.c:
7350 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
7351 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7352 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
7353 to xscanf, xfscanf, xsscanf.
7355 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
7356 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
7357 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
7358 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
7360 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
7361 override feature selection macros or provide definitions of u_char etc.
7362 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
7363 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
7364 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
7367 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7370 bits/termios-misc.h.
7371 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
7372 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7373 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7375 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
7376 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
7378 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
7379 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7380 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
7381 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
7382 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
7383 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
7385 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
7386 (sysdep_headers): Add termios-misc.h.
7388 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
7389 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7390 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7394 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
7395 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
7396 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
7397 TCSAFLUSH): Move to termios-tcflow.h.
7398 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7399 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7400 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7401 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7405 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
7406 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
7407 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
7408 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
7409 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
7410 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
7411 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
7412 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
7414 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7415 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7419 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7421 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
7422 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
7424 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
7425 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
7427 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7428 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7429 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7430 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7435 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
7436 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
7437 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
7438 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
7439 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
7440 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
7441 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
7442 __MAX_BAUD): Move to termios-baud.h.
7443 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
7444 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
7445 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7447 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7449 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
7451 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
7452 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
7453 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
7454 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
7455 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
7456 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
7458 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
7459 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
7461 [USE_MISC] (XTABS): Likewise.
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/Makefile (sysdeps_headers): Add
7469 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
7470 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
7472 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
7473 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
7474 IUTF8): Move to termios-c_iflag.h.
7475 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7476 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7477 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7478 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7480 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
7482 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
7483 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
7484 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
7485 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
7486 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
7487 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
7488 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
7489 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
7490 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7491 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
7492 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7493 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7495 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
7496 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
7497 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
7498 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
7499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7501 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
7503 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
7505 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
7507 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
7509 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
7511 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
7512 _HAVE_C_OSPEED): Define.
7513 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
7514 _HAVE_C_OSPEED): Likewise.
7515 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
7516 _HAVE_C_OSPEED): Likewise.
7517 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
7518 (cfsetospeed): Check for define value instead of existence.
7519 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
7520 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7521 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
7522 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
7523 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
7526 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
7528 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
7529 (TIOCSER_TEMT): Likewise.
7530 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
7531 (TEOCSER_TEMT): Likewise.
7533 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
7536 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
7538 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7540 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
7542 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7544 * sysdeps/htl/pt-barrierattr-setpshared.c
7545 (pthread_barrierattr_setpshared): Add stub warning.
7546 * sysdeps/htl/pt-condattr-setpshared.c
7547 (pthread_condattr_setpshared): Likewise.
7548 * sysdeps/htl/pt-mutexattr-setpshared.c
7549 (pthread_mutexattr_setpshared): Likewise.
7550 * sysdeps/htl/pt-rwlockattr-setpshared.c
7551 (pthread_rwlockattr_setpshared): Likewise.
7552 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
7553 (pthread_mutexattr_setpshared): Likewise.
7555 2019-01-02 Joseph Myers <joseph@codesourcery.com>
7557 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
7558 constants to match with Linux 4.20.
7560 * sysdeps/mips/mips32/libm-test-ulps: Update.
7561 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7563 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
7566 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
7567 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
7568 than __typeof (...) for the a_ptr variable.
7570 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7572 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
7573 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
7574 * libio/Makefile (tests): Add tst-sprintf-ub and
7576 (CFLAGS-tst-sprintf-ub.c): New variable.
7577 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
7578 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
7579 destination buffer and check for overflows in fortified mode.
7580 * libio/libioP.h (PRINTF_CHK): New macro.
7581 * libio/tst-sprintf-chk-ub.c: New file.
7582 * libio/tst-sprintf-ub.c: Likewise.
7584 2019-01-02 Florian Weimer <fweimer@redhat.com>
7587 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
7590 2019-01-02 Florian Weimer <fweimer@redhat.com>
7592 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
7594 2019-01-01 Joseph Myers <joseph@codesourcery.com>
7596 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
7599 * sysdeps/unix/sysv/linux/netpacket/packet.h
7600 (PACKET_IGNORE_OUTGOING): New macro.
7602 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
7605 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
7607 (riscv_flush_icache): New syscall.
7609 * manual/texinfo.tex: Update to version 2018-12-28.17 with
7610 trailing whitespace removed.
7611 * scripts/config.guess: Update to version 2019-01-01.
7612 * scripts/config.sub: Update to version 2019-01-01.
7613 * scripts/move-if-change: Update from gnulib.
7615 * NEWS: Update copyright dates.
7616 * catgets/gencat.c (print_version): Likewise.
7617 * csu/version.c (banner): Likewise.
7618 * debug/catchsegv.sh: Likewise.
7619 * debug/pcprofiledump.c (print_version): Likewise.
7620 * debug/xtrace.sh (do_version): Likewise.
7621 * elf/ldconfig.c (print_version): Likewise.
7622 * elf/ldd.bash.in: Likewise.
7623 * elf/pldd.c (print_version): Likewise.
7624 * elf/sotruss.sh: Likewise.
7625 * elf/sprof.c (print_version): Likewise.
7626 * iconv/iconv_prog.c (print_version): Likewise.
7627 * iconv/iconvconfig.c (print_version): Likewise.
7628 * locale/programs/locale.c (print_version): Likewise.
7629 * locale/programs/localedef.c (print_version): Likewise.
7630 * login/programs/pt_chown.c (print_version): Likewise.
7631 * malloc/memusage.sh (do_version): Likewise.
7632 * malloc/memusagestat.c (print_version): Likewise.
7633 * malloc/mtrace.pl: Likewise.
7634 * manual/libc.texinfo: Likewise.
7635 * nptl/version.c (banner): Likewise.
7636 * nscd/nscd.c (print_version): Likewise.
7637 * nss/getent.c (print_version): Likewise.
7638 * nss/makedb.c (print_version): Likewise.
7639 * posix/getconf.c (main): Likewise.
7640 * scripts/test-installation.pl: Likewise.
7641 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7643 * All files with FSF copyright notices: Update copyright dates
7644 using scripts/update-copyrights.
7645 * locale/programs/charmap-kw.h: Regenerated.
7646 * locale/programs/locfile-kw.h: Likewise.
7648 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7650 * timezone/zdump.c: Update from tzcode 2018i.
7651 * timezone/zic.c: Likewise.
7653 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
7655 regex: improve Gnulib port to AIX
7656 From the glibc point of view, this removes duplicate macro
7657 definitions and is obviously safe.
7658 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
7659 * posix/regex_internal.h:
7660 (__attribute__, __attribute_warn_unused_result__):
7661 Remove; already defined elsewhere.
7663 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
7666 * malloc/malloc.c (_int_realloc): Always call memcpy for the
7667 copying operation. (ncopies had the wrong type, resulting in an
7668 integer wraparound and too few elements being copied.)
7670 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
7673 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
7674 <asm/syscalls.h> exists with __has_include__ before including it.
7676 2018-12-31 Joseph Myers <joseph@codesourcery.com>
7678 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7681 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
7683 * hurd/lookup-retry: Include <unistd.h>.
7684 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
7685 Release it on return. Handle "pid" magical lookup retry.
7687 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7690 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
7691 (t_fmt_ampm): Likewise.
7692 * localedata/locales/aa_ER (t_fmt): Likewise.
7693 (t_fmt_ampm): Likewise.
7694 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
7695 (t_fmt_ampm): Likewise.
7696 * localedata/locales/aa_ET (t_fmt): Likewise.
7697 (t_fmt_ampm): Likewise.
7698 * localedata/locales/am_ET (t_fmt): Likewise.
7699 (t_fmt_ampm): Likewise.
7700 * localedata/locales/byn_ER (t_fmt): Likewise.
7701 (t_fmt_ampm): Likewise.
7702 * localedata/locales/om_ET (t_fmt): Likewise.
7703 (t_fmt_ampm): Likewise.
7704 * localedata/locales/sid_ET (t_fmt): Likewise.
7705 (t_fmt_ampm): Likewise.
7706 * localedata/locales/so_DJ (t_fmt): Likewise.
7707 (t_fmt_ampm): Likewise.
7708 * localedata/locales/so_ET (t_fmt): Likewise.
7709 (t_fmt_ampm): Likewise.
7710 * localedata/locales/so_SO (t_fmt): Likewise.
7711 (t_fmt_ampm): Likewise.
7712 * localedata/locales/ti_ER (t_fmt): Likewise.
7713 (t_fmt_ampm): Likewise.
7714 * localedata/locales/ti_ET (t_fmt): Likewise.
7715 (t_fmt_ampm): Likewise.
7716 * localedata/locales/tig_ER (t_fmt): Likewise.
7717 (t_fmt_ampm): Likewise.
7718 * localedata/locales/wal_ET (t_fmt): Likewise.
7719 (t_fmt_ampm): Likewise.
7721 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
7722 * localedata/locales/ar_IN (t_fmt): Likewise.
7723 * localedata/locales/bhb_IN (t_fmt): Likewise.
7724 * localedata/locales/bho_IN (t_fmt): Likewise.
7725 * localedata/locales/bi_VU (t_fmt): Likewise.
7726 * localedata/locales/bn_BD (t_fmt): Likewise.
7727 * localedata/locales/bn_IN (t_fmt): Likewise.
7728 * localedata/locales/brx_IN (t_fmt): Likewise.
7729 * localedata/locales/doi_IN (t_fmt): Likewise.
7730 * localedata/locales/en_HK (t_fmt): Likewise.
7731 (t_fmt_ampm): Likewise.
7732 * localedata/locales/en_IN (t_fmt): Likewise.
7733 * localedata/locales/en_PH (t_fmt): Likewise.
7734 * localedata/locales/gu_IN (t_fmt): Likewise.
7735 * localedata/locales/hi_IN (t_fmt): Likewise.
7736 * localedata/locales/hif_FJ (t_fmt): Likewise.
7737 * localedata/locales/hne_IN (t_fmt): Likewise.
7738 * localedata/locales/kn_IN (t_fmt): Likewise.
7739 * localedata/locales/kok_IN (t_fmt): Likewise.
7740 * localedata/locales/ks_IN (t_fmt): Likewise.
7741 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
7742 * localedata/locales/mag_IN (t_fmt): Likewise.
7743 * localedata/locales/mai_IN (t_fmt): Likewise.
7744 * localedata/locales/mjw_IN (t_fmt): Likewise.
7745 * localedata/locales/ml_IN (t_fmt): Likewise.
7746 * localedata/locales/mni_IN (t_fmt): Likewise.
7747 * localedata/locales/mr_IN (t_fmt): Likewise.
7748 * localedata/locales/ms_MY (t_fmt): Likewise.
7749 * localedata/locales/pa_IN (t_fmt): Likewise.
7750 * localedata/locales/raj_IN (t_fmt): Likewise.
7751 * localedata/locales/sa_IN (t_fmt): Likewise.
7752 * localedata/locales/sat_IN (t_fmt): Likewise.
7753 * localedata/locales/sd_IN (t_fmt): Likewise.
7754 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
7755 * localedata/locales/tcy_IN (t_fmt): Likewise.
7756 * localedata/locales/the_NP (t_fmt): Likewise.
7757 * localedata/locales/to_TO (t_fmt): Likewise.
7758 * localedata/locales/ur_IN (t_fmt): Likewise.
7760 * localedata/locales/hif_FJ (d_t_fmt): Set to
7761 "%A %d %b %Y %I:%M:%S %p".
7762 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
7764 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
7765 * localedata/locales/ar_BH (t_fmt): Likewise.
7766 * localedata/locales/ar_DZ (t_fmt): Likewise.
7767 * localedata/locales/ar_EG (t_fmt): Likewise.
7768 * localedata/locales/ar_IQ (t_fmt): Likewise.
7769 * localedata/locales/ar_JO (t_fmt): Likewise.
7770 * localedata/locales/ar_KW (t_fmt): Likewise.
7771 * localedata/locales/ar_LB (t_fmt): Likewise.
7772 * localedata/locales/ar_LY (t_fmt): Likewise.
7773 * localedata/locales/ar_OM (t_fmt): Likewise.
7774 * localedata/locales/ar_QA (t_fmt): Likewise.
7775 * localedata/locales/ar_SD (t_fmt): Likewise.
7776 * localedata/locales/ar_SS (t_fmt): Likewise.
7777 * localedata/locales/ar_SY (t_fmt): Likewise.
7778 * localedata/locales/ar_TN (t_fmt): Likewise.
7779 * localedata/locales/ar_YE (t_fmt): Likewise.
7781 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
7782 (t_fmt_ampm): Likewise.
7783 * localedata/locales/gez_ET (t_fmt): Likewise.
7784 (t_fmt_ampm): Likewise.
7786 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
7787 (t_fmt_ampm): Likewise.
7788 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
7790 * localedata/locales/zh_HK (t_fmt):
7791 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
7793 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
7794 because this locale does not use the 12-hour clock.
7795 (t_fmt): Set to "%Z %H:%M:%S".
7796 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
7798 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
7799 because this locale does not use the 12-hour clock.
7800 (t_fmt): Set to "%H:%M:%S %Z".
7801 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
7803 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
7804 because this locale does not use the 12-hour clock.
7805 (t_fmt): Set to "%T".
7806 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
7807 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
7809 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
7810 because this locale does not use the 12-hour clock.
7811 (t_fmt): Set to "%H:%M:%S %Z".
7812 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
7814 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
7815 because this locale does not use the 12-hour clock.
7816 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
7817 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
7819 2018-12-28 Rafał Lużyński <digitalfreak@lingonborough.com>
7823 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
7824 (t_fmt_ampm): Likewise.
7825 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
7826 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
7827 (d_fmt): Set to "%-d.%-m.%y".
7829 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7831 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
7832 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
7833 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
7835 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
7836 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
7837 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
7839 * support/blob_repeat.c (check_mul_overflow_size_t,
7840 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
7842 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
7844 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
7846 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
7848 regex: simplify Gnulib port
7849 This simplifies the code, by removing stuff intended for porting
7850 to Gnulib but no longer needed there.
7851 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
7852 uses of libc_hidden_def, weak_alias.
7853 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
7854 _Restrict_ except for public-facing headers.
7855 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
7856 Remove; already defined elsewhere.
7857 * posix/regex.c, posix/regex_internal.h:
7858 Use __GNUC_PREREQ instead of rolling our own.
7859 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
7861 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
7863 * benchtests/bench-strlen.c (generic_strlen): New function.
7864 (memchr_strlen): New function.
7866 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7868 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
7869 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
7870 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
7872 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7874 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7876 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
7878 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
7879 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
7880 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
7881 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
7882 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
7883 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
7884 <sysdeps/ieee754/flt-32/s_sincosf.c>.
7886 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7889 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
7890 PLT reference in libc.so.
7891 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
7892 _Q_lltoq and _Q_qtod PLT references in libc.so.
7894 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
7896 * benchtests/bench-memchr.c: Cleanup defines.
7897 * benchtests/bench-memcmp.c: Likewise.
7898 * benchtests/bench-memset.c: Likewise.
7899 * benchtests/bench-memset-large.c: Likewise.
7900 * benchtests/bench-memset-walk.c: Likewise.
7901 * benchtests/bench-stpcpy.c: Likewise.
7902 * benchtests/bench-stpncpy.c: Likewise.
7903 * benchtests/bench-strcat.c: Likewise.
7904 * benchtests/bench-strchr.c: Likewise.
7905 * benchtests/bench-strcmp.c: Likewise.
7906 * benchtests/bench-strcpy.c: Likewise.
7907 * benchtests/bench-strcspn.c: Likewise.
7908 * benchtests/bench-string.h: Likewise.
7909 * benchtests/bench-strlen.c: Likewise.
7910 * benchtests/bench-strncat.c: Likewise.
7911 * benchtests/bench-strncmp.c: Likewise.
7912 * benchtests/bench-strncpy.c: Likewise.
7913 * benchtests/bench-strnlen.c: Likewise.
7914 * benchtests/bench-strpbrk.c: Likewise.
7915 * benchtests/bench-strrchr.c: Likewise.
7916 * benchtests/bench-strspn.c: Likewise.
7918 2018-12-21 Joseph Myers <joseph@codesourcery.com>
7920 * stdlib/longlong.h: Update from GCC.
7923 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
7924 * configure: Regenerated.
7925 * manual/install.texi (Tools for Compilation): Update minimum GCC
7927 * INSTALL: Regenerated.
7929 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
7931 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
7933 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
7935 * malloc/malloc.c (mremap_chunk): Additional checks.
7937 2018-12-21 Mao Han <han_mao@c-sky.com>
7939 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
7940 * scripts/build-many-glibcs.py: Add C-SKY targets.
7941 * sysdeps/csky/Implies: New file.
7942 * sysdeps/csky/Makefile: Likewise.
7943 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
7944 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
7945 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
7946 * sysdeps/csky/abiv2/memcmp.S: Likewise.
7947 * sysdeps/csky/abiv2/memcpy.S: Likewise.
7948 * sysdeps/csky/abiv2/memmove.S: Likewise.
7949 * sysdeps/csky/abiv2/memset.S: Likewise.
7950 * sysdeps/csky/abiv2/setjmp.S: Likewise.
7951 * sysdeps/csky/abiv2/start.S: Likewise.
7952 * sysdeps/csky/abiv2/strcmp.S: Likewise.
7953 * sysdeps/csky/abiv2/strcpy.S: Likewise.
7954 * sysdeps/csky/abiv2/strlen.S: Likewise.
7955 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
7956 * sysdeps/csky/abort-instr.h: Likewise.
7957 * sysdeps/csky/atomic-machine.h: Likewise.
7958 * sysdeps/csky/bits/endian.h: Likewise.
7959 * sysdeps/csky/bits/fenv.h: Likewise.
7960 * sysdeps/csky/bits/link.h: Likewise.
7961 * sysdeps/csky/bits/setjmp.h: Likewise.
7962 * sysdeps/csky/bsd-_setjmp.S: Likewise.
7963 * sysdeps/csky/bsd-setjmp.S: Likewise.
7964 * sysdeps/csky/configure: Likewise.
7965 * sysdeps/csky/configure.ac: Likewise.
7966 * sysdeps/csky/dl-machine.h: Likewise.
7967 * sysdeps/csky/dl-procinfo.c: Likewise.
7968 * sysdeps/csky/dl-procinfo.h: Likewise.
7969 * sysdeps/csky/dl-sysdep.h: Likewise.
7970 * sysdeps/csky/dl-tls.h: Likewise.
7971 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
7972 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
7973 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
7974 * sysdeps/csky/fpu/fegetenv.c: Likewise.
7975 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
7976 * sysdeps/csky/fpu/fegetmode.c: Likewise.
7977 * sysdeps/csky/fpu/fegetround.c: Likewise.
7978 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
7979 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
7980 * sysdeps/csky/fpu/fenv_private.h: Likewise.
7981 * sysdeps/csky/fpu/fesetenv.c: Likewise.
7982 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
7983 * sysdeps/csky/fpu/fesetmode.c: Likewise.
7984 * sysdeps/csky/fpu/fesetround.c: Likewise.
7985 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
7986 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
7987 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
7988 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
7989 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
7990 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
7991 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
7992 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
7993 * sysdeps/csky/fpu_control.h: Likewise.
7994 * sysdeps/csky/gccframe.h: Likewise.
7995 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
7996 * sysdeps/csky/ldsodefs.h: Likewise.
7997 * sysdeps/csky/libc-tls.c: Likewise.
7998 * sysdeps/csky/linkmap.h: Likewise.
7999 * sysdeps/csky/machine-gmon.h: Likewise.
8000 * sysdeps/csky/memusage.h: Likewise.
8001 * sysdeps/csky/nofpu/Implies: Likewise.
8002 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
8003 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
8004 * sysdeps/csky/nptl/Makefile: Likewise.
8005 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
8006 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
8007 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
8008 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
8009 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
8010 * sysdeps/csky/nptl/tls.h: Likewise.
8011 * sysdeps/csky/preconfigure: Likewise.
8012 * sysdeps/csky/sfp-machine.h: Likewise.
8013 * sysdeps/csky/sotruss-lib.c: Likewise.
8014 * sysdeps/csky/stackinfo.h: Likewise.
8015 * sysdeps/csky/sysdep.h: Likewise.
8016 * sysdeps/csky/tininess.h: Likewise.
8017 * sysdeps/csky/tst-audit.h: Likewise.
8018 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
8019 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
8020 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
8021 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
8022 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
8023 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
8024 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
8025 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
8026 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
8027 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
8028 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
8029 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
8030 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
8031 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
8032 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
8033 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
8034 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
8035 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
8036 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
8037 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
8038 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
8039 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
8040 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
8041 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
8042 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
8043 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
8044 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
8045 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
8046 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
8047 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
8048 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
8049 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
8050 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
8051 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
8052 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
8053 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
8054 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
8055 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
8056 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
8057 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
8058 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
8059 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
8060 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
8061 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
8063 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8065 * include/time.h (__difftime64): Add.
8066 * time/difftime.c (subtract): convert to 64-bit time.
8067 * time/difftime.c (__difftime64): Add.
8068 * time/difftime.c (__difftime): Wrap around __difftime64.
8070 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
8072 * manual/examples/add.c: Remove redundant "if not".
8073 * manual/examples/argp-ex1.c: Likewise.
8074 * manual/examples/argp-ex2.c: Likewise.
8075 * manual/examples/argp-ex3.c: Likewise.
8076 * manual/examples/argp-ex4.c: Likewise.
8077 * manual/examples/atexit.c: Likewise.
8078 * manual/examples/db.c: Likewise.
8079 * manual/examples/dir.c: Likewise.
8080 * manual/examples/dir2.c: Likewise.
8081 * manual/examples/execinfo.c: Likewise.
8082 * manual/examples/filecli.c: Likewise.
8083 * manual/examples/filesrv.c: Likewise.
8084 * manual/examples/fmtmsgexpl.c: Likewise.
8085 * manual/examples/genpass.c: Likewise.
8086 * manual/examples/inetcli.c: Likewise.
8087 * manual/examples/inetsrv.c: Likewise.
8088 * manual/examples/isockad.c: Likewise.
8089 * manual/examples/longopt.c: Likewise.
8090 * manual/examples/memopen.c: Likewise.
8091 * manual/examples/memstrm.c: Likewise.
8092 * manual/examples/mkdirent.c: Likewise.
8093 * manual/examples/mkfsock.c: Likewise.
8094 * manual/examples/mkisock.c: Likewise.
8095 * manual/examples/mygetpass.c: Likewise.
8096 * manual/examples/pipe.c: Likewise.
8097 * manual/examples/popen.c: Likewise.
8098 * manual/examples/rprintf.c: Likewise.
8099 * manual/examples/search.c: Likewise.
8100 * manual/examples/select.c: Likewise.
8101 * manual/examples/setjmp.c: Likewise.
8102 * manual/examples/sigh1.c: Likewise.
8103 * manual/examples/sigusr.c: Likewise.
8104 * manual/examples/stpcpy.c: Likewise.
8105 * manual/examples/strdupa.c: Likewise.
8106 * manual/examples/strftim.c: Likewise.
8107 * manual/examples/subopt.c: Likewise.
8108 * manual/examples/swapcontext.c: Likewise.
8109 * manual/examples/termios.c: Likewise.
8110 * manual/examples/testopt.c: Likewise.
8111 * manual/examples/testpass.c: Likewise.
8112 * manual/examples/timeval_subtract.c: Likewise.
8114 2018-12-19 Joseph Myers <joseph@codesourcery.com>
8116 * sysdeps/x86/fpu/math_private.h: New file.
8117 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
8119 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
8124 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8126 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
8127 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
8128 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
8129 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
8131 (_dl_show_auxv): Give a special treatment to
8132 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
8133 and AT_L3_CACHEGEOMETRY.
8134 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
8135 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
8136 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
8137 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
8139 2018-12-19 Andreas Schwab <schwab@suse.de>
8141 * nscd/connections.c (check_use): Don't abort on invalid len.
8143 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8145 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
8146 values in the 64bit value cases.
8148 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
8154 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
8160 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
8163 (__gmtime64_r): Add.
8165 (__gmtime64_r): Add.
8166 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8172 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
8175 (__localtime64_r): Add.
8177 (__localtime64_r): Add.
8178 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
8180 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8182 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
8183 kernel_sigction definition.
8185 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
8187 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
8189 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
8190 __syscall_rt_sigaction.
8191 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
8192 (kernel_sigaction): Use Linux generic defintion.
8194 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
8195 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
8196 (__syscall_rt_sigaction): Remove implementation.
8197 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
8199 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
8200 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
8201 INTERNAL_SYSCALL): Remove definitions.
8202 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
8203 action and signal set size.
8204 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
8205 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
8207 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8208 James Clarke <jrtc27@jrtc27.com>
8211 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
8212 Define if SA_RESTORER is defined.
8213 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
8214 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
8216 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
8217 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
8219 (HAS_SA_RESTORER): Define.
8220 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
8221 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
8222 (HAS_SA_RESTORER): Define.
8223 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
8224 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
8225 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
8226 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
8227 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8229 2018-12-18 Joseph Myers <joseph@codesourcery.com>
8231 * sysdeps/unix/sysv/linux/kernel-features.h
8232 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
8233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8234 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
8235 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8236 (__ASSUME_ST_INO_64_BIT): Likewise.
8237 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8238 <kernel-features.h>.
8239 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8240 Remove conditional code.
8241 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8242 <kernel-features.h>.
8243 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8244 Remove conditional code.
8245 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
8246 <kernel-features.h>.
8247 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
8248 Remove conditional code.
8249 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
8250 <kernel-features.h>.
8251 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
8252 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
8254 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8256 * sysdeps/s390/multiarch/ifunc-resolve.h
8257 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
8258 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
8259 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
8260 Delete macro definition.
8261 (s390_libc_ifunc_init): Rename to
8262 s390_libc_ifunc_expr_stfle_init.
8263 * sysdeps/s390/bzero: Use
8264 s390_libc_ifunc_expr_stfle_init instead of
8265 s390_libc_ifunc_init.
8266 * sysdeps/s390/memcmp.c: Likewise.
8267 * sysdeps/s390/memcpy.c: Likewise.
8268 * sysdeps/s390/mempcpy.c: Likewise.
8269 * sysdeps/s390/memset.c: Likewise.
8271 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8273 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
8274 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
8276 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8278 * sysdeps/s390/multiarch/Makefile
8279 (sysdep_routines): Remove wmemcmp variants.
8280 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
8281 * sysdeps/s390/multiarch/ifunc-impl-list.c
8282 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8283 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
8284 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
8285 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
8286 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
8287 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
8288 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
8289 * sysdeps/s390/ifunc-wmemcmp.h: New file.
8291 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8293 * sysdeps/s390/multiarch/Makefile
8294 (sysdep_routines): Remove wmemset variants.
8295 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
8296 * sysdeps/s390/multiarch/ifunc-impl-list.c
8297 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
8298 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
8299 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
8300 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
8301 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
8302 * sysdeps/s390/multiarch/wmemset.c: Move to ...
8303 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
8304 * sysdeps/s390/ifunc-wmemset.h: New file.
8306 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8308 * sysdeps/s390/multiarch/Makefile
8309 (sysdep_routines): Remove wmemchr variants.
8310 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
8311 * sysdeps/s390/multiarch/ifunc-impl-list.c
8312 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
8313 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
8314 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
8315 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
8316 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
8317 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
8318 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
8319 * sysdeps/s390/ifunc-wmemchr.h: New file.
8321 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8323 * sysdeps/s390/multiarch/Makefile
8324 (sysdep_routines): Remove wcscspn variants.
8325 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
8326 * sysdeps/s390/multiarch/ifunc-impl-list.c
8327 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
8328 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
8329 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
8330 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
8331 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
8332 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
8333 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
8334 * sysdeps/s390/ifunc-wcscspn.h: New file.
8336 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8338 * sysdeps/s390/multiarch/Makefile
8339 (sysdep_routines): Remove wcspbrk variants.
8340 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
8341 * sysdeps/s390/multiarch/ifunc-impl-list.c
8342 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
8343 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
8344 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
8345 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
8346 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
8347 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
8348 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
8349 * sysdeps/s390/ifunc-wcspbrk.h: New file.
8351 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8353 * sysdeps/s390/multiarch/Makefile
8354 (sysdep_routines): Remove wcsspn variants.
8355 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
8356 * sysdeps/s390/multiarch/ifunc-impl-list.c
8357 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
8358 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
8359 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
8360 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
8361 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
8362 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
8363 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
8364 * sysdeps/s390/ifunc-wcsspn.h: New file.
8366 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8368 * sysdeps/s390/multiarch/Makefile
8369 (sysdep_routines): Remove wcsrchr variants.
8370 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
8371 * sysdeps/s390/multiarch/ifunc-impl-list.c
8372 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
8373 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
8374 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
8375 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
8376 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
8377 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
8378 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
8379 * sysdeps/s390/ifunc-wcsrchr.h: New file.
8381 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8383 * sysdeps/s390/multiarch/Makefile
8384 (sysdep_routines): Remove wcschrnul variants.
8385 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
8386 * sysdeps/s390/multiarch/ifunc-impl-list.c
8387 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
8388 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
8389 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
8390 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
8391 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
8392 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
8393 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
8394 * sysdeps/s390/ifunc-wcschrnul.h: New file.
8396 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8398 * sysdeps/s390/multiarch/Makefile
8399 (sysdep_routines): Remove wcschr variants.
8400 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
8401 * sysdeps/s390/multiarch/ifunc-impl-list.c
8402 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
8403 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
8404 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
8405 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
8406 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
8407 * sysdeps/s390/multiarch/wcschr.c: Move to ...
8408 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
8409 * sysdeps/s390/ifunc-wcschr.h: New file.
8411 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8413 * sysdeps/s390/multiarch/Makefile
8414 (sysdep_routines): Remove wcsncmp variants.
8415 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
8416 * sysdeps/s390/multiarch/ifunc-impl-list.c
8417 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
8418 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
8419 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
8420 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
8421 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
8422 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
8423 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
8424 * sysdeps/s390/ifunc-wcsncmp.h: New file.
8426 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8428 * sysdeps/s390/multiarch/Makefile
8429 (sysdep_routines): Remove wcscmp variants.
8430 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
8431 * sysdeps/s390/multiarch/ifunc-impl-list.c
8432 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
8433 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
8434 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
8435 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
8436 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
8437 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
8438 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
8439 * sysdeps/s390/ifunc-wcscmp.h: New file.
8441 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8443 * sysdeps/s390/multiarch/Makefile
8444 (sysdep_routines): Remove wcsncat variants.
8445 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
8446 * sysdeps/s390/multiarch/ifunc-impl-list.c
8447 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
8448 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
8449 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
8450 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
8451 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
8452 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
8453 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
8454 * sysdeps/s390/ifunc-wcsncat.h: New file.
8456 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8458 * sysdeps/s390/multiarch/Makefile
8459 (sysdep_routines): Remove wcscat variants.
8460 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
8461 * sysdeps/s390/multiarch/ifunc-impl-list.c
8462 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
8463 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
8464 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
8465 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
8466 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
8467 * sysdeps/s390/multiarch/wcscat.c: Move to ...
8468 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
8469 * sysdeps/s390/ifunc-wcscat.h: New file.
8471 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8473 * sysdeps/s390/multiarch/Makefile
8474 (sysdep_routines): Remove wcpncpy variants.
8475 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
8476 * sysdeps/s390/multiarch/ifunc-impl-list.c
8477 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
8478 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
8479 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
8480 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
8481 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
8482 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
8483 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
8484 * sysdeps/s390/ifunc-wcpncpy.h: New file.
8486 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8488 * sysdeps/s390/multiarch/Makefile
8489 (sysdep_routines): Remove wcsncpy variants.
8490 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
8491 * sysdeps/s390/multiarch/ifunc-impl-list.c
8492 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
8493 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
8494 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
8495 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
8496 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
8497 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
8498 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
8499 * sysdeps/s390/ifunc-wcsncpy.h: New file.
8501 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8503 * sysdeps/s390/multiarch/Makefile
8504 (sysdep_routines): Remove wcpcpy variants.
8505 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
8506 * sysdeps/s390/multiarch/ifunc-impl-list.c
8507 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
8508 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
8509 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
8510 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
8511 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
8512 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
8513 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
8514 * sysdeps/s390/ifunc-wcpcpy.h: New file.
8516 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8518 * sysdeps/s390/multiarch/Makefile
8519 (sysdep_routines): Remove wcscpy variants.
8520 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
8521 * sysdeps/s390/multiarch/ifunc-impl-list.c
8522 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
8523 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
8524 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
8525 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
8526 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
8527 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
8528 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
8529 * sysdeps/s390/ifunc-wcscpy.h: New file.
8531 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8533 * sysdeps/s390/multiarch/Makefile
8534 (sysdep_routines): Remove wcsnlen variants.
8535 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
8536 * sysdeps/s390/multiarch/ifunc-impl-list.c
8537 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
8538 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
8539 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
8540 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
8541 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
8542 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
8543 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
8544 * sysdeps/s390/ifunc-wcsnlen.h: New file.
8546 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8548 * sysdeps/s390/multiarch/Makefile
8549 (sysdep_routines): Remove wcslen variants.
8550 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
8551 * sysdeps/s390/multiarch/ifunc-impl-list.c
8552 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
8553 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
8554 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
8555 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
8556 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
8557 * sysdeps/s390/multiarch/wcslen.c: Move to ...
8558 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
8559 * sysdeps/s390/ifunc-wcslen.h: New file.
8561 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8563 * sysdeps/s390/multiarch/Makefile
8564 (sysdep_routines): Remove memrchr variants.
8565 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
8566 * sysdeps/s390/multiarch/ifunc-impl-list.c
8567 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
8568 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
8569 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
8570 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
8571 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
8572 * sysdeps/s390/multiarch/memrchr.c: Move to ...
8573 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
8574 * sysdeps/s390/ifunc-memrchr.h: New file.
8576 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8578 * sysdeps/s390/multiarch/Makefile
8579 (sysdep_routines): Remove memccpy variants.
8580 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
8581 * sysdeps/s390/multiarch/ifunc-impl-list.c
8582 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
8583 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
8584 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
8585 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
8586 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
8587 * sysdeps/s390/multiarch/memccpy.c: Move to ...
8588 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
8589 * sysdeps/s390/ifunc-memccpy.h: New file.
8591 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8593 * sysdeps/s390/multiarch/Makefile
8594 (sysdep_routines): Remove rawmemchr variants.
8595 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
8596 * sysdeps/s390/multiarch/ifunc-impl-list.c
8597 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
8598 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
8599 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
8600 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
8601 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
8602 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
8603 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
8604 * sysdeps/s390/ifunc-rawmemchr.h: New file.
8606 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8608 * sysdeps/s390/multiarch/Makefile
8609 (sysdep_routines): Remove memchr variants.
8610 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
8611 * sysdeps/s390/multiarch/ifunc-impl-list.c
8612 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
8613 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
8614 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
8615 * sysdeps/s390/multiarch/memchr.c: Move to ...
8616 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
8617 * sysdeps/s390/ifunc-memchr.h: New file.
8618 * sysdeps/s390/s390-64/memchr.S: Move to ...
8619 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
8620 for 31/64bit and ifunc handling.
8621 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
8622 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
8623 * sysdeps/s390/s390-32/memchr.S: Likewise.
8625 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8627 * sysdeps/s390/multiarch/Makefile
8628 (sysdep_routines): Remove strcspn variants.
8629 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
8630 * sysdeps/s390/multiarch/ifunc-impl-list.c
8631 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
8632 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
8633 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
8634 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
8635 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
8636 * sysdeps/s390/multiarch/strcspn.c: Move to ...
8637 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
8638 * sysdeps/s390/ifunc-strcspn.h: New file.
8640 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8642 * sysdeps/s390/multiarch/Makefile
8643 (sysdep_routines): Remove strpbrk variants.
8644 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
8645 * sysdeps/s390/multiarch/ifunc-impl-list.c
8646 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
8647 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
8648 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
8649 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
8650 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
8651 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
8652 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
8653 * sysdeps/s390/ifunc-strpbrk.h: New file.
8655 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8657 * sysdeps/s390/multiarch/Makefile
8658 (sysdep_routines): Remove strspn variants.
8659 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
8660 * sysdeps/s390/multiarch/ifunc-impl-list.c
8661 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
8662 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
8663 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
8664 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
8665 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
8666 * sysdeps/s390/multiarch/strspn.c: Move to ...
8667 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
8668 * sysdeps/s390/ifunc-strspn.h: New file.
8670 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8672 * sysdeps/s390/multiarch/Makefile
8673 (sysdep_routines): Remove strrchr variants.
8674 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
8675 * sysdeps/s390/multiarch/ifunc-impl-list.c
8676 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
8677 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
8678 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
8679 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
8680 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
8681 * sysdeps/s390/multiarch/strrchr.c: Move to ...
8682 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
8683 * sysdeps/s390/ifunc-strrchr.h: New file.
8685 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8687 * sysdeps/s390/multiarch/Makefile
8688 (sysdep_routines): Remove strchrnul variants.
8689 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
8690 * sysdeps/s390/multiarch/ifunc-impl-list.c
8691 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
8692 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
8693 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
8694 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
8695 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
8696 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
8697 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
8698 * sysdeps/s390/ifunc-strchrnul.h: New file.
8700 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8702 * sysdeps/s390/multiarch/Makefile
8703 (sysdep_routines): Remove strchr variants.
8704 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
8705 * sysdeps/s390/multiarch/ifunc-impl-list.c
8706 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
8707 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
8708 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
8709 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
8710 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
8711 * sysdeps/s390/multiarch/strchr.c: Move to ...
8712 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
8713 * sysdeps/s390/ifunc-strchr.h: New file.
8715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8717 * sysdeps/s390/multiarch/Makefile
8718 (sysdep_routines): Remove strncmp variants.
8719 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
8720 * sysdeps/s390/multiarch/ifunc-impl-list.c
8721 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
8722 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
8723 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
8724 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
8725 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
8726 * sysdeps/s390/multiarch/strncmp.c: Move to ...
8727 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
8728 * sysdeps/s390/ifunc-strncmp.h: New file.
8730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8732 * sysdeps/s390/multiarch/Makefile
8733 (sysdep_routines): Remove strcmp variants.
8734 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
8735 * sysdeps/s390/multiarch/ifunc-impl-list.c
8736 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
8737 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
8738 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
8739 * sysdeps/s390/multiarch/strcmp.c: Move to ...
8740 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
8741 * sysdeps/s390/ifunc-strcmp.h: New file.
8742 * sysdeps/s390/s390-64/strcmp.S: Move to ...
8743 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
8744 for 31/64bit and ifunc handling.
8745 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
8746 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
8747 * sysdeps/s390/s390-32/strcmp.S: Likewise.
8749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8751 * sysdeps/s390/multiarch/Makefile
8752 (sysdep_routines): Remove strncat variants.
8753 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
8754 * sysdeps/s390/multiarch/ifunc-impl-list.c
8755 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
8756 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
8757 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
8758 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
8759 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
8760 * sysdeps/s390/multiarch/strncat.c: Move to ...
8761 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
8762 * sysdeps/s390/ifunc-strncat.h: New file.
8764 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8766 * sysdeps/s390/multiarch/Makefile
8767 (sysdep_routines): Remove strcat variants.
8768 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
8769 * sysdeps/s390/multiarch/ifunc-impl-list.c
8770 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
8771 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
8772 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
8773 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
8774 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
8775 * sysdeps/s390/multiarch/strcat.c: Move to ...
8776 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
8777 * sysdeps/s390/ifunc-strcat.h: New file.
8779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8781 * sysdeps/s390/multiarch/Makefile
8782 (sysdep_routines): Remove stpncpy variants.
8783 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
8784 * sysdeps/s390/multiarch/ifunc-impl-list.c
8785 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
8786 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
8787 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
8788 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
8789 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
8790 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
8791 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
8792 * sysdeps/s390/ifunc-stpncpy.h: New file.
8794 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8796 * sysdeps/s390/multiarch/Makefile
8797 (sysdep_routines): Remove strncpy variants.
8798 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
8799 * sysdeps/s390/multiarch/ifunc-impl-list.c
8800 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
8801 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
8802 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
8803 * sysdeps/s390/multiarch/strncpy.c: Move to ...
8804 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
8805 * sysdeps/s390/ifunc-strncpy.h: New file.
8806 * sysdeps/s390/s390-64/strncpy.S: Move to ...
8807 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
8808 and adjust ifunc handling.
8809 * sysdeps/s390/s390-32/strncpy.S: Move to ...
8810 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
8811 and adjust ifunc handling.
8812 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
8813 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
8815 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8817 * sysdeps/s390/multiarch/Makefile
8818 (sysdep_routines): Remove stpcpy variants.
8819 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
8820 * sysdeps/s390/multiarch/ifunc-impl-list.c
8821 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
8822 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
8823 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
8824 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
8825 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
8826 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
8827 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
8828 * sysdeps/s390/ifunc-stpcpy.h: New file.
8830 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8832 * sysdeps/s390/multiarch/Makefile
8833 (sysdep_routines): Remove strcpy variants.
8834 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
8835 * sysdeps/s390/multiarch/ifunc-impl-list.c
8836 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
8837 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
8838 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
8839 * sysdeps/s390/multiarch/strcpy.c: Move to ...
8840 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
8841 * sysdeps/s390/ifunc-strcpy.h: New file.
8842 * sysdeps/s390/s390-64/strcpy.S: Move to ...
8843 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
8844 for 31/64bit and ifunc handling.
8845 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
8846 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
8847 * sysdeps/s390/s390-32/strcpy.S: Likewise.
8849 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8851 * sysdeps/s390/multiarch/Makefile
8852 (sysdep_routines): Remove strnlen variants.
8853 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
8854 * sysdeps/s390/multiarch/ifunc-impl-list.c
8855 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
8856 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
8857 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
8858 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
8859 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
8860 * sysdeps/s390/multiarch/strnlen.c: Move to ...
8861 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
8862 * sysdeps/s390/ifunc-strnlen.h: New file.
8864 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8866 * sysdeps/s390/multiarch/Makefile
8867 (sysdep_routines): Remove strlen variants.
8868 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
8869 * sysdeps/s390/multiarch/ifunc-impl-list.c
8870 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
8871 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
8872 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
8873 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
8874 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
8875 * sysdeps/s390/multiarch/strlen.c: Move to ...
8876 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
8877 * sysdeps/s390/ifunc-strlen.h: New file.
8879 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8881 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
8882 * sysdeps/s390/multiarch/ifunc-impl-list.c
8883 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
8884 * sysdeps/s390/ifunc-memmem.h: New file.
8885 * sysdeps/s390/memmem.c: Likewise.
8886 * sysdeps/s390/memmem-c.c: Likewise.
8887 * sysdeps/s390/memmem-vx.c: Likewise.
8889 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8891 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
8892 * sysdeps/s390/multiarch/ifunc-impl-list.c
8893 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
8894 * sysdeps/s390/ifunc-strstr.h: New file.
8895 * sysdeps/s390/strstr.c: Likewise.
8896 * sysdeps/s390/strstr-c.c: Likewise.
8897 * sysdeps/s390/strstr-vx.c: Likewise.
8899 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8901 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
8902 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
8903 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
8904 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
8906 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
8907 * sysdeps/s390/memmove-c.c: New file.
8908 * sysdeps/s390/memmove.c: Likewise.
8909 * sysdeps/s390/multiarch/ifunc-impl-list.c
8910 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
8912 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8914 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
8915 * sysdeps/s390/configure.ac: Add check for z13 support.
8916 * sysdeps/s390/configure: Regenerated.
8918 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8920 * sysdeps/s390/memcopy.h: New file.
8922 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8924 * sysdeps/s390/s390-32/bcopy.S: Remove.
8925 * sysdeps/s390/s390-64/bcopy.S: Likewise.
8927 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8929 * sysdeps/s390/ifunc-memcpy.h: New File.
8930 * sysdeps/s390/memcpy.S: Move to ...
8931 * sysdeps/s390/memcpy-z900.S ... here.
8932 Move implementations from memcpy-s390x.s to here.
8933 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
8934 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8935 Remove memcpy/mempcpy variants.
8936 * sysdeps/s390/Makefile (sysdep_routines):
8937 Add memcpy/mempcpy variants.
8938 * sysdeps/s390/multiarch/ifunc-impl-list.c
8939 (__libc_ifunc_impl_list): Adjust ifunc variants for
8941 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
8943 * sysdeps/s390/memcpy.c: ... here.
8944 Adjust ifunc variants for memcpy.
8945 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
8946 * sysdeps/s390/mempcpy.c: ... here.
8947 Adjust ifunc variants for mempcpy.
8948 * sysdeps/s390/mempcpy.S: Delete file.
8950 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8952 * sysdeps/s390/s390-64/memcpy.S: Move to ...
8953 * sysdeps/s390/memcpy.S: ... here.
8954 Adjust to be usable for 31/64bit.
8955 * sysdeps/s390/s390-32/memcpy.S: Delete File.
8956 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
8957 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
8958 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8959 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
8960 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
8961 Adjust to be usable for 31/64bit.
8962 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
8963 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
8964 * sysdeps/s390/multiarch/memcpy.c: ... here.
8965 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
8967 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8969 * sysdeps/s390/ifunc-memcmp.h: New File.
8970 * sysdeps/s390/memcmp.S: Move to ...
8971 * sysdeps/s390/memcmp-z900.S ... here.
8972 Move implementations from memcmp-s390x.s to here.
8973 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
8974 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
8975 Remove memcmp variants.
8976 * sysdeps/s390/Makefile (sysdep_routines):
8977 Add memcmp variants.
8978 * sysdeps/s390/multiarch/ifunc-impl-list.c
8979 (__libc_ifunc_impl_list): Adjust ifunc variants for
8981 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
8983 * sysdeps/s390/memcmp.c: ... here.
8984 Adjust ifunc variants for memcmp.
8986 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
8988 * sysdeps/s390/s390-64/memcmp.S: Move to ...
8989 * sysdeps/s390/memcmp.S: ... here.
8990 Adjust to be usable for 31/64bit.
8991 * sysdeps/s390/s390-32/memcmp.S: Delete File.
8992 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
8993 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8995 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
8996 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
8997 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
8998 Adjust to be usable for 31/64bit.
8999 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
9000 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
9001 * sysdeps/s390/multiarch/memcmp.c: ... here.
9002 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
9004 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9006 * sysdeps/s390/s390-32/bzero.S: Delete file.
9007 * sysdeps/s390/s390-64/bzero.S: Likewise.
9008 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
9009 * sysdeps/s390/bzero.c: New file.
9010 * sysdeps/s390/memset-z900.S: Add bzero entry points.
9011 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
9012 * sysdeps/s390/multiarch/ifunc-impl-list.c
9013 (__libc_ifunc_impl_list): Add bzero ifunc variants.
9015 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9017 * sysdeps/s390/ifunc-memset.h: New File.
9018 * sysdeps/s390/memset.S: Move to ...
9019 * sysdeps/s390/memset-z900.S ... here.
9020 Move implementations from memset-s390x.s to here.
9021 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
9022 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
9023 Remove memset variants.
9024 * sysdeps/s390/Makefile (sysdep_routines):
9025 Add memset variants.
9026 * sysdeps/s390/multiarch/ifunc-impl-list.c
9027 (__libc_ifunc_impl_list): Adjust ifunc variants for
9029 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
9031 * sysdeps/s390/memset.c: ... here.
9032 Adjust ifunc variants for memset.
9034 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9036 * sysdeps/s390/s390-64/memset.S: Move to ...
9037 * sysdeps/s390/memset.S: ... here.
9038 Adjust to be usable for 31/64bit.
9039 * sysdeps/s390/s390-32/memset.S: Delete File.
9040 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
9041 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9043 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
9044 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
9045 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
9046 Adjust to be usable for 31/64bit.
9047 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
9048 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
9049 * sysdeps/s390/multiarch/memset.c: ... here.
9050 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
9052 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9054 * sysdeps/s390/multiarch/ifunc-resolve.h
9055 (s390_libc_ifunc_init, s390_libc_ifunc,
9056 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
9058 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
9060 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
9061 * sysdeps/s390/configure.ac: Add check for z10 support.
9062 * sysdeps/s390/configure: Regenerated.
9064 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
9066 * sysdeps/i386/atomic-machine.h: Merged with ...
9067 * sysdeps/x86_64/atomic-machine.h: To ...
9068 * sysdeps/x86/atomic-machine.h: This. New file.
9070 2018-12-18 Florian Weimer <fweimer@redhat.com>
9072 Rewrite locale/gen-translit.pl in Python.
9073 * locale/Makefile (generated): Add C-translit.h.
9074 (before-compile): Add $(objpfx)C-translit.h.
9075 (C-translit.h): Move to $(objpfx). Create target directory.
9076 Build using Python script.
9077 * locale/gen-translit.py: New file.
9078 * locale/gen-translit.pl: Remove file.
9079 * locale/C-translit.h.in: Change comment character to '#' for
9080 easier parsing without a C preprocessor.
9081 * locale/C-translit.h: Remove generated file.
9082 * manual/install.texi (Tools for Compilation): Do not mention
9084 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
9085 Remove locale/C-translit.h.
9086 * scripts/update-copyrights: Likewise.
9087 * INSTALL: Regenerate.
9089 2018-12-18 Florian Weimer <fweimer@redhat.com>
9092 * localedata/locales/bi_VU: Remove executable bit from file.
9094 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
9097 (__localtime64): Add.
9098 * manual/maint.texi: Document Y2038 symbol handling.
9100 (__localtime64): Add.
9101 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
9103 2018-12-17 Joseph Myers <joseph@codesourcery.com>
9105 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
9108 * scripts/glibcextract.py (compare_macro_consts): Take parameters
9109 to allow extra macros from first or second sources.
9110 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
9111 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9112 (tests-special): Add $(objpfx)tst-mman-consts.out.
9113 ($(objpfx)tst-mman-consts.out): New makefile target.
9115 2018-12-17 Mao Han <han_mao@c-sky.com>
9117 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
9118 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
9119 without stat64 system call support.
9120 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
9121 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
9122 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9123 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
9124 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
9125 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
9126 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
9127 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
9128 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
9129 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
9130 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
9132 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
9134 regex: fix storage-exhaustion error
9136 * posix/regexec.c (get_subexp):
9137 Do not continue if storage is exhausted.
9139 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
9141 regex: fix heap-use-after-free error
9143 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
9144 https://debbugs.gnu.org/32592
9145 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
9146 call extend_buffers which reallocates the re_string_t internal buffer.
9147 Local variable 'buf' was not updated in such case, resulting in
9149 * posix/regexec.c (get_subexp): Update 'buf' after call to
9152 2018-12-15 Florian Weimer <fweimer@redhat.com>
9154 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
9155 (minimum_stride_size): Use it.
9156 (support_blob_repeat_allocate): Likewise.
9158 2018-12-14 Joseph Myers <joseph@codesourcery.com>
9160 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
9165 2018-12-14 Florian Weimer <fweimer@redhat.com>
9167 * manual/process.texi (Process Creation Concepts): Remove
9168 documentation of process (ID) lifetime. List more process
9169 creation functions. Reference Process Identification section.
9170 (Process Identification): Add information about process ID
9171 lifetime. Describe Linux thread/task IDs.
9172 * manual/signal.texi (Signaling Another Process): Mention that the
9173 signal is always sent to the process.
9175 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9177 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
9178 and tst-ldbl-efgcvt.
9179 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
9180 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
9181 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
9182 (fcvt_tests, output_error, output_r_error, do_test): Use the
9183 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
9184 select the type of floating-point variables and arguments; to
9185 produce extra tests for double and conversion specifiers for
9186 printf; and to set the names of called functions.
9187 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
9188 in tst-efgcvt-template.c.
9189 * misc/tst-ldbl-efgcvt.c: Likewise.
9191 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
9193 * nss/Makefile (tst-nss-test3.out): New rule.
9195 2018-12-13 Joseph Myers <joseph@codesourcery.com>
9197 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
9200 2018-12-13 fanjinke <fanjinke@hygon.cn>
9202 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
9205 2018-12-13 Andreas Schwab <schwab@suse.de>
9208 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
9209 (__pthread_rwlock_rdlock_full): Update expected value for
9210 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
9211 * nptl/tst-rwlock-pwn.c: New file.
9212 * nptl/Makefile (tests): Add tst-rwlock-pwn.
9214 2018-12-12 Joseph Myers <joseph@codesourcery.com>
9216 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
9219 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9221 * benchtests/scripts/compare_bench.py (do_compare): write to
9222 stderr in casestat is not present.
9223 * benchtests/scripts/compare_bench.py (plot_graphs): write to
9224 stderr in case timings field is not present. Also string showing
9225 the output filename goes into the stderr.
9227 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9229 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
9230 and ZeroDivisorError exceptions.
9231 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
9232 argument to loop through user provided statistics.
9233 * benchtests/scripts/compare_bench.py (main): Include the --stats
9236 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9238 * benchtests/scripts/compare_bench.py (compare_runs): Continue
9241 2018-12-12 Florian Weimer <fweimer@redhat.com>
9243 * sysdeps/posix/timespec_get.c: Add missing “any later version”
9244 clause to copyright header.
9246 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9249 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
9250 registers saved in the stack frame.
9251 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
9252 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
9254 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9256 * include/bits/monetary-ldbl.h: New file.
9257 * include/bits/printf-ldbl.h: Likewise.
9258 * include/bits/stdio-ldbl.h: Likewise.
9259 * include/bits/stdlib-ldbl.h: Likewise.
9260 * include/bits/syslog-ldbl.h: Likewise.
9261 * include/bits/wchar-ldbl.h: Likewise.
9263 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9265 * libio/libio.h: Remove redirection for _IO_vfprintf.
9267 2018-12-11 Andreas Schwab <schwab@suse.de>
9269 * Makerules: Remove all references to abilist-pattern.
9270 (update-all-abi): Simplify find expression.
9272 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
9275 * math/auto-libm-test-in: Add new test case.
9276 * math/auto-libm-test-out-pow: Regenerated.
9277 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
9279 2018-12-10 DJ Delorie <dj@redhat.com>
9282 * support/test-container.c: Move postclean step to before we
9285 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9287 * scripts/gen-as-const.py (main): Handle --python option.
9288 * scripts/gen-py-const.awk: Remove.
9289 * Makerules (py-const-script): Use gen-as-const.py.
9290 ($(py-const)): Likewise.
9291 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
9292 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
9293 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
9294 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
9295 ~PTHREAD_MUTEX_NO_ELISION_NP.
9296 * manual/README.pretty-printers: Update reference to
9299 * scripts/glibcextract.py: New file.
9300 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
9301 or tempfile. Import glibcexctract.
9302 (compute_c_consts): Remove. Moved to glibcextract.py.
9303 (gen_test): Update reference to compute_c_consts.
9305 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
9306 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
9307 * sysdeps/unix/sysv/linux/Makefile
9308 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
9309 Redirect stderr as well as stdout.
9311 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
9314 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
9315 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
9316 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
9317 ALWAYS_USE_VSYSCALL.
9318 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
9319 ALWAYS_USE_VSYSCALL.
9320 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
9321 ALWAYS_USE_VSYSCALL.
9323 2018-12-10 Florian Weimer <fweimer@redhat.com>
9326 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
9327 offset instead of count for clarity. Fix typo in comment.
9328 (__old_getdents64): Keep track of previous offset. Use it to call
9330 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
9331 that d_off is never zero.
9333 2018-12-10 Andreas Schwab <schwab@suse.de>
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
9336 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
9337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
9338 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
9339 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
9341 2018-12-10 Joseph Myers <joseph@codesourcery.com>
9343 * timezone/private.h: Update from tzcode 2018g.
9344 * timezone/tzfile.h: Likewise.
9345 * timezone/tzselect.ksh: Likewise.
9346 * timezone/zdump.c: Likewise.
9347 * timezone/zic.c: Likewise.
9349 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9352 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
9353 (do_test): Adjust buffer size and fix format.
9355 2018-12-07 DJ Delorie <dj@redhat.com>
9358 * malloc/tst-tcfree3.c: New.
9359 * malloc/Makefile: Add it.
9361 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9363 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
9365 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9367 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
9368 used as a mask for the mode argument of __vfscanf_internal and
9369 __vfwscanf_internal.
9370 * stdio-common/vfscanf-internal.c
9371 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
9372 (__strtof128_internal): Define to __wcstof128_internal.
9373 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
9374 __strtof128_internal or __wcstof128_internal when the format of
9375 long double is the same as _Float128.
9377 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
9379 * include/unistd.h (__confstr): Add prototype and hidden prototype.
9380 * posix/confstr.c (confstr): Rename to __confstr.
9381 (__confstr): Add hidden def.
9382 (confstr): Add weak alias for __confstr.
9383 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
9386 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
9388 * NEWS: Mention getcpu.
9389 * include/sched.h (__getcpu): New libc_hidden_proto.
9390 * manual/resource.texi: Document getcpu.
9391 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
9392 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
9393 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
9394 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
9405 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
9414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
9416 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9419 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9420 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9421 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9424 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
9425 * sysdeps/unix/sysv/linux/getcpu.c: New file.
9426 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
9429 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9431 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
9433 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
9435 2018-12-07 Florian Weimer <fweimer@redhat.com>
9438 * posix/Makefile (routines): Add spawn_faction_addfchdir.
9439 * posix/Versions (GLIBC_2.29): Export
9440 posix_spawn_file_actions_addfchdir_np.
9441 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
9442 * posix/spawn_faction_destroy.c
9443 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
9444 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
9445 and the field action.fchdir_action.
9446 * posix/tst-spawn-chdir.c (add_chdir): New function.
9447 (do_test): Add do_fchdir loop. Call add_chdir.
9448 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
9449 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
9450 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
9451 posix_spawn_file_actions_addfchdir_np.
9452 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
9454 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
9456 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
9457 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
9459 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
9461 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
9463 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
9465 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
9467 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
9469 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9470 (GLIBC_2.29): Likewise.
9471 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9472 (GLIBC_2.29): Likewise.
9473 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9474 (GLIBC_2.29): Likewise.
9475 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9476 (GLIBC_2.29): Likewise.
9477 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
9479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9480 (GLIBC_2.29): Likewise.
9481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9482 (GLIBC_2.29): Likewise.
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9484 (GLIBC_2.29): Likewise.
9485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9486 (GLIBC_2.29): Likewise.
9487 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
9489 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
9491 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
9493 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
9494 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
9496 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
9498 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
9500 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
9503 2018-12-06 Joseph Myers <joseph@codesourcery.com>
9505 * manual/texinfo.tex: Update to version 2018-09-21.20 with
9506 trailing whitespace removed.
9507 * scripts/config.guess: Update to version 2018-11-28.
9508 * scripts/config.sub: Update to version 2018-11-28.
9509 * scripts/install-sh: Update to version 2018-03-11.20.
9510 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
9511 * scripts/move-if-change: Update to version 2018-03-07 03:47.
9513 2018-12-07 Florian Weimer <fweimer@redhat.com>
9517 * inet/tst-if_index-long.c: New file.
9518 * inet/Makefile (tests): Add tst-if_index-long.
9520 2018-12-07 Florian Weimer <fweimer@redhat.com>
9522 * support/check.h (support_record_failure_is_failed): Declare.
9523 * support/descriptors.h: New file.
9524 * support/support_descriptors.c: Likewise.
9525 * support/tst-support_descriptors.c: Likewise.
9526 * support/support_record_failure.c
9527 (support_record_failure_is_failed): New function.
9528 * support/Makefile (libsupport-routines): Add support_descriptors.
9529 (tests): Add tst-support_descriptors.
9531 2018-12-05 Zack Weinberg <zackw@panix.com>
9532 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9534 * stdio-common/vfprintf-internal.c
9535 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
9536 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
9537 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
9538 and __no_long_double.
9539 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
9540 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
9541 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
9542 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
9543 and __nldbl_*syslog* functions.
9544 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
9545 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
9546 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
9547 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
9548 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
9549 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
9550 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
9551 (__nldbl_vwprintf, __nldbl_wprintf):
9552 Directly call the appropriate __v*printf_internal routine, passing
9553 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
9555 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
9556 (__nldbl___printf_chk, __nldbl___snprintf_chk)
9557 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
9558 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
9559 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
9560 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9561 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
9562 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
9563 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
9564 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
9565 Likewise, and also pass PRINTF_FORTIFY when appropriate.
9566 (__nldbl_syslog, __nldbl_vsyslog):
9567 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
9568 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9570 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
9573 2018-12-05 Zack Weinberg <zackw@panix.com>
9574 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9577 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
9578 Moved here from debug/vsprintf_chk.c.
9579 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
9580 and completion logic for the strfile to match exactly what
9581 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
9582 _IO_str_init_static_internal instead of maxlen-1.
9583 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9584 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
9585 __vsprintf_internal.
9587 * debug/vsprintf_chk.c (__vsprintf_chk)
9588 * debug/sprintf_chk.c (__sprintf_chk):
9589 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
9590 'flags' argument is positive, and slen as maxlen. No need to lock
9591 the FILE and/or construct a temporary FILE. Minimize and normalize
9592 header inclusions and variable names. Do not libc_hidden_def anything.
9594 * debug/asprintf_chk.c (__asprintf_chk)
9595 * debug/dprintf_chk.c (__dprintf_chk)
9596 * debug/fprintf_chk.c (__fprintf_chk)
9597 * debug/fwprintf_chk.c (__fwprintf_chk)
9598 * debug/printf_chk.c (__printf_chk)
9599 * debug/snprintf_chk.c (__snprintf_chk)
9600 * debug/swprintf_chk.c (__swprintf_chk)
9601 * debug/vasprintf_chk.c (__vasprintf_chk)
9602 * debug/vdprintf_chk.c (__vdprintf_chk)
9603 * debug/vfprintf_chk.c (__vfprintf_chk)
9604 * debug/vfwprintf_chk.c (__vfwprintf_chk)
9605 * debug/vprintf_chk.c (__vprintf_chk)
9606 * debug/vsnprintf_chk.c (__vsnprintf_chk)
9607 * debug/vswprintf_chk.c (__vswprintf_chk)
9608 * debug/vwprintf_chk.c (__vwprintf_chk)
9609 * debug/wprintf_chk.c (__wprintf_chk):
9610 Directly call the corresponding vxxprintf_internal function, passing
9611 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
9612 the FILE and/or construct a temporary FILE. Minimize and normalize
9613 header inclusions and variable names. Do not libc_hidden_def anything.
9615 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
9616 __obstack_vprintf_internal.
9617 (__obstack_vprintf_chk): Convert into a wrapper that calls
9618 __obstack_vprintf_internal (these two functions already had the
9619 same code) and move to new file...
9620 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
9622 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
9623 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
9624 * debug/Makefile (routines): Add vobprintf_chk.
9626 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
9627 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
9628 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
9629 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
9630 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
9631 (__nldbl___obstack_vfprintf_chk):
9632 Directly call the corresponding vxxprintf_internal function,
9633 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
9634 duplicate comparison of slen with 0 or maxlen from the corresponding
9635 non-__nldbl function.
9637 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
9638 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
9639 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
9640 Remove libc_hidden_proto.
9642 * stdio-common/vfprintf-internal.c
9643 (__vfprintf_internal, __vfwprintf_internal):
9644 Do not check _IO_FLAGS2_FORTIFY.
9645 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
9646 * libio/libioP.h: Update prototype of __vsprintf_internal and add
9647 a comment explaining why it has the maxlen argument.
9648 (_IO_acquire_lock_clear_flags2_fct): Remove.
9649 (_IO_acquire_lock_clear_flags2): Remove.
9650 (_IO_release_lock): Remove conditional statement which will
9652 (_IO_acquire_lock): Remove variable which is now unused.
9653 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9654 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
9656 * stdio-common/Makefile (tests): Add tst-bz11319 and
9657 tst-bz11319-fortify2.
9658 (CFLAGS-tst-bz11319-fortify2.c): New macro.
9659 * stdio-common/tst-bz11319-fortify2.c: New file.
9660 * stdio-common/tst-bz11319.c: Likewise.
9662 2018-12-05 Zack Weinberg <zackw@panix.com>
9663 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9665 * misc/syslog.c: Include libioP.h, not iolibio.h.
9666 (__vsyslog_internal): New function with the former body of
9667 __vsyslog_chk; takes mode_flags argument same as
9668 __v*printf_internal. Call __vfprintf_internal directly.
9670 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
9671 Remove libc_hidden_def.
9672 (__syslog, __syslog_chk): Use __vsyslog_internal.
9673 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
9675 * include/sys/syslog.h: Add multiple inclusion guard.
9676 Add prototype for __vsyslog_internal.
9677 Remove declaration and libc_hidden_proto for __vsyslog_chk.
9679 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
9680 Use __vsyslog_internal.
9682 2018-12-05 Zack Weinberg <zackw@panix.com>
9683 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9685 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
9686 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
9687 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
9689 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
9690 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
9692 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
9693 Include wctype.h here if COMPILE_WPRINTF is defined.
9694 Define __vfprintf_internal or __vfwprintf_internal, depending
9696 Temporarily, on entry to this function, update mode_flags
9697 according to the environmental settings corresponding to
9698 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
9699 Throughout, check mode_flags instead of __ldbl_is_dbl and
9700 _IO_FLAGS2_FORTIFY on the destination FILE.
9701 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
9702 Include vfprintf-internal.c. Don't include wctype.h.
9703 * stdio-common/vfprintf.c: New file. Just define __vfprintf
9704 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
9706 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
9707 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
9709 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
9711 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
9712 and add mode_flags argument; use __vfprintf_internal.
9713 (__vdprintf): New function. Alias vdprintf to this.
9714 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
9715 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
9716 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
9717 (__obstack_printf): Use __obstack_printf_internal.
9718 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
9719 public aliases __vsnprintf and vsnprintf.
9720 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
9722 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
9723 public aliases _IO_vsprintf and vsprintf.
9724 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
9725 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
9726 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
9727 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
9728 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
9730 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
9731 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
9732 * stdio-common/fprintf.c, stdio-common/fxprintf.c
9733 * stdio-common/printf.c: Use __vfprintf_internal.
9735 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
9736 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
9737 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
9739 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
9740 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
9741 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
9742 __vfwprintf_internal.
9744 * libio/libio.h: Remove libc_hidden_proto and declaration for
9746 Remove declaration of _IO_vfwprintf.
9747 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
9749 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
9751 * include/stdio.h: Add prototype for __vasprintf.
9752 (__vsnprintf): Remove declaration, because there are no more
9754 * include/wchar.h (__vfwprintf, __vswprintf): Remove
9755 declaration, because there are no more internal calls.
9757 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
9758 __vsnprintf_internal, instead of _IO_vsnprintf.
9759 * argp/argp-help.c (__argp_error, __argp_failure): Use
9760 __vasprintf_internal, instead of _IO_vasprintf.
9761 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
9762 redefine, because there are no more internal calls.
9764 2018-12-05 Zack Weinberg <zackw@panix.com>
9765 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9767 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
9768 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
9769 Include libio/strfile.h instead of libioP.h.
9770 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
9771 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
9772 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
9773 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
9774 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
9775 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
9776 necessary. Do not set __no_long_double. Normalize variable names.
9777 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
9778 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
9779 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
9780 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
9781 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
9782 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
9783 Call __vfscanf_internal / __vfwscanf_internal directly, passing
9784 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
9785 Do not set __no_long_double. Normalize variable names.
9787 2018-12-05 Zack Weinberg <zackw@panix.com>
9788 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9790 * stdio-common/isoc99_scanf.c
9791 * stdio-common/isoc99_fscanf.c
9792 * stdio-common/isoc99_sscanf.c
9793 * stdio-common/isoc99_vscanf.c
9794 * stdio-common/isoc99_vfscanf.c
9795 * stdio-common/isoc99_vsscanf.c
9796 * wcsmbs/isoc99_wscanf.c
9797 * wcsmbs/isoc99_fwscanf.c
9798 * wcsmbs/isoc99_swscanf.c
9799 * wcsmbs/isoc99_vwscanf.c
9800 * wcsmbs/isoc99_vfwscanf.c
9801 * wcsmbs/isoc99_vswscanf.c:
9802 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
9803 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
9804 No need to lock and unlock the FILE passed to that function.
9806 * stdio-common/vfscanf-internal.c
9807 (__vfscanf_internal, __vfwscanf_internal):
9808 Don't look at _IO_FLAGS2_SCANF_STD.
9809 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
9810 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
9811 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
9813 2018-12-05 Zack Weinberg <zackw@panix.com>
9814 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9816 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
9817 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
9818 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
9819 * libio/strfile.h: Add multiple inclusion guard.
9820 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
9822 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
9823 consistency with the other version of this file.
9824 (ldbl_compat_symbol): New macro.
9825 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
9828 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
9829 Define __vfscanf_internal or __vfwscanf_internal, depending on
9830 COMPILE_WSCANF; don't define any other public symbols.
9831 Remove errval and code to set errp.
9832 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
9833 as the mode_flags argument.
9834 (encode_error, conv_error, input_error): Don't set errval.
9835 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
9836 Include vfscanf-internal.c.
9837 * stdio-common/vfscanf.c: New file defining the public entry
9838 point vfscanf, which calls __vfscanf_internal.
9839 * stdio-common/vfwscanf.c: New file defining the public entry
9840 point vfwscanf, which calls __vfwscanf_internal.
9842 * stdio-common/iovfscanf.c: New file.
9843 * stdio-common/iovfwscanf.c: Likewise.
9845 * stdio-common/Makefile (routines): Add vfscanf-internal,
9846 vfwscanf-internal, iovfscanf, iovfwscanf.
9847 * stdio-common/Versions: Mention GLIBC_2.29, so that
9848 it can be used in SHLIB_COMPAT expressions.
9849 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
9850 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
9851 Call __vfscanf_internal, instead of _IO_vfscanf.
9852 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
9854 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
9857 * libio/iovsscanf.c: Clean up includes, when possible. Use
9858 _IO_strfile_read or _IO_strfile_readw, when needed. Call
9859 __vfscanf_internal or __vfwscanf_internal directly.
9860 * libio/iovswscanf.c: Likewise.
9861 * libio/swscanf.c: Likewise.
9862 * libio/vscanf.c: Likewise.
9863 * libio/vwscanf.c: Likewise.
9864 * libio/wscanf.c: Likewise.
9865 * stdio-common/isoc99_fscanf.c: Likewise.
9866 * stdio-common/isoc99_scanf.c: Likewise.
9867 * stdio-common/isoc99_sscanf.c: Likewise.
9868 * stdio-common/isoc99_vfscanf.c: Likewise.
9869 * stdio-common/isoc99_vscanf.c: Likewise.
9870 * stdio-common/isoc99_vsscanf.c: Likewise.
9871 * stdio-common/scanf.c: Likewise.
9872 * stdio-common/sscanf.c: Likewise.
9873 * wcsmbs/isoc99_fwscanf.c: Likewise.
9874 * wcsmbs/isoc99_swscanf.c: Likewise.
9875 * wcsmbs/isoc99_vfwscanf.c: Likewise.
9876 * wcsmbs/isoc99_vswscanf.c: Likewise.
9877 * wcsmbs/isoc99_vwscanf.c: Likewise.
9878 * wcsmbs/isoc99_wscanf.c: Likewise.
9880 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
9883 (__tz_compute): Replace time_t with __time64_t.
9884 (__tz_convert): Replace time_t* with __time64_t.
9885 (__offtime): Replace time_t* with __time64_t.
9887 (__gmtime_r): Adjust call to __tz_convert.
9890 (__localtime_r): Likewise.
9891 (localtime): Likewise.
9892 * time/offtime.c: Replace time_t with __time64_t.
9893 * time/tzset.c: Likewise.
9895 2018-12-04 Joseph Myers <joseph@codesourcery.com>
9897 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
9898 dynamic linker unless [$(run-built-tests) = yes].
9900 2018-12-03 DJ Delorie <dj@delorie.com>
9902 * support/test-container.c (check_for_unshare_hints): New.
9903 (main): Call it if unshare fails. Add support for "su" scriptlet
9906 2018-12-03 Joseph Myers <joseph@codesourcery.com>
9908 * scripts/gen-as-const.py (compute_c_consts): Take an argument
9909 'START' to indicate that start text should be output.
9910 (gen_test): Likewise.
9911 (main): Generate 'START' for first symbol or '--' line, or at end
9912 of input if not previously generated.
9914 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
9917 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
9918 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
9919 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
9920 ALWAYS_USE_VSYSCALL.
9922 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9925 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
9928 2018-12-03 Carlos O'Donell <carlos@redhat.com>
9931 * locale/programs/localedef.c: Declare boolean hard_links default true.
9932 (options): Add --no-hard-links option.
9933 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
9934 * locale/programs/localedef.h: Declare prototype for hard_links.
9935 * locale/programs/locfile.c (write_locale_data): Don't use hard
9936 links if hard_links is false.
9938 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
9940 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
9942 (__cache_sysconf): Likewise.
9943 (init_cacheinfo): Likewise.
9944 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
9945 populate COMMON_CPUID_INDEX_80000007 and
9946 COMMON_CPUID_INDEX_80000008.
9947 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
9948 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
9949 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
9950 (init_cpu_features): Use _Static_assert on
9951 index_arch_Fast_Unaligned_Load.
9952 __get_cpuid_registers and __get_arch_feature. Updated for
9953 cpu_features_basic. Set stepping in cpu_features.
9954 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
9955 (FEATURE_INDEX_2): New.
9956 (FEATURE_INDEX_MAX): Changed to enum.
9957 (COMMON_CPUID_INDEX_D_ECX_1): New.
9958 (COMMON_CPUID_INDEX_80000007): Likewise.
9959 (COMMON_CPUID_INDEX_80000008): Likewise.
9960 (cpuid_registers): Likewise.
9961 (cpu_features_basic): Likewise.
9962 (CPU_FEATURE_USABLE): Likewise.
9963 (bit_arch_XXX_Usable): Likewise.
9964 (cpu_features): Use cpuid_registers and cpu_features_basic.
9965 (bit_arch_XXX): Reweritten.
9966 (bit_cpu_XXX): Likewise.
9967 (index_cpu_XXX): Likewise.
9968 (reg_XXX): Likewise.
9969 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
9971 (CHECK_CPU_FEATURE): New.
9972 (CHECK_CPU_FEATURE_USABLE): Likewise.
9973 (cpu_kinds): Likewise.
9974 (do_test): Print vendor, family, model and stepping. Check
9975 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
9976 (TEST_FUNCTION): Removed.
9977 Include <support/test-driver.c> instead of
9978 "../../test-skeleton.c".
9979 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
9980 Check POPCNT instead of POPCOUNT.
9981 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
9983 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9985 * scripts/gen-as-const.py (main): Avoid emitting empty line when
9986 there is no element in `consts'.
9988 2018-12-01 Florian Weimer <fweimer@redhat.com>
9990 * support/support_capture_subprocess.c
9991 (support_capture_subprocess): Check that pipe descriptors have
9992 expected values. Close original pipe descriptors in subprocess.
9994 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9997 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
9998 attr with __pthread_default_barrierattr.
9999 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
10000 attr with __pthread_default_condattr.
10001 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
10002 attr with __pthread_default_mutexattr.
10003 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
10004 attr with __pthread_default_rwlockattr.
10006 2018-12-01 Kemi Wang <kemi.wang@intel.com>
10008 * manual/tunables.texi (POSIX Thread Tunables): New node.
10009 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
10010 * nptl/nptl-init.c: Include pthread_mutex_conf.h
10011 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
10012 __pthread_tunables_init.
10013 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
10014 (max_adaptive_count): Define.
10015 * nptl/pthread_mutex_conf.c: New file.
10016 * nptl/pthread_mutex_conf.h: New file.
10017 * sysdeps/generic/adaptive_spin_count.h: New file.
10018 * sysdeps/nptl/dl-tunables.list: New file.
10019 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10020 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
10021 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
10024 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
10027 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
10028 * stdlib/on_exit.c (__on_exit): Likewise.
10029 * stdlib/Makefile (tests): Add tst-bz20544.
10030 * stdlib/tst-bz20544.c: New test.
10032 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
10035 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
10036 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
10039 2018-11-30 Florian Weimer <fweimer@redhat.com>
10041 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
10042 Extend error logging.
10043 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
10046 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10048 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
10049 __sigismember instead of sigismember.
10050 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
10051 cancel_handler): New definitions.
10052 (do_system): Use posix_spawn instead of fork and execl and remove
10054 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
10055 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
10056 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
10057 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10058 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10059 * sysdeps/unix/sysv/linux/system.c: Likewise.
10063 * NEWS: Add new semantic for atfork with popen and system.
10064 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
10067 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10070 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
10071 modification order when accessing reloc_result->addr.
10072 * include/link.h (reloc_result): Add field init.
10073 * nptl/Makefile (tests): Add tst-audit-threads.
10074 (modules-names): Add tst-audit-threads-mod1 and
10075 tst-audit-threads-mod2.
10076 Add rules to build tst-audit-threads.
10077 * nptl/tst-audit-threads-mod1.c: New file.
10078 * nptl/tst-audit-threads-mod2.c: Likewise.
10079 * nptl/tst-audit-threads.c: Likewise.
10080 * nptl/tst-audit-threads.h: Likewise.
10082 2018-11-30 Joseph Myers <joseph@codesourcery.com>
10084 * scripts/gen-as-const.py: New file.
10085 * scripts/gen-as-const.awk: Remove.
10086 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
10088 ($(objpfx)test-as-const-%.c): Likewise.
10090 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10092 * elf/dl-exception.c: Include <_itoa.h>.
10094 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10096 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
10097 returned by __f_setlk.
10099 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
10100 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10102 * elf/Makefile (tests-internal): Add tst-create_format1.
10103 * elf/dl-exception.c (_dl_exception_create_format): Support
10105 * elf/tst-create_format1.c: New file.
10107 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
10109 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
10110 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
10112 * argp/argp-help.c (__argp_failure): Likewise.
10114 2018-11-29 Mao Han <han_mao@c-sky.com>
10116 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
10117 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
10118 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
10119 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
10120 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
10121 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
10122 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
10123 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
10124 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
10125 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
10126 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
10127 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
10128 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
10129 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
10130 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
10131 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
10132 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
10133 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
10134 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
10135 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
10136 (R_CKCORE_TLS_TPOFF32): New defines.
10138 2018-11-29 Florian Weimer <fweimer@redhat.com>
10140 * posix/Makefile (before-compile): Remove testcases.h and
10142 (generated): Add testcases.h and ptestcases.h.
10143 (testcases.h, ptestcases.h): Move to $(objpfx).
10144 (runtests.o): Add dependency on testcases.h.
10145 (runptests.o): Add dependency on ptestcases.h.
10146 * posix/testcases.h, posix/ptestcases.h: Remove files.
10147 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
10148 not touch posix/testcases.h and posix/ptestcases.h.
10150 2018-11-28 Florian Weimer <fweimer@redhat.com>
10152 support: Add signal support to support_capture_subprocess_check.
10153 * support/capture_subprocess.h (support_capture_subprocess_check):
10154 Adjust comment and rename parameter.
10155 * support/support_capture_subprocess_check.c
10156 (print_actual_status): New function.
10157 (support_capture_subprocess_check): Support negative
10158 status_or_signal. Call print_actual_status.
10159 * support/tst-support_capture_subprocess.c (do_test): Call
10160 support_capture_subprocess_check.
10161 * libio/tst-vtables-common.c (termination_status)
10162 (init_termination_status): Remove.
10163 (check_for_termination): Adjust support_capture_subprocess_check
10165 (do_test): Remove call to init_termination_status.
10167 2018-11-28 Joseph Myers <joseph@codesourcery.com>
10169 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
10170 source directory instead of a copy.
10171 (CommandList.create_copy_dir): Remove.
10173 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
10175 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10177 2018-11-28 Florian Weimer <fweimer@redhat.com>
10179 * support/support.h (support_quote_string): Do not use str
10182 2018-11-27 Joseph Myers <joseph@codesourcery.com>
10184 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
10185 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
10187 2018-11-27 Florian Weimer <fweimer@redhat.com>
10189 * support/support.h (support_quote_string): Declare.
10190 * support/support_quote_string.c: New file.
10191 * support/tst-support_quote_string.c: Likewise.
10192 * support/Makefile (libsupport-routines): Add
10193 support_quote_string.
10194 (tests): Add tst-support_quote_string.
10196 2018-11-27 Florian Weimer <fweimer@redhat.com>
10200 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
10201 descriptor leak in case of ENODEV error.
10203 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
10206 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
10207 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
10208 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
10210 2018-11-26 Carlos O'Donell <carlos@redhat.com>
10212 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
10213 Error for unknown lines.
10215 2018-11-26 Joseph Myers <joseph@codesourcery.com>
10217 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
10218 Touch additional files.
10220 2018-11-26 Florian Weimer <fweimer@redhat.com>
10223 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
10226 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
10229 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
10230 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
10231 SHARED. Include sysdep.h.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
10233 ALWAYS_USE_VSYSCALL.
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
10235 ALWAYS_USE_VSYSCALL.
10237 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
10240 * nptl/Makefile (tests-static): Add tst-cond11-static.
10242 * nptl/tst-cond11-static.c: New File.
10243 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
10244 tst-affinity-static.
10246 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
10248 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
10249 (USE_VSYSCALL): Likewise.
10250 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
10251 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
10253 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
10255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
10258 2018-11-23 Joseph Myers <joseph@codesourcery.com>
10261 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10262 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
10265 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
10267 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
10268 (tst-cet-legacy-1a-ARGS): New.
10269 ($(objpfx)tst-cet-legacy-1a): New target.
10270 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
10272 2018-11-22 Joseph Myers <joseph@codesourcery.com>
10274 * conform/conformtest.py (CompileSubTest.__init__): Set
10275 self.run_early to False.
10276 (ExecuteSubTest.__init__): Likewise.
10277 (HeaderTests.run): Try running all non-optional, non-XFAILed
10278 compilation tests in a single execution of the compiler.
10280 * conform/conformtest.py (CompileSubTest): New class.
10281 (ExecuteSubTest): Likewise.
10282 (ElementTest.run): Rename to gen_subtests. Append tests to
10283 self.subtests instead of running them.
10284 (ConstantTest.run): Likewise.
10285 (SymbolTest.run): Likewise.
10286 (TypeTest.run): Likewise.
10287 (TagTest.run): Likewise.
10288 (FunctionTest.run): Likewise.
10289 (VariableTest.run): Likewise.
10290 (MacroFunctionTest.run): Likewise.
10291 (MacroStrTest.run): Likewise.
10292 (HeaderTests.handle_test_line): Generate subtests for tests.
10293 (HeaderTests.run): Run subtests for tests.
10295 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10297 * math/Versions (GLIBC_2.29): Add pow.
10298 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
10300 * math/w_pow.c: New file.
10301 * sysdeps/i386/fpu/w_pow.c: New file.
10302 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
10303 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
10304 and add necessary aliases.
10305 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
10306 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
10307 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10308 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10309 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10310 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10311 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10312 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10313 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10314 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10315 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10316 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10317 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10318 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10319 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10324 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10325 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10326 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10328 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10329 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10330 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10331 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
10333 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
10334 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
10335 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
10337 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10339 * math/Versions (GLIBC_2.29): Add log2.
10340 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
10342 * math/w_log2.c: New file.
10343 * sysdeps/i386/fpu/w_log2.c: New file.
10344 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
10345 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
10346 and add necessary aliases.
10347 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
10348 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
10349 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10350 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10351 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10352 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10353 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10354 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10355 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10356 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10357 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10358 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10359 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10360 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10361 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10366 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10367 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10368 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10369 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10371 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10372 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10374 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10376 * math/Versions (GLIBC_2.29): Add log.
10377 * math/w_log_compat.c (__log_compat): Change to versioned compat
10379 * math/w_log.c: New file.
10380 * sysdeps/i386/fpu/w_log.c: New file.
10381 * sysdeps/ia64/fpu/e_log.S: Update.
10382 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
10383 and add necessary aliases.
10384 * sysdeps/ieee754/dbl-64/w_log.c: New file.
10385 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
10386 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10387 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10388 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10389 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10390 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10391 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10392 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10393 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10394 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10395 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10396 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10397 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10398 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10403 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10404 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10405 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10406 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10407 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10408 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10409 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10410 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
10412 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
10413 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
10414 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
10415 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
10417 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
10419 * math/Versions (GLIBC_2.29): Add exp and exp2.
10420 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
10421 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
10422 * math/w_exp_compat.c (__exp_compat): Likewise.
10423 * math/w_exp.c: New file.
10424 * math/w_exp2.c: New file.
10425 * sysdeps/i386/fpu/w_exp.c: New file.
10426 * sysdeps/i386/fpu/w_exp2.c: New file.
10427 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
10428 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10429 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
10430 and add necessary aliases.
10431 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
10432 and add necessary aliases.
10433 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
10434 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
10435 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
10436 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
10437 * sysdeps/mach/hurd/i386/libm.abilist: Update.
10438 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10439 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
10440 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
10441 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
10442 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10443 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
10444 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
10445 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
10446 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
10447 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
10448 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
10449 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
10454 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
10455 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
10456 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
10457 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
10458 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
10459 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
10460 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
10461 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
10462 (__ieee754_exp): Rename to __exp.
10463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
10464 (__ieee754_exp): Rename to __exp.
10465 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
10466 (__ieee754_exp): Rename to __exp.
10467 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
10469 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
10471 2018-11-20 DJ Delorie <dj@redhat.com>
10473 * malloc/malloc.c (tcache_entry): Add key field.
10474 (tcache_put): Set it.
10475 (tcache_get): Likewise.
10476 (_int_free): Check for double free in tcache.
10477 * malloc/tst-tcfree1.c: New.
10478 * malloc/tst-tcfree2.c: New.
10479 * malloc/Makefile: Run the new tests.
10480 * manual/probes.texi: Document memory_tcache_double_free probe.
10482 * dlfcn/dlerror.c (check_free): Prevent double frees.
10484 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
10486 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
10488 2018-11-20 Joseph Myers <joseph@codesourcery.com>
10490 * conform/conformtest.py (ElementTest.run): Use unique identifiers
10491 in tests. Use names for format arguments.
10492 (ConstantTest.run): Likewise.
10493 (SymbolTest.run): Likewise.
10494 (TypeTest.run): Likewise.
10495 (TagTest.run): Likewise.
10496 (FunctionTest.run): Likewise.
10497 (VariableTest.run): Likewise.
10498 (MacroFunctionTest.run): Likewise.
10499 (MacroStrTest.run): Likewise.
10500 (HeaderTests.__init__): Set self.num_tests.
10501 (HeaderTests.handle_test_line): Set test.num. Increment
10504 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10506 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
10507 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
10510 2018-11-19 Mao Han <han_mao@c-sky.com>
10512 * scripts/config.guess: Update to version 2018-08-29.
10513 * scripts/config.sub: Update to version 2018-08-29.
10515 2018-11-19 Florian Weimer <fweimer@redhat.com>
10517 support: Print timestamps in timeout handler.
10518 * support/support_test_main.c (print_timestamp): New function.
10519 (signal_handler): Use it to print the termination time and the
10520 time of the last write to standard output.
10522 2018-11-16 Zack Weinberg <zackw@panix.com>
10523 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10525 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
10526 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
10528 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
10529 and add flags argument. Check flags instead of __ldbl_is_dbl when
10530 deciding whether to set is_long_double.
10531 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
10532 passing zero for flags argument.
10533 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
10535 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
10536 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
10537 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
10538 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
10539 variable names. Remove libc_hidden_def/libc_hidden_proto from
10540 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
10541 longer called from within the library.
10542 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
10543 for __nldbl___vstrfmon_l, declare it explicitly.
10545 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
10547 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
10549 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
10551 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
10552 F_SETLK64, F_SETLKW64, respectively.
10553 * sysdeps/mach/hurd/f_setlk.c: New file.
10554 * sysdeps/mach/hurd/f_setlk.h: New file.
10555 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
10557 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
10558 (__libc_fcntl): Move non-flock operations to...
10559 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
10560 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
10562 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
10564 mktime: DEBUG_MKTIME cleanup
10565 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
10566 And it’s no longer needed now that glibc and Gnulib both have
10567 their own testing mechanisms for mktime.
10568 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
10570 mktime: fix non-EOVERFLOW errno handling
10572 mktime was not properly reporting failures when the underlying
10573 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
10574 them like EOVERFLOW failures, and set errno to EOVERFLOW.
10575 The problem could happen on non-glibc platforms, with Gnulib.
10576 * time/mktime.c (guess_time_tm): Remove, replacing with ...
10577 (tm_diff): ... this simpler function, which does not change errno.
10578 All callers changed to deal with errno themselves.
10579 (ranged_convert, __mktime_internal): Return failure immediately if
10580 the underlying function reports any failure other than EOVERFLOW.
10581 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
10584 mktime: fix bug with Y2038 DST transition
10586 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
10587 mishandle a DST transition that jumps over the Y2038 boundary.
10588 No such DST transitions are known so this is only a theoretical
10589 bug, but we might as well do things right.
10591 mktime: make more room for overflow
10593 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
10594 This is so that we can add tm_diff results to a previous guess,
10595 which will be useful in a later patch.
10597 mktime: simplify offset guess
10599 * time/mktime.c (__mktime_internal): Omit excess precision.
10601 mktime: new test for mktime failure
10603 Based on a test suggested by Albert Aribaud in:
10604 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
10605 * time/Makefile (tests): Add bug-mktime4.
10606 * time/bug-mktime4.c: New file.
10608 mktime: fix EOVERFLOW bug
10610 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
10611 Include libc-config.h, not config.h, for __set_errno.
10612 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
10614 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
10616 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
10617 __attribute_copy__ to copy attributes from name. Drop static qualifier
10618 to avoid warnings about leaf attribute not having effect on static
10621 2018-11-13 Florian Weimer <fweimer@redhat.com>
10623 * malloc/malloc.c (fastbin_push_entry): New function.
10624 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
10625 (REMOVE_FB): Remove macro.
10626 (_int_malloc): Use fastbin_pop_entry and reindent.
10627 (_int_free): Use fastbin_push_entry.
10628 (malloc_consolidate): Use atomic_exchange_acquire.
10630 2018-11-13 Joseph Myers <joseph@codesourcery.com>
10632 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
10633 alias attribute, not with strong_alias.
10635 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
10636 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
10637 with additional parameter thread.
10638 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
10639 in terms of __hidden_ver2.
10640 (hidden_tls_def): New macro.
10641 (libc_hidden_tls_def): Likewise.
10642 (rtld_hidden_tls_def): Likewise.
10643 (libm_hidden_tls_def): Likewise.
10644 (libmvec_hidden_tls_def): Likewise.
10645 (libresolv_hidden_tls_def): Likewise.
10646 (librt_hidden_tls_def): Likewise.
10647 (libdl_hidden_tls_def): Likewise.
10648 (libnss_files_hidden_tls_def): Likewise.
10649 (libnsl_hidden_tls_def): Likewise.
10650 (libnss_nisplus_hidden_tls_def): Likewise.
10651 (libutil_hidden_tls_def): Likewise.
10652 (libutil_hidden_tls_def): Likweise.
10653 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
10654 libc_hidden_tls_def.
10655 (__sim_disabled_exceptions_thread): Likewise.
10656 (__sim_round_mode_thread): Likewise.
10658 * sysdeps/sparc/sparc-ifunc.h [SHARED]
10659 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
10660 copy attributes from name.
10662 2018-11-12 Joseph Myers <joseph@codesourcery.com>
10664 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
10665 Use __attribute_copy__ to copy attributes from name.
10667 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
10668 with __hidden_ver1 call.
10669 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
10670 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
10671 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
10672 (__cosf): Do not declare here.
10673 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
10674 (__sincosf): Do not declare here.
10675 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
10676 (__sinf): Do not declare here.
10678 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
10679 (__BIG_ENDIAN): Likewise.
10680 (__BYTE_ORDER): Likewise.
10681 (strong_alias): Likewise.
10682 (_strong_alias): Likewise.
10684 2018-11-12 Florian Weimer <fweimer@redhat.com>
10686 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
10687 function. Move after the definition of in_smallbin_range. Do not
10688 use __builtin_expect for paths that lead to a noreturn function.
10689 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
10690 because it is unclear whether this is in fact an unlikely
10692 (_int_malloc, _int_free): Adjust.
10693 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
10695 * malloc/arena.c (heap_trim): Likewise.
10697 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10699 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
10700 it, free it if needed.
10701 (reauthenticate): Test and use ccwdir.
10702 (child_init_port): In non-resetids case, test and use ccwdir.
10703 (child_chdir): New nested function to set ccwdir.
10704 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
10705 * hurd/hurd/port.h (_hurd_port_move): New function.
10706 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
10707 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
10708 * hurd/Versions (_hurd_port_move): Export function.
10709 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
10711 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
10712 of dtablesize for allocating dtable_cloexec.
10714 2018-11-09 Martin Sebor <msebor@redhat.com>
10716 * include/libc-symbols.h (__attribute_copy__): Define macro unless
10717 it's already defined.
10718 (_strong_alias): Use __attribute_copy__.
10719 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
10720 * misc/sys/cdefs.h (__attribute_copy__): New macro.
10721 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
10722 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
10723 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
10724 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
10725 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
10726 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
10727 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
10728 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
10729 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
10730 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
10731 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
10732 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
10733 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
10734 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
10735 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
10736 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
10737 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
10739 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10741 * misc/tst-efgcvt.c: Include support/check.h and
10742 support/test-driver.c. Do not include test-skeleton.c.
10743 (error_count): Remove.
10744 (output_error): Replace increments to error_count with calls to
10745 support_record_failure.
10746 (output_r_error): Likewise.
10747 (special): Likewise.
10748 (do_test): Unconditionally return zero.
10749 (TEST_FUNCTION): Remove.
10751 2018-11-09 Joseph Myers <joseph@codesourcery.com>
10753 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
10755 ($(linknamespace-header-tests)): Likewise.
10757 * conform/conformtest.py: New file.
10758 * conform/conformtest.pl: Remove.
10759 * conform/GlibcConform.pm: Likewise.
10760 * conform/glibcconform.py (KEYWORDS_C90): New constant.
10761 (KEYWORDS_C99): Likewise.
10762 (KEYWORDS): Likewise.
10763 * conform/Makefile ($(conformtest-header-tests)): Use
10764 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
10765 option. Use --header instead of --headers.
10766 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
10768 * conform/data/spawn.h-data: Likewise.
10769 * conform/data/fcntl.h-data (openat): Add space after function
10771 * conform/data/wchar.h-data (wcscasecmp): Likewise.
10772 (wcscasecmp_l): Likewise.
10773 * conform/data/termios.h-data (c_cc): Add space after element
10776 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10778 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
10779 instead of manually comparing and reporting mismatching strings.
10780 * misc/tst-ldbl-error.c (do_one_test): Likewise.
10781 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
10783 2018-11-08 Joseph Myers <joseph@codesourcery.com>
10785 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
10786 __ASSUME_SOCKETCALL.
10787 * sysdeps/unix/sysv/linux/i386/kernel-features.h
10788 (__ASSUME_SOCKETCALL): Remove.
10789 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10790 (__ASSUME_SOCKETCALL): Likewise.
10791 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10792 (__ASSUME_SOCKETCALL): Likewise.
10793 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10794 (__ASSUME_SOCKETCALL): Likewise.
10795 * sysdeps/unix/sysv/linux/s390/kernel-features.h
10796 (__ASSUME_SOCKETCALL): Likewise.
10797 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10798 (__ASSUME_SOCKETCALL): Likewise.
10799 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10800 (__ASSUME_SOCKETCALL): Likewise.
10802 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
10805 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
10806 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
10807 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
10808 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
10809 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
10812 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
10815 * resolv/tst-resolv-network.c: Add test for getnetbyname.
10817 2018-11-07 Joseph Myers <joseph@codesourcery.com>
10820 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10821 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10823 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
10825 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10827 * support/support_test_compare_string.c
10828 (support_test_compare_string): Fix printf format.
10830 2018-11-07 Florian Weimer <fweimer@redhat.com>
10832 Implement TEST_COMPARE_STRING.
10833 * support/check.h (TEST_COMPARE_STRING): Define.
10834 (support_test_compare_string): Declare.
10835 * support/Makefile (libsupport-routines): Add
10836 support_test_compare_string.
10837 (tests): Add tst-test_compare_string.
10838 * support/support_test_compare_string.c: New file.
10839 * support/tst-test_compare_string.c: Likewise.
10841 2018-11-07 Andreas Schwab <schwab@suse.de>
10844 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
10845 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
10848 2018-11-06 Joseph Myers <joseph@codesourcery.com>
10851 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10852 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
10853 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
10854 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
10857 2018-11-06 Florian Weimer <fweimer@redhat.com>
10860 * posix/Makefile (routines): Add spawn_faction_addchdir.
10861 (tests): Add tst-spawn-chdir.
10862 * posix/Versions (GLIBC_2.29): Add
10863 posix_spawn_file_actions_addchdir_np.
10864 * posix/spawn_faction_addchdir.c: New file.
10865 * posix/spawn_faction_destroy.c
10866 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
10867 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
10868 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
10870 * posix/tst-spawn-chdir.c: New file.
10871 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
10872 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
10873 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
10874 posix_spawn_file_actions_addchdir_np.
10875 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
10877 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
10879 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
10880 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
10882 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
10884 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
10886 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
10888 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
10890 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
10892 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10893 (GLIBC_2.29): Likewise.
10894 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10895 (GLIBC_2.29): Likewise.
10896 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10897 (GLIBC_2.29): Likewise.
10898 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10899 (GLIBC_2.29): Likewise.
10900 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10903 (GLIBC_2.29): Likewise.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10905 (GLIBC_2.29): Likewise.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10907 (GLIBC_2.29): Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10909 (GLIBC_2.29): Likewise.
10910 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
10912 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
10914 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
10916 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
10917 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
10919 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
10921 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
10923 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
10926 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10928 * misc/Makefile (tests): Add tst-ldbl-error.
10929 * misc/tst-ldbl-error.c: New file.
10931 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10933 * misc/Makefile (tests): Add tst-ldbl-warn.
10934 * misc/tst-ldbl-warn.c: New file.
10936 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10938 * argp/Makefile (tests): Add tst-ldbl-argp.
10939 * argp/tst-ldbl-argp.c: New file.
10941 2018-11-05 Arjun Shankar <arjun@redhat.com>
10943 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
10944 __gconv_path_elem and call __gconv_get_path unconditionally.
10946 2018-11-05 Andreas Schwab <schwab@suse.de>
10949 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
10950 creating the first helper thread failed.
10952 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10954 * sysdeps/mach/hurd/msync.c: New file.
10956 2018-11-02 Florian Weimer <fweimer@redhat.com>
10958 * support/shell-container.c (copy_func): Call
10959 support_copy_file_range instead of copy_file_range to support
10960 cross-device copies.
10962 2018-11-02 Florian Weimer <fweimer@redhat.com>
10964 * support/test-container.c: Include <libc-pointer-arith.h> for
10967 2018-11-01 Zong Li <zong@andestech.com>
10969 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
10970 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
10971 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
10972 (__FP_FRAC_SET_8): Add implementation for RV32 use.
10974 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
10975 variable to avoid overlap arguments.
10977 2018-11-01 Joseph Myers <joseph@codesourcery.com>
10979 * posix/bug-regex22.c (main): Use puts with distinct error
10980 messages for unexpected success of re_compile_pattern, not printf
10981 with NULL argument to %s.
10983 * stdio-common/bug22.c: Include <libc-diag.h>.
10984 (do_test): Disable -Wformat-overflow= warnings around fprintf
10985 calls outputting more than INT_MAX characters.
10986 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
10987 around printf call with NULL %s argument.
10990 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
10991 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
10993 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10994 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10995 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10996 (__ASSUME_SENDTO_SYSCALL): Likewise.
10997 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
10998 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
11000 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11001 (__ASSUME_CONNECT_SYSCALL): Likewise.
11002 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
11003 (__ASSUME_RECVFROM_SYSCALL): Likewise.
11004 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
11006 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
11008 [__LINUX_KERNEL_VERSION >= 0x040400]
11009 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11010 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
11012 (listen): Likewise.
11013 (setsockopt): Likewise.
11015 2018-11-01 Fredrik Noring <noring@nocrew.org>
11017 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
11018 with the ISA override.
11020 2018-10-31 Rafael Ávila de Espíndola <rafael@espindo.la>
11022 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
11025 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11027 * manual/errno.texi (EIEIO): Document how translators should
11028 translate the error message.
11029 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
11030 printing trailing whitespaces refused by git.
11031 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
11032 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11033 * hurd/Makefile (user-interfaces): Add pci.
11035 2018-10-30 Joseph Myers <joseph@codesourcery.com>
11037 * conform/linknamespace.py: New file.
11038 * conform/linknamespace.pl: Remove file.
11039 * conform/Makefile ($(linknamespace-header-tests)): Use
11040 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
11043 2018-10-30 Florian Weimer <fweimer@redhat.com>
11045 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
11048 2018-10-30 Florian Weimer <fweimer@redhat.com>
11050 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
11052 2018-10-30 Florian Weimer <fweimer@redhat.com>
11054 * stdlib/tst-strtod-overflow.c (do_test): Switch to
11055 support_blob_repeat.
11057 2018-10-30 Florian Weimer <fweimer@redhat.com>
11059 Avoid spurious test failures in stdlib/test-bz22786.
11060 * support/Makefile (libsupport-routines): Add blob_repeat.
11061 (tests): Add tst-support_blob_repeat.
11062 * support/blob_repeat.h: New file.
11063 * support/blob_repeat.c: Likewise.
11064 * support/tst-support_blob_repeat.c: Likewise.
11065 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
11066 support_blob_repeat_allocate.
11068 2018-10-30 Andreas Schwab <schwab@suse.de>
11071 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
11072 Don't use tail call.
11073 * elf/tst-unwind-main.c: New file.
11074 * elf/Makefile (tests): Add tst-unwind-main.
11075 (CFLAGS-tst-unwind-main.c): Define.
11077 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
11080 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
11081 n_cs_precedes to 0.
11082 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
11084 2018-10-29 Joseph Myers <joseph@codesourcery.com>
11086 * conform/glibcconform.py: Do not import shutil.
11087 (list_exported_functions): Use tempfile.TemporaryDirectory instead
11090 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
11091 critic_missing for versions before 3.4.
11092 * configure: Regenerated.
11093 * manual/install.texi (Tools for Compilation): Document
11094 requirement for Python to build glibc.
11095 * INSTALL: Regenerated.
11096 * Rules [PYTHON]: Make code unconditional.
11097 * benchtests/Makefile [PYTHON]: Likewise.
11098 * conform/Makefile [PYTHON]: Likewise.
11099 * manual/Makefile [PYTHON]: Likewise.
11100 * math/Makefile [PYTHON]: Likewise.
11102 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11104 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
11105 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
11106 answer to interrupt_operation, return EIEIO instead of EINTR.
11107 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
11108 _hurd_intr_rpc_msg_about_to global point to start of controlled
11109 assembly snippet. Make it check canceled flag.
11110 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
11111 the _hurd_intr_rpc_msg_about_to point.
11112 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
11113 issue, remove cancel flag check.
11115 2018-10-26 Joseph Myers <joseph@codesourcery.com>
11117 * scripts/build-many-glibcs.py: Remove compatibility for missing
11118 os.cpu_count and re.fullmatch.
11120 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
11123 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
11124 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
11125 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
11127 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11129 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
11132 2018-10-25 Florian Weimer <fweimer@redhat.com>
11136 XFAIL siginfo_t si_band conform test on sparc64.
11137 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
11138 (__SI_BAND_TYPE): Only override long int default type on sparc64.
11139 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11140 (conformtest-xfail-conds): Add sparc64-linux.
11141 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
11143 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
11145 2018-10-25 Joseph Myers <joseph@codesourcery.com>
11147 * elf/elf.h (NT_MIPS_DSP): New macro.
11148 (NT_MIPS_FP_MODE): Likewise.
11150 2018-10-25 Zong Li <zong@andestech.com>
11152 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
11153 name by adding the file extension (.so).
11155 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11157 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
11158 (test-xfail-ISO11/threads.h/linknamespace,
11159 test-xfail-ISO11/threads.h/conform): Add.
11161 2018-10-24 Joseph Myers <joseph@codesourcery.com>
11163 * math/gen-libm-test.py: Import os.
11164 (ALL_FLOATS_MANUAL): New constant.
11165 (ALL_FLOATS_SUFFIX): Likewise.
11166 (Ulps.all_functions): New function.
11167 (real_all_ulps): Likewise.
11168 (generate_err_table_sub): Likewise.
11169 (generate_err_table): Likewise.
11170 (main): Handle -s and -m options.
11171 * manual/libm-err-tab.pl: Remove.
11172 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
11173 instead of libm-err-tab.pl.
11174 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
11176 * manual/install.texi (Tools for Compilation): Document
11177 requirement for Python to build manual.
11178 * INSTALL: Regenerated.
11180 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11182 * bits/time64.h: New file.
11183 * include/time.h: Replace internal_time_t with __time64_t.
11184 * posix/bits/types (__time64_t): Add.
11185 * stdlib/Makefile: Add bits/time64.h to includes.
11186 * time/tzfile.c: Replace internal_time_t with __time64_t.
11188 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11190 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
11191 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
11192 __posix_spawn_file_actions_init, __posix_spawnattr_init,
11193 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
11194 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
11196 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
11197 * posix/spawn_faction_addclose.c
11198 (__posix_spawn_file_actions_addclose): Add hidden definition.
11199 * posix/spawn_faction_adddup2.c
11200 (__posix_spawn_file_actions_adddup2): Likewise.
11201 * posix/spawn_faction_destroy.c
11202 (__posix_spawn_file_actions_destroy): Likewise.
11203 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
11205 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
11206 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
11207 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
11209 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
11210 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
11213 2018-10-24 Andreas Schwab <schwab@suse.de>
11216 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
11218 * elf/cache.c (print_cache): Likewise.
11220 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
11222 * bits/timesize.h: New file.
11223 * stdlib/Makefile (headers): Add bits/timesize.h.
11224 * sysdeps/unix/sysv/linux/bits/msq-pad.h
11225 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
11226 * sysdeps/unix/sysv/linux/bits/sem-pad.h
11227 (__SEM_PAD_AFTER_TIME): Likewise.
11228 * sysdeps/unix/sysv/linux/bits/shm-pad.h
11229 (__SHM_PAD_AFTER_TIME): Likewise.
11230 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
11231 (__MSQ_PAD_BEFORE_TIME): Likewise.
11232 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
11233 (__SEM_PAD_BEFORE_TIME): Likewise.
11234 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
11235 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11236 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
11237 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
11238 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
11239 (__MSQ_PAD_BEFORE_TIME): Likewise.
11240 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
11241 (__SEM_PAD_BEFORE_TIME): Likewise.
11242 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
11243 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
11244 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
11245 (__MSQ_PAD_BEFORE_TIME): Likewise.
11246 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
11247 (__SEM_PAD_BEFORE_TIME): Likewise.
11248 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
11249 (__SHM_PAD_BEFORE_TIME): Likewise.
11250 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
11251 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11252 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
11254 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
11256 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
11257 USE_RDTSCP is defined.
11258 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
11259 USE_RDTSCP is defined.
11261 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11263 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
11267 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
11268 independently of other flags.
11270 2018-10-23 Florian Weimer <fweimer@redhat.com>
11272 * time/tst-mktime2.c (N_STRINGS): Remove.
11273 (set_timezone): New function.
11274 (spring_forward_gap): Call it. Use FAIL_EXIT1.
11275 (mktime_test1): Report localtime failure and check errno value.
11277 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
11278 (do_test): Remove alarm call. Use set_timezone and array_length.
11280 2018-10-23 Andreas Schwab <schwab@suse.de>
11282 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
11283 (__start_context): Use END instead of PSEUDO_END.
11285 2018-10-22 Joseph Myers <joseph@codesourcery.com>
11287 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
11290 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11294 * wcsmbs/c32rtomb.c: New file.
11295 * wcsmbs/mbrtoc32.c: Likewise.
11296 * wcsmbs/tst-c32-state.c: Likewise.
11297 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
11298 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
11299 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
11300 (tests): Add tst-c32-state.
11301 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
11304 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
11306 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
11307 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
11309 2018-10-19 Joseph Myers <joseph@codesourcery.com>
11312 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
11313 pair and return 0 in that case, and use saved character to
11314 interpret following character.
11315 * wcsmbs/tst-c16-surrogate.c: New file.
11316 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
11317 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
11318 Depend on $(gen-locales)
11320 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
11323 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
11324 (struct siginfo_t): Use correct type for si_band.
11326 2018-10-19 Florian Weimer <fweimer@redhat.com>
11329 * resource/bits/types/struct_rusage.h (struct rusage): Update
11330 comment on struct. Remove extraneous field comment.
11332 2018-10-18 David S. Miller <davem@davemloft.net>
11334 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
11335 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
11336 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
11337 sysdep_routines in subdir elf.
11338 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
11339 version for __vdso_clock_gettime.
11340 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
11342 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11343 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11345 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11347 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
11349 * sysdeps/i386/init-arch.h: Removed.
11350 * sysdeps/i386/i586/init-arch.h: Likewise.
11351 * sysdeps/i386/i686/init-arch.h: Likewise.
11352 * sysdeps/i386/i686/hp-timing.h: Likewise.
11353 * sysdeps/x86_64/hp-timing.h: Likewise.
11354 * sysdeps/i386/isa.h: New file.
11355 * sysdeps/i386/i586/isa.h: Likewise.
11356 * sysdeps/i386/i686/isa.h: Likewise.
11357 * sysdeps/x86_64/isa.h: Likewise.
11358 * sysdeps/x86/hp-timing.h: New file.
11359 * sysdeps/x86/init-arch.h: Include <isa.h>.
11361 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11363 * math/libm-test-pow.inc (pow_test_data): Do not allow
11364 divide-by-zero exception for pow(+/- 0, -Inf).
11366 2018-10-17 Zack Weinberg <zackw@panix.com>
11368 * manual/job.texi (Job Control is Optional): Remove node, as
11369 job control has not been optional in quite some time.
11370 (Job Control): Mention briefly that systems older than
11371 POSIX.1-2001 might not support job control.
11372 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
11373 defined on systems conforming to POSIX.1-2001.
11375 2018-10-17 Arjun Shankar <arjun@redhat.com>
11378 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
11380 * (__gconv_read_conf): Mark function static.
11381 * (once): New static variable.
11382 * (__gconv_load_conf): New function.
11383 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
11384 * iconv/gconv_db.c (once): Remove static variable.
11385 * (__gconv_compare_alias): Use __gconv_load_conf instead of
11387 * (__gconv_find_transform): Likewise.
11388 * iconv/tst-iconv-mt.c: New test.
11389 * iconv/Makefile: Add tst-iconv_mt.
11391 2018-10-17 Joseph Myers <joseph@codesourcery.com>
11393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11395 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
11396 (shmatt_t): Define as __syscall_ulong_t.
11397 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
11398 and [__SHM_PAD_AFTER_TIME].
11399 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
11400 Define shm_segsz and associated padding based on
11401 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
11402 Use __syscall_ulong_t instead of unsigned long int.
11403 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
11405 [__USE_MISC] (struct shm_info): Likewise.
11406 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
11407 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
11408 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
11409 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
11411 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
11412 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
11413 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
11414 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11415 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11416 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11420 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
11421 (SHMLBA): Remove macro.
11422 (__getpagesize): Remove function declaration.
11423 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
11425 (SHMLBA): Remove macro.
11426 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
11428 (SHMLBA): Remove macro.
11429 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
11431 (SHMLBA): Remove macro.
11432 (__getpagesize): Remove function declaration.
11433 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
11435 (SHMLBA): Remove macro.
11436 (__getshmlba): Remove function declaration.
11437 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
11438 (SHMLBA): Remove macro.
11439 (__getpagesize): Remove function declaration.
11440 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
11441 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
11442 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11443 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
11444 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
11445 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
11446 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
11447 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
11448 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
11449 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
11451 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
11454 * nptl/tst-mutex10.c: New File.
11455 * nptl/Makefile (tests): Add tst-mutex10.
11456 (tst-mutex10-ENV): New variable.
11457 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
11458 Ensure that elision path is used if elision is available.
11459 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
11461 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
11463 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
11464 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
11465 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
11466 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
11468 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
11469 (__pthread_mutex_cond_lock_adjust): Likewise.
11470 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11472 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
11473 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11474 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11475 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
11477 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11478 Use atomic_load_relaxed and atomic_store_relaxed.
11479 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
11480 Use atomic_store_relaxed.
11482 2018-10-17 Andreas Schwab <schwab@suse.de>
11484 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
11485 * crypt/badsalttest.c (TIMEOUT): Likewise.
11486 * crypt/sha256c-test.c (TIMEOUT): Likewise.
11487 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
11488 * io/test-lfs.c (TIMEOUT): Likewise.
11489 * libio/tst-atime.c (TIMEOUT): Likewise.
11490 * localedata/tst-leaks.c (TIMEOUT): Likewise.
11491 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
11492 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
11493 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
11494 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
11495 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
11496 * nptl/tst-cond11.c (TIMEOUT): Likewise.
11497 * nptl/tst-cond14.c (TIMEOUT): Likewise.
11498 * nptl/tst-cond15.c (TIMEOUT): Likewise.
11499 * nptl/tst-cond24.c (TIMEOUT): Likewise.
11500 * nptl/tst-cond25.c (TIMEOUT): Likewise.
11501 * nptl/tst-kill2.c (TIMEOUT): Likewise.
11502 * nptl/tst-kill3.c (TIMEOUT): Likewise.
11503 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
11504 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
11505 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
11506 * nptl/tst-once2.c (TIMEOUT): Likewise.
11507 * nptl/tst-once3.c (TIMEOUT): Likewise.
11508 * nptl/tst-once4.c (TIMEOUT): Likewise.
11509 * nptl/tst-robust8.c (TIMEOUT): Likewise.
11510 * nptl/tst-robust9.c (TIMEOUT): Likewise.
11511 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
11512 * nptl/tst-sem14.c (TIMEOUT): Likewise.
11513 * nptl/tst-sem6.c (TIMEOUT): Likewise.
11514 * nptl/tst-signal3.c (TIMEOUT): Likewise.
11515 * nptl/tst-spin4.c (TIMEOUT): Likewise.
11516 * nptl/tst-tls3.c (TIMEOUT): Likewise.
11517 * nptl/tst-tls4.c (TIMEOUT): Likewise.
11518 * posix/tst-chmod.c (TIMEOUT): Likewise.
11519 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
11520 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
11521 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
11522 * posix/tst-regex2.c (TIMEOUT): Likewise.
11523 * posix/tst-waitid.c (TIMEOUT): Likewise.
11524 * rt/tst-aio.c (TIMEOUT): Likewise.
11525 * rt/tst-aio10.c (TIMEOUT): Likewise.
11526 * rt/tst-aio4.c (TIMEOUT): Likewise.
11527 * rt/tst-aio5.c (TIMEOUT): Likewise.
11528 * rt/tst-aio6.c (TIMEOUT): Likewise.
11529 * rt/tst-aio64.c (TIMEOUT): Likewise.
11530 * rt/tst-aio7.c (TIMEOUT): Likewise.
11531 * rt/tst-aio9.c (TIMEOUT): Likewise.
11532 * rt/tst-clock.c (TIMEOUT): Likewise.
11533 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
11534 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
11535 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
11536 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
11537 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
11538 * rt/tst-timer4.c (TIMEOUT): Likewise.
11539 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
11540 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
11541 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
11542 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
11543 * time/tst-ftime.c (TIMEOUT): Likewise.
11544 * timezone/tst-tzset.c (TIMEOUT): Likewise.
11546 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
11548 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
11549 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
11552 2018-10-15 Joseph Myers <joseph@codesourcery.com>
11554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11556 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
11557 instead of <bits/wordsize.h>.
11558 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
11559 and [__SEM_PAD_AFTER_TIME].
11560 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
11561 __syscall_ulong_t instead of unsigned long int.
11562 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
11563 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
11564 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
11565 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
11566 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
11567 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
11568 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
11569 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
11570 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11571 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11572 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11574 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
11576 regex: simplify by using intprops.h
11578 * posix/regex_internal.h [_LIBC]: Include intprops.h.
11579 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
11580 intprops.h defines them.
11582 regex: __builtin_expect → __glibc_unlikely
11584 This refactoring was prompted by a problem when the regex code is
11585 used as part of Gnulib and when the builder’s compiler does not grok
11586 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
11587 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
11588 Although this refactoring does not fix the problem directly,
11589 we might as well have Gawk use the now-preferred glibc style for when
11590 __builtin_expect is unavailable.
11591 * posix/regex_internal.h (BE): Remove.
11592 All uses replaced by __glibc_unlikely or __glibc_likely.
11594 2018-10-11 Joseph Myers <joseph@codesourcery.com>
11596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11598 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
11599 instead of <bits/wordsize.h>.
11600 (msgqnum_t): Define as __syscall_ulong_t.
11601 (msglen_t): Likewise.
11602 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
11603 and [__MSQ_PAD_AFTER_TIME].
11604 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
11605 __syscall_ulong_t instead of unsigned long int.
11606 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
11607 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
11608 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
11609 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
11610 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
11611 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
11612 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
11613 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
11614 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11615 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11616 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11618 2018-10-10 Joseph Myers <joseph@codesourcery.com>
11620 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
11621 (struct shmid_ds): Condition padding after time fields on
11622 [__WORDSIZE == 32].
11623 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
11624 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
11625 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11627 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
11628 (struct semid_ds): Condition padding after time fields on
11629 [__WORDSIZE == 32].
11630 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
11631 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
11632 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
11633 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11635 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
11636 (struct msqid_ds): Condition padding after time fields on
11637 [__WORDSIZE == 32].
11638 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
11639 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
11640 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
11641 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11643 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11645 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
11647 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
11649 * libio/tst-readline.c (TIMEOUT): Define.
11651 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
11653 mktime fix for Gnulib + coreutils
11655 This fix affects only Gnulib. Problem discovered when
11656 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
11658 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
11659 Do not define since it is not used. Defining an unused static
11660 function prompts a warning from GCC when Coreutils is configured
11661 with --enable-gcc-warnings.
11663 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11665 * benchtests/scripts/compare_bench.py (main): set float type on
11666 threshold argument.
11668 2018-10-08 Rafał Lużyński <digitalfreak@lingonborough.com>
11671 * localedata/locales/kl_GL (mon): Update, the relative case.
11672 (alt_mon): Add, fill with month names in the nominative case.
11673 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
11674 (d_fmt): Set to "%b %d %Y".
11676 2018-10-04 Joseph Myers <joseph@codesourcery.com>
11678 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
11679 <bits/mman-linux.h>.
11680 (PROT_READ): Don't define here.
11681 (PROT_WRITE): Likewise.
11682 (PROT_EXEC): Likewise.
11683 (PROT_NONE): Likewise.
11684 (PROT_GROWSDOWN): Likewise.
11685 (PROT_GROWSUP): Likewise.
11686 (MAP_SHARED): Likewise.
11687 (MAP_PRIVATE): Likewise.
11688 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
11689 [__USE_MISC] (MAP_FILE): Likewise.
11690 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
11691 [__USE_MISC] (MAP_ANON): Likewise.
11692 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
11693 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
11694 (MCL_CURRENT): Likewise.
11695 (MCL_FUTURE): Likewise.
11696 (MCL_ONFAULT): Likewise.
11697 [__USE_MISC] (MADV_NORMAL): Likewise.
11698 [__USE_MISC] (MADV_RANDOM): Likewise.
11699 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
11700 [__USE_MISC] (MADV_WILLNEED): Likewise.
11701 [__USE_MISC] (MADV_DONTNEED): Likewise.
11702 [__USE_MISC] (MADV_FREE): Likewise.
11703 [__USE_MISC] (MADV_REMOVE): Likewise.
11704 [__USE_MISC] (MADV_DONTFORK): Likewise.
11705 [__USE_MISC] (MADV_DOFORK): Likewise.
11706 [__USE_MISC] (MADV_HWPOISON): Likewise.
11707 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
11708 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
11709 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
11710 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
11711 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
11712 (__MAP_ANONYMOUS): New macro.
11713 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
11714 <bits/mman-linux.h> inclusion.
11715 (MAP_FIXED): Likewise.
11716 (MS_SYNC): Likewise.
11717 (MS_ASYNC): Likewise.
11718 (MS_INVALIDATE): Likewise.
11719 [__USE_MISC] (MADV_MERGEABLE): Likewise.
11720 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
11721 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
11722 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
11723 [__USE_MISC] (MADV_DONTDUMP): Likewise.
11724 [__USE_MISC] (MADV_DODUMP): Likewise.
11725 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
11726 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
11729 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
11731 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
11732 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
11733 Add test-nldbl-redirect.
11734 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
11735 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
11736 $(objpfx)libnldbl_nonshared.a.
11738 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
11740 * support/support.h (support_objdir_elf_ldso): New variable.
11741 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
11742 * support/Makefile (CFLAGS-support_paths.c): Add definition
11743 for OBJDIR_ELF_LDSO_PATH.
11744 * support/test-container.c (main): Search for the ld.so
11745 which is also used by the testsuite.
11747 2018-10-02 Rafał Lużyński <digitalfreak@lingonborough.com>
11750 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
11751 should be "sap" rather than "sab".
11752 (day): Fix spelling of Sunday, should be "sapaat" rather than
11755 2018-10-02 Joseph Myers <joseph@codesourcery.com>
11757 * math/libm-test-fma.inc (fma_test_data): Add more tests.
11759 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
11762 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
11763 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
11764 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
11766 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11768 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
11770 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
11772 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
11774 (CFLAGS-elision-unlock.c): Likewise.
11775 (CFLAGS-elision-timed.c): Likewise.
11776 (CFLAGS-elision-trylock.c): Likewise.
11777 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
11779 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11782 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
11783 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
11784 new fd_to_filename interface.
11785 * libio/freopen64.c (freopen64): Likewise.
11786 * libio/tst-memstream.h: New file.
11787 * libio/tst-memstream4.c: Likewise.
11788 * libio/tst-wmemstream4.c: Likewise.
11789 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
11790 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
11791 and remove internal dynamic allocation.
11793 2018-10-01 Joseph Myers <joseph@codesourcery.com>
11795 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
11796 (MREMAP_MAYMOVE): Do not define here.
11797 [__USE_GNU] (MREMAP_FIXED): Likewise.
11798 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
11799 (MREMAP_MAYMOVE): Define here instead.
11800 [__USE_GNU] (MREMAP_FIXED): Likewise.
11801 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
11802 (MREMAP_MAYMOVE): Remove.
11803 [__USE_GNU] (MREMAP_FIXED): Likewise.
11805 2018-09-28 Joseph Myers <joseph@codesourcery.com>
11807 * math/fromfp.h: Do not include <math_private.h>.
11808 * math/s_cacosh_template.c: Likewise.
11809 * math/s_casin_template.c: Likewise.
11810 * math/s_casinh_template.c: Likewise.
11811 * math/s_ccos_template.c: Likewise.
11812 * math/s_cproj_template.c: Likewise.
11813 * math/s_fdim_template.c: Likewise.
11814 * math/s_fmaxmag_template.c: Likewise.
11815 * math/s_fminmag_template.c: Likewise.
11816 * math/s_iseqsig_template.c: Likewise.
11817 * math/s_ldexp_template.c: Likewise.
11818 * math/s_nextdown_template.c: Likewise.
11819 * math/w_log1p_template.c: Likewise.
11820 * math/w_scalbln_template.c: Likewise.
11821 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
11822 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
11823 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
11824 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
11825 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
11826 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
11827 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
11828 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
11829 * sysdeps/i386/fpu/s_atanl.c: Likewise.
11830 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
11831 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11832 * sysdeps/i386/fpu/s_fdim.c: Likewise.
11833 * sysdeps/i386/fpu/s_logbl.c: Likewise.
11834 * sysdeps/i386/fpu/s_rintl.c: Likewise.
11835 * sysdeps/i386/fpu/s_significandl.c: Likewise.
11836 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
11837 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
11838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11839 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11840 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
11841 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11842 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11843 * sysdeps/ieee754/k_standardf.c: Likewise.
11844 * sysdeps/ieee754/k_standardl.c: Likewise.
11845 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11847 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
11848 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11849 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11850 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11851 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
11853 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
11854 * sysdeps/ieee754/s_signgam.c: Likewise.
11855 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11856 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
11857 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
11858 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
11859 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
11860 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
11861 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
11862 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
11863 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
11864 * sysdeps/riscv/rvd/s_finite.c: Likewise.
11865 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
11866 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
11867 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
11868 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
11869 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
11870 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
11871 * sysdeps/riscv/rvf/fegetround.c: Likewise.
11872 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
11873 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
11874 * sysdeps/riscv/rvf/fesetround.c: Likewise.
11875 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
11876 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
11877 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
11878 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
11879 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
11880 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
11881 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
11882 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
11883 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
11884 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
11885 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
11886 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
11887 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
11888 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
11889 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
11890 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
11891 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
11893 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
11895 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
11898 * sysdeps/i386/dl-cet.c: Removed.
11899 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
11901 (_dl_runtime_profile_shstk): Likewise.
11902 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
11903 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
11905 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11908 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
11909 do_test_with_invalid_iov): New tests.
11910 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
11911 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
11912 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
11914 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
11915 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
11916 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
11918 2018-09-27 Joseph Myers <joseph@codesourcery.com>
11920 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
11921 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
11922 (MATH_REDIRECT_BINARY_ARGS): New macro.
11923 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
11924 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
11925 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
11927 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
11928 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11929 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
11930 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11931 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11932 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11933 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
11938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
11940 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
11941 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
11942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
11944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
11946 * sysdeps/generic/math_private_calls.h
11947 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
11948 Do not declare and define as an inline function.
11949 * math/divtc3.c (__divtc3): Use copysign functions instead of
11950 __copysign variants.
11951 * math/multc3.c (__multc3): Likewise.
11952 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
11953 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
11954 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11955 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
11957 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11958 (__ieee754_yn): Likewise.
11959 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11960 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
11961 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11962 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11963 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
11965 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11966 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11972 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11973 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11975 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11976 (__ieee754_ynf): Likewise.
11977 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11978 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11979 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
11980 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11982 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11983 (__ieee754_ynl): Likewise.
11984 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11985 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11986 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11988 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11989 (__ieee754_ynl): Likewise.
11990 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
11991 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11992 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11993 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11995 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11997 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
11998 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11999 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
12000 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12001 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12003 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12004 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
12005 using MATH_REDIRECT.
12006 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
12008 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
12009 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12011 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
12012 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12013 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
12014 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
12016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
12017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
12018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
12019 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12020 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
12021 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12022 (round): Redirect to __round.
12023 (__roundl): Call round instead of __round.
12024 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
12026 [_ARCH_PWR5X] (__roundf): Likewise.
12027 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
12028 functions instead of __round variants.
12029 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12032 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12034 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12036 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
12037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
12039 (__ieee754_expl): Call roundl instead of __roundl.
12041 2018-09-27 Andreas Schwab <schwab@suse.de>
12044 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
12045 (do_test): Make st1 static.
12047 2018-09-26 Andreas Schwab <schwab@suse.de>
12050 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
12051 * elf/Makefile (tests): Add tst-unwind-ctor.
12052 (modules-names): Add tst-unwind-ctor-lib.
12053 ($(objpfx)tst-unwind-ctor): Depend on
12054 $(objpfx)tst-unwind-ctor-lib.so.
12056 2018-09-26 Joseph Myers <joseph@codesourcery.com>
12058 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
12059 file. Most contents moved from ....
12060 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
12061 and include <bits/mman-map-flags-generic.h>.
12062 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12063 (sysdep_headers): Add bits/mman-map-flags-generic.h.
12064 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
12065 <bits/mman-map-flags-generic.h>.
12066 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
12067 macros defined in <bits/mman-map-flags-generic.h>.
12068 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
12069 <bits/mman-map-flags-generic.h>.
12070 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
12071 defined in <bits/mman-map-flags-generic.h>.
12073 2018-09-26 Andreas Schwab <schwab@suse.de>
12075 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
12078 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
12079 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12080 Fangrui Song <maskray@google.com>
12083 * config.make.in (have-textrel_ifunc): New define.
12084 * configure.ac: Add check if linker supports textrel relocation with
12086 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
12088 (CFLAGS-tst-ifunc-textrel.c): New rule.
12089 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
12090 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
12091 * elf/tst-ifunc-textrel.c: New file.
12093 2018-09-25 Joseph Myers <joseph@codesourcery.com>
12095 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12096 <bits/procfs-prregset.h>.
12097 (prgregset_t): Define using __prgregset_t.
12098 (prfpregset_t): Define using __prfpregset_t.
12099 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12100 (sysdep_headers): Add bits/procfs-prregset.h.
12101 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
12102 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
12103 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
12104 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
12106 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
12107 <bits/procfs-id.h> and <bits/procfs-extra.h>.
12108 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
12110 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12111 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
12112 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
12113 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
12114 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
12115 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
12116 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
12117 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
12118 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
12119 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
12120 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
12121 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
12122 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
12123 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
12124 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
12125 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
12126 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
12127 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
12128 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
12129 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
12130 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
12131 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
12132 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12133 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
12135 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
12136 AArch64 version. Include <bits/procfs.h>.
12137 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
12138 (sysdep_headers): Add bits/procfs.h.
12139 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
12140 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
12141 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
12142 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
12143 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
12144 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
12145 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
12146 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
12147 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
12148 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
12149 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
12150 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
12151 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
12152 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
12153 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
12154 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12155 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
12157 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12159 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
12162 2018-09-25 Arjun Shankar <arjun@redhat.com>
12164 * iconv/gconv_int.h (__gconv_path_elem): Remove.
12165 (__gconv_max_path_elem_len): Likewise.
12166 (__gconv_nmodules): Likewise.
12167 (__gconv_get_path): Likewise.
12168 (path_elem): Move to ...
12169 * iconv/gconv_conf.c: ... here.
12170 (__gconv_get_path): Mark function static.
12171 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
12172 * iconv/gconv_open.c: ... here.
12174 2018-09-24 Andreas Schwab <schwab@suse.de>
12176 * scripts/haveversions.awk: New file.
12177 * Makerules ($(common-objpfx)Versions.def)
12178 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12179 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12181 * Makeconfig ($(common-objpfx)Versions.def)
12182 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
12183 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
12185 ($(common-objpfx)Versions.mk): New rule. Include it.
12186 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
12187 Emit error if build-obsolete-nsl = yes.
12188 * manual/install.texi (Configuring and compiling): Describe
12189 --enable-obsolete-nsl as unavaiable after version 2.28.
12190 * INSTALL: Regenerate.
12192 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12194 * NEWS: Add note about new TLE support on powerpc64le.
12195 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
12196 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
12198 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
12199 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
12200 * sysdeps/powerpc/powerpc32/sysdep.h,
12201 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
12202 ABORT_TRANSACTION): Remove macros.
12203 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12204 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
12205 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
12207 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12208 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
12210 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
12212 2018-09-21 Rafał Lużyński <digitalfreak@lingonborough.com>
12215 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
12216 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
12217 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
12218 which is the same as in it_IT.
12219 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
12220 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
12222 2018-09-20 Joseph Myers <joseph@codesourcery.com>
12224 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12225 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
12226 using MATH_REDIRECT.
12227 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
12229 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
12230 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12231 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
12232 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
12233 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12234 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
12236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
12237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
12238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
12239 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12240 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
12241 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12242 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12243 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
12244 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
12245 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
12246 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12247 (ceil): Redirect to __ceil.
12248 (floor): Redirect to __floor.
12249 (trunc): Redirect to __trunc.
12250 (__truncl): Call trunc instead of __trunc.
12251 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
12253 [_ARCH_PWR5X] (__truncf): Likewise.
12254 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
12255 trunc functions instead of __trunc variants.
12256 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12260 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12262 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12265 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
12266 [__i586__ || __pentium__].
12267 [__i486__]: Handle explicitly.
12268 (HAS_CPUID): Define to 1 if above macros are undefined.
12269 (HAS_I586): Likewise.
12270 (HAS_I686): Likewise.
12272 2018-09-20 Florian Weimer <fweimer@redhat.com>
12274 * misc/tst-gethostid.c: New file.
12275 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
12276 (tst-gethostid): Link with -ldl.
12278 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
12280 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
12281 value from gethostbyname_r.
12283 2018-09-19 Carlos O'Donell <carlos@redhat.com>
12285 * stdlib/tst-setcontext9.c (f1): Rename to...
12287 (f1b): New function implementing lower half of f1 in alternate stack.
12289 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
12291 Fix mktime localtime offset confusion
12293 * include/time.h (__mktime_internal): The localtime offset is now
12294 of type long int instead of time_t. This is the longstanding type
12295 in glibc, and it is more than enough to represent difference
12296 between localtime and gmtime even if it is 32 bits and time_t is
12297 64. Changing it now will let us avoid an unnecessary change when
12298 time_t is widened to 64 bits on 32-bit platforms.
12299 * time/mktime-internal.h (mktime_offset_t): Now long int.
12301 Merge mktime, timegm from upstream Gnulib
12302 [BZ #23603][BZ #16346]
12303 This fixes some obscure problems with integer overflow.
12304 Although it looks scary, it is almost all a byte-for-byte copy
12305 from Gnulib, and the Gnulib code has been tested reasonably well.
12306 * include/intprops.h: New file, copied from Gnulib.
12307 * include/verify.h, time/mktime-internal.h:
12308 New tiny files, simplified from Gnulib.
12309 * time/mktime.c: Copy from Gnulib. This has the following changes:
12310 Do not include config.h if DEBUG_MKTIME is nonzero.
12311 Include stdbool.h, intprops.h, verify.h.
12312 Include string.h only if needed.
12313 Include stdlib.h on MS-Windows.
12314 Include mktime-internal.h.
12315 (DEBUG_MKTIME): Default to 0, and simplify later uses.
12316 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
12317 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
12318 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
12319 simplify later conditionals; default the others to zero. Use
12320 these conditionals to express only the code needed on the current
12321 platform. In uses of these conditionals, explicitly spell out how
12322 _LIBC affects things, so it’s easier to review from a glibc
12324 (WRAPV): Remove; no longer needed now that we have
12325 systematic overflow checking.
12326 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
12327 compartmentalize tzset issues. Move system-dependent tzsettish
12328 code here from mktime.
12329 (verify): Remove; now done by verify.h. All uses changed.
12330 (long_int): Use a more-conservative definition, to avoid
12332 (SHR): Remove, replacing with ...
12333 (shr): New function, which means we needn’t worry about side
12334 effects in args, and conversion analysis is simpler.
12335 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
12336 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
12337 (time_t_avg, time_t_add_ok): Remove.
12338 (mktime_min, mktime_max): New constants.
12339 (leapyear, isdst_differ): Use bool for booleans.
12340 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
12341 Use long_int, not time_t, for mktime differences.
12342 (long_int_avg): New function, replacing time_t_avg.
12343 INT_ADD_WRAPV replaces time_t_add_ok.
12344 (guess_time_tm): 6th arg is now long_int, not time_t const *.
12346 (convert_time): New function.
12347 (ranged_convert): Use it.
12348 (__mktime_internal): Last arg now points to mktime_offset_t, not
12349 time_t. All uses changed. This is a no-op on glibc, where
12350 mktime_offset_t is always time_t. Use int, not time_t, for UTC
12351 offset guess. Directly check for integer overflow instead of
12352 using a heuristic that works only 99.9...% of the time.
12353 Access *OFFSET only once, to avoid an unlikely race if the
12354 compiler delays a load and if this cascades into a signed integer
12356 (mktime): Move tzsettish code to my_tzset, and move
12357 localtime_offset to within mktime so that it doesn’t
12358 need a separate ifdef.
12359 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
12360 instead of localtime.
12361 * time/timegm.c: Copy from Gnulib. This has the following changes:
12362 Include mktime-internal.h.
12363 [!_LIBC]: Include config.h and time.h. Do not include
12364 timegm.h or time_r.h. Make __mktime_internal a macro,
12365 and include mktime-internal.h to get its declaration.
12366 (timegm): Temporary is now mktime_offset_t, not time_t.
12367 This affects only Gnulib.
12369 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
12372 * string/test-strstr.c (pr23637): New function.
12373 (test_main): Add tests with longer needles.
12374 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
12375 * string/strstr.c (AVAILABLE): Likewise.
12377 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12379 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
12381 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
12383 * NEWS: Mention pow improvements.
12384 * math/Makefile (type-double-routines): Add e_pow_log_data.
12385 * sysdeps/generic/math_private.h (__exp1): Remove.
12386 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
12387 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
12388 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
12390 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
12391 (exp_inline): Remove.
12392 (__ieee754_exp): Only single double input is handled.
12393 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
12394 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
12395 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
12396 (__pow_log_data): Define.
12397 * sysdeps/ieee754/dbl-64/upow.h: Remove.
12398 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
12399 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
12400 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
12402 (CFLAGS-e_pow-fma4.c): Likewise.
12404 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
12406 Simplify tzfile fstat failure code
12408 * time/tzfile.c (__tzfile_read): Simplify slightly.
12410 Fix tzfile low-memory assertion failure
12412 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
12413 when registering time zone abbreviations.
12415 2018-09-18 Joseph Myers <joseph@codesourcery.com>
12417 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
12418 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
12419 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
12420 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
12421 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
12422 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
12423 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
12424 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12427 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
12429 (__ceill): Call ceil instead of __ceil.
12430 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
12432 (__floorl): Call floor instead of __floor.
12434 2018-09-17 Joseph Myers <joseph@codesourcery.com>
12436 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12437 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
12438 using MATH_REDIRECT.
12439 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
12441 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12443 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12444 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
12445 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12446 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12448 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
12449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
12450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
12452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
12453 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12454 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12457 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
12458 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
12459 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
12461 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
12462 functions instead of __ceil variants.
12463 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12464 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
12466 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
12468 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12469 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
12471 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12472 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12475 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
12477 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
12478 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
12479 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
12480 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
12481 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
12482 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
12483 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
12484 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
12485 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
12486 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
12487 (ILL_BADIADDR): Remove constant.
12488 (TRAP_BRANCH): Likewise.
12489 (TRAP_HWBKPT): Likewise.
12491 2018-09-14 Joseph Myers <joseph@codesourcery.com>
12494 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
12495 Remove [_MIPS_SIM = _ABIN32] conditional case.
12496 (struct elf_prpsinfo): Likewise.
12499 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
12500 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
12501 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
12503 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
12504 elf_prpsinfo): Likewise.
12505 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
12506 elf_prpsinfo): Likewise.
12507 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
12510 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12511 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
12512 using MATH_REDIRECT.
12513 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
12515 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
12516 * sysdeps/alpha/fpu/s_rint.c: Likewise.
12517 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
12518 * sysdeps/i386/fpu/s_rintl.c: Likewise.
12519 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12521 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
12522 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12523 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12524 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12525 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
12526 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
12527 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
12528 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
12529 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
12530 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
12531 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12532 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
12533 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
12534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
12535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
12536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
12537 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
12538 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
12539 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
12540 * sysdeps/x86_64/fpu/math_private.h: Remove file.
12541 * math/e_scalb.c (invalid_fn): Use rint functions instead of
12543 * math/e_scalbf.c (invalid_fn): Likewise.
12544 * math/e_scalbl.c (invalid_fn): Likewise.
12545 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12547 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12549 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
12550 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
12551 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12553 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12555 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12557 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
12558 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
12560 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
12561 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
12563 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12564 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
12565 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12566 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
12567 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12568 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
12569 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12570 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
12571 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
12572 && !NO_MATH_REDIRECT] (floor): Likewise.
12573 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
12575 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
12576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12578 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
12579 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12582 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
12583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
12584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
12585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
12586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
12587 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12588 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12591 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
12592 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
12593 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
12595 [_ARCH_PWR5X] (__floorf): Likewise.
12596 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
12598 [__SSE4_1__] (__floorf): Likewise.
12599 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
12600 instead of __floor variants.
12601 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
12602 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
12603 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
12604 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
12605 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
12606 * math/w_tgamma_compat.c (__tgamma): Likewise.
12607 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
12608 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
12609 * math/w_tgammal_compat.c (__tgammal): Likewise.
12610 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
12611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12613 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12614 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
12615 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12616 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12618 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12619 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
12621 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12622 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
12624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12625 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
12627 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12628 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
12629 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
12630 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
12631 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
12632 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12634 2018-09-12 Joseph Myers <joseph@codesourcery.com>
12636 * elf/Makefile (modules-names-tests): New variable.
12638 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12640 * NEWS: Mention log2 improvements.
12641 * math/Makefile (type-double-routines): Add e_log2_data.
12642 * sysdeps/i386/fpu/e_log2_data.c: New file.
12643 * sysdeps/ia64/fpu/e_log2_data.c: New file.
12644 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
12645 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
12646 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
12647 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
12648 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
12650 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12652 * NEWS: Mention log improvement.
12653 * math/Makefile (type-double-routines): Add e_log_data.
12654 * sysdeps/i386/fpu/e_log_data.c: New file.
12655 * sysdeps/ia64/fpu/e_log_data.c: New file.
12656 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
12657 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
12658 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
12659 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
12660 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
12661 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
12663 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
12664 Xuepeng Guo <xuepeng.guo@intel.com>
12667 * sysdeps/i386/start.S: Include <sysdep.h>
12668 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
12669 enabled. Add cfi_undefined (eip).
12671 2018-09-11 Joseph Myers <joseph@codesourcery.com>
12673 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
12675 (EXTRACT_WORDS64): Likewise.
12676 (INSERT_WORDS64): Likewise.
12677 (GET_FLOAT_WORD): Likewise.
12678 (SET_FLOAT_WORD): Likewise.
12680 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
12682 (Config.build_gcc): Use --disable-libsanitizer for first GCC
12683 build, but not for second build if --full-gcc. Use
12684 --enable-languages=all for second build if --full-gcc.
12685 (get_parser): Add --full-gcc option.
12686 (main): Update call to Context.
12688 2018-09-10 Rafał Lużyński <digitalfreak@lingonborough.com>
12691 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
12692 Single Quotation Mark).
12693 (thousands_sep): Likewise.
12694 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
12695 * localedata/locales/it_IT (thousands_sep): Use ".".
12696 (grouping): Use "3;3".
12698 2018-09-10 Joseph Myers <joseph@codesourcery.com>
12700 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
12701 x86_64 and i686 configs using --enable-obsolete-rpc
12702 --enable-obsolete-nsl.
12704 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12706 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12708 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
12710 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
12711 Increment size of new_argv by one.
12713 2018-09-05 Rafał Lużyński <digitalfreak@lingonborough.com>
12716 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
12717 * localedata/locales/ar_IN (d_fmt): Likewise.
12718 * localedata/locales/bhb_IN (d_fmt): Likewise.
12719 * localedata/locales/bho_IN (d_fmt): Likewise.
12720 * localedata/locales/bn_BD (d_fmt): Likewise.
12721 * localedata/locales/bn_IN (d_fmt): Likewise.
12722 * localedata/locales/doi_IN (d_fmt): Likewise.
12723 * localedata/locales/gu_IN (d_fmt): Likewise.
12724 * localedata/locales/hi_IN (d_fmt): Likewise.
12725 * localedata/locales/hne_IN (d_fmt): Likewise.
12726 * localedata/locales/kn_IN (d_fmt): Likewise.
12727 * localedata/locales/mag_IN (d_fmt): Likewise.
12728 * localedata/locales/mai_IN (d_fmt): Likewise.
12729 * localedata/locales/mjw_IN (d_fmt): Likewise.
12730 * localedata/locales/ml_IN (d_fmt): Likewise.
12731 * localedata/locales/mni_IN (d_fmt): Likewise.
12732 * localedata/locales/mr_IN (d_fmt): Likewise.
12733 * localedata/locales/pa_IN (d_fmt): Likewise.
12734 * localedata/locales/raj_IN (d_fmt): Likewise.
12735 * localedata/locales/sat_IN (d_fmt): Likewise.
12736 * localedata/locales/sd_IN (d_fmt): Likewise.
12737 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
12738 * localedata/locales/ta_IN (d_fmt): Likewise.
12739 * localedata/locales/ta_LK (d_fmt): Likewise.
12740 * localedata/locales/tcy_IN (d_fmt): Likewise.
12741 * localedata/locales/ur_IN (d_fmt): Likewise.
12743 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
12744 * localedata/locales/ks_IN (d_fmt): Likewise.
12745 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
12747 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
12748 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
12749 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
12750 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
12752 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
12754 * NEWS: Mention exp and exp2 improvements.
12755 * math/Makefile (libm-support): Remove t_exp.
12756 (type-double-routines): Add math_err and e_exp_data.
12757 * sysdeps/aarch64/libm-test-ulps: Update.
12758 * sysdeps/arm/libm-test-ulps: Update.
12759 * sysdeps/i386/fpu/e_exp_data.c: New file.
12760 * sysdeps/i386/fpu/math_err.c: New file.
12761 * sysdeps/i386/fpu/t_exp.c: Remove.
12762 * sysdeps/ia64/fpu/e_exp_data.c: New file.
12763 * sysdeps/ia64/fpu/math_err.c: New file.
12764 * sysdeps/ia64/fpu/t_exp.c: Remove.
12765 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
12766 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
12767 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
12768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
12769 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
12770 * sysdeps/ieee754/dbl-64/math_config.h: New file.
12771 * sysdeps/ieee754/dbl-64/math_err.c: New file.
12772 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
12773 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
12774 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
12775 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
12776 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
12777 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
12778 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
12779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12782 2018-09-05 Joseph Myers <joseph@codesourcery.com>
12784 * sysdeps/alpha/fpu/math_private.h: Remove.
12786 * sysdeps/generic/math_private.h
12787 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
12788 Move this inline function ....
12789 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
12790 * include/math.h [!_ISOMAC]: To here....
12792 2018-09-04 Joseph Myers <joseph@codesourcery.com>
12794 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
12796 [!FE_HAVE_ROUNDING_MODES]: And this code ....
12797 * include/fenv.h [!_ISOMAC]: ... to here.
12798 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
12799 (feraiseexcept): Likewise.
12800 * math/fromfp.h: Do not include <fenv_private.h>.
12801 * math/s_cexp_template.c: Likewise.
12802 * math/s_csin_template.c: Likewise.
12803 * math/s_csinh_template.c: Likewise.
12804 * math/s_ctan_template.c: Likewise.
12805 * math/s_ctanh_template.c: Likewise.
12806 * math/s_iseqsig_template.c: Likewise.
12807 * math/w_acos_compat.c: Likewise.
12808 * math/w_acosf_compat.c: Likewise.
12809 * math/w_acosl_compat.c: Likewise.
12810 * math/w_asin_compat.c: Likewise.
12811 * math/w_asinf_compat.c: Likewise.
12812 * math/w_asinl_compat.c: Likewise.
12813 * math/w_j0_compat.c: Likewise.
12814 * math/w_j0f_compat.c: Likewise.
12815 * math/w_j0l_compat.c: Likewise.
12816 * math/w_j1_compat.c: Likewise.
12817 * math/w_j1f_compat.c: Likewise.
12818 * math/w_j1l_compat.c: Likewise.
12819 * math/w_jn_compat.c: Likewise.
12820 * math/w_jnf_compat.c: Likewise.
12821 * math/w_log10_compat.c: Likewise.
12822 * math/w_log10f_compat.c: Likewise.
12823 * math/w_log10l_compat.c: Likewise.
12824 * math/w_log2_compat.c: Likewise.
12825 * math/w_log2f_compat.c: Likewise.
12826 * math/w_log2l_compat.c: Likewise.
12827 * math/w_log_compat.c: Likewise.
12828 * math/w_logf_compat.c: Likewise.
12829 * math/w_logl_compat.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12835 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12836 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12837 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12838 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12839 * sysdeps/ieee754/k_standardl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12857 * math/w_ilogb_template.c: Include <fenv.h> instead of
12859 * math/w_llogb_template.c: Likewise.
12860 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12861 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12863 2018-09-03 Joseph Myers <joseph@codesourcery.com>
12865 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
12866 * math/fromfp.h: Include <fenv_private.h>.
12867 * math/math-narrow.h: Likewise.
12868 * math/s_cexp_template.c: Likewise.
12869 * math/s_csin_template.c: Likewise.
12870 * math/s_csinh_template.c: Likewise.
12871 * math/s_ctan_template.c: Likewise.
12872 * math/s_ctanh_template.c: Likewise.
12873 * math/s_iseqsig_template.c: Likewise.
12874 * math/w_acos_compat.c: Likewise.
12875 * math/w_acosf_compat.c: Likewise.
12876 * math/w_acosl_compat.c: Likewise.
12877 * math/w_asin_compat.c: Likewise.
12878 * math/w_asinf_compat.c: Likewise.
12879 * math/w_asinl_compat.c: Likewise.
12880 * math/w_ilogb_template.c: Likewise.
12881 * math/w_j0_compat.c: Likewise.
12882 * math/w_j0f_compat.c: Likewise.
12883 * math/w_j0l_compat.c: Likewise.
12884 * math/w_j1_compat.c: Likewise.
12885 * math/w_j1f_compat.c: Likewise.
12886 * math/w_j1l_compat.c: Likewise.
12887 * math/w_jn_compat.c: Likewise.
12888 * math/w_jnf_compat.c: Likewise.
12889 * math/w_llogb_template.c: Likewise.
12890 * math/w_log10_compat.c: Likewise.
12891 * math/w_log10f_compat.c: Likewise.
12892 * math/w_log10l_compat.c: Likewise.
12893 * math/w_log2_compat.c: Likewise.
12894 * math/w_log2f_compat.c: Likewise.
12895 * math/w_log2l_compat.c: Likewise.
12896 * math/w_log_compat.c: Likewise.
12897 * math/w_logf_compat.c: Likewise.
12898 * math/w_logl_compat.c: Likewise.
12899 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
12900 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
12901 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
12902 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
12903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12905 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12906 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12909 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12914 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
12915 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12916 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
12917 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12918 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12919 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
12920 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12922 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
12925 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
12926 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12927 * sysdeps/ieee754/float128/float128_private.h: Likewise.
12928 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12929 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12930 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12931 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
12932 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
12933 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
12934 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
12935 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
12936 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12937 * sysdeps/ieee754/k_standardl.c: Likewise.
12938 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12939 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12940 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12941 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
12945 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12950 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12952 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12953 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
12954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12955 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
12956 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12957 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12958 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12959 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12960 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12961 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12962 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12963 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12964 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12965 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12966 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
12967 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
12968 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
12969 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
12970 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
12971 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
12972 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
12973 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12974 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12975 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12976 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
12977 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
12978 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
12979 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
12980 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
12981 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
12982 * sysdeps/riscv/rvd/s_finite.c: Likewise.
12983 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
12984 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
12985 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
12986 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
12987 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
12988 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
12989 * sysdeps/riscv/rvf/fegetround.c: Likewise.
12990 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
12991 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
12992 * sysdeps/riscv/rvf/fesetround.c: Likewise.
12993 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
12994 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
12995 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
12996 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
12997 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
12998 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
12999 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13000 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13001 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13002 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13003 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13004 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13005 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13006 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13007 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13008 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13010 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
13013 * include/stdio.h (__libc_fatal): Mention newline in comment.
13014 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
13015 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
13016 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13017 * nss/nsswitch.c (__nss_next2): Likewise.
13018 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
13019 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
13020 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
13021 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13022 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
13023 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
13024 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
13025 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
13026 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
13027 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
13028 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
13029 * sysdeps/unix/sysv/linux/netlink_assert_response.c
13030 (__netlink_assert_response): Likewise.
13032 2018-08-31 Joseph Myers <joseph@codesourcery.com>
13034 * conform/glibcconform.py: New file.
13035 * conform/list-header-symbols.py: Likewise.
13036 * conform/list-header-symbols.pl: Remove.
13037 * conform/Makefile (tests-special): Only add linknamespace tests
13039 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
13041 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
13044 * support/Makefile (libsupport-routines): Add
13045 support_copy_file_range and xcopy_file_range.
13046 * support/support.h: Include <sys/types.h>.
13047 (support_copy_file_range): New prototype.
13048 * support/support_copy_file_range.c: New file. Copied and
13049 modified from io/copy_file_range-compat.c.
13050 * support/test-container.c (copy_one_file): Call xcopy_file_rang
13051 instead of copy_file_range.
13052 * support/xcopy_file_range.c: New file.
13053 * support/xunistd.h (xcopy_file_range): New prototype.
13055 2018-08-30 Carlos O'Donell <carlos@redhat.com>
13057 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
13058 xpthread_create and xpthread_join.
13060 2018-08-30 Florian Weimer <fweimer@redhat.com>
13062 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
13064 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
13066 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
13069 2018-08-29 Joseph Myers <joseph@codesourcery.com>
13071 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
13072 and minus_oflow as non-finite.
13074 2018-08-28 Joseph Myers <joseph@codesourcery.com>
13076 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
13077 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
13078 moved to fenv_private.h except for ...
13079 (TOINT_INTRINSICS): Kept in math_private.h.
13080 (roundtoint): Likewise.
13081 (converttoint): Likewise.
13082 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
13083 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13084 * sysdeps/arm/math_private.h: Remove.
13085 * sysdeps/generic/fenv_private.h: New file. Contents moved from
13087 * sysdeps/generic/math_private.h: ... this file. Include
13088 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
13089 Include <fenv_private.h>. Remove functions and macros moved to
13091 * sysdeps/i386/fpu/math_private.h: Remove.
13092 * sysdeps/mips/math_private.h: Move to ....
13093 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
13094 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
13095 [__mips_hard_float] conditional. Include next <fenv_private.h>.
13096 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
13097 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13098 * sysdeps/powerpc/fpu/math_private.h: Do not include
13100 * sysdeps/riscv/rvf/math_private.h: Move to ....
13101 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
13102 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
13104 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
13105 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
13106 * sysdeps/sparc/fpu/math_private.h: Remove.
13107 * sysdeps/i386/fpu/fenv_private.h: Move to ....
13108 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
13109 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
13111 * sysdeps/x86_64/fpu/math_private.h: Do not include
13112 <sysdeps/i386/fpu/fenv_private.h>.
13114 2018-08-28 Florian Weimer <fweimer@redhat.com>
13117 * posix/tst-regcomp-truncated.c: New file.
13118 * posix/Makefile (tests): Add it.
13119 (tst-regcomp-truncated.out): Depend on generated locales.
13121 2018-08-28 Florian Weimer <fweimer@redhat.com>
13123 * support/test-container.c (main): Treat unshare failure with
13124 EPERM as an unsupported test.
13126 2018-08-28 Florian Weimer <fweimer@redhat.com>
13129 nscd: Fix use-after-free in addgetnetgrentX and its callers.
13130 * nscd/netgroupcache.c
13131 (addgetnetgrentX): Add tofreep parameter. Do not free
13132 heap-allocated buffer.
13133 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
13134 (addgetnetgrentX_ignore): New function.
13135 (addgetnetgrent): Call it.
13136 (readdgetnetgrent): Likewise.
13138 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13140 * string/memmem.c: Use memcmp for first match.
13142 2018-08-28 Rafał Lużyński <digitalfreak@lingonborough.com>
13145 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
13147 2018-08-27 DJ Delorie <dj@redhat.com>
13149 * support/Makefile (others): Don't list programs explicitly as a
13150 dependency of "others".
13152 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13154 * sysdeps/generic/math-tests-trap-force.h: New file.
13155 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
13156 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
13157 * sysdeps/powerpc/math-tests.h: Remove file.
13158 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
13160 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
13161 Torvald Riegel <triegel@redhat.com>
13164 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
13165 Update r to include the set wake-request flag if waiters are
13166 remaining after spinning.
13168 2018-08-27 Joseph Myers <joseph@codesourcery.com>
13170 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
13172 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
13175 regex: fix uninitialized memory access
13176 I introduced this bug into gnulib in commit
13177 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
13178 eventually it was merged into glibc. The bug was found by
13179 project-repo <bugs@feusi.co> and reported here:
13180 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
13181 Diagnosis and draft fix reported by Assaf Gordon here:
13182 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
13183 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
13184 * posix/regex_internal.c (build_wcs_upper_buffer):
13185 Fix bug when mbrtowc returns 0.
13187 2018-08-24 Carlos O'Donell <carlos@redhat.com>
13189 * po/be.po: Update translation.
13191 2018-08-24 DJ Delorie <dj@delorie.com>
13193 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
13196 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13199 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
13200 create temporary files in source tree.
13202 2018-08-24 Joseph Myers <joseph@codesourcery.com>
13204 * sysdeps/generic/math-tests-trap.h: New file.
13205 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
13206 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
13207 * sysdeps/aarch64/math-tests.h: Remove file.
13208 * sysdeps/arm/math-tests.h: Likewise.
13209 * sysdeps/riscv/math-tests.h: Likewise.
13210 * sysdeps/aarch64/math-tests-trap.h: New file.
13211 * sysdeps/arm/math-tests-trap.h: Likewise.
13212 * sysdeps/riscv/math-tests-trap.h: Likewise.
13214 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
13216 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
13217 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
13218 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
13219 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
13220 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
13221 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
13225 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13226 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13228 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13229 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
13230 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
13231 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
13232 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13233 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13235 2018-08-23 Joseph Myers <joseph@codesourcery.com>
13237 * sysdeps/generic/math-tests-exceptions.h: New file.
13238 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
13239 (EXCEPTION_TESTS_float): Do not define here.
13240 (EXCEPTION_TESTS_double): Likewise.
13241 (EXCEPTION_TESTS_long_double): Likewise.
13242 (EXCEPTION_TESTS_float128): Likewise.
13243 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
13245 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
13246 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
13247 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
13248 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
13249 * sysdeps/mips/math-tests.h: Likewise.
13250 * sysdeps/nios2/math-tests.h: Likewise.
13251 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13252 (EXCEPTION_TESTS_float): Do not define here.
13253 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
13254 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
13255 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
13257 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13259 * NEWS: Move optimized sinf entry to 2.29.
13261 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
13263 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
13265 2018-08-22 DJ Delorie <dj@redhat.com>
13267 * Makefile (testroot.pristine): New rules to initialize the
13268 test-in-container "testroot".
13269 * Makerules (all-testsuite): Add tests-container.
13270 * Rules (tests-expected): Add tests-container.
13271 (binaries-all-tests): Likewise.
13272 (tests-container): New, run these tests in the testroot container.
13273 * support/Makefile (others): Add *-container, support_paths.c,
13274 xmkdirp, and links-dso-program.
13275 * support/links-dso-program-c.c: New.
13276 * support/links-dso-program.cc: New.
13277 * support/test-container.c: New.
13278 * support/shell-container.c: New.
13279 * support/echo-container.c: New.
13280 * support/true-container.c: New.
13281 * support/xmkdirp.c: New.
13282 * support/xsymlink.c: New.
13283 * support/support_paths.c: New.
13284 * support/support.h: Add support paths prototypes.
13285 * support/xunistd.h: Add xmkdirp () and xsymlink ().
13287 * nss/tst-nss-test3.c: Convert to test-in-container.
13288 * nss/tst-nss-test3.root/: New.
13290 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
13292 regex: port Gnulib code to z/OS POSIX environment
13293 Problem reported by Arnold Robbins in:
13294 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
13295 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
13298 2018-08-22 Joseph Myers <joseph@codesourcery.com>
13300 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
13301 (ROUNDING_TESTS_double): Remove.
13302 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
13303 (ROUNDING_TESTS_double): Remove.
13304 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
13305 (ROUNDING_TESTS_double): Remove.
13306 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
13307 (ROUNDING_TESTS_float): Remove.
13308 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
13309 (ROUNDING_TESTS_float): Remove.
13310 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
13311 (ROUNDING_TESTS_float): Remove.
13312 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
13313 !TEST_MATHVEC here.
13314 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13315 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13317 * sysdeps/generic/math-tests-rounding.h: New file.
13318 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
13319 (ROUNDING_TESTS_float): Do not define here.
13320 (ROUNDING_TESTS_double): Likewise.
13321 (ROUNDING_TESTS_long_double): Likewise.
13322 (ROUNDING_TESTS_float128): Likewise.
13323 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
13324 (ROUNDING_TESTS_double): Undefine before defining.
13325 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
13326 (ROUNDING_TESTS_double): Undefine before defining.
13327 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
13328 (ROUNDING_TESTS_double): Undefine before defining.
13329 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
13330 (ROUNDING_TESTS_float): Undefine before defining.
13331 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
13332 (ROUNDING_TESTS_float): Undefine before defining.
13333 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
13334 (ROUNDING_TESTS_float): Undefine before defining.
13335 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
13336 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
13338 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
13339 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
13340 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
13341 * sysdeps/riscv/math-tests.h [!__riscv_flen]
13342 (ROUNDING_TESTS_float): Do not define here.
13343 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
13344 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
13345 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
13346 (ROUNDING_TESTS_float): Likewise.
13347 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
13348 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
13349 * sysdeps/mips/math-tests.h [__mips_soft_float]
13350 (ROUNDING_TESTS_float): Likewise.
13351 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
13352 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
13353 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
13354 (ROUNDING_TESTS_double): Likewise.
13355 (ROUNDING_TESTS_long_double): Likewise.
13357 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
13359 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
13360 (PF_XDP): New macro.
13361 (AF_XDP): New macro.
13362 (SOL_XDP): New macro.
13364 2018-08-21 Joseph Myers <joseph@codesourcery.com>
13366 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
13367 (TCP_INQ): Likewise.
13368 (TCP_CM_INQ): Likewise.
13369 (TCP_REPAIR_ON): Likewise.
13370 (TCP_REPAIR_OFF): Likewise.
13371 (TCP_REPAIR_OFF_NO_WP): Likewise.
13372 (struct tcp_zerocopy_receive): New type.
13374 2018-08-21 Florian Weimer <fweimer@redhat.com>
13376 * support/support.h (support_descriptor_supports_holes): Declare.
13377 * support/Makefile (libsupport-routines): Add
13378 support_descriptor_supports_holes.
13379 * support/support_descriptor_supports_holes.c: New file.
13380 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
13381 and stop testing if holes are not supported.
13382 * io/test-lfs.c (do_prepare): Likewise.
13383 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
13385 * timezone/tst-tzset.c (create_tz_file): Likewise.
13386 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
13388 (do_prepare): Set it.
13389 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
13391 2018-08-21 Florian Weimer <fweimer@redhat.com>
13394 * Makeconfig (+cflags): Do not sort (and deduplicate).
13396 2018-08-21 Florian Weimer <fweimer@redhat.com>
13398 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
13399 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
13401 2018-08-20 Florian Weimer <fweimer@redhat.com>
13403 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
13404 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
13406 2018-08-20 Joseph Myers <joseph@codesourcery.com>
13408 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
13409 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
13410 and ssi_arch members.
13412 * elf/elf.c (NT_VMCOREDD): New macro.
13413 (AT_MINSIGSTKSZ): Likewise.
13415 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13418 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
13419 s_cosf-ppc64 and s_cosf-power8.
13420 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
13421 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13422 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13423 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
13425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
13426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
13427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
13428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13430 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
13431 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13433 2018-08-17 Florian Weimer <fweimer@redhat.com>
13435 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13437 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
13439 * malloc/malloc.c (_int_malloc): Additional binning code checks.
13441 2018-08-16 Florian Weimer <fweimer@redhat.com>
13443 * configure.ac: Add --with-nonshared-cflags option.
13444 * config.make.in (extra-nonshared-cflags): Set variable.
13445 * Makeconfig (CFLAGS-.oS): Use it.
13446 * manual/install.texi (Configuring and compiling): Document
13447 --with-nonshared-cflags.
13448 * configure: Regenerate.
13449 * INSTALL: Likewise.
13451 2018-08-16 Florian Weimer <fweimer@redhat.com>
13453 * Makeconfig (ASFLAGS): Always append required assembler flags.
13455 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
13457 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
13458 (malloc_consolidate): Likewise.
13460 2018-08-16 Pochang Chen <johnchen902@gmail.com>
13462 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
13464 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
13466 * benchtests/bench-strlen.c (do_test): Allocate buffers before
13469 * benchtests/bench-strlen.c: Print performance numbers in json.
13471 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13473 * sysdeps/powerpc/powerpc64/multiarch/Makefile
13474 (sysdep_routines): Build strcmp-power9 and strncmp-power9
13475 only for little endian.
13476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13477 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
13478 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
13479 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
13480 Add check for little endian.
13481 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13482 (__strcmp_power9): Add check for little endian.
13483 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
13484 Add check for little endian.
13485 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13486 (__strncmp_power9): Add check for little endian.
13487 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
13488 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
13489 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
13490 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
13491 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
13493 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
13495 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
13496 [!STRLEN](STRLEN): Set to __strlen.
13497 * sysdeps/aarch64/multiarch/strlen.c: New file.
13498 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
13499 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
13500 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
13501 (__libc_ifunc_impl_list): Add strlen.
13502 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
13503 strlen_generic and strlen_asimd.
13505 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13507 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
13508 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
13509 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13511 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
13513 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
13515 2018-08-14 Florian Weimer <fweimer@redhat.com>
13518 * include/stdio.h (__vfxprintf): Declare.
13519 * stdio-common/fxprintf.c (__vfxprintf): New function.
13520 (__fxprintf): Call it.
13521 * misc/err.c (convert_and_print): Remove function.
13522 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
13523 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
13524 * misc/Makefile (tests): Add tst-warn-wide.
13525 * misc/tst-warn-wide.c: New file.
13527 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
13528 Szabolcs Nagy <szabolcs.nagy@arm.com>
13530 * NEWS: Mention sinf, cosf, sincosf.
13531 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
13532 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
13533 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
13534 constants rather than including generic sincosf.h.
13535 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
13536 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
13537 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
13538 (reduced_cos): Remove.
13539 (sinf_poly): New function.
13540 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
13542 2018-08-14 Florian Weimer <fweimer@redhat.com>
13546 * nss/nss_files/files-alias.c (get_next_alias): During :include:
13547 processing, bail out if no room, and close the stream before
13549 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
13550 (tst-nss-files-alias-leak): Link with libdl.
13551 (tst-nss-files-alias-leak.out): Depend on nss_files.
13553 * nss/tst-nss-files-alias-leak.c: New file.
13555 2018-08-14 Florian Weimer <fweimer@redhat.com>
13557 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
13558 server_user, stat_user.
13560 2018-08-13 Joseph Myers <joseph@codesourcery.com>
13562 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13564 (io_pgetevents): New syscall.
13567 * manual/install.texi (Configuring and compiling): Do not list
13568 tools used for testing pretty printers here.
13569 (Tools for Compilation): List Python, PExpect and GDB here.
13570 Update descriptions of uses of Perl and Python.
13571 * INSTALL: Regenerate.
13573 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13576 2018-08-13 Florian Weimer <fweimer@redhat.com>
13578 * misc/error.c (error): Add missing va_end call.
13579 (error_at_line): Likewise.
13581 2018-08-13 Florian Weimer <fweimer@redhat.com>
13583 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
13585 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
13587 * benchtests/scripts/benchout.schema.json (properties): Add
13590 * benchtests/bench-skeleton.c (main): Add duration and
13591 iterations attributes.
13593 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
13595 regex: Gnulib unibyte RRI uses bytes not chars
13596 Adjust the non-glibc code to agree with what Gawk needs for
13597 rational range interpretation (RRI) for regular expression ranges.
13598 In unibyte locales, Gawk wants ranges to use the underlying byte
13599 rather than the character code point. This change does not affect
13601 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
13602 In unibyte locales, use the byte value rather than
13603 running it through btowc.
13605 2018-08-10 Joseph Myers <joseph@codesourcery.com>
13607 * sysdeps/generic/math-tests-snan.h: New file.
13608 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
13609 (SNAN_TESTS_float): Do not define here.
13610 (SNAN_TESTS_double): Likewise.
13611 (SNAN_TESTS_long_double): Likewise.
13612 (SNAN_TESTS_float128): Likewise.
13613 * sysdeps/i386/fpu/math-tests-snan.h: New file.
13614 * sysdeps/i386/fpu/math-tests.h: Remove file.
13615 * sysdeps/ia64/math-tests-snan.h: New file.
13616 * sysdeps/ia64/math-tests.h: Remove file.
13617 * sysdeps/x86/math-tests.h: Likewise.
13618 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
13620 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13621 Szabolcs Nagy <szabolcs.nagy@arm.com>
13623 * math/Makefile: Add s_sincosf_data.c.
13624 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
13625 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
13626 (sincosf_poly): Likewise.
13627 (reduce_small): Likewise.
13628 (reduce_large): Likewise.
13629 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
13630 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
13631 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
13632 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
13634 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
13635 Szabolcs Nagy <szabolcs.nagy@arm.com>
13637 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
13638 (converttoint): Use lround.
13639 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
13640 document the semantics when TOINT_INTRINSICS is set.
13641 (converttoint): Likewise.
13642 (TOINT_RINT): Remove.
13643 (TOINT_SHIFT): Remove.
13644 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
13647 2018-08-10 Florian Weimer <fweimer@redhat.com>
13650 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
13652 (__old_getdents64): Use getdents64. Convert entries without
13654 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
13655 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
13656 tst-readdir64-compat.
13658 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13660 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
13663 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13665 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
13666 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
13667 code to s390x-mcount.h and #include it.
13668 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
13669 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13672 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13674 * stdlib/Versions: Remove __fentry__.
13675 * sysdeps/i386/Versions: Add __fentry__.
13676 * sysdeps/x86_64/Versions: Add __fentry__.
13678 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13680 * sysdeps/s390/Makefile: Register the new tests.
13681 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
13682 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
13683 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
13684 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
13685 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
13686 * sysdeps/s390/tst-dl-runtime.c: New file.
13688 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13690 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13693 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13695 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13698 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13700 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13703 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13705 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13708 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13710 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13711 Use symbolic offsets for stack variables.
13713 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13715 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
13716 Use symbolic offsets for stack variables.
13718 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13720 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13721 Use symbolic offsets for stack variables.
13723 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
13725 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13726 Use symbolic offsets for stack variables.
13728 2018-08-09 Joseph Myers <joseph@codesourcery.com>
13730 * math/gen-libm-test.py: New file.
13731 * math/gen-libm-test.pl: Remove.
13732 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
13733 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
13735 ($(libm-test-c-noauto-obj)): Likewise.
13736 ($(libm-test-c-auto-obj)): Likewise.
13737 ($(libm-test-c-narrow-obj)): Likewise.
13738 (regen-ulps): Likewise.
13739 * math/README.libm-test: Update references to gen-libm-test.pl.
13740 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
13741 referencing gen-libm-test.pl.
13742 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
13743 * math/libm-test-support.c: Likewise.
13744 * math/libm-test-support.h: Likewise.
13745 * sysdeps/generic/libm-test-ulps: Likewise.
13747 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
13749 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
13752 2018-08-08 Joseph Myers <joseph@codesourcery.com>
13754 * math/libm-test-nextdown.inc (do_test): Move comment to ....
13755 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
13757 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13759 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
13761 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
13762 __pthread_setspecific): Add hidden proto.
13763 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
13764 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
13766 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
13768 * benchtests/bench-string.h (buf1_size, buf2_size): New
13770 (init_sizes): New function.
13771 (test_init): Use it.
13772 (alloc_buf, exit_error): New functions.
13773 (alloc_bufs): Use ALLOC_BUF.
13774 (realloc_bufs): Remove.
13775 * benchtests/bench-memcmp.c (do_test): Adjust.
13776 * benchtests/bench-memset-large.c (do_test): Likewise.
13777 * benchtests/bench-memset-walk.c (do_test): Likewise.
13778 * benchtests/bench-memset.c (do_test): Likewise.
13779 * benchtests/bench-strncmp.c (do_test): Likewise.
13781 2018-08-06 Andreas Schwab <schwab@suse.de>
13783 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
13784 of CONST_THREAD_AREA.
13786 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
13788 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
13789 (STATE_SAVE_MASK): Likewise.
13790 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
13791 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
13792 (STATE_SAVE_MASK): Likewise.
13793 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
13794 instead of <cpu-features.h>.
13796 2018-08-03 DJ Delorie <dj@redhat.com>
13798 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
13799 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
13801 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
13803 2018-08-03 Joseph Myers <joseph@codesourcery.com>
13805 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
13806 after TEST_* calls.
13807 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
13808 * math/libm-test-logb.inc (logb_test_data): Likewise.
13810 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
13812 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
13813 * string/strstr.c (AVAILABLE): Likewise.
13815 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13817 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
13819 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
13820 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
13821 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
13823 2018-08-03 Carlos O'Donell <carlos@redhat.com>
13825 * po/be.po: Update translation.
13827 * po/be.po: Update translation.
13829 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
13831 * sysdeps/x86/cpu-features-offsets.sym
13832 (rtld_global_ro_offsetof): Removed.
13833 (CPU_FEATURES_SIZE): Likewise.
13834 (CPUID_OFFSET): Likewise.
13835 (CPUID_SIZE): Likewise.
13836 (CPUID_EAX_OFFSET): Likewise.
13837 (CPUID_EBX_OFFSET): Likewise.
13838 (CPUID_ECX_OFFSET): Likewise.
13839 (CPUID_EDX_OFFSET): Likewise.
13840 (FAMILY_OFFSET): Likewise.
13841 (MODEL_OFFSET): Likewise.
13842 (FEATURE_OFFSET): Likewise.
13843 (FEATURE_SIZ): Likewise.
13844 (COMMON_CPUID_INDEX_1): Likewise.
13845 (COMMON_CPUID_INDEX_7): Likewise.
13846 (FEATURE_INDEX_1): Likewise.
13847 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
13849 2018-08-02 Carlos O'Donell <carlos@redhat.com>
13851 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
13852 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
13853 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
13854 (install-locales): Depend on install-locale-archive.
13855 (install-locale-archive): Define.
13856 (install-locale-files): Define.
13857 (build-one-locale): Define macro.
13858 * manual/install.texi (Running make install): Document.
13859 * manual/INSTALL: Regenerate.
13861 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13863 * benchtests/scripts/compare_strings.py: Import traceback.
13864 (parse_file): Pretty-print error.
13866 * NEWS: Mention the change.
13867 * elf/dl-tunables.list: Rename tune namespace to cpu.
13868 * sysdeps/powerpc/dl-tunables.list: Likewise.
13869 * sysdeps/x86/dl-tunables.list: Likewise.
13870 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
13872 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
13873 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
13874 * manual/README.tunables: Likewise.
13875 * manual/tunables.texi: Likewise.
13876 * sysdeps/powerpc/cpu-features.c: Likewise.
13877 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
13878 (init_cpu_features): Likewise.
13879 * sysdeps/x86/cpu-features.c: Likewise.
13880 * sysdeps/x86/cpu-features.h: Likewise.
13881 * sysdeps/x86/cpu-tunables.c: Likewise.
13882 * sysdeps/x86_64/Makefile: Likewise.
13883 * sysdeps/x86/dl-cet.c: Likewise.
13885 2018-08-02 Joseph Myers <joseph@codesourcery.com>
13888 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
13889 [__mips_hard_float].
13890 (FE_UNDERFLOW): Likewise.
13891 (FE_OVERFLOW): Likewise.
13892 (FE_DIVBYZERO): Likewise.
13893 (FE_INVALID): Likewise.
13894 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
13895 (FE_TOWARDZERO): Define only if [__mips_hard_float].
13896 (FE_UPWARD): Likewise.
13897 (FE_DOWNWARD): Likewise.
13898 (__FE_UNDEFINED): Define if [!__mips_hard_float]
13899 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
13900 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
13901 [__mips_hard_float].
13902 (FP_ROUNDMODE): Likewise.
13903 (FP_RND_NEAREST): Likewise.
13904 (FP_RND_ZERO): Likewise.
13905 (FP_RND_PINF): Likewise.
13906 (FP_RND_MINF): Likewise.
13907 (FP_EX_INVALID): Likewise.
13908 (FP_EX_OVERFLOW): Likewise.
13909 (FP_EX_UNDERFLOW): Likewise.
13910 (FP_EX_DIVZERO): Likewise.
13911 (FP_EX_INEXACT): Likewise.
13912 (FP_INIT_ROUNDMODE): Likewise.
13913 * sysdeps/mips/nofpu/fesetenv.c: New file.
13914 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
13916 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13918 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
13919 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
13920 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
13921 conditional on [FE_UPWARD].
13923 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
13925 regex: fix memory leak in Gnulib
13926 Problem and fix reported by Assaf Gordon in:
13927 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
13928 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
13929 range_ends members too, as they are defined in 'struct
13930 re_charset_t' even if not _LIBC. This affects only Gnulib.
13932 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
13934 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
13936 (get_common_indices): This.
13937 (init_cpu_features): Updated.
13939 2018-08-01 Joseph Myers <joseph@codesourcery.com>
13941 * sysdeps/generic/math-tests-snan-payload.h: New file.
13942 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
13943 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
13944 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
13945 * sysdeps/generic/math-tests.h: Include
13946 <math-tests-snan-payload.h>.
13947 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13948 * sysdeps/hppa/math-tests.h: Remove file.
13949 * sysdeps/mips/math-tests.h [!__mips_nan2008]
13950 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
13951 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
13954 * sysdeps/generic/math-tests-snan-cast.h: New file.
13955 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
13956 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
13957 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
13958 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
13960 2018-08-01 Carlos O'Donell <carlos@redhat.com>
13962 * version.h (RELEASE): Set to "development".
13963 (VERSION): Set to "2.28.9000".
13964 * NEWS (2.29): New section.
13966 * version.h (RELEASE): Set to "stable".
13967 (VERSION): Set to "2.28".
13968 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
13969 * NEWS: Add the list of bugs fixed in 2.28.
13971 * po/ca.po: Update to latest version.
13972 * po/cs.po: Likewise
13973 * po/da.po: Likewise
13974 * po/el.po: Likewise
13975 * po/eo.po: Likewise
13976 * po/es.po: Likewise
13977 * po/fi.po: Likewise
13978 * po/fr.po: Likewise
13979 * po/gl.po: Likewise
13980 * po/hu.po: Likewise
13981 * po/ia.po: Likewise
13982 * po/id.po: Likewise
13983 * po/it.po: Likewise
13984 * po/ja.po: Likewise
13985 * po/ko.po: Likewise
13986 * po/lt.po: Likewise
13987 * po/nb.po: Likewise
13988 * po/nl.po: Likewise
13989 * po/pt_BR.po: Likewise
13990 * po/ru.po: Likewise
13991 * po/rw.po: Likewise
13992 * po/sk.po: Likewise
13993 * po/sl.po: Likewise
13994 * po/tr.po: Likewise
13995 * po/zh_CN.po: Likewise
13996 * po/zh_TW.po: Likewise
13998 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14000 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
14002 (init): ... before initializing libpthread.
14004 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
14005 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
14006 (__mach_setup_tls): ... new function.
14007 (mach_setup_tls): New alias.
14008 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
14009 __mach_setup_thread.
14010 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
14011 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
14012 * mach/Versions [libc] (mach_setup_tls): Add symbol.
14013 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
14015 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14017 * manual/install.texi: Update versions.
14018 * INSTALL: Regenerate.
14020 * manual/contrib.texi (Contributors): Update contributions.
14022 2018-07-31 Carlos O'Donell <carlos@redhat.com>
14024 * po/be.po: Update translations.
14026 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14028 * sysdeps/sh/libm-test-ulps: Update.
14030 2018-07-30 Carlos O'Donell <carlos@redhat.com>
14032 * po/bg.po: Update translations.
14033 * po/de.po: Likewise.
14034 * po/hr.po: Likewise.
14035 * po/pt_BR.po: Likewise.
14036 * po/sv.po: Likewise.
14037 * po/vi.po: Likewise.
14039 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14042 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14043 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
14044 (CFLAGS-tst-cet-property-1.o): New.
14045 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
14046 ($(objpfx)tst-cet-property-2): Likewise.
14047 ($(objpfx)tst-cet-property-2.out): Likewise.
14048 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
14049 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
14050 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
14051 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
14052 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
14054 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
14057 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
14059 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14061 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
14062 __sbrk): Do not set attribute_hidden.
14063 * sysdeps/mach/hurd/not-errno.h: New file.
14064 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14065 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
14067 2018-07-27 Carlos O'Donell <carlos@redhat.com>
14069 * po/uk.po: Update translations.
14070 * po/cs.po: Likewise.
14071 * po/pl.po: Likewise.
14073 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
14075 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
14076 parse beyond the note end.
14078 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14080 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
14081 kernel does not support OFD locks.
14082 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
14084 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14086 * sysdeps/mach/hurd/Versions (libc): Make __access and
14087 __access_noerrno external so they can override the ld symbols.
14088 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
14089 __writev, __open64, __access_noerrno extern so they can be overrided.
14090 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
14091 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
14093 2018-07-26 Carlos O'Donell <carlos@redhat.com>
14095 * po/libc.pot: Regenerate.
14097 2018-07-26 Joseph Myers <joseph@codesourcery.com>
14099 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14101 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14104 * sysdeps/x86/cpu-features.c (get_extended_indices): New
14106 (init_cpu_features): Call get_extended_indices for both Intel
14108 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
14109 Remove "for AMD" comment.
14111 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
14114 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
14115 COMMON_CPUID_INDEX_80000001.
14117 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
14119 * string/tst-xbzero-opt.c (use_test_buffer): New function.
14120 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
14122 2018-07-26 Florian Weimer <fweimer@redhat.com>
14124 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
14125 aliases for symbols not in the implementation namespace.
14127 2018-07-25 Carlos O'Donell <carlos@redhat.com>
14130 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
14131 lowercase in LATIN script.
14132 * localedata/Makefile (test-input): Add en_US.UTF-8.
14133 * localedata/en_US.UTF-8.in: New file.
14134 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
14135 and restore old tests.
14136 * posix/tst-regexloc.c (do_test): Add back range expression test.
14138 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14140 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
14142 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14144 * nptl/threads.h: Move to ...
14145 * sysdeps/nptl/threads.h: ... here.
14146 * sysdeps/hurd/stdc-predef.h: New file.
14148 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14150 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
14151 tst-cet-setcontext-1 if CET is enabled.
14152 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
14153 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
14155 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14157 * include/threads.h: Move to ...
14158 * sysdeps/nptl/threads.h: ... here.
14159 * sysdeps/htl/threads.h: New file.
14160 * conform/Makefile (linknamespace-libs-ISO11): Use
14161 static-thread-library instead of linking libpthread.
14162 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
14164 2018-07-25 Florian Weimer <fweimer@redhat.com>
14166 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
14167 nanoseconds into seconds.
14168 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
14169 (do_test): Likewise.
14170 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
14171 (do_test): Likewise. Avoid nanosecond overflow and spurious
14172 timeouts due to system load.
14173 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
14174 (child_wait): Increment it.
14175 (do_test): Wait as long as necessary until all expected threads
14178 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
14179 H.J. Lu <hongjiu.lu@intel.com>
14181 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
14183 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
14184 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
14185 (__push___start_context): New.
14186 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
14188 (__getcontext): Record the current shadow stack base. Save the
14189 caller's shadow stack pointer and base.
14190 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
14191 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
14192 (__push___start_context): New prototype.
14193 (__makecontext): Call __push___start_context to allocate a new
14194 shadow stack, push __start_context onto the new stack as well
14195 as the new shadow stack.
14196 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
14198 (__setcontext): Restore the target shadow stack.
14199 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
14201 (__swapcontext): Record the current shadow stack base. Save
14202 the caller's shadow stack pointer and base. Restore the target
14204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14205 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
14206 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
14208 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14210 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
14211 tst-setcontext8 and tst-setcontext9.
14212 * stdlib/tst-setcontext6.c: New file.
14213 * stdlib/tst-setcontext7.c: Likewise.
14214 * stdlib/tst-setcontext8.c: Likewise.
14215 * stdlib/tst-setcontext9.c: Likewise.
14217 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14219 * stdlib/Makefile ((tests): Add tst-setcontext5.
14220 * stdlib/tst-setcontext5.c: New file.
14222 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14224 * stdlib/Makefile (tests): Add tst-setcontext4.
14225 * stdlib/tst-setcontext4.c: New file.
14227 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14229 * stdlib/Makefile (tests): Add tst-swapcontext1.
14230 * stdlib/tst-swapcontext1.c: New test.
14232 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14234 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
14235 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
14236 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
14237 and tst-cet-legacy-4c.
14238 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
14239 and tst-cet-legacy-mod-4.
14240 (CFLAGS-tst-cet-legacy-2.c): New.
14241 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
14242 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
14243 (CFLAGS-tst-cet-legacy-3.c): Likewise.
14244 (CFLAGS-tst-cet-legacy-4.c): Likewise.
14245 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
14246 ($(objpfx)tst-cet-legacy-1): Likewise.
14247 ($(objpfx)tst-cet-legacy-2): Likewise.
14248 ($(objpfx)tst-cet-legacy-2.out): Likewise.
14249 ($(objpfx)tst-cet-legacy-2a): Likewise.
14250 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
14251 ($(objpfx)tst-cet-legacy-4): Likewise.
14252 ($(objpfx)tst-cet-legacy-4.out): Likewise.
14253 ($(objpfx)tst-cet-legacy-4a): Likewise.
14254 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
14255 (tst-cet-legacy-4a-ENV): Likewise.
14256 ($(objpfx)tst-cet-legacy-4b): Likewise.
14257 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
14258 (tst-cet-legacy-4b-ENV): Likewise.
14259 ($(objpfx)tst-cet-legacy-4c): Likewise.
14260 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
14261 (tst-cet-legacy-4c-ENV): Likewise.
14262 * sysdeps/x86/tst-cet-legacy-1.c: New file.
14263 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
14264 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
14265 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
14266 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
14267 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
14268 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
14269 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
14270 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
14271 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
14272 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
14274 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
14276 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14277 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14279 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
14280 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
14283 2018-07-25 Andreas Schwab <schwab@suse.de>
14286 * locale/weightwc.h (findidx): Handle the case where usrc is a
14287 prefix of cp but one character too short.
14289 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14291 * NEWS: Add ISO C threads addition.
14293 2018-07-24 Florian Weimer <fweimer@redhat.com>
14295 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14296 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
14297 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
14300 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14302 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
14303 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
14304 <sys/prctl.h> and <asm/prctl.h>.
14305 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
14306 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
14308 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
14309 ARCH_CET_LEGACY_BITMAP.
14310 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
14311 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
14312 * sysdeps/x86/libc-start.c: Include <startup.h>.
14314 2018-07-24 Florian Weimer <fweimer@redhat.com>
14316 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
14317 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
14319 2018-07-24 Rical Jasan <rj@2c3t.io>
14320 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14321 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14324 * manual/debug.texi: Update adjacent chapter name.
14325 * manual/probes.texi: Likewise.
14326 * manual/threads.texi (ISO C Threads): New section.
14327 (POSIX Threads): Convert to a section.
14329 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14330 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
14333 * nptl/Makefile (tests): Add new test files.
14334 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
14335 * nptl/tst-cnd-basic.c: Likewise.
14336 * nptl/tst-cnd-broadcast.c: Likewise.
14337 * nptl/tst-cnd-timedwait.c: Likewise.
14338 * nptl/tst-mtx-basic.c: Likewise.
14339 * nptl/tst-mtx-recursive.c: Likewise.
14340 * nptl/tst-mtx-timedlock.c: Likewise.
14341 * nptl/tst-mtx-trylock.c: Likewise.
14342 * nptl/tst-thrd-basic.c: Likewise.
14343 * nptl/tst-thrd-detach.c: Likewise.
14344 * nptl/tst-thrd-sleep.c: Likewise.
14345 * nptl/tst-tss-basic.c: Likewise.
14347 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14350 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
14351 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
14353 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14354 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14361 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14362 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14363 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14364 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14377 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14378 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14379 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14380 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
14381 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
14382 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
14383 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
14384 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
14386 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14387 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14388 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14389 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14390 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14391 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14392 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14393 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14394 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14395 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14396 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14397 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14404 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14414 * conform/data/threads.h-data (thread_local): New macro.
14415 (TSS_DTOR_ITERATIONS): Likewise.
14417 (tss_dtor_t): Likewise.
14418 (tss_create): New function.
14419 (tss_get): Likewise.
14420 (tss_set): Likewise.
14421 (tss_delete): Likewise.
14422 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
14423 tss_get, and tss_set objects.
14424 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14425 * nptl/tss_create.c: New file.
14426 * nptl/tss_delete.c: Likewise.
14427 * nptl/tss_get.c: Likewise.
14428 * nptl/tss_set.c: Likewise.
14429 * sysdeps/nptl/threads.h (thread_local): New define.
14430 (TSS_DTOR_ITERATIONS): Likewise.
14431 (tss_t): New typedef.
14432 (tss_dtor_t): Likewise.
14433 (tss_create): New prototype.
14434 (tss_get): Likewise.
14435 (tss_set): Likewise.
14436 (tss_delete): Likewise.
14439 * conform/data/threads.h-data (cnd_t): New type.
14440 (cnd_init): New function.
14441 (cnd_signal): Likewise.
14442 (cnd_broadcast): Likewise.
14443 (cnd_wait): Likewise.
14444 (cnd_timedwait): Likewise.
14445 (cnd_destroy): Likewise.
14446 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
14447 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
14449 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
14450 * nptl/cnd_broadcast.c: New file.
14451 * nptl/cnd_destroy.c: Likewise.
14452 * nptl/cnd_init.c: Likewise.
14453 * nptl/cnd_signal.c: Likewise.
14454 * nptl/cnd_timedwait.c: Likewise.
14455 * nptl/cnd_wait.c: Likewise.
14456 * sysdeps/nptl/threads.h (cnd_t): New type.
14457 (cnd_init): New prototype.
14458 (cnd_signa): Likewise.
14459 (cnd_broadcast): Likewise.
14460 (cnd_wait): Likewise.
14461 (cnd_timedwait): Likewise.
14462 (cnd_destroy): Likewise.
14465 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
14466 (once_flag): New type.
14467 (call_once): New function.
14468 * nptl/Makefile (libpthread-routines): Add call_once object.
14469 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
14470 * nptl/call_once.c: New file.
14471 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
14472 (once_flag): New type.
14473 (call_once): New prototype.
14476 * conform/data/threads.h-data (mtx_plain): New constant.
14477 (mtx_recursive): Likewise.
14478 (mtx_timed): Likewise.
14480 (mtx_init): New function.
14481 (mtx_lock): Likewise.
14482 (mtx_timedlock): Likewise.
14483 (mtx_trylock): Likewise.
14484 (mtx_unlock): Likewise.
14485 (mtx_destroy): Likewise.
14486 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
14487 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
14488 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
14489 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
14490 * nptl/mtx_destroy.c: New file.
14491 * nptl/mtx_init.c: Likewise.
14492 * nptl/mtx_lock.c: Likewise.
14493 * nptl/mtx_timedlock.c: Likewise.
14494 * nptl/mtx_trylock.c: Likewise.
14495 * nptl/mtx_unlock.c: Likewise.
14496 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
14497 (mtx_recursive): Likewise.
14498 (mtx_timed): Likewise.
14500 (mtx_init): New prototype.
14501 (mtx_lock): Likewise.
14502 (mtx_timedlock): Likewise.
14503 (mtx_trylock): Likewise.
14504 (mtx_unlock): Likewise.
14505 (mtx_destroy): Likewise.
14508 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
14509 (linknamespace-libs-ISO11): Add libpthread.a.
14510 * conform/data/threads.h-data: New file: add C11 thrd_* types and
14512 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
14513 * nptl/Makefile (headers): Add threads.h.
14514 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
14515 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
14517 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
14518 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
14519 thrd_join, thrd_sleep, and thrd_yield symbols.
14520 * nptl/descr.h (struct pthread): Add c11 field.
14521 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
14522 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
14523 routine with expected function prototype.
14524 (__pthread_create_2_1): Add C11 threads check based on attribute
14526 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
14527 * nptl/thrd_create.c: New file.
14528 * nptl/thrd_current.c: Likewise.
14529 * nptl/thrd_detach.c: Likewise.
14530 * nptl/thrd_equal.c: Likewise.
14531 * nptl/thrd_exit.c: Likewise.
14532 * nptl/thrd_join.c: Likewise.
14533 * nptl/thrd_priv.h: Likewise.
14534 * nptl/thrd_sleep.c: Likewise.
14535 * nptl/thrd_yield.c: Likewise.
14536 * include/threads.h: Likewise.
14538 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14540 * bits/indirect-return.h: New file.
14541 * misc/sys/cdefs.h (__glibc_has_attribute): New.
14542 * sysdeps/x86/bits/indirect-return.h: Likewise.
14543 * stdlib/Makefile (headers): Add bits/indirect-return.h.
14544 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
14545 (swapcontext): Add __INDIRECT_RETURN.
14546 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
14547 (prepare_test_buffer): Use it.
14549 2018-07-24 Andreas Schwab <schwab@suse.de>
14552 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
14553 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
14555 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14557 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
14558 Redefine if shadow stack is enabled.
14559 (SYSCALL_ERROR_LABEL): Likewise.
14560 (__vfork): Pop shadow stack and jump back to to caller directly
14561 when shadow stack is in use.
14562 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
14563 Redefine if shadow stack is enabled.
14564 (SYSCALL_ERROR_LABEL): Likewise.
14565 (__vfork): Pop shadow stack and jump back to to caller directly
14566 when shadow stack is in use.
14568 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
14570 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
14573 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
14576 2018-07-20 Joseph Myers <joseph@codesourcery.com>
14578 * scripts/build-many-glibcs.py (Context.checkout): Default
14579 binutils version to 2.31 branch.
14581 2018-07-20 Zong Li <zong@andestech.com>
14583 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
14584 URL of gcc's tarball.
14586 2018-07-20 Florian Weimer <fweimer@redhat.com>
14589 * posix/regcomp.c (build_equiv_class): When comparing weights, do
14590 not compare an extra byte after the end of the weights.
14592 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
14594 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
14596 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
14598 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
14599 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
14600 * scripts/check-execstack.awk: Consider `xfail' variable containing a
14601 list of libraries whose stack executability is expected.
14602 * elf/Makefile ($(objpfx)check-execstack.out): Pass
14603 $(check-execstack-xfail) to check-execstack.awk through `xfail'
14605 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
14606 libc.so libpthread.so.
14608 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
14610 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
14612 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
14614 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
14616 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
14618 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14620 * benchtests/scripts/compare_bench.py (__main__): use the argparse
14621 library to improve command line parsing.
14622 (__main__): make schema file as optional parameter (--schema),
14623 defaulting to benchtests/scripts/benchout.schema.json.
14624 (main): move out of the parsing stuff to __main_ and leave it
14625 only as caller of main comparison functions.
14627 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
14629 * NEWS: Add a note for Intel CET status.
14630 * manual/install.texi: Likewise.
14631 * INSTALL: Regenerated.
14633 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
14636 * localedata/locales/oc_FR (mon): Rename to...
14637 (alt_mon): This, then update October (typo fix).
14638 (mon): New content (genitive case, month names preceded by
14642 * localedata/locales/oc_FR (abday): Update all items.
14643 (day): Update Wednesday and Saturday (typo fixes).
14644 (abmon): Update all items, except May.
14645 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
14646 (LC_IDENTIFICATION): Bump the revision number and date.
14647 Keep the "category" entries in alphabetic order.
14648 (LC_ADDRESS): Remove no longer needed comment.
14649 (LC_COLLATE): Use “copy "ca_ES"”.
14650 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
14653 2018-07-18 Joseph Myers <joseph@codesourcery.com>
14655 * grp/tst_fgetgrent.c: Include <unistd.h>.
14656 (main): Use mkstemp instead of tmpnam.
14657 * io/test-utime.c (main): Likewise.
14658 * posix/annexc.c (macrofile): Change to modifiable array.
14659 (main): Remove macrofile here.
14660 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14662 (check_header): Do not remove macrofile here.
14663 * posix/bug-getopt1.c: Include <stdlib.h>.
14664 (do_test): Use mkstemp instead of tmpnam.
14665 * posix/bug-getopt2.c: Include <stdlib.h>.
14666 (do_test): Use mkstemp instead of tmpnam.
14667 * posix/bug-getopt3.c: Include <stdlib.h>.
14668 (do_test): Use mkstemp instead of tmpnam.
14669 * posix/bug-getopt4.c: Include <stdlib.h>.
14670 (do_test): Use mkstemp instead of tmpnam.
14671 * posix/bug-getopt5.c: Include <stdlib.h>.
14672 (do_test): Use mkstemp instead of tmpnam.
14673 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
14674 (main): Use mkstemp instead of tmpnam.
14675 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
14676 (main): Use mkstemp instead of tmpnam.
14677 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
14678 (main): use mkstemp instead of tmpnam.
14679 * stdlib/isomac.c (macrofile): Change to modifiable array.
14680 (main): Remove macrofile here.
14681 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
14683 (check_header): Do not remove macrofile here.
14685 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14687 * manual/tunables.texi: Document glibc.tune.x86_ibt and
14688 glibc.tune.x86_shstk.
14690 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14692 * NEWS: Mention --enable-cet.
14693 * manual/install.texi: Document --enable-cet.
14694 * INSTALL: Regenerated.
14696 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14698 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
14699 Add _CET_NOTRACK before indirect jump to jump table.
14701 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14703 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
14704 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14707 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14709 * sysdeps/i386/i686/multiarch/strcat-sse2.S
14710 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14713 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14715 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
14716 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14719 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14721 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
14722 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14725 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14727 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
14728 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14730 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
14732 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14734 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
14735 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14738 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14740 * sysdeps/i386/i686/multiarch/memset-sse2.S
14741 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14744 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14746 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
14747 indirect jump to jump table.
14749 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14751 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
14752 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14754 (MEMCPY): Likewise.
14756 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14758 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
14759 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14761 (MEMCPY): Likewise.
14763 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14765 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14766 _CET_NOTRACK before indirect jump to jump table.
14768 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
14771 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
14774 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
14776 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
14777 indirect jump to jump table.
14779 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
14782 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
14783 (LOCALES): Likewise.
14784 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
14785 * localedata/locales/sah_RU: New file.
14786 * localedata/sah_RU.UTF-8.in: New file.
14788 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14790 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
14792 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14793 _CET_ENDBR to indirect jump targets and adjust jump destination
14795 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
14797 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
14798 _CET_ENDBR to indirect jump targets and adjust jump destination
14800 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
14802 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
14803 _CET_ENDBR to indirect jump targets and adjust jump destination
14806 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14808 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
14811 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14813 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
14815 (_dl_tlsdesc_undefweak): Likewise.
14816 (_dl_tlsdesc_dynamic): Likewise.
14817 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
14818 (_dl_tlsdesc_resolve_rel): Likewise.
14819 (_dl_tlsdesc_resolve_rela): Likewise.
14820 (_dl_tlsdesc_resolve_hold): Likewise.
14821 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
14822 (_dl_tlsdesc_undefweak): Likewise.
14823 (_dl_tlsdesc_dynamic): Likewise.
14824 (_dl_tlsdesc_resolve_rela): Likewise.
14825 (_dl_tlsdesc_resolve_hold): Likewise.
14827 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14829 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
14831 * sysdeps/x86_64/crti.S (_init): Likewise.
14834 2018-07-17 Rafał Lużyński <digitalfreak@lingonborough.com>
14837 * localedata/locales/os_RU (mon): Rename to...
14839 (mon): Import from CLDR (genitive case).
14841 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
14843 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
14844 cet-tunables.h> when CET is enabled.
14846 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
14849 * configure.ac: Add --enable-cet.
14850 * configure: Regenerated.
14851 * elf/Makefille (all-built-dso): Add a comment.
14852 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
14853 Include <dl-prop.h>.
14854 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
14856 * elf/dl-open.c: Include <dl-prop.h>.
14857 (dl_open_worker): Call _dl_open_check.
14858 * elf/rtld.c: Include <dl-prop.h>.
14859 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
14861 * sysdeps/generic/dl-prop.h: New file.
14862 * sysdeps/i386/dl-cet.c: Likewise.
14863 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
14864 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
14865 * sysdeps/x86/cet-tunables.h: Likewise.
14866 * sysdeps/x86/check-cet.awk: Likewise.
14867 * sysdeps/x86/configure: Likewise.
14868 * sysdeps/x86/configure.ac: Likewise.
14869 * sysdeps/x86/dl-cet.c: Likewise.
14870 * sysdeps/x86/dl-procruntime.c: Likewise.
14871 * sysdeps/x86/dl-prop.h: Likewise.
14872 * sysdeps/x86/libc-start.h: Likewise.
14873 * sysdeps/x86/link_map.h: Likewise.
14874 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
14876 (_dl_runtime_profile): Likewise.
14877 (_dl_runtime_resolve_shstk): New.
14878 (_dl_runtime_profile_shstk): Likewise.
14879 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
14881 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
14882 (CFLAGS-.os): Likewise.
14883 (CFLAGS-.op): Likewise.
14884 (CFLAGS-.oS): Likewise.
14885 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
14887 (tests-special): Add $(objpfx)check-cet.out.
14888 (cet-built-dso): New.
14889 (+$(cet-built-dso:=.note)): Likewise.
14890 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
14891 ($(objpfx)check-cet.out): New.
14892 (generated): Add check-cet.out.
14893 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
14895 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
14896 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14897 (init_cpu_features): Call get_cet_status to check CET status
14898 and update dl_x86_feature_1 with CET status. Call
14899 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
14900 (set_x86_shstk). Disable and lock CET in libc.a.
14901 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
14902 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
14903 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
14904 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
14905 (_CET_ENDBR): Define if not defined.
14906 (ENTRY): Add _CET_ENDBR.
14907 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
14909 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
14911 (_dl_runtime_profile): Likewise.
14913 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
14916 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
14917 restore r2 on longjmp.
14918 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
14920 Added rules to build test tst-setjmp-bug21895-static.
14921 Added module setjmp-bug21895 and rules to build a shared object from it.
14922 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
14923 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
14925 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
14927 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
14928 * benchtests/bench-strstr.c: Likewise.
14929 * string/memmem.c (FASTSEARCH): Define.
14930 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
14931 Add support for FASTSEARCH.
14932 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
14933 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
14934 (FASTSEARCH): Define.
14935 * string/test-strcasestr.c: Rename __strnlen to strnlen.
14936 * string/test-strstr.c: Likewise.
14938 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
14940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
14941 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
14943 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
14944 H.J. Lu <hongjiu.lu@intel.com>
14946 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
14947 (__longjmp): Restore shadow stack pointer if shadow stack is
14948 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14949 isn't defined for __longjmp_cancel.
14950 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
14951 (_setjmp): Save shadow stack pointer if shadow stack is enabled
14952 and SHADOW_STACK_POINTER_OFFSET is defined.
14953 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
14954 (setjmp): Save shadow stack pointer if shadow stack is enabled
14955 and SHADOW_STACK_POINTER_OFFSET is defined.
14956 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
14957 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14958 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14959 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
14961 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14962 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14963 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
14964 Remove jmp_buf-ssp.sym.
14965 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14967 (____longjmp_chk): Restore shadow stack pointer if shadow stack
14968 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14969 * sysdeps/x86/Makefile (gen-as-const-headers): Add
14971 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
14972 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
14973 (__longjmp): Restore shadow stack pointer if shadow stack is
14974 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
14975 isn't defined for __longjmp_cancel.
14976 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
14977 (__sigsetjmp): Save shadow stack pointer if shadow stack is
14978 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
14980 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
14983 * nptl/pthread_create.c: Include <tls-setup.h>.
14984 (__pthread_create_2_1): Call tls_setup_tcbhead.
14985 * sysdeps/generic/tls-setup.h: New file.
14986 * sysdeps/x86/nptl/tls-setup.h: Likewise.
14987 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14988 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
14990 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
14992 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14993 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
14994 (X86_FEATURE_1_SHSTK): Likewise.
14995 (CET_ENABLED): Likewise.
14996 (IBT_ENABLED): Likewise.
14997 (SHSTK_ENABLED): Likewise.
14999 2018-07-13 Rafał Lużyński <digitalfreak@lingonborough.com>
15002 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
15003 (LOCALES): Likewise.
15004 * localedata/dsb_DE.UTF-8.in: New file.
15005 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
15007 2018-07-12 Florian Weimer <fweimer@redhat.com>
15009 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
15010 __mprotect, not mprotect.
15012 2018-07-11 Florian Weimer <fweimer@redhat.com>
15014 * io/Makefile (headers): Add bits/statx.h.
15016 2018-07-10 Mike FABIAN <mfabian@redhat.com>
15018 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
15019 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
15021 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
15022 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
15025 2018-07-10 Florian Weimer <fweimer@redhat.com>
15027 * io/Makefile (routines): Add statx.
15028 (tests-internal): Add tst-statx.
15029 * io/Versions (GLIBC_2.28): Export statx.
15030 * io/bits/statx.h: New file.
15031 * io/sys/stat.h [__USE_GNU]: Include it.
15032 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
15033 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
15035 * io/statx.c: New file.
15036 * io/statx_generic.: Likewise.
15037 * io/tst-statx.: Likewise.
15038 * include/bits/statx.h: Likewise.
15039 * sysdeps/unix/sysv/linux/kernel-features.h
15040 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
15041 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15042 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
15043 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
15045 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15046 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
15047 * sysdeps/unix/sysv/linux/statx.c: New file.
15048 * manual/filesys.texi: Note that statx is undocumented.
15049 * sysdeps/**/libc*.abilist: Update.
15051 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15053 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
15054 a kernel issue which lead to test failure in some cases.
15056 2018-07-10 Florian Weimer <fweimer@redhat.com>
15059 * posix/regexec.c (check_node_accept_bytes): When comparing
15060 weights, do not compare an extra byte after the end of the
15063 2018-07-10 Florian Weimer <fweimer@redhat.com>
15065 * libio/readline.c: Fix copyright year.
15066 * libio/tst-readline.c Likewise.
15067 * nss/tst-nss-files-hosts-getent.c: Likewise.
15069 2018-07-06 Florian Weimer <fweimer@redhat.com>
15072 * nss/nss_files/files-XXX.c (internal_getent): Use
15073 __libc_readline_unlocked. Seek back to the start of the line if
15074 parsing failes with ERANGE.
15075 (get_contents_ret, get_contents): Remove.
15076 * nss/tst-nss-files-hosts-getent.c: New file.
15077 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
15078 (tst-nss-files-hosts-getent): Link with -ldl.
15080 2018-07-06 Florian Weimer <fweimer@redhat.com>
15082 * include/stdio.h (__libc_readline_unlocked): Declare.
15083 (__ftello64, __fseeko64): Declare aliases.
15084 * libio/readline.c: New file.
15085 * libio/tst-readline.c: Likewise.
15086 (routines): Add readline.
15087 (tests-internal): Add tst-readlime.
15088 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
15089 __libc_readline_unlocked.
15090 * libio/fseeko.c (__fseeko): Rename from fseeko.
15091 (fseeko): Add alias.
15092 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
15093 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
15094 (fseeko64): Add alias.
15095 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
15096 * libio/ftello64.c (__ftello64): Rename from ftello64.
15097 (ftello64): Add alias.
15099 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15101 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
15104 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
15106 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
15107 Use dl_hwcap without masking.
15108 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
15109 Remove HWCAP_CPUID.
15111 2018-07-06 Florian Weimer <fweimer@redhat.com>
15113 * conform/conformtest.pl (checknamespace): Escape literal braces
15114 in regular expressions.
15116 2018-07-06 Amit Pawar <amit.pawar@amd.com>
15118 * sysdeps/x86/cpu-features.c (get_common_indeces):
15119 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
15120 * sysdeps/x86/cpu-features.c (init_cpu_features):
15121 AVX_Fast_Unaligned_Load is disabled for Excavator core.
15123 2018-07-05 Florian Weimer <fweimer@redhat.com>
15125 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
15127 (CFLAGS-elf-init.oS): Likewise.
15129 2018-07-05 Florian Weimer <fweimer@redhat.com>
15130 Carlos O'Donell <carlos@redhat.com>
15132 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
15133 $(no-stack-protector). stack_chk_fail_local.c can be compiled
15134 with stack protector enabled because there is no risk of infinite
15137 2018-07-05 Maciej W. Rozycki <macro@mips.com>
15141 * libc-abis (ABSOLUTE): New ABI.
15142 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
15143 * NEWS: Mention the new ABI.
15145 2018-07-05 Florian Weimer <fweimer@redhat.com>
15148 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
15149 (RENAME_WHITEOUT): Define.
15150 [__USE_GNU] (renameat2): Declare.
15151 * stdio-common/Makefile (routines): Add renameat2.
15152 (tests): Add tst-renameat2.
15153 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
15154 * stdio-common/renameat2.c: New file.
15155 * stdio-common/tst-renameat2.c: Likewise.
15156 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
15157 * manual/filesys.texi (Temporary Files): Note that renameat2 is
15159 * sysdeps/unix/sysv/linux/kernel-features.h
15160 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
15161 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15162 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15163 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15164 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
15165 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15166 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
15167 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15168 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
15169 * include/stdio.h (__renameat): Add alias for renameat.
15170 * stdio-common/renameat.c (__renameat): Rename from renameat.
15171 Add hidden definition and alias.
15172 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15173 * sysdeps/mach/hurd/renameat.c: Likewise.
15174 * sysdeps/**/libc*.abilist: Add renameat2.
15176 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15178 * posix/bug-regex33.c: Fix build after regex sync.
15180 2018-07-04 Carlos O'Donell <carlos@redhat.com>
15183 * localedata/tst-langinfo-setlocale.c: New file.
15184 * localedata/tst-langinfo-setlocale-static.c: New file.
15185 * localedata/tst-langinfo-newlocale.c: New file.
15186 * localedata/tst-langinfo-newlocale-static.c: New file.
15187 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
15188 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
15189 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
15190 (tests-static): Remove tst-langinfo-static. Add
15191 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
15192 (tests-special): Remove $(objpfx)tst-langinfo.out,
15193 $(objpfx)tst-langinfo-static.out. Add
15194 $(objpfx)tst-langinfo-setlocale.out,
15195 $(objpfx)tst-langinfo-newlocale.out,
15196 $(objpfx)tst-langinfo-setlocale-static.out,
15197 $(objpfx)tst-langinfo-newlocale-static.out.
15198 ($(objpfx)tst-langinfo.out): Remove.
15199 ($(objpfx)tst-langinfo-static.out): Remove.
15200 ($(objpfx)tst-langinfo-newlocale.out): New target.
15201 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
15202 (test-xfail-tst-langinfo-newlocale-static): Add.
15203 ($(objpfx)tst-langinfo-setlocale.out): New target.
15204 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
15205 * localedata/tst-langinfo.c: Call test_locale.
15206 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
15209 2018-07-04 Florian Weimer <fweimer@redhat.com>
15211 testrun.sh: Implement --tool=strace, --tool=valgrind
15212 * Makefile (testrun-script): Define variable.
15213 (testrun.sh): Use variable.
15214 * manual/install.texi (Tools for Compilation): make 4.0 or later
15216 * configure.ac: Check for make 4.0 or later.
15217 * INSTALL: Regenerate.
15218 * configure: Likewise.
15220 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15226 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
15227 * posix/PCRE.tests: Remove invalid test.
15228 * posix/bug-regex28.c: Fix expected values for used syntax.
15229 * posix/bug-regex37.c: New file.
15230 * posix/bug-regex38.c: Likewise.
15231 * posix/regcomp.c: Sync with gnulib.
15232 * posix/regex.c: Likewise.
15233 * posix/regex.h: Likewise.
15234 * posix/regex_internal.c: Likewise.
15235 * posix/regex_internal.h: Likewise.
15236 * posix/regexec.c: Likewise.
15238 2018-06-26 Mike FABIAN <mfabian@redhat.com>
15241 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
15242 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
15243 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
15244 * localedata/unicode-gen/PropList.txt: likewise.
15245 * localedata/unicode-gen/UnicodeData.txt: likewise.
15246 * localedata/charmaps/UTF-8: Regenerate.
15247 * localedata/locales/i18n_ctype: likewise.
15248 * localedata/locales/tr_TR: likewise.
15249 * localedata/locales/translit_circle: likewise.
15250 * localedata/locales/translit_cjk_compat: likewise.
15251 * localedata/locales/translit_combining: likewise.
15252 * localedata/locales/translit_compat: likewise.
15253 * localedata/locales/translit_font: likewise.
15254 * localedata/locales/translit_fraction: likewise.
15256 2018-07-03 Florian Weimer <fweimer@redhat.com>
15259 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
15260 * stdio-common/tst-printf.sh: Adjust expected output.
15261 * LICENSES: Update.
15263 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15265 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
15268 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15270 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
15271 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
15272 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
15273 * stdio-common/tst-printfsz-islongdouble.c: New file.
15274 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
15275 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
15276 [subdir == stdio-common] (routines): Add ieee128-printf_size.
15277 [subdir == stdio-common] (tests-internal): Add
15278 test-printf-size-ieee128, and test-printf-size-ibm128.
15279 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
15280 (CFLAGS-test-printf-size-ibm128.c): New variables.
15281 [subdir == stdio-common] (tests-special): Add
15282 $(objpfx)test-printf-size-ieee128.out and
15283 $(objpfx)test-printf-size-ibm128.out.
15284 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
15285 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
15286 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
15287 __printf_sizeieee128.
15288 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
15290 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
15292 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
15295 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
15297 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
15298 (exp2f_inline): Likewise.
15299 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
15300 (__math_uflowf): Likewise.
15301 (__math_may_uflowf): Likewise.
15302 (__math_divzerof): Likewise.
15303 (__math_invalidf): Likewise.
15304 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
15305 (__math_oflowf): Likewise.
15306 (__math_uflowf): Likewise.
15307 (__math_may_uflowf): Likewise.
15308 (__math_divzerof): Likewise.
15309 (__math_invalidf): Likewise.
15311 2018-06-29 DJ Delorie <dj@redhat.com>
15312 Carlos O'Donell <carlos@redhat.com>
15315 * include/libc-symbols.h: Comment the freeres framework.
15316 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
15317 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
15318 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
15319 * dlfcn/dlerror.c: Include libc-symbols.h
15320 (__dlerror_main_freeres): New function.
15321 * dlfcn/dlfreeres.c: New file.
15322 * dlfcn/sdlfreeres.c: New file.
15323 * include/dlfcn.h: Declare __dlerror_main_freeres.
15324 * malloc/set-freeres.c: Declare __libdl_freeres, and
15325 __libpthread_freeres.
15326 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
15327 the releavant libraries are loaded.
15328 * malloc/thread-freeres.c: Add comments.
15329 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
15330 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
15331 * nptl/allocatestack.c (__nptl_free_stacks): New function.
15332 (__free_stacks): Rename to...
15333 (free_stacks): ...this. Mark static.
15334 (queue_stack): Call free_stacks.
15335 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
15336 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
15337 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
15338 ptr_freeres element from struct.
15339 (pthread_functions): Remove .ptr_freeres from struct initializer.
15340 [SHARED] (nptl_freeres): Remove.
15341 * nptl/nptlfreeres.c: New file.
15343 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
15344 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
15346 (__free_stacks): Rename to...
15347 (__nptl_stacks_freeres): ...this.
15348 (__shm_directory_freeres): Declare.
15349 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
15350 (__nptl_unwind_freeres): ...this.
15351 * resolv/res-close.c: Add comment.
15352 * resolv/resolv_conf.c: Include libc-symbols.h.
15353 * string/strerror_l.c: Include libc-symbols.h.
15354 * sunrpc/rpc_thread.c: Include libc-symbols.h.
15355 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
15356 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
15357 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
15359 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15361 * stdlib/tst-strfmon_l.c: Add tests for long double.
15363 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
15366 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
15367 * localedata/locales/dsb_DE: New file.
15369 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15372 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
15374 (alt_mon): New entry, import from CLDR (nominative case).
15376 2018-06-29 Sylvain Lesage <severo@rednegra.net>
15379 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
15381 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15383 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
15384 Use vector registers.
15386 * sysdeps/aarch64/multiarch/memmove_falkor.S
15387 (__memcpy_falkor): Use vector registers.
15389 2018-06-29 Martin Sebor <msebor@redhat.com>
15391 * manual/stdio.texi (Customizing Printf): Mention interaction
15392 with GCC built-ins.
15394 2018-06-29 Maciej W. Rozycki <macro@mips.com>
15397 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
15398 `st_value' is 0 if `st_shndx' is SHN_ABS.
15399 * elf/tst-absolute-zero.c: New file.
15400 * elf/tst-absolute-zero-lib.c: New file.
15401 * elf/tst-absolute-zero-lib.lds: New file.
15402 * elf/Makefile (tests): Add `tst-absolute-zero'.
15403 (modules-names): Add `tst-absolute-zero-lib'.
15404 (LDLIBS-tst-absolute-zero-lib.so): New variable.
15405 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
15406 ($(objpfx)tst-absolute-zero: New dependency.
15408 2018-06-29 Zack Weinberg <zackw@panix.com>
15410 * configure.ac: New command-line option --disable-crypt.
15411 Force --disable-nss-crypt when --disable-crypt is given, with a
15412 warning if it was explicitly enabled.
15413 * configure: Regenerate.
15414 * config.make.in: New boolean substitution variable $(build-crypt).
15415 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
15416 when $(build-crypt).
15417 * manual/install.texi: Document --disable-crypt.
15418 * INSTALL: Regenerate.
15420 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
15421 which is never set.
15422 * conform/Makefile: Only include libcrypt.a in
15423 linknamespace-libs-xsi and linknamespace-libs-XPG4
15424 when $(build-crypt).
15425 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
15426 USE_CRYPT to 1 when $(build-crypt).
15427 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
15428 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
15429 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
15431 2018-06-29 Zack Weinberg <zackw@panix.com>
15433 * crypt/crypt.h, posix/unistd.h: Update comments and
15434 prototypes for crypt and crypt_r.
15436 * manual/crypt.texi (Cryptographic Functions): New initial
15438 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
15439 (Unpredictable Bytes): Improve initial exposition. Clarify error
15440 behavior of getentropy and getrandom.
15441 * manual/examples/genpass.c: Generate a salt using getentropy
15442 instead of the current time. Use hash $5$ (SHA-2-256).
15443 * manual/examples/testpass.c: Demonstrate validation against
15444 hashes generated with three different one-way functions.
15446 * manual/intro.texi: crypt.texi does not need an overview
15449 * manual/nss.texi, manual/memory.texi, manual/socket.texi
15450 * manual/terminal.texi: Consistently refer to "passphrases"
15451 * instead of "passwords", and to the "user database" instead
15452 * of the "password database".
15453 * manual/users.texi: Similarly. Add notes about how actual
15454 passphrase hashes are now stored in the shadow database.
15455 Remove 20-year-old junk todo note.
15457 2018-06-29 Zack Weinberg <zackw@panix.com>
15459 * manual/crypt.texi: Use a normal top-level @node declaration.
15460 Move most of the introductory text to the 'crypt' section.
15461 Move the example programs below the @deftypefun for 'crypt_r'.
15462 Move the 'getpass' section...
15463 * manual/terminal.texi: ...here.
15465 2018-06-29 Zack Weinberg <zackw@panix.com>
15466 Florian Weimer <fweimer@redhat.com>
15468 * posix/unistd.h: Do not declare encrypt.
15469 (_XOPEN_CRYPT): Remove macro definition.
15470 (crypt): Declare only for _USE_MISC.
15471 * stdlib/stdlib.h: Do not declare setkey.
15472 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
15473 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
15475 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
15476 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
15477 into compat symbols. Don't define initial_perm if it's not
15479 * crypt/cert.c: Link explicitly with the expected versions for
15480 setkey and encrypt. If they are not available at all, mark
15481 the test as unsupported.
15483 * sunrpc/des_crypt.c: Unconditionally block linkage with
15484 cbc_crypt and ecb_crypt for new binaries.
15485 * sunrpc/des_soft.c: Unconditionally block linkage with
15486 des_setparity for new binaries.
15488 * manual/crypt.texi: Remove the entire "DES Encryption"
15489 section. Also remove the paragraph talking about FIPS 140-2
15490 from the introduction.
15491 * manual/string.texi (strfry, memfrob): Revise. Recommend use
15492 of libgcrypt for "real" encryption, not DES.
15493 * manual/conf.texi (Constants for Sysconf): Mention that
15494 _XOPEN_CRYPT is no longer impelemented.
15496 * conform/data/unistd.h-data: Remove crypt function declaration.
15498 2018-06-29 Florian Weimer <fweimer@redhat.com>
15501 * malloc/hooks.c: Update comments on restoring of dumped heaps.
15502 (disallow_malloc_check): Remove variable.
15503 (__malloc_check_init): Adjust.
15504 (malloc_set_state): Update comment.
15505 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
15508 2018-06-29 Rafał Lużyński <digitalfreak@lingonborough.com>
15511 * localedata/locales/ast_ES (mon): Rename to...
15513 (mon): Import from CLDR (genitive case).
15515 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
15516 Jakub Sitnicki <jkbs@redhat.com>
15519 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
15520 on NLM_F_DUMP_INTR.
15522 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
15524 * manual/llio.texi: Remove spurious space.
15526 2018-06-28 Florian Weimer <fweimer@redhat.com>
15529 * time/bits/types/struct_timespec.h: Change header inclusion guard to
15532 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15534 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
15535 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
15536 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
15537 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
15538 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
15539 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
15540 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
15542 2018-06-27 Maciej W. Rozycki <macro@mips.com>
15545 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
15546 Copy and null-terminate entries that are not terminated, in
15547 addition to empty ones.
15549 2018-06-27 Florian Weimer <fweimer@redhat.com>
15552 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
15553 (extend_alloca_account): Remove.
15554 * manual/stdio.texi (Variable Arguments Output): Update comment.
15556 2018-06-27 Joseph Myers <joseph@codesourcery.com>
15558 * nptl/sockperf.c: Remove file.
15560 2018-06-27 Florian Weimer <fweimer@redhat.com>
15563 * elf/dl-deps.c (_dl_map_object_deps): Use struct
15564 scratch_buffer instead of extend_alloca.
15566 2018-06-27 Florian Weimer <fweimer@redhat.com>
15569 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
15570 scratch_buffer instead of extend_alloca. Update comments.
15572 2018-06-27 Florian Weimer <fweimer@redhat.com>
15575 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
15576 instead of extend_alloca.
15578 2018-06-26 Joseph Myers <joseph@codesourcery.com>
15581 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
15582 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
15584 * scripts/test-installation.pl: Put temporary files in build
15585 directory, not /tmp.
15586 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
15587 (CFLAGS-bug4.c): Likewise.
15588 (CFLAGS-bug5.c): Likewise.
15589 (CFLAGS-test-fseek.c): Likewise.
15590 (CFLAGS-test-popen.c): Likewise.
15591 (CFLAGS-test_rdwr.c): Likewise.
15592 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
15594 * stdio-common/bug4.c (main): Likewise.
15595 * stdio-common/bug5.c (main): Likewise.
15596 * stdio-common/test-fseek.c (TESTFILE): Likewise.
15597 * stdio-common/test-popen.c (do_test): Likewise.
15598 * stdio-common/test_rdwr.c (main): Likewise.
15600 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
15602 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
15603 (sem_open): Set sem.newsem.pad to zero for valgrind.
15605 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15608 * NEWS: Mention fcntl64 addition.
15609 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
15610 * login/utmp_file.c: Likewise.
15611 * sysdeps/posix/fdopendir.c: Likewise.
15612 * sysdeps/posix/opendir.c: Likewise.
15613 * sysdeps/unix/pt-fcntl.c: Likewise.
15614 * include/fcntl.h (__libc_fcntl64, __fcntl64,
15615 __fcntl64_nocancel_adjusted): New prototype.
15616 (__fcntl_nocancel_adjusted): Remove prototype.
15617 * io/Makefile (routines): Add fcntl64.
15618 (CFLAGS-fcntl64.c): New rule.
15619 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
15620 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
15621 * io/fcntl.h (fcntl64): Add prototype and redirect if
15622 __USE_FILE_OFFSET64 is defined.
15623 * io/fcntl64.c: New file.
15624 * manual/llio.text: Add a note for which commands fcntl acts a
15625 cancellation point.
15626 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
15627 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
15628 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
15630 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
15631 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
15633 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
15634 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
15635 to __fcntl64_nocancel.
15636 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
15637 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
15638 to __fcntl64_nocancel.
15639 * sysdeps/generic/not-cancel.h: Likewise.
15640 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
15641 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
15642 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
15643 (fcntl64): New symbol.
15644 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15645 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15646 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15649 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15650 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15651 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15652 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15653 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15654 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
15655 fcntl64): Likewise.
15656 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15657 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
15658 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15659 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15660 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15661 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15662 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15663 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15664 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15669 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15670 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15671 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15673 2018-06-26 Florian Weimer <fweimer@redhat.com>
15675 Run thread shutdown functions in an explicit order.
15676 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
15678 (__libc_thread_freeres): Call thread shutdown functions
15680 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
15681 * include/string.h (__strerror_thread_freeres): Declare.
15682 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
15683 arena_thread_freeres. No longer static. Remove thread shutdown
15685 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
15687 * resolv/res-close.c (__res_thread_freeres): Renamed from
15688 res_thread_freeres. No longer static. Remove thread shutdown
15690 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
15691 * resolv/resolv_conf.c (freeres): Remove incorrect section
15692 attribute and use libc_freeres_fn.
15693 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
15694 strerror_thread_freeres. No longer static. Remove thread
15695 shutdown hook registration.
15696 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
15697 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
15698 shutdown hook registration.
15699 * Makerules (shlib.lds): Do not provide section boundary symbols
15700 for __libc_thread_subfreeres.
15701 * manual/memory.texi (Basic Allocation): Update comment.
15703 2018-06-26 Florian Weimer <fweimer@redhat.com>
15705 Remove always-defined _RPC_THREAD_SAFE_ macro.
15706 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
15707 Do not define _RPC_THREAD_SAFE_.
15708 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
15710 * sunrpc/clnt_perr.c: Likewise.
15711 * sunrpc/clnt_raw.c: Likewise.
15712 * sunrpc/clnt_simp.c: Likewise.
15713 * sunrpc/key_call.c: Likewise.
15714 * sunrpc/rpc_common.c: Likewise.
15715 * sunrpc/rpc_main.c: Likewise.
15716 * sunrpc/rpc_thread.c: Likewise.
15717 * sunrpc/svc.c: Likewise.
15718 * sunrpc/svc_raw.c: Likewise.
15719 * sunrpc/svc_simple.c: Likewise.
15720 * sumrpc/svcauth_des.c: Likewise.
15722 2018-06-26 Florian Weimer <fweimer@redhat.com>
15724 * libio/Makefile (tests-internal): Add tst-vtables,
15725 tst-vtables-interposed.
15726 * libio/tst-vtables.c: New file.
15727 * libio/tst-vtables-common.c: Likewise.
15728 * libio/tst-vtables-interposed.c: Likewise.
15730 2018-06-26 Florian Weimer <fweimer@redhat.com>
15732 * support/support_test_main.c (support_test_main): Only call
15733 setvbuf if not disables.
15734 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
15735 * support/test-driver.h (struct test_config): Add no_setvbuf member.
15737 2018-06-26 Florian Weimer <fweimer@redhat.com>
15740 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
15742 2018-06-25 Florian Weimer <fweimer@redhat.com>
15745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15746 Use struct scratch_buffer instead of extend_alloca.
15748 2018-06-25 Florian Weimer <fweimer@redhat.com>
15751 * nss/getent.c (initgroups_keys): Use dynarray instead of
15754 2018-06-25 Florian Weimer <fweimer@redhat.com>
15757 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
15758 Use struct scratch_buffer instead of extend_alloca.
15760 2018-06-25 Florian Weimer <fweimer@redhat.com>
15763 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
15764 back to malloc directly, without stack allocations.
15766 2018-06-25 Florian Weimer <fweimer@redhat.com>
15769 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
15772 2018-06-25 Florian Weimer <fweimer@redhat.com>
15775 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
15777 * nscd/hstcache.c (addhstbyX): Likewise.
15778 * nscd/pwdcache.c (addpwbyX): Likewise.
15779 * nscd/servicescache.c (addservbyX): Likewise.
15781 2018-06-25 Florian Weimer <fweimer@redhat.com>
15784 * nscd/connections.c (read_cmdline): New function.
15785 (restart): Use it. Update comment.
15787 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15790 * localedata/locales/csb_PL (mon): Rename to...
15792 (abmon): Rename to...
15793 (ab_alt_mon): This.
15794 (mon): Add with proper genitive forms, copy from Wikipedia.
15797 2018-06-25 Rafał Lużyński <digitalfreak@lingonborough.com>
15800 * localedata/locales/csb_PL (mon): Fix typos:
15801 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
15802 (yesstr): Add, value is "jo".
15803 (nostr): Add, value is "nié".
15805 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15807 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
15808 all log1p and significand functions on m680x0.
15809 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
15810 of s_significand.c..
15811 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15812 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
15813 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
15814 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
15815 s_log1p.c and include it..
15817 2018-06-21 Vincent Chen <vincentc@andestech.com>
15819 * elf/elf.h (R_NDS32_NONE): New define.
15820 (R_NDS32_32_RELA): Likewise.
15821 (R_NDS32_COPY): Likewise.
15822 (R_NDS32_GLOB_DAT): Likewise.
15823 (R_NDS32_JUMP_SLOT): Likewise.
15824 (R_NDS32_RELATIVE): Likewise.
15825 (R_NDS32_TLS_TPOFF): Likewise.
15826 (R_NDS32_TLS_DESC): Likewise.
15828 2018-06-21 Mark Wielaard <mark@klomp.org>
15830 * elf/elf.h (R_BPF_MAP_FD): Removed.
15831 (R_BPF_64_64, R_BPF_64_32): New.
15833 2018-06-21 Florian Weimer <fweimer@redhat.com>
15836 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
15837 Renamed from libc_feholdsetround_ctx.
15838 (default_libc_feresetround_ctx): Renamed from
15839 libc_feresetround_ctx.
15840 (default_libc_feholdsetround_noex_ctx): Renamed from
15841 libc_feholdsetround_noex_ctx.
15842 (default_libc_feresetround_noex_ctx): Renamed from
15843 libc_feresetround_noex_ctx.
15844 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
15845 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
15846 forwardning to the old implementations under the new names.
15847 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
15848 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
15849 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
15850 (libc_feresetround_ctx): Forward to default implements for i386
15851 and MATH_SET_BOTH_ROUNDING_MODES.
15852 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
15853 Add -DMATH_SET_BOTH_ROUNDING_MODES.
15855 2018-06-20 Joseph Myers <joseph@codesourcery.com>
15857 * string/tst-cmp.c: Include <libc-diag.h>.
15858 (strncmp_max): Disable -Wstringop-overflow= around call to
15860 (strncasecmp_max): Disable -Wstringop-overflow= around call to
15863 * string/bug-strpbrk1.c: Include <libc-diag.h>.
15864 (main): Disable -Wunused-value around call to strpbrk.
15865 * string/bug-strspn1.c: Include <libc-diag.h>.
15866 (main): Disable -Wunused-value around call to strspn.
15868 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15869 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15871 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
15872 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
15874 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15876 * math/Makefile (libm-calls): Move s_significandF to...
15877 (gen-libm-calls): ... here.
15878 * math/s_significand_template.c: New file.
15879 * math/s_significand.c: Removed.
15880 * math/s_significandf.c: Removed.
15881 * math/s_significandl.c: Removed.
15882 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
15883 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
15885 * math/e_exp2_template.c (declare_mgen_finite_alias,
15886 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
15887 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
15888 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
15890 2018-06-20 Florian Weimer <fweimer@redhat.com>
15892 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
15894 2018-06-19 Joseph Myers <joseph@codesourcery.com>
15897 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
15898 floating-point number to strtod functions rather than possibly
15899 negating result of those functions.
15900 * stdio-common/tst-scanf-round.c: New file.
15901 * stdio-common/Makefile (tests): Add tst-scanf-round.
15902 ($(objpfx)tst-scanf-round): Depend on $(libm).
15904 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15906 * sysdeps/mach/hurd/localplt.data: Move to...
15907 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
15908 R_386_GLOB_DAT like on Linux i386.
15910 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15912 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
15913 (SHM_STAT_ANY): New macro.
15914 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
15915 (SHM_STAT_ANY): Likewise.
15916 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
15917 (SHM_STAT_ANY): Likewise.
15918 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
15919 (SHM_STAT_ANY): Likewise.
15920 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
15921 (SHM_STAT_ANY): Likewise.
15922 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
15923 (SHM_STAT_ANY): Likewise.
15924 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
15925 (SHM_STAT_ANY): Likewise.
15926 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
15927 (SHM_STAT_ANY): Likewise.
15928 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
15929 (SHM_STAT_ANY): Likewise.
15930 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
15931 (SHM_STAT_ANY): Likewise.
15932 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
15933 (SHM_STAT_ANY): Likewise.
15934 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
15935 (SHM_STAT_ANY): Likewise.
15937 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
15938 (SEM_STAT_ANY): New macro.
15939 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
15940 (SEM_STAT_ANY): Likewise.
15941 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
15942 (SEM_STAT_ANY): Likewise.
15943 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
15944 (SEM_STAT_ANY): Likewise.
15945 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
15946 (SEM_STAT_ANY): Likewise.
15947 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
15948 (SEM_STAT_ANY): Likewise.
15949 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
15950 (SEM_STAT_ANY): Likewise.
15951 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
15952 (SEM_STAT_ANY): Likewise.
15953 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
15954 (SEM_STAT_ANY): Likewise.
15955 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
15956 (SEM_STAT_ANY): Likewise.
15958 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
15959 (MSG_STAT_ANY): New macro.
15960 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
15961 (MSG_STAT_ANY): Likewise.
15962 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
15963 (MSG_STAT_ANY): Likewise.
15964 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
15965 (MSG_STAT_ANY): Likewise.
15966 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
15967 (MSG_STAT_ANY): Likewise.
15968 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
15969 (MSG_STAT_ANY): Likewise.
15970 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
15971 (MSG_STAT_ANY): Likewise.
15972 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
15973 (MSG_STAT_ANY): Likewise.
15974 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
15975 (MSG_STAT_ANY): Likewise.
15976 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
15977 (MSG_STAT_ANY): Likewise.
15979 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15980 (MAP_TYPE): Change value to 0x2b.
15982 2018-06-18 Florian Weimer <fweimer@redhat.com>
15985 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
15986 socket with SOCK_CLOEXEC.
15988 2018-06-18 Joseph Myers <joseph@codesourcery.com>
15991 * sysdeps/powerpc/powerpc64/le/Makefile
15992 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
15993 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
15994 (gnulib-tests): Also add $(f128-loader-link) for
15995 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
15997 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
15999 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
16000 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
16002 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
16003 (sendfile64): New strong alias.
16004 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
16005 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
16006 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
16007 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
16009 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
16010 ___pthread_get_cleanup_stack.
16011 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
16012 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
16013 * mach/shortcut.awk: Make syscall stubs include
16014 <mach-shortcuts-hidden.h> and add hidden definition.
16015 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
16016 (__mach_msg): Add hidden prototype.
16017 * mach/msg.c: Include <mach.h>.
16018 (__mach_msg): Add hidden definition.
16019 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
16020 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
16021 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
16022 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
16023 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
16024 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
16025 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
16026 prototype and definition.
16027 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
16028 hidden target for _hurd_self_sigstate.
16030 2018-06-15 Joseph Myers <joseph@codesourcery.com>
16033 * stdlib/tst-strtod-nan-sign-main.c: New file.
16034 * stdlib/tst-strtod-nan-sign.c: Likewise.
16035 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
16036 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
16037 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
16038 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
16039 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
16041 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
16044 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
16047 2018-06-14 Florian Weimer <fweimer@redhat.com>
16050 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
16051 that the result stays within the ISO-8859-1 range.
16052 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
16053 characters are defined in IBM273.
16055 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
16057 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
16058 __mach_task_self): Remove attribute_hidden.
16060 2018-06-14 Joseph Myers <joseph@codesourcery.com>
16062 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
16063 ignore -Wrestrict for one test.
16065 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
16066 Szabolcs Nagy <szabolcs.nagy@arm.com>
16068 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
16070 2018-06-14 Florian Weimer <fweimer@redhat.com>
16072 * scripts/update-abilist.sh: Accept empty list of files to patch.
16074 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
16076 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
16077 test-xfail-check-abi-libmachuser): Add.
16078 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
16079 __libc_read and __libc_write to __read and __write.
16080 * sysdeps/hurd/include/hurd/port.h: New file.
16081 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
16082 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
16083 __thread_switch, __evc_wait): Move declarations to...
16084 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
16086 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
16087 use PLT to call _hurd_self_sigstate.
16089 2018-06-13 Joseph Myers <joseph@codesourcery.com>
16092 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
16093 MAX_EXP as overflowing.
16094 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
16096 (round_str): Output also whether result overflows in each rounding
16098 * stdlib/tst-strtod-round-data: Add more tests.
16099 * stdlib/tst-strtod-round-data.h: Regenerated.
16100 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
16101 (TEST): Handle extra arguments for overflow flags.
16102 (struct test_overflow): New type.
16103 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
16104 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
16105 (test_in_one_mode): Take argument with overflow information.
16106 (do_test): Update calls to test_in_one_mode.
16108 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16110 * elf/dl-load (_dl_dst_substitute): Correct comment.
16111 (_dl_dst_count): Likewise.
16113 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
16114 lll_futex_timed_wait.
16116 2018-06-12 Joseph Myers <joseph@codesourcery.com>
16119 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
16121 * math/test-nan-const.c: New file.
16122 * math/Makefile (tests): Add test-nan-const.
16123 (CFLAGS-test-nan-const.c): New variable.
16125 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16127 * benchtests/scripts/compare_strings.py (process_results): Add
16128 funcs argument. Compare only functions which are selected.
16129 (main): Check if base function is among selected functions.
16130 Pass selected functions to process_results.
16131 (__main__): Add -f/--functions argument.
16133 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
16134 Hongbo Zhang <hongbo.zhang@linaro.org>
16136 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
16137 __memcpy_falkor for phecda core.
16138 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
16139 __memmove_falkor for phecda core.
16140 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
16141 __memset_falkor for phecda core.
16142 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
16144 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
16145 macro to identify phecda core.
16147 2018-06-12 Carlos O'Donell <carlos@redhat.com>
16148 Andreas Schwab <schwab@suse.de>
16149 Dmitry V. Levin <ldv@altlinux.org>
16150 Florian Weimer <fweimer@redhat.com>
16157 * elf/dl-dst.h: Remove DL_DST_COUNT.
16158 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
16159 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
16160 (is_dst): Comment. Support ELF gABI.
16161 (_dl_dst_count): Comment. Simplify and count DSTs.
16162 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
16163 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
16166 2018-06-12 Zack Weinberg <zackw@panix.com>
16168 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
16169 * sysdeps/unix/sysv/linux/dl-sysdep.c
16170 Include not-cancel.h. Use __close_nocancel instead of __close,
16171 __open64_nocancel instead of __open, __read_nocancel instead of
16172 __libc_read, and __write_nocancel instead of __libc_write.
16174 * csu/check_fds.c (check_one_fd)
16175 * sysdeps/posix/fdopendir.c (__fdopendir)
16176 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
16177 instead of __fcntl and/or __libc_fcntl.
16179 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
16180 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
16181 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
16182 Use __open64_nocancel instead of __open_nocancel.
16184 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
16185 hidden_proto declarations to the end and issue them if either
16186 IS_IN(libc) or IS_IN(rtld).
16187 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
16188 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
16189 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
16190 read_nocancel, waitpid_nocancel, write_nocancel.
16192 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
16193 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
16194 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
16196 * nptl/pt-fcntl.c: New file.
16197 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
16198 (libpthread-routines): Add pt-fcntl.
16199 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
16200 (__libc_fcntl): Remove attribute_hidden.
16201 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
16202 __fcntl_nocancel_adjusted, not fcntl_common.
16203 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
16204 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
16205 to fcntl_nocancel.c.
16206 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16209 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
16211 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
16212 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
16213 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
16214 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
16215 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
16216 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
16217 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
16218 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
16219 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
16220 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
16221 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
16222 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
16223 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
16224 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
16225 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
16226 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
16227 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
16228 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
16229 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
16230 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
16232 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
16233 libpthread-routines.
16234 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
16237 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
16238 __libc_read, and __write instead of __libc_write. Define
16239 __open64 in addition to __open.
16241 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
16245 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
16246 to _private_tm[3] and add __glibc_reserved2.
16247 Add _Static_assert of offset of __private_ss == 0x30.
16248 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
16249 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
16251 2018-06-12 Florian Weimer <fweimer@redhat.com>
16253 x86: Make strncmp usable from rtld.
16254 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
16255 __strncmp_ia32 if in libc (and not in rtld).
16256 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
16257 strncmp if not in libc (and not to __strncmp_sse2).
16259 2018-06-12 Rafał Lużyński <digitalfreak@lingonborough.com>
16262 * localedata/locales/gd_GB (mon): Rename to...
16264 (mon): Import from CLDR (genitive case).
16265 * localedata/locales/hsb_DE (mon): Rename to...
16267 (mon): Import from CLDR (genitive case).
16268 * localedata/locales/wa_BE (mon): Rename to...
16270 (mon): Add, fill with the proper genitive forms, but CLDR data
16271 is incomplete; completed according to the comments in this file.
16272 (d_t_fmt): Do not use "di" before the month name, no longer needed.
16274 * localedata/locales/wa_BE (country_name): Reword
16275 "Beljike" -> "Beldjike".
16277 2018-06-11 Joseph Myers <joseph@codesourcery.com>
16280 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
16281 cases of non-finite arguments.
16282 * math/libm-test-fma.inc (fma_test_data): Add more tests.
16284 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
16287 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
16289 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16292 * include/unistd.h (__execvpex): New prototype.
16293 * posix/Makefile (tests): Add tst-spawn4.
16294 (tests-internal): Add tst-spawn4-compat.
16295 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
16296 * posix/tst-spawn4-compat.c: New file.
16297 * posix/tst-spawn4.c: Likewise.
16298 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
16299 binaries as shell scripts.
16300 * sysdeps/posix/spawni.c (__spawni): Likewise.
16302 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
16305 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
16306 ($(all-built-dso:=.dynsym): New target.
16307 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
16308 ($(objpfx)check-initfini.out): New target.
16309 (generated): Add check-initfini.out.
16310 * scripts/check-initfini.awk: New file.
16311 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
16313 * sysdeps/alpha/crti.S (_init): Mark as hidden.
16315 * sysdeps/arm/crti.S (_init): Mark as hidden.
16317 * sysdeps/hppa/crti.S (_init): Mark as hidden.
16319 * sysdeps/i386/crti.S (_init): Mark as hidden.
16321 * sysdeps/ia64/crti.S (_init): Mark as hidden.
16323 * sysdeps/m68k/crti.S (_init): Mark as hidden.
16325 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
16327 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
16329 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
16331 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
16333 * sysdeps/nios2/crti.S (_init): Mark as hidden.
16335 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
16337 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
16339 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
16341 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
16343 * sysdeps/sh/crti.S (_init): Mark as hidden.
16345 * sysdeps/sparc/crti.S (_init): Mark as hidden.
16347 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
16350 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16352 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
16353 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
16354 and TF redirection to KFtype and KF only when the default
16355 long double type is not the IEEE 128-bit floating point type.
16357 2018-06-05 Joseph Myers <joseph@codesourcery.com>
16359 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
16361 (HWCAP_USCAT): Likewise.
16362 (HWCAP_ILRCPC): Likewise.
16363 (HWCAP_FLAGM): Likewise.
16364 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
16366 (_dl_aarch64_cap_flags): Add new flag names.
16368 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
16369 (MAP_FIXED_NOREPLACE): New macro.
16370 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
16371 (MAP_FIXED_NOREPLACE): Likewise.
16372 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
16373 (MAP_FIXED_NOREPLACE): Likewise.
16374 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16375 (MAP_FIXED_NOREPLACE): Likewise.
16376 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
16377 (MAP_FIXED_NOREPLACE): Likewise.
16378 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
16379 (MAP_FIXED_NOREPLACE): Likewise.
16380 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
16381 (MAP_FIXED_NOREPLACE): Likewise.
16382 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
16383 (MAP_FIXED_NOREPLACE): Likewise.
16384 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
16385 (MAP_FIXED_NOREPLACE): Likewise.
16386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
16387 (MAP_FIXED_NOREPLACE): Likewise.
16388 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
16389 (MAP_FIXED_NOREPLACE): Likewise.
16390 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
16391 (MAP_FIXED_NOREPLACE): Likewise.
16392 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
16393 (MAP_FIXED_NOREPLACE): Likewise.
16394 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
16395 (MAP_FIXED_NOREPLACE): Likewise.
16396 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
16397 (MAP_FIXED_NOREPLACE): Likewise.
16399 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
16402 2018-06-04 Joseph Myers <joseph@codesourcery.com>
16404 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
16407 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16409 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
16411 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
16413 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16415 * benchtests/scripts/compare_string.py: (process_results) Catch
16416 exception in non-existent base_func and catch exception in
16417 non-existent attribute.
16418 (parse_file) Catch exception if input file does not exist.
16420 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16422 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
16423 options to avoid diff calculation and omit header, respectively.
16424 (main): process --no-diff and --no-header
16426 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16427 H.J. Lu <hongjiu.lu@intel.com>
16429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16430 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
16432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16433 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
16434 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
16435 and __wcsncmp_sse2.
16436 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
16437 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
16438 AVX unaligned load is fast and vzeroupper is preferred.
16439 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
16440 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
16441 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
16442 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
16443 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
16444 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
16445 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
16446 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
16447 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
16448 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
16451 2018-06-01 Florian Weimer <fweimer@redhat.com>
16453 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
16454 configuring with --disable-multi-arch, building with
16455 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
16458 2018-06-01 Florian Weimer <fweimer@redhat.com>
16460 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
16461 results from building with “-march=x86-64 -mtune=generic
16462 -mfpmath=sse” and running on a Haswell-era CPU.
16464 2018-06-01 Joseph Myers <joseph@codesourcery.com>
16467 * soft-fp/sqrttf2.c: Remove file.
16468 * soft-fp/sqrtdf2.c: Move to ....
16469 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
16471 (__sqrtdf2): Make conditional on
16472 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16474 * soft-fp/sqrtsf2.c: Move to ....
16475 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
16477 (__sqrtsf2): Make conditional on
16478 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
16480 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
16481 (gcc-double-routines): Remove sqrtdf2.
16482 (gcc-quad-routines): Remove sqrttf2.
16483 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16484 Do not filter out sqrtsf2 and sqrtdf2.
16485 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16486 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
16488 2018-06-01 Florian Weimer <fweimer@redhat.com>
16490 * sysdeps/generic/libcidn.abilist: Remove file.
16492 2018-06-01 Florian Weimer <fweimer@redhat.com>
16495 * libio/strfile.h (struct _IO_str_fields): Rename members to
16496 discourage their use and add comment.
16497 (_IO_STR_DYNAMIC): Remove unused macro.
16498 * libio/strops.c (_IO_str_init_static_internal): Do not use
16499 callback pointers. Call malloc and free.
16500 (_IO_str_overflow): Do not use callback pointers. Call malloc
16502 (enlarge_userbuf): Likewise.
16503 (_IO_str_finish): Call free.
16504 * libio/wstrops.c (_IO_wstr_init_static): Initialize
16505 _allocate_buffer_unused.
16506 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
16508 (enlarge_userbuf): Likewise.
16509 (_IO_wstr_finish): Call free.
16510 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
16511 _allocate_buffer_unused, _free_buffer_unused.
16512 * libio/memstream.c (__open_memstream): Likewise.
16513 * libio/vasprintf.c (_IO_vasprintf): Likewise.
16514 * libio/wmemstream.c (open_wmemstream): Likewise.
16516 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
16518 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
16521 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16523 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
16524 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
16525 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
16527 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
16529 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
16531 2018-05-29 Florian Weimer <fweimer@redhat.com>
16533 * support/Makefile (libsupport-routines): Add
16534 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
16535 xpthread_barrierattr_setpshared.
16536 * support/xpthread_barrierattr_destroy.c: New file.
16537 * support/xpthread_barrierattr_init.c: Likewise.
16538 * support/xpthread_barrierattr_setpshared.c: Likewise.
16540 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
16543 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
16544 _r_debug and update DT_DEBUG for debugger.
16546 2018-05-29 Florian Weimer <fweimer@redhat.com>
16548 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
16549 (tst-strtod5i.out): Likewise.
16551 2018-05-25 Joseph Myers <joseph@codesourcery.com>
16553 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
16554 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
16555 (sparc64-quad-routines): New variable. Moved from ....
16556 [$(subdir) = soft-fp] (sysdep_routines): Add
16557 $(sparc64-quad-routines). Moved from ....
16558 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
16559 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
16560 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
16562 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
16563 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
16564 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
16565 * sysdeps/sparc/sparc64/qp_add.c: ... here.
16566 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
16567 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
16568 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
16569 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
16570 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
16571 * sysdeps/sparc/sparc64/qp_div.c: ... here.
16572 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
16573 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
16574 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
16575 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
16576 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
16577 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
16578 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
16579 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
16580 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
16581 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
16582 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
16583 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
16584 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
16585 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
16586 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
16587 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
16588 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
16589 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
16590 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
16591 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
16592 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
16593 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
16594 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
16595 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
16596 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
16597 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
16598 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
16599 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
16600 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
16601 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
16602 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
16603 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
16604 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
16605 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
16606 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
16607 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
16608 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
16609 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
16610 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
16611 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
16612 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
16613 * sysdeps/sparc/sparc64/qp_util.c: ... here.
16614 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
16615 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
16616 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
16617 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
16618 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
16619 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
16621 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
16622 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
16623 (sparc32-quad-routines): New variable. Moved from ....
16624 [$(subdir) = soft-fp] (sysdep_routines): Add
16625 $(sparc32-quad-routines). Moved from ....
16626 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
16627 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
16629 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
16630 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
16631 * sysdeps/sparc/sparc32/q_add.c: ... here.
16632 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
16633 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
16634 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
16635 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
16636 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
16637 * sysdeps/sparc/sparc32/q_div.c: ... here.
16638 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
16639 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
16640 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
16641 * sysdeps/sparc/sparc32/q_feq.c: ... here.
16642 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
16643 * sysdeps/sparc/sparc32/q_fge.c: ... here.
16644 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
16645 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
16646 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
16647 * sysdeps/sparc/sparc32/q_fle.c: ... here.
16648 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
16649 * sysdeps/sparc/sparc32/q_flt.c: ... here.
16650 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
16651 * sysdeps/sparc/sparc32/q_fne.c: ... here.
16652 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
16653 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
16654 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
16655 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
16656 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
16657 * sysdeps/sparc/sparc32/q_mul.c: ... here.
16658 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
16659 * sysdeps/sparc/sparc32/q_neg.c: ... here.
16660 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
16661 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
16662 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
16663 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
16664 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
16665 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
16666 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
16667 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
16668 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
16669 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
16670 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
16671 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
16672 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
16673 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
16674 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
16675 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
16676 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
16677 * sysdeps/sparc/sparc32/q_sub.c: ... here.
16678 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
16679 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
16680 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
16681 * sysdeps/sparc/sparc32/q_util.c: ... here.
16682 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
16683 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
16684 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
16685 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
16687 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
16688 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16690 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
16691 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
16692 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
16693 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
16695 2018-05-24 Joseph Myers <joseph@codesourcery.com>
16697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16701 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
16702 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
16704 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
16707 * math/math.h [C++] (iseqsig): Fix parameter type for the long
16710 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16712 * sysdeps/sh/Implies: Remove sh/soft-fp.
16713 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
16714 * sysdeps/sh/sfp-machine.h: ... here.
16716 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16718 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16719 (__mempcpy_erms): Skip zero length.
16720 (__memmove_erms): Likewise.
16721 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16722 (__memset_erms): Likewise.
16724 2018-05-23 Joseph Myers <joseph@codesourcery.com>
16726 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
16727 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
16728 Add functions moved from ....
16729 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
16730 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
16731 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
16733 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
16734 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
16735 * sysdeps/alpha/e_sqrtl.c: ... here.
16736 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
16737 * sysdeps/alpha/local-soft-fp.h: ... here.
16738 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
16739 * sysdeps/alpha/ots_add.c: ... here.
16740 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
16741 * sysdeps/alpha/ots_cmp.c: ... here.
16742 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
16743 * sysdeps/alpha/ots_cmpe.c: ... here.
16744 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
16745 * sysdeps/alpha/ots_cvtqux.c: ... here.
16746 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
16747 * sysdeps/alpha/ots_cvtqx.c: ... here.
16748 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
16749 * sysdeps/alpha/ots_cvttx.c: ... here.
16750 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
16751 * sysdeps/alpha/ots_cvtxq.c: ... here.
16752 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
16753 * sysdeps/alpha/ots_cvtxt.c: ... here.
16754 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
16755 * sysdeps/alpha/ots_div.c: ... here.
16756 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
16757 * sysdeps/alpha/ots_mul.c: ... here.
16758 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
16759 * sysdeps/alpha/ots_nintxq.c: ... here.
16760 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
16761 * sysdeps/alpha/ots_sub.c: ... here.
16762 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
16763 * sysdeps/alpha/sfp-machine.h: ... here.
16765 2018-05-23 Florian Weimer <fweimer@redhat.com>
16773 Switch to extern IDNA implementation (libidn2).
16774 * libidn: Remove subdirectory.
16775 * LICENSES: Do not mention licensing conditions for the removed
16777 * config.h.in (HAVE_LIBIDN): Remove.
16778 * include/dlfcn.h (__libc_dlopen): Update comment.
16779 * include/idna.h: Remove file.
16780 * inet/Makefile (routines): Add idna.
16781 (tests-static, tests-internal): Add tst-idna_name_classify.
16782 (LOCALES): Generate locales for tests.
16783 (tst-idna_name_classify.out): Depend on generated locales.
16784 * inet/idna_name_classify.c: New file.
16785 * inet/tst-idna_name_classify.c: Likewise.
16786 * inet/net-internal.h (__idna_to_dns_encoding)
16787 (__idna_from_dns_encoding): Declare.
16788 * inet/net-internal.h (enum idna_name_classification): Define.
16789 (__idna_name_classify): Declare.
16790 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
16791 __idna_from_dns_encoding.
16792 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
16793 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
16794 name as a fallback in case of encoding errors.
16795 (getnameinfo): Use DEPRECATED_NI_IDN.
16796 * inet/idna.c: New file.
16797 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
16798 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
16799 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
16800 (modules-names): Add tst-no-libidn2.
16801 (extra-test-objs): Add tst-no-libidn2.os.
16802 (LDFLAGS-tst-no-libidn2.so): Set soname.
16803 (LOCALES): Set, and generate locales.
16804 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
16805 (tst-resolv-ai_idn-latin1): Likewise.
16806 (tst-resolv-ai_idn-nolibidn2): Likewise.
16807 (tst-resolv-ai_idn.out): Depend on locales.
16808 (tst-resolv-ai_idn-latin1.out): Depend on locales.
16809 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
16811 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
16812 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
16813 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
16814 * resolv/tst-resolv-ai_idn.c: New file.
16815 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
16816 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
16817 * resolv/tst-no-libidn2.c: Likewise.
16818 * support/support_format_addrinfo.c (format_ai_flags): Do not
16819 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
16820 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
16821 (gaih_inet): Call __idna_to_dns_encoding and
16822 __idna_from_dns_encoding, and use the original (punycode) name if
16823 __idna_from_dns_encoding fails due to an encoding error.
16824 (getaddrinfo): Use DEPRECATED_AI_IDN.
16825 * sysdeps/unix/inet/Subdirs (libidn): Remove.
16826 * sysdeps/unix/inet/configure: Remove file.
16827 * sysdeps/unix/inet/configure.ac: Likewise.
16829 2018-05-23 Florian Weimer <fweimer@redhat.com>
16831 Implement allocate_once.
16832 * include/allocate_once.h: New file.
16833 * misc/allocate_once.c: Likewise.
16834 * misc/tst-allocate_once.c: Likewise.
16835 * misc/Makefile (routines): Add allocate_once.
16836 (tests-internal): Add tst-allocate_once.
16837 (generated): Add tst-allocate_once.mtrace,
16838 tst-allocate_once-mem.out.
16839 (tests-special): Add tst-allocate_once-mem.out.
16840 (tst-allocate_once-ENV): Set MALLOC_TRACE.
16841 (tst-allocate_once-mem.out): Call mtrace.
16842 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
16844 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
16847 * string/test-memcpy.c (do_test1): New function.
16848 (test_main): Call it.
16850 2018-05-23 Andreas Schwab <schwab@suse.de>
16854 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
16855 (L(preloop_large)): Save initial destination pointer in %r11 and
16856 use it instead of %rax after the loop.
16857 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
16859 2018-05-22 Joseph Myers <joseph@codesourcery.com>
16861 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
16862 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
16863 -I../soft-fp. Moved from ....
16864 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
16865 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
16866 * sysdeps/aarch64/e_sqrtl.c: ... here.
16867 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
16868 * sysdeps/aarch64/sfp-machine.h: ... here.
16870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
16871 -Wmaybe-uninitialized around access to fq[0].
16872 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16876 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
16877 aliases for non-libc case of versioned symbols.
16878 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
16879 (llseek): Define as compat symbol if
16880 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
16882 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
16883 Make into a compat symbol, disabled for minimum symbol version
16884 GLIBC_2.28 and later.
16885 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
16887 2018-05-22 Florian Weimer <fweimer@redhat.com>
16889 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
16890 not add -mpreferred-stack-boundary=4.
16891 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
16892 (stack-align-test-flags): Likewise.
16893 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
16895 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
16896 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
16897 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
16898 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
16899 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
16900 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
16901 (CFLAGS-tst-align2.c): Likewise.
16903 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16905 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
16906 (index_arch_Prefer_FSRM): Likewise.
16907 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
16908 Also check Prefer_FSRM.
16909 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
16910 Also return OPTIMIZE (erms) for Prefer_FSRM.
16912 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
16914 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
16915 (index_cpu_FSRM): Likewise.
16916 (reg_FSRM): Likewise.
16918 2018-05-18 Joseph Myers <joseph@codesourcery.com>
16920 * math/gen-tgmath-tests.py: Import sys.
16921 (Tests.__init__): Initialize macros_seen.
16922 (Tests.add_tests): Add macro to macros_seen. Only generate tests
16923 if requested to do so for this macro.
16924 (Tests.add_all_tests): Take argument for macro for which to
16926 (Tests.check_macro_list): New function.
16927 (main): Handle check-list argument and argument specifying macro
16928 for which to generate tests.
16929 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
16930 [PYTHON] (tgmath3-macro-tests): Likewise.
16931 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
16932 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
16933 not test-tgmath3.c.
16934 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
16935 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
16937 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
16938 [PYTHON] ($(foreach
16939 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
16941 [PYTHON] (tests-special): Add
16942 $(objpfx)test-tgmath3-macro-list.out.
16943 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
16945 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
16946 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
16950 * time/tzset.c (SECSPERDAY): Cast to time_t.
16951 * time/tst-y2039.c: New file.
16952 * time/Makefile (tests): Add tst-y2039.
16954 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
16956 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16957 (PREFETCH_ONE_SET): Remove duplicate line.
16959 2018-05-17 Florian Weimer <fweimer@redhat.com>
16961 * sysdeps/generic/math-type-macros-double.h: Include
16962 <math-nan-payload-double.h> after <libm-alias-double.h>.
16963 * sysdeps/generic/math-type-macros-float.h: Include
16964 <math-nan-payload-float.h> after <libm-alias-float.h>.
16965 * sysdeps/generic/math-type-macros-float128.h: Include
16966 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
16967 * sysdeps/generic/math-type-macros-ldouble.h: Include
16968 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
16970 2018-05-17 Andreas Schwab <schwab@suse.de>
16972 * resolv/res_send.c (__res_context_send): Don't set errno when
16973 returing error after malloc failure.
16975 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
16977 * nptl/allocatestack.c (allocate_stack): Remove the
16978 !__ASSUME_PRIVATE_FUTEX paths.
16979 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
16980 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16982 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
16983 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16984 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16985 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
16986 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
16987 !__ASSUME_PRIVATE_FUTEX path.
16988 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
16989 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
16990 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
16991 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
16992 !__ASSUME_PRIVATE_FUTEX macros.
16993 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16994 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16995 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16996 * sysdeps/unix/sysv/linux/kernel-features.h
16997 (__ASSUME_PRIVATE_FUTEX): Removed.
16999 2018-05-17 Joseph Myers <joseph@codesourcery.com>
17001 * math/Makefile (libm-narrow-fns): Add div.
17002 (libm-test-funcs-narrow): Likewise.
17003 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
17004 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
17005 * math/gen-auto-libm-tests.c (test_functions): Add div.
17006 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
17007 (NARROW_DIV_ROUND_TO_ODD): Likewise.
17008 (NARROW_DIV_TRIVIAL): Likewise.
17009 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
17011 (__ddivl): Likewise.
17012 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
17014 (CFLAGS-nldbl-ddiv.c): New variable.
17015 (CFLAGS-nldbl-fdiv.c): Likewise.
17016 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17018 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
17020 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
17021 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
17022 * math/auto-libm-test-in: Add tests of div.
17023 * math/auto-libm-test-out-narrow-div: New generated file.
17024 * math/libm-test-narrow-div.inc: New file.
17025 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
17026 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
17027 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
17028 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
17029 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
17030 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
17039 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
17040 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
17041 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
17042 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
17043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17044 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17048 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17049 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17050 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17051 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17052 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17053 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17054 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17055 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17056 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17062 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17063 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17064 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17065 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17067 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17068 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17070 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17073 * nscd/nscd-client.h (sendfileall): Remove prototype.
17074 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
17075 (handle_request): Use writeall instead of sendfileall.
17076 * nscd/aicache.c (addhstaiX): Likewise.
17077 * nscd/grpcache.c (cache_addgr): Likewise.
17078 * nscd/hstcache.c (cache_addhst): Likewise.
17079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17080 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
17081 * nscd/pwdcache.c (cache_addpw): Likewise.
17082 * nscd/servicescache.c (cache_addserv): Likewise.
17083 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
17084 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
17085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
17088 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
17090 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
17091 Include <string/strncat.c>.
17092 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
17094 (__GI___strncat): New hidden alias.
17096 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17098 * sysdeps/mips/mips32/libm-test-ulps: Update.
17099 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17101 2018-05-16 Florian Weimer <fweimer@redhat.com>
17103 * support/Makefile (libsupport-routines): Add support_quote_blob,
17104 support_test_compare_blob.
17105 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
17106 * support/check.h (TEST_COMPARE_BLOB): Define.
17107 (support_test_compare_blob): Declare.
17108 * support/support.h (support_quote_blob): Declare.
17109 * support/support_quote_blob.c: New file.
17110 * support/support_test_compare_blob.c: Likewise.
17111 * support/tst-support_quote_blob.c: Likewise.
17112 * support/tst-test_compare_blob.c: Likewise.
17114 2018-05-16 Florian Weimer <fweimer@redhat.com>
17116 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
17117 of <strtod_nan_double.h>.
17118 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
17119 instead of SET_MANTISSA.
17120 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
17121 of include <strtod_nan_float.h>.
17122 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
17123 instead of <strtod_nan_ldouble.h>.
17124 * stdlib/strtod_nan_double.h: Move to ...
17125 * sysdeps/generic/math-nan-payload-double.h: ... here.
17126 (FLOAT): Remove definition.
17127 (SET_MANTISSA): Rename to ...
17128 (SET_NAN_PAYLOAD): ... this.
17129 * stdlib/strtod_nan_float.h: Move to ...
17130 * sysdeps/generic/math-nan-payload-float.h: ... here.
17131 (FLOAT): Remove definition.
17132 (SET_MANTISSA): Rename to ...
17133 (SET_NAN_PAYLOAD): ... this.
17134 * sysdeps/generic/math-type-macros-double.h: Include
17135 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
17136 instead of <math-svid-compat.h>.
17137 * sysdeps/generic/math-type-macros-float.h: Include
17138 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
17139 instead of <math-svid-compat.h>.
17140 * sysdeps/generic/math-type-macros-float128.h: Include
17141 <math-nan-payload-float128.h>.
17142 * sysdeps/generic/math-type-macros-ldouble.h: Include
17143 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
17144 instead of <math-svid-compat.h>.
17145 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
17146 check for definition.
17147 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
17148 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
17149 Include <ieee754_float128.h>.
17150 (FLOAT): Remove definition.
17151 (SET_MANTISSA): Rename to ...
17152 (SET_NAN_PAYLOAD): ... this.
17153 * sysdeps/ieee754/float128/strtof128_nan.c: Include
17154 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
17155 Do not include <float128_private.h>.
17156 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
17157 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
17158 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
17159 (FLOAT): Remove definition.
17160 (SET_MANTISSA): Rename to ...
17161 (SET_NAN_PAYLOAD): ... this.
17162 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
17163 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
17164 (FLOAT): Remove definition.
17165 (SET_MANTISSA): Rename to ...
17166 (SET_NAN_PAYLOAD): ... this.
17167 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
17168 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
17169 (FLOAT): Remove definition.
17170 (SET_MANTISSA): Rename to ...
17171 (SET_NAN_PAYLOAD): ... this.
17172 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
17173 of "../stdlib/strtod_nan_double.h".
17174 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
17175 of "../stdlib/strtod_nan_float.h".
17176 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
17177 instead of "../stdlib/strtod_nan_ldouble.h".
17178 * manual/arith.texi (Parsing of Floats): Adjust comment.
17180 2018-05-16 Joseph Myers <joseph@codesourcery.com>
17182 * math/Makefile (libm-narrow-fns): Add mul.
17183 (libm-test-funcs-narrow): Likewise.
17184 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
17185 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
17186 * math/gen-auto-libm-tests.c (test_functions): Add mul.
17187 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
17188 (NARROW_MUL_ROUND_TO_ODD): Likewise.
17189 (NARROW_MUL_TRIVIAL): Likewise.
17190 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
17191 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
17193 (__dmull): Likewise.
17194 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
17196 (CFLAGS-nldbl-dmul.c): New variable.
17197 (CFLAGS-nldbl-fmul.c): Likewise.
17198 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
17200 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
17202 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
17203 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
17204 * math/auto-libm-test-in: Add tests of mul.
17205 * math/auto-libm-test-out-narrow-mul: New generated file.
17206 * math/libm-test-narrow-mul.inc: New file.
17207 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
17210 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
17211 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
17212 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
17218 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
17219 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
17220 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
17221 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
17222 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
17223 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
17224 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
17225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17226 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17227 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17228 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17229 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17230 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17231 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17232 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17233 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17234 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17236 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17237 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17238 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
17241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17243 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17244 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17245 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17246 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17247 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17249 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17250 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17252 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17254 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17255 with *%eax in call.
17257 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17259 * sysdeps/i386/ldsodefs.h: Removed.
17260 * sysdeps/x86_64/ldsodefs.h: Moved to ...
17261 * sysdeps/x86/ldsodefs.h: This.
17262 (La_i86_regs): New.
17263 (La_i86_retval): Likewise.
17264 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
17265 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
17267 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
17269 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
17272 2018-05-13 Alan Modra <amodra@gmail.com>
17274 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
17275 R_PARISC_TLS_DTPOFF32 reloc addend.
17277 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
17279 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
17280 * math/math.h: Restrict the prototype definition for the functions
17281 issignaling(_Float128) and iszero(_Float128); and template
17282 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
17283 __HAVE_FLOAT128_UNLIKE_LDBL.
17284 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
17285 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17286 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
17287 __f128() constants; define the type _Float128 as long double;
17288 and reuse long double in __CFLOAT128.
17290 2018-05-11 Joseph Myers <joseph@codesourcery.com>
17292 * sysdeps/generic/math_private.h: Do not include
17294 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
17296 * math/fromfp.h: Include <math-barriers.h>.
17297 * math/math-narrow.h: Likewise.
17298 * math/s_nextafter.c: Likewise.
17299 * math/s_nexttowardf.c: Likewise.
17300 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
17301 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
17302 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
17303 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
17304 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17305 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17306 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17308 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17309 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17311 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17314 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17319 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17320 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17321 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17322 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17323 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17324 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17325 * sysdeps/ieee754/k_standardl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17342 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
17343 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
17344 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17345 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17346 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
17347 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
17349 2018-05-11 Florian Weimer <fweimer@redhat.com>
17351 Use 64-bit epoch values in the time zone file parser.
17352 * include/time.h (internal_time_t): Define.
17353 (__tzfile_compute): Use it.
17354 * time/tzfile.c (struct leap): Use internal_time_t for epoch
17356 (transitions): Switch to internal_time_t.
17357 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
17359 (__tzfile_compute): Use internal_time_t for timer argument. Check
17360 for truncation before calling __offtime.
17362 2018-05-11 Florian Weimer <fweimer@redhat.com>
17365 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
17366 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
17368 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
17369 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
17370 export without --enable-obsolete-rpc.
17371 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
17372 symbol. This should not have been exported, ever.
17374 2018-05-11 Rafał Lużyński <digitalfreak@lingonborough.com>
17377 * localedata/locales/gd_GB (abmon): Fix typo in May:
17378 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
17380 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
17382 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
17383 Use multiple registers to copy data in loop tail.
17385 * sysdeps/aarch64/multiarch/memmove_falkor.S
17386 (__memmove_falkor): Use multiple registers to move data in
17389 2018-05-10 Joseph Myers <joseph@codesourcery.com>
17391 * math/math-underflow.h: New file.
17392 * sysdeps/generic/math_private.h: Do not include <float.h>.
17393 (fabs_tg): Remove macro. Moved to math-underflow.h.
17394 (min_of_type_f): Likewise.
17395 (min_of_type_): Likewise.
17396 (min_of_type_l): Likewise.
17397 (min_of_type_f128): Likewise.
17398 (min_of_type): Likewise.
17399 (math_check_force_underflow): Likewise.
17400 (math_check_force_underflow_nonneg): Likewise.
17401 (math_check_force_underflow_complex): Likewise.
17402 * math/e_exp2_template.c: Include <math-underflow.h>.
17403 * math/k_casinh_template.c: Likewise.
17404 * math/s_catan_template.c: Likewise.
17405 * math/s_catanh_template.c: Likewise.
17406 * math/s_ccosh_template.c: Likewise.
17407 * math/s_cexp_template.c: Likewise.
17408 * math/s_clog10_template.c: Likewise.
17409 * math/s_clog_template.c: Likewise.
17410 * math/s_csin_template.c: Likewise.
17411 * math/s_csinh_template.c: Likewise.
17412 * math/s_csqrt_template.c: Likewise.
17413 * math/s_ctan_template.c: Likewise.
17414 * math/s_ctanh_template.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17433 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17435 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17436 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17437 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17438 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17439 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17440 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17441 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17442 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17443 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17444 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17445 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17446 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17447 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17451 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17453 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17454 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17455 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17456 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17475 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17478 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17479 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17480 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17482 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17483 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17484 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17486 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17487 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17488 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
17489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17490 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17491 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17492 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17493 * sysdeps/x86/fpu/powl_helper.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
17495 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
17496 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17497 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
17498 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
17500 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17502 * sysdeps/generic/math-barriers.h: New file.
17503 * sysdeps/generic/math_private.h [!math_opt_barrier]
17504 (math_opt_barrier): Move to math-barriers.h.
17505 [!math_opt_barrier] (math_force_eval): Likewise.
17506 * sysdeps/aarch64/fpu/math-barriers.h: New file.
17507 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
17509 (math_force_eval): Likewise.
17510 * sysdeps/alpha/fpu/math-barriers.h: New file.
17511 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
17513 (math_force_eval): Likewise.
17514 * sysdeps/x86/fpu/math-barriers.h: New file.
17515 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
17517 (math_force_eval): Likewise.
17518 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
17519 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
17520 multiple-include guard for rename.
17521 * sysdeps/powerpc/fpu/math-barriers.h: New file.
17522 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
17524 (math_force_eval): Likewise.
17526 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
17530 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
17532 * stdlib/Makefile (test-bz22786): New test.
17533 * stdlib/test-bz22786.c: New test.
17535 2018-05-09 Joseph Myers <joseph@codesourcery.com>
17537 * include/math-narrow-eval.h: New file. Contents moved from ....
17538 * sysdeps/generic/math_private.h: ... here.
17539 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
17540 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17541 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
17542 * stdlib/strtod_l.c: Likewise.
17543 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
17544 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
17545 * sysdeps/i386/fpu/s_fdim.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17554 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17556 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17558 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17559 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17560 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17561 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17562 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17563 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17564 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17565 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17566 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17567 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17568 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17569 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17570 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17571 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17573 2018-05-08 Andreas Schwab <schwab@suse.de>
17575 * sysdeps/nptl/internaltypes.h: Fix comment.
17577 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
17579 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17580 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
17583 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
17585 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
17586 of I into loop header.
17587 * benchtests/bench-memmove-walk.c
17588 (test_main): Likewise.
17590 2018-05-07 Alexandre Oliva <oliva@gnu.org>
17593 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
17594 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
17596 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17599 * elf/dl-load.c (open_verify): Fix stack overflow.
17600 * elf/Makefile (tst-big-note): New test.
17601 * elf/tst-big-note-lib.S: New.
17602 * elf/tst-big-note.c: New.
17604 2018-05-04 Joseph Myers <joseph@codesourcery.com>
17606 * scripts/abilist.awk: Ignore absolute symbols.
17607 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
17608 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
17609 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
17610 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
17611 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
17612 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
17613 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
17614 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
17615 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
17616 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
17617 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
17618 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
17620 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
17621 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
17622 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
17625 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
17629 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
17631 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
17632 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
17633 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
17634 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
17635 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17636 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
17637 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
17642 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
17643 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
17644 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
17645 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
17647 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
17648 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17649 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
17650 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
17651 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17652 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
17653 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
17654 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
17655 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
17656 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
17657 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
17658 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
17661 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
17663 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
17664 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17665 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
17669 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
17670 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
17671 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
17672 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
17673 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
17674 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17675 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
17676 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
17677 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17678 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
17679 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
17680 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
17681 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
17682 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
17683 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
17684 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
17685 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
17686 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
17687 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17688 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
17689 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
17690 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17691 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
17692 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
17693 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
17694 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
17695 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
17696 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
17697 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
17698 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17700 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
17701 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17702 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
17703 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
17704 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17705 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
17706 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
17707 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
17708 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
17709 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
17710 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
17711 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
17712 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17714 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
17715 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17716 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
17717 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
17718 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17719 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
17720 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
17721 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
17722 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
17723 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
17724 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
17725 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
17726 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
17727 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
17728 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17729 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
17730 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
17731 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17732 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
17734 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
17735 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
17737 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
17738 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17739 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
17740 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17742 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
17743 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
17744 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
17745 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
17746 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17747 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
17748 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
17749 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
17750 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
17751 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
17752 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
17753 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
17754 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
17755 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
17756 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
17757 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
17758 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
17759 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
17760 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17761 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17763 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
17764 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
17765 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
17766 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17767 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
17768 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
17772 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
17773 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17774 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
17775 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
17779 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
17780 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
17781 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17782 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
17783 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
17784 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17785 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
17786 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
17787 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
17788 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
17789 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
17790 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
17792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
17793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
17797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
17798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
17799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
17800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
17802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
17805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
17820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
17821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
17826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
17828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
17829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
17830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
17832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
17833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
17841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
17842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
17843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
17853 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
17855 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
17862 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
17863 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
17864 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
17865 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
17866 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17868 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17869 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
17870 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
17871 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
17878 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
17879 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17881 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17882 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
17883 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
17884 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
17891 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
17892 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
17893 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
17894 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17895 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
17896 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
17897 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17898 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
17899 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
17900 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17907 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
17908 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17909 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
17910 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
17911 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17912 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
17913 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
17914 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
17915 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
17917 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
17918 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
17919 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17921 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
17927 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
17929 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
17930 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
17931 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
17932 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
17933 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
17934 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
17935 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17936 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
17937 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
17938 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17939 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
17940 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
17941 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
17942 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
17943 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
17944 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
17945 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
17946 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
17947 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
17948 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
17949 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17950 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
17951 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
17952 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17953 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
17954 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
17955 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
17956 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
17957 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
17958 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
17960 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17963 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
17964 Use atomic_load_acquire to load __tid.
17966 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17968 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
17969 Restore the pointer into %rdx, after syscall and use %rdx,
17970 instead of %rsi, to restore context.
17972 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17974 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
17975 Pop the pointer into %rdx after syscall and use %rdx, instead
17976 of %rsi, to restore context.
17978 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
17980 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
17981 handlers after setjmp.
17982 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
17984 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
17985 <libc-pointer-arith.h>.
17986 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
17987 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
17988 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
17989 _JUMP_BUF_SIGSET_BITS_PER_WORD.
17990 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
17991 * sysdeps/x86/__longjmp_cancel.S: New file.
17992 * sysdeps/x86/longjmp.c: Likewise.
17993 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
17995 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17997 * NEWS: Add ustat.h deprecation entry.
17998 * bits/ustat.h: Remove file.
17999 * misc/sys/ustat.h: Likewise.
18000 * misc/ustat.h: Likewise.
18001 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
18002 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
18003 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
18004 compatibility mode.
18005 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
18006 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
18007 generic Linux implementation.
18009 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18011 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
18012 * math/w_expl_compat.c: Likewise.
18013 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
18015 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
18017 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
18019 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18021 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
18022 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
18023 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
18025 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18028 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
18029 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
18032 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18034 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
18036 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
18037 * math/w_asin_template.c: Likewise.
18038 * math/w_atanh_template.c: Likewise.
18040 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
18042 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
18043 to powerpc/powerpc64/be for big-endian.
18044 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
18047 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
18048 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
18049 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
18050 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
18051 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18052 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
18053 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
18054 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
18055 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
18056 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18057 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
18058 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
18059 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
18060 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
18061 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
18062 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
18063 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
18064 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
18065 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
18066 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
18067 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
18068 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18069 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
18070 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
18071 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
18072 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18073 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
18074 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
18075 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
18076 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18077 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18078 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18080 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
18081 adjusted to imply powerpc64 and older processors on powerpc64/be.
18082 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
18083 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
18084 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
18085 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
18086 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
18087 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
18088 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
18089 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
18090 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
18091 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
18092 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
18093 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
18094 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
18095 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
18096 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
18097 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
18098 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
18099 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
18100 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
18101 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
18102 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
18103 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
18104 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
18105 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
18106 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
18107 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
18108 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
18109 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
18110 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
18111 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
18112 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
18114 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
18115 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
18116 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
18117 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
18119 * sysdeps/powerpc/powerpc64/be/Implies: New file.
18120 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
18121 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
18122 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
18124 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
18125 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
18126 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
18127 * sysdeps/powerpc/powerpc64le/configure: Likewise.
18128 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
18129 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
18130 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
18131 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
18132 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
18133 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
18134 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
18136 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
18137 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
18138 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
18139 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
18140 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
18141 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
18142 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
18143 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
18144 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
18145 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
18146 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
18148 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
18149 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
18150 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
18151 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
18152 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
18153 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
18154 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
18155 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
18156 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
18157 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
18158 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
18159 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
18161 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
18162 and adjusted to imply olders processors.
18163 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
18164 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
18165 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
18166 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
18167 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
18168 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
18169 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
18170 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
18171 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
18172 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
18173 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
18192 powerpc64 and adjusted.
18193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
18198 2018-04-27 Joseph Myers <joseph@codesourcery.com>
18200 * sysdeps/tile: Remove.
18201 * sysdeps/unix/sysv/linux/tile: Likewise.
18202 * README (tilegx-*-linux-gnu): Remove from list of supported
18204 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
18205 contribution of support for generic Linux kernel syscall
18207 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
18208 tilegx configurations.
18209 (Config.install_linux_headers): Do not handle tile.
18210 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
18212 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
18213 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
18214 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18215 conditional undefine and redefine.
18216 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
18218 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
18219 conditional undefine and redefine.
18221 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
18223 * signal/tst-sigaction.c: New file to test BZ #23069.
18224 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
18226 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18229 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
18230 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
18231 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
18232 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18234 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18236 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
18237 _DIRENT_MATCHES_DIRENT64 is not defined.
18238 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
18239 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
18241 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
18242 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
18244 2018-04-25 Joseph Myers <joseph@codesourcery.com>
18246 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
18247 version to GCC 8 branch.
18249 2018-04-24 Joseph Myers <joseph@codesourcery.com>
18251 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
18252 (check_no_hidden): Use type of original function when declaring
18255 * sysdeps/unix/sysv/linux/sys/ptrace.h
18256 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
18257 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
18258 (struct __ptrace_seccomp_metadata): New type.
18259 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18260 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18261 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
18262 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18263 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
18264 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18265 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18266 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18267 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18268 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18270 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18271 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
18272 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18273 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
18274 (PTRACE_SECCOMP_GET_METADATA): Likewise.
18276 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18278 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
18280 * dirent/versionsort.c (versionsort): Likewise.
18281 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
18282 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
18283 * dirent/versionsort64.c (versionsort64): Likewise.
18284 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
18285 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
18286 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
18287 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
18288 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
18289 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
18290 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
18291 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
18292 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
18293 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
18294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
18296 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
18297 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
18299 2018-04-23 Joseph Myers <joseph@codesourcery.com>
18301 * elf/elf.h (NT_PPC_PKEY): New macro.
18303 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
18306 * localedata/locales/hr_HR: fix thousands_sep and
18309 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18311 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
18312 (XTABS): Define to TAB3.
18314 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18316 * sysdeps/hppa/fpu/libm-test-ulps: Update.
18318 * dirent/scandir-tail-common.c: New file.
18319 * dirent/scandir-tail.c: Use scandir-tail-common.c.
18320 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
18321 * dirent/scandir.c: Use scandir-tail-common.c.
18322 * dirent/scandirat.c: Likewise.
18323 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
18324 * dirent/scandir64.c (scandir64): Always build and alias to scandir
18325 if _DIRENT_MATCHES_DIRENT64 is defined.
18326 * dirent/scandirat64.c (scandirat64): Likewise.
18327 * include/dirent.h (__scandir_tail): Only define iff
18328 _DIRENT_MATCHES_DIRENT64 is not defined.
18329 (__scandir64_tail): Define regardless.
18330 (__scandirat, scandirat64): Remove libc_hidden_proto.
18331 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
18332 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
18334 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
18335 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
18336 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
18337 * sysdeps/unix/sysv/linux/scandir64.c: New file.
18339 2018-04-20 Joseph Myers <joseph@codesourcery.com>
18341 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
18343 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
18345 (_dl_aarch64_cap_flags): Add asimdfhm.
18347 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
18349 * sysdeps/nios2/libm-test-ulps: Update.
18351 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18353 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
18354 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
18356 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
18358 (_DIRENT_MATCHES_DIRENT64): Undef
18359 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
18360 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
18361 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
18362 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
18363 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
18364 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
18365 use getdents64 syscalls as base.
18366 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
18367 symbol if required.
18368 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
18369 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
18370 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
18371 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
18372 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
18373 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
18374 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
18375 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
18376 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18377 (__get_clockfreq_via_proc_openprom): Use __getdents64.
18378 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
18380 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18382 * scripts/test_printers_common.py (init_test): Disable lock elision.
18384 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
18386 * math/test-tgmath.c (count_double, count_float,
18387 count_ldouble, count_cdouble, count_cfloat,
18388 count_cldouble): Use volatile int.
18390 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
18392 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
18393 (conformtest-xfail-conds): Add i386-gnu.
18394 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
18396 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
18397 ipc_perm.cuid, ipc_perm.cgid): Likewise.
18398 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
18399 msqid_ds.msg_lrpid): Likewise.
18400 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
18402 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
18403 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
18404 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
18405 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
18407 (struct statvfs64): Likewise.
18408 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
18410 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
18411 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
18412 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
18413 instead of wait_queue.
18414 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
18415 instead of vm_area_struct.
18416 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
18417 struct sched_param definition to it.
18418 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
18419 * bits/types/struct_sched_param.h: New file.
18420 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
18421 <bits/types/struct_sched_param.h> instead of <sched.h>.
18422 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
18423 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
18424 generic version but include <bits/pthreadtypes.h> to make struct
18425 sigevent's sigev_notify_attributes field a pthread_attr_t*.
18426 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
18428 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
18429 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
18430 [__USE_XOPEN] (OFDEL): New macro.
18431 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
18432 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
18433 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
18435 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
18436 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
18437 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
18439 * sysdeps/i386/sys/ucontext.h: Likewise.
18440 * sysdeps/m68k/sys/ucontext.h: Likewise.
18441 * sysdeps/mips/sys/ucontext.h: Likewise.
18442 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
18443 * sysdeps/mach/hurd/i386/Makefile
18444 (test-xfail-POSIX/fcntl.h/conform): Add.
18445 (test-xfail-POSIX/signal.h/conform): Add.
18446 (test-xfail-POSIX/semaphore.h/conform): Add.
18447 (test-xfail-POSIX/regex.h/conform): Add.
18448 (test-xfail-POSIX/aio.h/conform): Add.
18449 (test-xfail-POSIX/mqueue.h/conform): Add.
18450 (test-xfail-POSIX/sys/types.h/conform): Add.
18451 (test-xfail-UNIX98/fcntl.h/conform): Add.
18452 (test-xfail-UNIX98/netdb.h/conform): Add.
18453 (test-xfail-UNIX98/signal.h/conform): Add.
18454 (test-xfail-UNIX98/semaphore.h/conform): Add.
18455 (test-xfail-UNIX98/regex.h/conform): Add.
18456 (test-xfail-UNIX98/aio.h/conform): Add.
18457 (test-xfail-UNIX98/ftw.h/conform): Add.
18458 (test-xfail-UNIX98/mqueue.h/conform): Add.
18459 (test-xfail-UNIX98/netinet/in.h/conform): Add.
18460 (test-xfail-UNIX98/sys/wait.h/conform): Add.
18461 (test-xfail-UNIX98/sys/sem.h/conform): Add.
18462 (test-xfail-UNIX98/sys/uio.h/conform): Add.
18463 (test-xfail-UNIX98/sys/socket.h/conform): Add.
18464 (test-xfail-UNIX98/sys/types.h/conform): Add.
18465 (test-xfail-UNIX98/stdlib.h/conform): Add.
18466 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
18467 (test-xfail-POSIX2008/fcntl.h/conform): Add.
18468 (test-xfail-POSIX2008/netdb.h/conform): Add.
18469 (test-xfail-POSIX2008/signal.h/conform): Add.
18470 (test-xfail-POSIX2008/semaphore.h/conform): Add.
18471 (test-xfail-POSIX2008/regex.h/conform): Add.
18472 (test-xfail-POSIX2008/aio.h/conform): Add.
18473 (test-xfail-POSIX2008/mqueue.h/conform): Add.
18474 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
18475 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
18476 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
18477 (test-xfail-POSIX2008/sys/types.h/conform): Add.
18478 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
18479 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
18480 (test-xfail-XOPEN2K/netdb.h/conform): Add.
18481 (test-xfail-XOPEN2K/signal.h/conform): Add.
18482 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
18483 (test-xfail-XOPEN2K/regex.h/conform): Add.
18484 (test-xfail-XOPEN2K/aio.h/conform): Add.
18485 (test-xfail-XOPEN2K/ftw.h/conform): Add.
18486 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
18487 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
18488 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
18489 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
18490 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
18491 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
18492 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
18493 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
18494 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
18495 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
18496 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
18497 (test-xfail-XOPEN2K8/signal.h/conform): Add.
18498 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
18499 (test-xfail-XOPEN2K8/regex.h/conform): Add.
18500 (test-xfail-XOPEN2K8/aio.h/conform): Add.
18501 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
18502 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
18503 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
18504 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
18505 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
18506 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
18507 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
18508 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
18509 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
18510 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
18511 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
18513 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
18514 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
18516 2018-04-18 Joseph Myers <joseph@codesourcery.com>
18518 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
18519 --enable-obsolete for powerpc-linux-gnuspe.
18521 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
18523 * conform/data/sys/un.h-data: Allow sun_ prefix.
18524 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
18526 * sysdeps/mach/include/mach.h: Likewise.
18527 * sysdeps/mach/include/mach/mig_support.h: Likewise.
18528 * sysdeps/mach/include/mach_error.h: Likewise.
18530 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18532 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
18533 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
18534 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
18535 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
18537 2018-04-16 Andreas Schwab <schwab@suse.de>
18540 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
18542 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
18544 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
18545 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
18547 2018-04-12 DJ Delorie <dj@redhat.com>
18549 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18552 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18554 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
18555 (struct kernel_sigaction): Use the same definition on 31bit as is used
18558 2018-04-09 Florian Weimer <fweimer@redhat.com>
18561 * resolv/res_send.c (send_dg): Use designated initializers instead
18562 of assignment to zero-initialize other fields of struct mmsghdr.
18564 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18566 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
18567 __READDIR_ALIAS): Undefine after usage.
18568 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
18569 __READDIR_R_ALIAS): Likewise.
18570 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
18571 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
18572 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
18573 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
18574 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
18575 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
18576 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18577 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18578 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
18579 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
18580 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
18581 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
18582 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18583 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
18584 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
18585 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
18586 * sysdeps/unix/sysv/linux/readdir.c: New file.
18587 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
18588 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
18589 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
18591 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
18593 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
18595 * manual/charset.texi (Converting a Character): Fix typo.
18597 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18601 * sysdeps/arm/libm-test-ulps: Update.
18603 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
18604 as base implementation.
18605 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18606 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18608 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18609 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18610 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
18611 remove unrequired definitions and update comments.
18612 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
18613 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
18614 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
18615 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
18616 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
18617 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
18618 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
18619 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
18620 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
18621 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
18622 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
18623 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18624 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18625 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
18626 and RESET_SA_RESTORER hooks.
18628 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
18630 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18632 2018-04-05 Florian Weimer <fweimer@redhat.com>
18634 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
18635 integer overflow, memory leak on error, and indeterminate errno
18636 value. Add a null wide character to terminate the result string.
18637 * manual/charset.texi (Converting a Character): Mention embedded
18638 null bytes in the mbrtowc input string. Explain what happens in
18639 the -2 result case. Do not claim that mbrtowc is simple or
18640 obvious to use. Adjust the description of the code example. Use
18641 @code, not @var, for concrete variables.
18643 2018-04-05 Florian Weimer <fweimer@redhat.com>
18645 * manual/examples/mbstouwcs.c: New file.
18646 * manual/charset.texi (Converting a Character): Include it.
18648 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
18650 * include/dirent.h (dirfd): Add hidden proto.
18651 * dirent/dirfd.c (dirfd): Add hidden def.
18652 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
18653 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
18655 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
18657 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
18658 sin, cos and sincos to 1 ULP.
18660 2018-04-04 Maciej W. Rozycki <macro@mips.com>
18663 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
18665 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
18666 * elf/tst-absolute-sym.c: New file.
18667 * elf/tst-absolute-sym-lib.c: New file.
18668 * elf/tst-absolute-sym-lib.lds: New file.
18669 * elf/Makefile (tests): Add `tst-absolute-sym'.
18670 (modules-names): Add `tst-absolute-sym-lib'.
18671 (LDLIBS-tst-absolute-sym-lib.so): New variable.
18672 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
18673 ($(objpfx)tst-absolute-sym): New dependency.
18676 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
18678 (SYMBOL_ADDRESS): New macro.
18679 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
18680 SYMBOL_ADDRESS for symbol address calculation.
18681 * elf/dl-runtime.c (_dl_fixup): Likewise.
18682 (_dl_profile_fixup): Likewise.
18683 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
18684 * elf/rtld.c (dl_main): Likewise.
18685 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
18686 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
18687 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
18688 (elf_machine_rela): Likewise.
18689 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
18690 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
18691 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18692 (elf_machine_rela): Likewise.
18693 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18694 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
18695 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
18696 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
18698 (elf_machine_reloc): Likewise.
18699 (elf_machine_got_rel): Likewise.
18700 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
18701 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
18702 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18706 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
18707 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18709 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18711 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18716 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
18717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18719 2018-04-04 Zack Weinberg <zackw@panix.com>
18721 * sysdeps/generic/internal-signals.h: Include signal.h,
18722 sigsetops.h, and stdbool.h.
18723 (__libc_signal_block_all): Actually block all signals.
18724 (__libc_signal_block_app): Likewise.
18725 (__libc_signal_restore_set): Actually restore the signal mask.
18727 2018-04-04 Florian Weimer <fweimer@redhat.com>
18729 inet: Actually build and run tst-deadline.
18730 * inet/Makefile (tests-internal): Add tst-deadline and do not
18731 overwrite the variable.
18732 (tests-static-internal): Remove variable.
18734 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
18737 * bits/uio-ext.h (RWF_APPEND): New.
18738 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
18739 * manual/llio.texi: Document RWF_APPEND.
18740 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
18741 (RWF_SUPPORTED): Add RWF_APPEND.
18743 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18746 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
18747 check for internal nptl signals.
18748 * nptl/sigaction.c (__sigaction): Likewise.
18749 * signal/sigaddset.c (sigaddset): Likewise.
18750 * signal/sigdelset.c (sigdelset): Likewise.
18751 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
18752 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
18754 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
18755 to filter out internal nptl signals.
18756 * signal/tst-sigset.c (do_test): Check ech signal indidually and
18757 also check realtime signals using standard macros.
18758 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
18759 __is_internal_signal, __libc_signal_block_all,
18760 __libc_signal_block_app, __libc_signal_restore_set): New functions.
18761 * sysdeps/nptl/sigfillset.c: Remove file.
18762 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
18763 Change return to bool.
18764 (__clear_internal_signals): Remove SIGTIMER clean since it is
18765 equal to SIGCANEL on Linux.
18766 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
18767 signal set was constructed using standard functions.
18769 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
18771 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
18772 ifname is too long.
18773 * hurd/hurdsig.c (interrupted_reply_port_location): Use
18774 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
18775 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
18777 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
18778 * signal/sigaddset.c: Include <sigsetopts.h>.
18779 * signal/sigdelset.c: Likewise.
18781 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
18785 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
18786 logic as sin and cos.
18788 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18790 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
18791 inputs. Return correct sign.
18792 (do_sincos): Remove small input check before do_sin, let do_sin set
18797 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18799 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
18800 (do_cos_slow): Likewise.
18801 (do_sin_slow): Likewise.
18802 (reduce_and_compute): Likewise.
18807 (sloww1): Likewise.
18808 (sloww2): Likewise.
18810 (bslow1): Likewise.
18811 (bslow2): Likewise.
18812 (cslow2): Likewise.
18814 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18816 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
18817 (do_cos): Remove corp parameter and calculations.
18818 (do_sin): Likewise.
18819 (do_sincos): Remove cor variable.
18820 (__sin): Use do_sincos for huge inputs.
18822 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18823 (reduce_and_compute_sincos): Remove unused function.
18825 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18827 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
18828 reduce_sincos, improve accuracy to 136 bits.
18829 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
18830 (__sin): Use improved reduction and simplified do_sincos calculation.
18832 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
18834 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18836 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
18837 (do_sincos_2): Likewise.
18838 (__sin): Remove middle range reduction case.
18840 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
18843 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
18845 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
18846 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
18849 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
18851 2018-04-03 Joseph Myers <joseph@codesourcery.com>
18853 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
18856 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18858 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
18859 Remove definitions.
18860 (opendir_oflags): Use O_DIRECTORY regardless.
18861 (__opendir, __opendirat): Remove need_isdir_precheck usage.
18862 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
18864 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18866 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
18867 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
18869 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
18870 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
18871 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
18872 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
18873 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
18874 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
18876 * htl/Makefile: Bump licence to LGPL 2.1+.
18877 * htl/alloca_cutoff.c: Likewise.
18878 * htl/cthreads-compat.c: Likewise.
18879 * htl/lockfile.c: Likewise.
18880 * htl/pt-alloc.c: Likewise.
18881 * htl/pt-cancel.c: Likewise.
18882 * htl/pt-cleanup.c: Likewise.
18883 * htl/pt-create.c: Likewise.
18884 * htl/pt-dealloc.c: Likewise.
18885 * htl/pt-detach.c: Likewise.
18886 * htl/pt-exit.c: Likewise.
18887 * htl/pt-getattr.c: Likewise.
18888 * htl/pt-initialize.c: Likewise.
18889 * htl/pt-internal.h: Likewise.
18890 * htl/pt-join.c: Likewise.
18891 * htl/pt-self.c: Likewise.
18892 * htl/pt-setcancelstate.c: Likewise.
18893 * htl/pt-setcanceltype.c: Likewise.
18894 * htl/pt-sigmask.c: Likewise.
18895 * htl/pt-spin-inlines.c: Likewise.
18896 * htl/pt-testcancel.c: Likewise.
18897 * htl/pt-yield.c: Likewise.
18898 * htl/tests/test-1.c: Likewise.
18899 * htl/tests/test-10.c: Likewise.
18900 * htl/tests/test-11.c: Likewise.
18901 * htl/tests/test-12.c: Likewise.
18902 * htl/tests/test-13.c: Likewise.
18903 * htl/tests/test-14.c: Likewise.
18904 * htl/tests/test-15.c: Likewise.
18905 * htl/tests/test-16.c: Likewise.
18906 * htl/tests/test-17.c: Likewise.
18907 * htl/tests/test-2.c: Likewise.
18908 * htl/tests/test-3.c: Likewise.
18909 * htl/tests/test-4.c: Likewise.
18910 * htl/tests/test-5.c: Likewise.
18911 * htl/tests/test-6.c: Likewise.
18912 * htl/tests/test-7.c: Likewise.
18913 * htl/tests/test-8.c: Likewise.
18914 * htl/tests/test-9.c: Likewise.
18915 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
18916 * sysdeps/htl/bits/cancelation.h: Likewise.
18917 * sysdeps/htl/bits/pthread-np.h: Likewise.
18918 * sysdeps/htl/bits/pthread.h: Likewise.
18919 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
18920 * sysdeps/htl/bits/semaphore.h: Likewise.
18921 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
18922 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
18923 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
18924 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
18925 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
18926 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
18927 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
18928 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
18929 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
18930 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
18931 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
18932 * sysdeps/htl/old_pt-atfork.c: Likewise.
18933 * sysdeps/htl/pt-atfork.c: Likewise.
18934 * sysdeps/htl/pt-attr-destroy.c: Likewise.
18935 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
18936 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
18937 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
18938 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
18939 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
18940 * sysdeps/htl/pt-attr-getscope.c: Likewise.
18941 * sysdeps/htl/pt-attr-getstack.c: Likewise.
18942 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
18943 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
18944 * sysdeps/htl/pt-attr-init.c: Likewise.
18945 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
18946 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
18947 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
18948 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
18949 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
18950 * sysdeps/htl/pt-attr-setscope.c: Likewise.
18951 * sysdeps/htl/pt-attr-setstack.c: Likewise.
18952 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
18953 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
18954 * sysdeps/htl/pt-attr.c: Likewise.
18955 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
18956 * sysdeps/htl/pt-barrier-init.c: Likewise.
18957 * sysdeps/htl/pt-barrier-wait.c: Likewise.
18958 * sysdeps/htl/pt-barrier.c: Likewise.
18959 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
18960 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
18961 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
18962 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
18963 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
18964 * sysdeps/htl/pt-cond-destroy.c: Likewise.
18965 * sysdeps/htl/pt-cond-init.c: Likewise.
18966 * sysdeps/htl/pt-cond-signal.c: Likewise.
18967 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
18968 * sysdeps/htl/pt-cond-wait.c: Likewise.
18969 * sysdeps/htl/pt-cond.c: Likewise.
18970 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
18971 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
18972 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
18973 * sysdeps/htl/pt-condattr-init.c: Likewise.
18974 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
18975 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
18976 * sysdeps/htl/pt-destroy-specific.c: Likewise.
18977 * sysdeps/htl/pt-equal.c: Likewise.
18978 * sysdeps/htl/pt-getconcurrency.c: Likewise.
18979 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
18980 * sysdeps/htl/pt-getschedparam.c: Likewise.
18981 * sysdeps/htl/pt-getspecific.c: Likewise.
18982 * sysdeps/htl/pt-init-specific.c: Likewise.
18983 * sysdeps/htl/pt-key-create.c: Likewise.
18984 * sysdeps/htl/pt-key-delete.c: Likewise.
18985 * sysdeps/htl/pt-key.h: Likewise.
18986 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
18987 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
18988 * sysdeps/htl/pt-mutex-init.c: Likewise.
18989 * sysdeps/htl/pt-mutex-lock.c: Likewise.
18990 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
18991 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
18992 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
18993 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
18994 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
18995 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
18996 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
18997 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
18998 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
18999 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
19000 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
19001 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
19002 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
19003 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
19004 * sysdeps/htl/pt-mutexattr.c: Likewise.
19005 * sysdeps/htl/pt-once.c: Likewise.
19006 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
19007 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
19008 * sysdeps/htl/pt-rwlock-init.c: Likewise.
19009 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
19010 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
19011 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
19012 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
19013 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
19014 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
19015 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
19016 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
19017 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
19018 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
19019 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
19020 * sysdeps/htl/pt-setconcurrency.c: Likewise.
19021 * sysdeps/htl/pt-setschedparam.c: Likewise.
19022 * sysdeps/htl/pt-setschedprio.c: Likewise.
19023 * sysdeps/htl/pt-setspecific.c: Likewise.
19024 * sysdeps/htl/pt-spin.c: Likewise.
19025 * sysdeps/htl/pt-startup.c: Likewise.
19026 * sysdeps/htl/pthread.h: Likewise.
19027 * sysdeps/htl/sem-close.c: Likewise.
19028 * sysdeps/htl/sem-destroy.c: Likewise.
19029 * sysdeps/htl/sem-getvalue.c: Likewise.
19030 * sysdeps/htl/sem-init.c: Likewise.
19031 * sysdeps/htl/sem-open.c: Likewise.
19032 * sysdeps/htl/sem-post.c: Likewise.
19033 * sysdeps/htl/sem-timedwait.c: Likewise.
19034 * sysdeps/htl/sem-trywait.c: Likewise.
19035 * sysdeps/htl/sem-unlink.c: Likewise.
19036 * sysdeps/htl/sem-wait.c: Likewise.
19037 * sysdeps/hurd/htl/pt-kill.c: Likewise.
19038 * sysdeps/i386/htl/pt-machdep.h: Likewise.
19039 * sysdeps/mach/htl/pt-block.c: Likewise.
19040 * sysdeps/mach/htl/pt-spin.c: Likewise.
19041 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
19042 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
19043 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
19044 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
19045 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
19046 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
19047 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
19048 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
19049 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
19050 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
19051 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
19052 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
19053 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
19054 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
19055 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
19056 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
19057 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
19058 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
19059 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
19060 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
19061 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
19062 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
19063 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
19064 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
19065 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
19066 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
19067 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
19068 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
19069 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
19070 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
19071 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
19072 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
19073 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
19074 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
19075 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
19076 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
19077 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
19078 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
19079 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
19080 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
19081 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
19082 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
19083 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
19085 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
19086 * README: Remove the mention of out-of-tree patches needed for
19089 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
19090 (UTIME_NOW, UTIME_OMIT): Define macros.
19092 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
19093 instead of pthread_detach.
19094 (__cthread_fork): Call __pthread_create instead of pthread_create.
19095 (__cthread_keycreate): Call __pthread_key_create instead of
19096 pthread_key_create.
19097 (__cthread_getspecific): Call __pthread_getspecific instead of
19098 pthread_getspecific.
19099 (__cthread_setspecific): Call __pthread_setspecific instead of
19100 pthread_setspecific.
19101 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
19102 __pthread_mutex_unlock instead of pthread_mutex_lock and
19103 pthread_mutex_unlock.
19104 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
19105 ___pthread_get_cleanup_stack.
19106 (__pthread_get_cleanup_stack): New strong alias.
19107 * htl/pt-create.c: Include <pthreadP.h>.
19108 (entry_point): Call __pthread_exit instead of pthread_exit.
19109 (pthread_create): Rename to __pthread_create.
19110 (pthread_create): New strong alias.
19111 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
19112 (pthread_detach): New strong alias.
19113 (__pthread_detach): Call __pthread_cond_broadcast instead of
19114 pthread_cond_broadcast.
19115 * htl/pt-exit.c: Include <pthreadP.h>.
19116 (__pthread_exit): Call __pthread_setcancelstate and
19117 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
19118 __pthread_get_cleanup_stack.
19119 * htl/pt-testcancel.c: Include <pthreadP.h>.
19120 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
19121 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
19122 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
19123 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
19124 pthread_attr_getstacksize.
19125 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
19126 Rename to __pthread_attr_getstackaddr.
19127 (pthread_attr_getstackaddr): New strong alias.
19128 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
19129 Rename to __pthread_attr_getstacksize.
19130 (pthread_attr_getstacksize): New strong alias.
19131 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
19132 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
19133 (pthread_attr_setstack): New strong alias.
19134 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
19135 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
19136 pthread_attr_getstacksize, pthread_attr_setstacksize and
19137 pthread_attr_setstackaddr.
19138 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
19139 Rename to __pthread_attr_setstackaddr.
19140 (pthread_attr_setstackaddr): New strong alias.
19141 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
19142 Rename to __pthread_attr_setstacksize.
19143 (pthread_attr_setstacksize): New strong alias.
19144 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
19145 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
19147 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
19148 (__pthread_key_create): New hidden def.
19149 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
19150 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
19151 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
19152 __pthread_exit, __pthread_key_create, __pthread_getspecific,
19153 __pthread_setspecific, __pthread_setcancelstate,
19154 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
19155 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
19156 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
19158 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
19159 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
19160 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
19161 (pthread_attr_setstackaddr): New strong alias.
19162 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
19163 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
19164 (pthread_attr_setstacksize): New strong alias.
19165 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
19166 (call_exit): Call __pthread_exit instead of pthread_exit.
19167 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
19168 (_pthread_mutex_init): New hidden definition.
19169 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
19170 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
19171 instead of pthread_attr_init and pthread_attr_setstack.
19173 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
19174 __vm_deallocate instead of vm_allocate and vm_deallocate.
19175 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
19177 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
19179 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
19181 * hurd/siginfo.c: Include <libioP.h>.
19182 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
19183 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
19185 * mach/devstream.c: Include <libioP.h>.
19186 (dealloc_ref): Call __mach_port_deallocate instead of
19187 mach_port_deallocate.
19188 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
19189 Call __mach_port_deallocate instead of mach_port_deallocate.
19190 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
19192 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
19194 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
19195 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
19196 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
19198 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
19200 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
19201 instead of sysconf.
19202 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
19203 __clock_gettime instead of clock_gettime.
19204 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
19205 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19206 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
19207 * sysdeps/unix/bsd/stty.c (stty): Likewise.
19208 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
19210 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
19211 __clock_gettime and __nanosleep instead of clock_gettime and
19213 * hurd/catch-signal.c (hurd_catch_signal): Rename to
19214 __hurd_catch_signal.
19215 (hurd_catch_signal): New strong alias.
19216 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
19217 __hurd_catch_signal instead of hurd_catch_signal.
19218 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
19219 * hurd/hurdexec.c (_hurd_init): Add hidden def.
19220 * hurd/hurdinit.c (_hurd_init): Add hidden def.
19221 * hurd/hurdsig.c: Include <mach/mig_support.h>.
19222 (_hurd_thread_sigstate): Add hidden def.
19223 (_hurd_internal_post_signal): Use __mutex_unlock instead of
19225 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
19226 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
19227 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
19228 __hurd_file_name_path_lookup.
19229 (hurd_file_name_path_lookup): New strong alias.
19230 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
19231 hurd_file_name_path_lookup.
19232 * mach/errstring.c (mach_error_type): Add hidden def.
19233 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
19234 * mach/mutex-init.c (__mutex_init): Add hidden def.
19235 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
19236 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
19237 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
19238 * sysdeps/mach/hurd/getcwd.c
19239 (_hurd_canonicalize_directory_name_internal): Rename to
19240 __hurd_canonicalize_directory_name_internal.
19241 (_hurd_canonicalize_directory_name_internal): New strong alias.
19242 (__canonicalize_directory_name_internal, __getcwd): Call
19243 __hurd_canonicalize_directory_name_internal instead of
19244 _hurd_canonicalize_directory_name_internal.
19245 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
19246 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
19248 * sysdeps/hurd/include/hurd.h: New file.
19249 * sysdeps/hurd/include/hurd/fd.h: New file.
19250 * sysdeps/hurd/include/hurd/signal.h: New file.
19251 * sysdeps/mach/include/lock-intern.h: New file.
19252 * sysdeps/mach/include/mach.h: New file.
19253 * sysdeps/mach/include/mach/mig_support.h: New file.
19254 * sysdeps/mach/include/mach_error.h: New file.
19255 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
19257 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
19258 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
19259 _HEADER_H_HIDDEN_DEF macro.
19260 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
19261 _hurd_fd_error_signal): Add hidden prototype.
19262 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
19264 * libio/iolibio.h (_IO_puts): New hidden prototype.
19265 * libio/ioputs.c (_IO_puts): New hidden def.
19266 * sysdeps/mach/hurd/localplt.data: New file.
19268 2018-04-02 Agustina Arzille <avarzille@riseup.net>
19269 Amos Jeffries <squid3@treenet.co.nz>
19270 David Michael <fedora.dm0@gmail.com>
19271 Marco Gerards <marco@gnu.org>
19272 Marcus Brinkmann <marcus@gnu.org>
19273 Neal H. Walfield <neal@gnu.org>
19274 Pino Toscano <toscano.pino@tiscali.it>
19275 Richard Braun <rbraun@sceen.net>
19276 Roland McGrath <roland@gnu.org>
19277 Samuel Thibault <samuel.thibault@ens-lyon.org>
19278 Thomas DiModica <ricinwich@yahoo.com>
19279 Thomas Schwinge <tschwinge@gnu.org>
19281 * htl: New directory.
19282 * sysdeps/htl: New directory.
19283 * sysdeps/hurd/htl: New directory.
19284 * sysdeps/i386/htl: New directory.
19285 * sysdeps/mach/htl: New directory.
19286 * sysdeps/mach/hurd/htl: New directory.
19287 * sysdeps/mach/hurd/i386/htl: New directory.
19288 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
19289 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
19290 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
19292 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
19294 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
19295 signals in thread created for runing timers.
19297 2018-04-01 Florian Weimer <fweimer@redhat.com>
19299 * support/support_format_addrinfo.c (support_format_addrinfo):
19300 Include unknown error number in formatted result.
19302 2018-03-29 Florian Weimer <fweimer@redhat.com>
19304 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
19307 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19309 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
19310 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
19311 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19312 (__ASSUME_CLONE_BACKWARDS): Define.
19314 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
19317 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
19318 early when linux sentinel value is set.
19320 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19322 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
19324 2018-03-27 Andreas Schwab <schwab@suse.de>
19327 * resolv/res_send.c (__res_context_send): Return ENOMEM if
19328 allocation of private copy of nsaddr_list fails.
19330 2018-03-26 Joseph Myers <joseph@codesourcery.com>
19333 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
19334 * sysdeps/unix/sysv/linux/umount.c: ... here.
19335 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
19336 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
19337 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
19338 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
19339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
19340 * sysdeps/unix/sysv/linux/umount.S: Likewise.
19341 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
19343 2018-03-26 Andreas Schwab <schwab@suse.de>
19345 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
19346 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
19347 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
19348 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
19349 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
19350 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
19351 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
19352 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
19353 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
19354 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
19355 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
19356 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
19357 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
19358 (R_RISCV_NUM): Define.
19360 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19362 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
19363 TLS declaration of errno.
19364 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
19366 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
19367 (ARCH_SETUP_TLS): Likewise.
19368 * sysdeps/mach/hurd/libc-start.h: New file copied from
19369 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
19370 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
19371 instead of __libc_setup_tls.
19372 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
19373 __libc_setup_tls before initializing libpthread and running _hurd_init
19374 which starts the signal thread.
19375 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
19377 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19379 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
19382 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
19383 after it is defined.
19385 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
19386 Max Horn <max@quendi.de>
19390 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
19392 * string/test-memmove.c (do_test2): New testcase.
19394 2018-03-22 Joseph Myers <joseph@codesourcery.com>
19396 * sysdeps/generic/frame.h: Remove file.
19397 * sysdeps/arm/frame.h: Likewise.
19398 * sysdeps/hppa/frame.h: Likewise.
19399 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
19401 (GET_FRAME): Likewise.
19402 (GET_STACK): Likewise.
19403 (CALL_SIGHANDLER): Likewise.
19404 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
19406 (GET_FRAME): Likewise.
19407 (GET_STACK): Likewise.
19408 (CALL_SIGHANDLER): Likewise.
19409 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
19410 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19411 (GET_FRAME): Likewise.
19412 (GET_STACK): Likewise.
19413 (CALL_SIGHANDLER): Likewise.
19414 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
19415 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19416 (GET_FRAME): Likewise.
19417 (GET_STACK): Likewise.
19418 (ADVANCE_STACK_FRAME): Likewise.
19419 (CALL_SIGHANDLER): Likewise.
19420 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
19421 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19422 (GET_FRAME): Likewise.
19423 (GET_STACK): Likewise.
19424 (CALL_SIGHANDLER): Likewise.
19425 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
19426 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19427 (GET_FRAME): Likewise.
19428 (GET_STACK): Likewise.
19429 (CALL_SIGHANDLER): Likewise.
19430 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
19431 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19432 (GET_FRAME): Likewise.
19433 (GET_STACK): Likewise.
19434 (CALL_SIGHANDLER): Likewise.
19435 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
19436 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19437 (GET_FRAME): Likewise.
19438 (GET_STACK): Likewise.
19439 (CALL_SIGHANDLER): Likewise.
19440 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
19441 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19442 (GET_FRAME): Likewise.
19443 (GET_STACK): Likewise.
19444 (CALL_SIGHANDLER): Likewise.
19445 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
19446 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19447 (GET_FRAME): Likewise.
19448 (GET_STACK): Likewise.
19449 (CALL_SIGHANDLER): Likewise.
19450 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
19451 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19452 (GET_FRAME): Likewise.
19453 (GET_STACK): Likewise.
19454 (CALL_SIGHANDLER): Likewise.
19455 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
19456 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19457 (GET_FRAME): Likewise.
19458 (GET_STACK): Likewise.
19459 (CALL_SIGHANDLER): Likewise.
19460 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
19461 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19462 (GET_FRAME): Likewise.
19463 (GET_STACK): Likewise.
19464 (CALL_SIGHANDLER): Likewise.
19465 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
19466 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19467 (FIRST_FRAME_POINTER): Likewise.
19468 (ADVANCE_STACK_FRAME): Likewise.
19469 (GET_STACK): Likewise.
19470 (GET_FRAME): Likewise.
19471 (CALL_SIGHANDLER): Likewise.
19472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
19473 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19474 (ADVANCE_STACK_FRAME): Likewise.
19475 (GET_STACK): Likewise.
19476 (GET_FRAME): Likewise.
19477 (CALL_SIGHANDLER): Likewise.
19478 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
19479 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19480 (GET_FRAME): Likewise.
19481 (GET_STACK): Likewise.
19482 (CALL_SIGHANDLER): Likewise.
19483 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
19484 (SIGCONTEXT_EXTRA_ARGS): Likewise.
19485 (GET_FRAME): Likewise.
19486 (GET_STACK): Likewise.
19487 (CALL_SIGHANDLER): Likewise.
19489 2018-03-21 Joseph Myers <joseph@codesourcery.com>
19491 * sysdeps/x86_64/backtrace.c: Move to ....
19492 * debug/backtrace.c: ... here.
19493 * sysdeps/aarch64/backtrace.c: Remove file.
19494 * sysdeps/alpha/backtrace.c: Likewise.
19495 * sysdeps/hppa/backtrace.c: Likewise.
19496 * sysdeps/ia64/backtrace.c: Likewise.
19497 * sysdeps/mips/backtrace.c: Likewise.
19498 * sysdeps/nios2/backtrace.c: Likewise.
19499 * sysdeps/riscv/backtrace.c: Likewise.
19500 * sysdeps/sh/backtrace.c: Likewise.
19501 * sysdeps/tile/backtrace.c: Likewise.
19503 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19506 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
19509 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
19512 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
19513 possibly overflowing computations.
19515 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
19517 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
19518 values from Linux-specific section now that it is in the GNU section.
19519 * sysdeps/gnu/errlist.c: Regenerate.
19521 2018-03-20 Joseph Myers <joseph@codesourcery.com>
19523 * math/Makefile (libm-narrow-fns): Add sub.
19524 (libm-test-funcs-narrow): Likewise.
19525 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
19526 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
19527 * math/gen-auto-libm-tests.c (test_functions): Add sub.
19528 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
19529 (NARROW_SUB_ROUND_TO_ODD): Likewise.
19530 (NARROW_SUB_TRIVIAL): Likewise.
19531 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
19533 (__dsubl): Likewise.
19534 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
19536 (CFLAGS-nldbl-dsub.c): New variable.
19537 (CFLAGS-nldbl-fsub.c): Likewise.
19538 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
19540 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
19542 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
19543 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
19544 * math/auto-libm-test-in: Add tests of sub.
19545 * math/auto-libm-test-out-narrow-sub: New generated file.
19546 * math/libm-test-narrow-sub.inc: New file.
19547 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
19548 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
19549 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
19550 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
19551 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
19552 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
19561 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
19562 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
19563 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
19564 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
19565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19566 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
19567 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19569 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19571 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19572 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19573 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19574 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19576 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19577 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19578 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19583 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19584 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19585 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19586 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19587 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19588 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19589 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
19590 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
19591 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19592 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19594 2018-03-19 Joseph Myers <joseph@codesourcery.com>
19597 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
19599 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
19601 * benchtests/bench-timing.h (attribute_hidden): Undefine.
19603 2018-03-18 Richard Braun <rbraun@sceen.net>
19605 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
19608 2018-03-18 Agustina Arzille <avarzille@riseup.net>
19610 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
19611 (__libc_cleanup_fct): Define function.
19612 (__libc_cleanup_region_start, __libc_cleanup_region_end,
19613 __libc_cleanup_end): Rewrite implementation using
19614 __attribute__ ((__cleanup__)).
19615 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
19616 * hurd/Makefile (routines): Add hurdlock.
19617 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
19619 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
19620 * hurd/hurdpid.c: Include <lowlevellock.h>
19621 (_S_msg_proc_newids): Use lll_wait to synchronize.
19622 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
19623 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
19624 * mach/Makefile (lock-headers): Remove machine-lock.h.
19625 * mach/lock-intern.h: Include <lowlevellock.h> instead of
19627 (__spin_lock_t): New type.
19628 (__SPIN_LOCK_INITIALIZER): New macro.
19629 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
19630 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
19631 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
19632 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
19633 (__mutex_init): Initialize with lll.
19634 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
19635 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
19637 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19638 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
19639 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
19640 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
19641 (__setpgid): Use lll for synchronization.
19642 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
19643 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
19644 instead of <cthreads.h>.
19645 (_IO_lock_inexpensive): New macro
19646 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
19647 (__libc_lock_self0): New declaration.
19648 (__libc_lock_owner_self): New macro.
19649 (__libc_key_t): Remove type.
19650 (_LIBC_LOCK_INITIALIZER): New macro.
19651 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
19652 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
19653 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
19654 __libc_lock_define_initialized_recursive,
19655 __rtld_lock_define_initialized_recursive,
19656 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
19657 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
19658 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
19659 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
19660 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
19661 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
19662 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
19664 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
19665 * hurd/hurdlock.c: New file.
19666 * hurd/hurdlock.h: New file.
19667 * mach/lowlevellock.h: New file
19669 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
19671 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
19672 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
19673 when opening a symlink with O_NOFOLLOW.
19674 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
19675 path when flags contains O_NOFOLLOW.
19676 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
19677 if flags contains O_DIRECTORY and the result is a directory.
19678 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
19679 oneself when the pointer given in D is nul (as set by ext2fs).
19680 * sysdeps/mach/hurd/mlockall.c: New file.
19681 * sysdeps/mach/hurd/munlockall.c: New file.
19683 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
19685 * hurd/hurdsig.c: Include <pthread.h>.
19686 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
19687 get the signal thread stack layout.
19688 * hurd/Makefile (headers): Remove threadvar.h.
19689 (inline-headers): Remove threadvar.h.
19690 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
19691 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
19692 __hurd_threadvar_max, __hurd_errno_location.
19693 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
19694 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
19695 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
19696 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
19697 unless TLS is not initialized yet, in which case we do not need a
19698 critical section yet anyway.
19699 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
19701 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
19703 (__hurd_threadvar_index): Remove enum.
19704 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
19705 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
19707 (__hurd_reply_port0): New variable declaration.
19708 (__hurd_local_reply_port): New macro.
19709 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
19710 (interrupted_reply_port_location): Add thread_t parameter. Use it
19711 with THREAD_TCB to access thread-local variables.
19712 (_hurdsig_abort_rpcs): Pass ss->thread to
19713 interrupted_reply_port_location.
19714 (_hurd_internal_post_signal): Likewise.
19715 (_hurdsig_init): Use presence of cthread_fork instead of
19716 __hurd_threadvar_stack_mask to start signal thread by hand.
19717 Remove signal thread threadvar initialization.
19718 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
19719 * hurd/sigunwind.c: Include <hurd/threadvar.h>
19720 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
19722 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
19724 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
19725 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
19726 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
19727 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
19728 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
19729 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
19730 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
19732 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
19733 <hurd/threadvar.h>.
19734 [IS_IN(rtld)] (rtld_errno): New variable.
19735 [IS_IN(rtld)] (__errno_location): New weak function.
19736 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
19737 * sysdeps/mach/hurd/errno.c: Remove file.
19738 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
19739 (__fork): Remove THREADVAR_SPACE macro and its use.
19740 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
19742 (init): Do not initialize threadvar.
19743 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
19745 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
19746 __hurd_local_reply_port instead of threadvar.
19747 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
19748 _hurd_sigstate fields.
19749 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
19750 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
19751 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
19752 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
19753 instead of threadvar.
19754 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
19755 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
19756 (use_threadvar, global_reply_port): Remove variables.
19757 (__hurd_reply_port0): New variable.
19758 (__mig_get_reply_port): Use __hurd_local_reply_port and
19759 __hurd_reply_port0 instead of threadvar.
19760 (__mig_dealloc_reply_port): Likewise.
19761 (__mig_init): Do not initialize threadvar.
19762 * sysdeps/mach/hurd/profil.c: Fix comment.
19763 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
19764 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
19765 cthread_keycreate, cthread_getspecific, cthread_setspecific to
19766 __cthread_fork, __cthread_detach, __pthread_getattr_np,
19767 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
19768 __cthread_setspecific.
19769 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
19770 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
19771 __cthread_t instead of cthread_fork, cthread_detach,
19772 pthread_getattr_np, pthread_attr_getstack.
19773 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
19774 __cthread_keycreate.
19775 (cthread_getspecific): Rename to __cthread_getspecific.
19776 (cthread_setspecific): Rename to __cthread_setspecific.
19777 (__libc_getspecific): Use __cthread_getspecific instead of
19778 cthread_getspecific.
19779 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
19780 __cthread_keycreate instead of cthread_keycreate.
19781 (__libc_setspecific): Use __cthread_setspecific instead of
19782 cthread_setspecific.
19783 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
19785 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
19786 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
19787 testing whether it is defined.
19789 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19791 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
19793 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
19794 * sysdeps/mach/i386/thread_state.h
19795 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
19797 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
19799 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
19801 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
19802 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
19804 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
19806 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
19807 descriptor instead of creating a new one.
19808 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
19810 * mach/setup-thread.c: Include <ldsodefs.h>.
19811 (__mach_setup_thread): Call _dl_allocate_tls, pass
19812 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
19813 MACHINE_THREAD_STATE_FLAVOR, before getting
19814 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
19815 MACHINE_THREAD_STATE_FLAVOR with the result.
19816 * hurd/hurdfault.c (_hurdsig_fault_init): Call
19817 MACHINE_THREAD_STATE_FIX_NEW.
19818 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
19819 too. Add original thread parameter.
19821 2018-03-16 Joseph Myers <joseph@codesourcery.com>
19823 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
19824 Remove inline function.
19826 * sysdeps/i386/fpu/libm-test-ulps: Update.
19827 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19829 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
19831 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
19834 2018-03-15 Joseph Myers <joseph@codesourcery.com>
19836 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
19837 (__sincos_code): Remove define and undefine.
19838 [__FAST_MATH__] (__sincos): Remove inline function.
19839 [__FAST_MATH__] (__sincosf): Remove inline function.
19840 [__FAST_MATH__] (__sincosl): Remove inline function.
19841 (__atan2l): Remove inline functions.
19842 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
19843 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
19845 (floor): Remove inline function.
19847 [__FAST_MATH__] (__ldexp_code): Remove macro.
19848 [__FAST_MATH__] (ldexp): Remove inline function.
19849 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
19850 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
19851 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
19852 [__USE_ISOC99] (__lrint_code): Remove macro.
19853 [__USE_ISOC99] (__llrint_code): Likewise.
19854 [__USE_ISOC99] (lrintf): Remove inline function.
19855 [__USE_ISOC99] (lrint): Likewise.
19856 [__USE_ISOC99] (lrintl): Likewise.
19857 [__USE_ISOC99] (llrint): Likewise.
19858 [__USE_ISOC99] (llrintf): Likewise.
19859 [__USE_ISOC99] (llrintl): Likewise.
19861 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19863 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
19864 (__ieee754_sqrtf): Remove.
19865 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
19866 (__ieee754_sqrtf): Remove.
19867 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
19868 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19869 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
19870 (__ieee754_sqrtf): Remove.
19871 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
19872 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
19875 (__ieee754_sqrt): Remove.
19876 (__ieee754_sqrtf): Remove.
19877 (__ieee754_sqrtl): Remove.
19878 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
19879 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
19880 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
19881 (__ieee754_sqrtf): Remove.
19882 (__ieee754_sqrtl): Remove.
19884 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19886 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
19887 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19888 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19889 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
19890 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
19891 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19892 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19893 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19895 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
19896 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
19897 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19898 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19899 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
19900 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
19901 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19902 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
19903 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19904 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19905 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
19906 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19907 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
19908 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
19909 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
19910 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19911 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19912 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19913 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
19914 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
19915 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19916 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19917 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
19918 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
19919 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
19920 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
19921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19922 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
19924 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
19925 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19926 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
19927 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19928 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
19929 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19930 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19931 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
19932 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
19933 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19934 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
19936 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19938 * include/math.h (sqrt): Declare with asm redirect.
19941 (sqrtf128): Likewise.
19942 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
19943 nonlib and libnldbl with -fmath-errno.
19944 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
19945 * math/w_sqrt_template.c: Likewise.
19946 * math/w_sqrtf_compat.c: Likewise.
19947 * math/w_sqrtl_compat.c: Likewise.
19948 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
19949 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
19950 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
19953 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
19955 * benchtests/Makefile: Define _ISOMAC.
19956 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
19957 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
19958 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
19959 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
19960 * benchtests/bench-timing.h: Define attribute_hidden.
19962 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
19964 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
19967 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19970 * localedata/locales/cs_CZ (mon): Rename to...
19972 (mon): Import from CLDR (genitive case).
19974 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19977 * localedata/locales/el_CY (abmon): Rename to...
19978 (ab_alt_mon): This.
19979 (abmon): Import from CLDR (abbreviated genitive case).
19980 * localedata/locales/el_GR (abmon): Rename to...
19981 (ab_alt_mon): This.
19982 (abmon): Import from CLDR (abbreviated genitive case).
19984 2018-03-15 Rafał Lużyński <digitalfreak@lingonborough.com>
19987 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
19989 2018-03-15 Robert Buj <robert.buj@gmail.com>
19992 * localedata/locales/ca_ES (abmon): Rename to...
19993 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19994 (mon): Rename to...
19996 (abmon): Import from CLDR (genitive case, month names preceded by
19999 (abday): Synchronize with CLDR.
20000 (d_t_fmt): Likewise.
20004 (LC_TIME): Improve indentation.
20005 (LC_TELEPHONE): Likewise.
20006 (LC_NAME): Likewise.
20007 (LC_ADDRESS): Likewise.
20009 2018-03-14 Joseph Myers <joseph@codesourcery.com>
20011 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
20012 (lrintf): Remove definitions used only with old GCC.
20013 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
20014 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
20015 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
20016 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
20017 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
20018 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
20019 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
20020 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
20021 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
20022 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
20023 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
20024 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
20025 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
20026 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
20027 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
20028 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
20029 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
20030 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
20031 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
20032 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
20033 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
20034 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
20035 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
20036 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
20037 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
20038 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
20039 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
20040 [__FAST_MATH__] (__M_SQRT2): Remove macro.
20042 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20044 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
20045 instruction to unbreak builds with binutils 2.26 and older.
20047 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20049 * sysdeps/aarch64/strncmp.S (count): New macro.
20050 (strncmp): Store misaligned length in SRC1 in COUNT.
20051 (mutual_align): Adjust.
20052 (misaligned8): Load dword at a time when it is safe.
20054 2018-03-12 Zack Weinberg <zackw@panix.com>
20058 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
20059 if the _IO_EOF_SEEN bit is already set; update commentary.
20060 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
20061 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
20063 * support/support_openpty.c, support/tty.h: New files.
20064 * support/Makefile (libsupport-routines): Add support_openpty.
20066 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
20068 * libio/Makefile (tests): Add tst-fgetc-after-eof.
20069 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
20071 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
20073 * po/pt_BR.po: Update translations.
20075 2018-03-12 David Michael <fedora.dm0@gmail.com>
20077 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
20078 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
20079 get a port to the startup server.
20081 2018-03-11 Zack Weinberg <zackw@panix.com>
20083 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
20084 before nldbl-compat.h.
20086 2018-03-10 Zack Weinberg <zackw@panix.com>
20088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
20089 math.h or math_private.h.
20091 * sysdeps/alpha/fpu/s_isnan.c
20092 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
20093 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
20094 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
20095 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
20096 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
20097 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
20098 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
20099 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
20100 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
20102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
20103 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
20104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
20105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
20106 Include math_private.h.
20108 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
20109 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
20110 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
20111 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
20112 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
20113 * sysdeps/powerpc/power7/fpu/s_logb.c:
20114 Include math.h and math_private.h.
20116 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
20117 uses of $at in .set noat / .set at.
20119 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
20121 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
20122 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
20123 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
20124 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
20127 2018-03-09 Florian Weimer <fweimer@redhat.com>
20129 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
20132 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
20135 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
20136 Add nop before __startcontext, add explaining comments.
20138 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20141 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
20143 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
20144 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
20145 Do not build hardware transactional code for __SPE__.
20146 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20147 (__lll_trylock_elision): Likewise.
20148 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20149 (__lll_unlock_elision): Likewise.
20151 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
20152 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
20153 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
20154 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
20155 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
20156 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
20157 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
20158 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
20159 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
20160 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
20161 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
20162 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
20163 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
20164 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
20165 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
20166 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
20167 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
20168 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
20169 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
20170 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
20171 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
20172 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20173 (__ASSUME_CLONE_BACKWARDS): Define.
20174 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
20175 __clone2 if __NR_clone2 is defined.
20176 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20177 (__ASSUME_CLONE_BACKWARDS): Likewise.
20178 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20179 (__ASSUME_CLONE_BACKWARDS): Likewise.
20180 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20181 (__ASSUME_CLONE2): Likewise.
20182 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20183 (__ASSUME_CLONE_BACKWARDS3): Likewise.
20184 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
20185 variants and the define architecture can use.
20186 (__ASSUME_CLONE_DEFAULT): Define as default.
20187 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20188 (__ASSUME_CLONE_BACKWARDS): Likewise.
20189 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20190 (__ASSUME_CLONE_BACKWARDS): Likewise.
20191 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20192 (__ASSUME_CLONE_BACKWARDS2): Likewise.
20194 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
20196 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
20198 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
20201 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
20202 (do_test_limit): Likewise.
20204 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
20205 for every implementation.
20206 (do_test): Likewise.
20208 * benchtests/bench-strncmp.c: Convert output to json.
20210 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20212 * io/futimens.c: Add missing start-of-file descriptive comment.
20213 * io/utime.c: Likewise.
20214 * misc/futimesat.c: Likewise.
20215 * misc/utimes.c: Likewise.
20216 * sysdeps/mach/hurd/futimesat.c: Likewise.
20217 * sysdeps/mach/hurd/utimes.c: Likewise.
20218 * sysdeps/posix/utime.c: Likewise.
20219 * sysdeps/posix/utimes.c: Likewise.
20220 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
20221 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
20222 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
20223 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
20225 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20227 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
20229 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
20230 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
20231 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
20232 (__futimens): Move implementation to...
20233 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
20234 utime_tvalue_from_tspec): ... new helper functions.
20235 (hurd_futimens): New function.
20236 * sysdeps/mach/hurd/futimesat.c: New file.
20237 * sysdeps/mach/hurd/utimensat.c: New file.
20239 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
20241 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
20242 UTIME_OMIT): New macros.
20243 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
20244 before reverting to converting time spec to time value and calling
20246 * sysdeps/mach/hurd/utime-helper.c: New file.
20247 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
20248 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
20249 reverting to utime_tvalue_from_tval and __file_utimes.
20250 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
20251 (__lutimes): Just call hurd_futimens after lookup.
20252 * sysdeps/mach/hurd/utimes.c: Likewise.
20254 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
20256 * bits/sigaction.h: Add include guard.
20257 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
20258 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
20259 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
20260 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
20261 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
20262 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
20263 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
20264 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
20265 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
20267 2018-03-05 Joseph Myers <joseph@codesourcery.com>
20269 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
20270 -Wmaybe-uninitialized for -Os.
20271 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
20274 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20276 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
20277 __INO_T_MATCHES_INO64_T is defined.
20278 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
20279 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
20281 * dirent/alphasort64.c: Likewise.
20282 * dirent/scandir.c: Likewise.
20283 * dirent/scandir64-tail.c: Likewise.
20284 * dirent/scandir64.c: Likewise.
20285 * dirent/scandirat.c: Likewise.
20286 * dirent/scandirat64.c: Likewise.
20287 * dirent/versionsort.c: Likewise.
20288 * dirent/versionsort64.c: Likewise.
20289 * include/dirent.h: Likewise.
20291 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
20292 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
20293 for socketpair endpoint.
20294 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
20295 WRITE_BUFFER_SIZE as buffer size for sending socket.
20296 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
20297 issue on system where send is implemented with sendto syscall.
20298 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
20299 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
20300 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
20301 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
20304 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
20305 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
20306 sa_restorer for vDSO case.
20307 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
20309 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20311 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
20312 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
20313 * hurd/hurd/ioctl.h: Include <mach/port.h>
20314 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
20315 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
20316 <mach/mach_types.h> and <mach/message.h>.
20317 (headers): Move mach/param.h to bits/mach/param.h.
20318 * sysdeps/mach/i386/mach/param.h: Move file to ...
20319 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
20320 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
20322 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
20323 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
20324 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
20325 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
20326 trivial, for C++ conformity.
20327 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
20328 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
20329 Process mig output through $(migheadersed).
20330 * hurd/Makefile (migheadersed): Define variable.
20331 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
20332 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
20334 * hurd/hurd.h: Include <bits/types/sigset_t.h>
20335 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
20336 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
20337 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
20338 <bits/types/sigset_t.h>.
20339 [!defined __USE_GNU]: Do not #error out.
20340 (struct hurd_sigstate): Use _NSIG instead of NSIG.
20341 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
20342 Include <stddef.h> and <bits/types/sigset_t.h>
20343 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
20344 instead of sighandler_t.
20345 * stdlib/errno.h (error_t): Move definition to...
20346 * bits/types/error_t.h: ... new header.
20347 * stdlib/Makefile (headers): Add bits/types/error_t.h.
20348 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
20349 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
20350 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
20351 * hurd/hurd.h: Include <bits/types/error_t.h>
20352 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
20353 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
20354 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
20355 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
20356 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
20357 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
20358 * sysdeps/mach/hurd/futimens.c: New file.
20360 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
20363 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
20364 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
20365 * nscd/gai.c (__nss_hosts_database): Readd definition.
20366 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
20367 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
20368 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
20370 2018-03-02 Joseph Myers <joseph@codesourcery.com>
20372 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
20373 (ifunc_one): Likewise.
20375 2018-03-01 DJ Delorie <dj@delorie.com>
20378 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
20381 2018-03-01 Maciej W. Rozycki <macro@mips.com>
20383 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
20384 `match_pid' parameter.
20385 (td_ta_thr_iter): Update accordingly.
20387 2018-03-01 Florian Weimer <fweimer@redhat.com>
20389 * nptl/Makefile (install-lib-ldscripts): Remove.
20390 (install): Remove rule.
20391 ($(inst_libdir)/libpthread.so): Likewise.
20393 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20396 * localedata/locales/an_ES: update month and day names,
20397 improve d_fmt, improve postal_fmt, add country_post,
20400 2018-03-01 Mike FABIAN <mfabian@redhat.com>
20402 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
20403 Ukrainian instead of Bulgarian.
20405 2018-03-01 Florian Weimer <fweimer@redhat.com>
20407 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
20410 2018-03-01 Florian Weimer <fweimer@redhat.com>
20412 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
20413 * nptl/Makefile (routines): Add pthread_atfork.
20414 (static-only-routines): Set to pthread_atfork.
20415 (libpthread-routines): Remove pthread_atfork.
20416 (libpthread-static-only-routines): Remove.
20417 (install): Update comment.
20418 (libpthread.so): Do not install libpthread_nonshared.a.
20419 (tests): Do not link with libpthread_nonshared.a.
20420 (generated): Remove libpthread_nonshared.a.
20421 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
20422 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
20423 with libpthread_nonshared.a.
20425 2018-02-28 Joseph Myers <joseph@codesourcery.com>
20428 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
20429 (libc_feholdexcept_setroundf128): New macro.
20430 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
20433 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
20435 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
20436 * include/inttypes.h: New file.
20438 2018-02-27 Joseph Myers <joseph@codesourcery.com>
20440 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
20441 -Os in two more places.
20443 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20445 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
20446 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
20447 be sorted correctly at the moment because of a bug.
20449 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20451 [BZ #22550] - es_ES locale (and other es_* locales): collation should
20452 treat ñ as a primary different character, sync the collation
20453 for Spanish with CLDR.
20454 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
20455 * localedata/Makefile: Add new test files.
20456 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
20457 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
20459 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
20460 * localedata/am_ET.UTF-8.in: New test file.
20461 * localedata/az_AZ.UTF-8.in: Likewise.
20462 * localedata/be_BY.UTF-8.in: Likewise.
20463 * localedata/ber_DZ.UTF-8.in: Likewise.
20464 * localedata/ber_MA.UTF-8.in: Likewise.
20465 * localedata/bg_BG.UTF-8.in: Likewise.
20466 * localedata/br_FR.UTF-8.in: Likewise.
20467 * localedata/cmn_TW.UTF-8.in: Likewise.
20468 * localedata/crh_UA.UTF-8.in: Likewise.
20469 * localedata/csb_PL.UTF-8.in: Likewise.
20470 * localedata/cv_RU.UTF-8.in: Likewise.
20471 * localedata/cy_GB.UTF-8.in: Likewise.
20472 * localedata/dz_BT.UTF-8.in: Likewise.
20473 * localedata/eo.UTF-8.in: Likewise.
20474 * localedata/es_ES.UTF-8.in: Likewise.
20475 * localedata/fa_IR.UTF-8.in: Likewise.
20476 * localedata/fi_FI.UTF-8.in: Likewise.
20477 * localedata/fil_PH.UTF-8.in: Likewise.
20478 * localedata/fur_IT.UTF-8.in: Likewise.
20479 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
20480 * localedata/ha_NG.UTF-8.in: Likewise.
20481 * localedata/ig_NG.UTF-8.in: Likewise.
20482 * localedata/ik_CA.UTF-8.in: Likewise.
20483 * localedata/kk_KZ.UTF-8.in: Likewise.
20484 * localedata/ku_TR.UTF-8.in: Likewise.
20485 * localedata/ky_KG.UTF-8.in: Likewise.
20486 * localedata/ln_CD.UTF-8.in: Likewise.
20487 * localedata/mi_NZ.UTF-8.in: Likewise.
20488 * localedata/ml_IN.UTF-8.in: Likewise.
20489 * localedata/mn_MN.UTF-8.in: Likewise.
20490 * localedata/mr_IN.UTF-8.in: Likewise.
20491 * localedata/mt_MT.UTF-8.in: Likewise.
20492 * localedata/nb_NO.UTF-8.in: Likewise.
20493 * localedata/om_KE.UTF-8.in: Likewise.
20494 * localedata/os_RU.UTF-8.in: Likewise.
20495 * localedata/ps_AF.UTF-8.in: Likewise.
20496 * localedata/ro_RO.UTF-8.in: Likewise.
20497 * localedata/ru_RU.UTF-8.in: Likewise.
20498 * localedata/sc_IT.UTF-8.in: Likewise.
20499 * localedata/se_NO.UTF-8.in: Likewise.
20500 * localedata/sq_AL.UTF-8.in: Likewise.
20501 * localedata/sv_SE.UTF-8.in: Likewise.
20502 * localedata/szl_PL.UTF-8.in: Likewise.
20503 * localedata/tg_TJ.UTF-8.in: Likewise.
20504 * localedata/tk_TM.UTF-8.in: Likewise.
20505 * localedata/tt_RU.UTF-8.in: Likewise.
20506 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
20507 * localedata/ug_CN.UTF-8.in: Likewise.
20508 * localedata/uz_UZ.UTF-8.in: Likewise.
20509 * localedata/vi_VN.UTF-8.in: Likewise.
20510 * localedata/yi_US.UTF-8.in: Likewise.
20511 * localedata/yo_NG.UTF-8.in: Likewise.
20512 * localedata/zh_CN.UTF-8.in: Likewise.
20513 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
20514 file and fix bugs in the collation.
20515 * localedata/locales/az_AZ: Likewise.
20516 * localedata/locales/be_BY: Likewise.
20517 * localedata/locales/ber_DZ: Likewise.
20518 * localedata/locales/ber_MA: Likewise.
20519 * localedata/locales/bg_BG: Likewise.
20520 * localedata/locales/br_FR: Likewise.
20521 * localedata/locales/br_FR@euro: Likewise.
20522 * localedata/locales/ca_ES: Likewise.
20523 * localedata/locales/cns11643_stroke: Likewise.
20524 * localedata/locales/crh_UA: Likewise.
20525 * localedata/locales/cs_CZ: Likewise.
20526 * localedata/locales/csb_PL: Likewise.
20527 * localedata/locales/cv_RU: Likewise.
20528 * localedata/locales/cy_GB: Likewise.
20529 * localedata/locales/da_DK: Likewise.
20530 * localedata/locales/dz_BT: Likewise.
20531 * localedata/locales/en_CA: Likewise.
20532 * localedata/locales/eo: Likewise.
20533 * localedata/locales/es_CU: Likewise.
20534 * localedata/locales/es_EC: Likewise.
20535 * localedata/locales/es_ES: Likewise.
20536 * localedata/locales/es_US: Likewise.
20537 * localedata/locales/et_EE: Likewise.
20538 * localedata/locales/fa_IR: Likewise.
20539 * localedata/locales/fi_FI: Likewise.
20540 * localedata/locales/fil_PH: Likewise.
20541 * localedata/locales/fur_IT: Likewise.
20542 * localedata/locales/gez_ER@abegede: Likewise.
20543 * localedata/locales/ha_NG: Likewise.
20544 * localedata/locales/hr_HR: Likewise.
20545 * localedata/locales/hsb_DE: Likewise.
20546 * localedata/locales/hu_HU: Likewise.
20547 * localedata/locales/ig_NG: Likewise.
20548 * localedata/locales/ik_CA: Likewise.
20549 * localedata/locales/is_IS: Likewise.
20550 * localedata/locales/iso14651_t1_pinyin: Likewise.
20551 * localedata/locales/kk_KZ: Likewise.
20552 * localedata/locales/ku_TR: Likewise.
20553 * localedata/locales/ky_KG: Likewise.
20554 * localedata/locales/ln_CD: Likewise.
20555 * localedata/locales/lt_LT: Likewise.
20556 * localedata/locales/lv_LV: Likewise.
20557 * localedata/locales/mi_NZ: Likewise.
20558 * localedata/locales/ml_IN: Likewise.
20559 * localedata/locales/mn_MN: Likewise.
20560 * localedata/locales/mr_IN: Likewise.
20561 * localedata/locales/mt_MT: Likewise.
20562 * localedata/locales/nb_NO: Likewise.
20563 * localedata/locales/om_KE: Likewise.
20564 * localedata/locales/os_RU: Likewise.
20565 * localedata/locales/pl_PL: Likewise.
20566 * localedata/locales/ps_AF: Likewise.
20567 * localedata/locales/ro_RO: Likewise.
20568 * localedata/locales/ru_RU: Likewise.
20569 * localedata/locales/ru_UA: Likewise.
20570 * localedata/locales/sc_IT: Likewise.
20571 * localedata/locales/se_NO: Likewise.
20572 * localedata/locales/si_LK: Likewise.
20573 * localedata/locales/sq_AL: Likewise.
20574 * localedata/locales/sv_FI: Likewise.
20575 * localedata/locales/sv_FI@euro: Likewise.
20576 * localedata/locales/sv_SE: Likewise.
20577 * localedata/locales/szl_PL: Likewise.
20578 * localedata/locales/tg_TJ: Likewise.
20579 * localedata/locales/ti_ER: Likewise.
20580 * localedata/locales/tk_TM: Likewise.
20581 * localedata/locales/tl_PH: Likewise.
20582 * localedata/locales/tr_TR: Likewise.
20583 * localedata/locales/tt_RU: Likewise.
20584 * localedata/locales/tt_RU@iqtelif: Likewise.
20585 * localedata/locales/ug_CN: Likewise.
20586 * localedata/locales/uk_UA: Likewise.
20587 * localedata/locales/uz_UZ: Likewise.
20588 * localedata/locales/uz_UZ@cyrillic: Likewise.
20589 * localedata/locales/vi_VN: Likewise.
20590 * localedata/locales/yi_US: Likewise.
20591 * localedata/locales/yo_NG: Likewise.
20593 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20595 * gen-locales.mk: Make test files which contain @ modifiers in their
20597 * localedata/gen-locale.sh: Likewise.
20599 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20601 * posix/tst-fnmatch.input: Fix results for range expressions
20603 * posix/tst-regexloc.c: Do not use a range expression for
20604 de_DE.ISO-8859-1 locale.
20606 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20608 * posix/bug-regex5.c: Fix test case because with the new
20609 iso14651_t1_common file, the da_DK locale now has 6 collating elements
20610 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
20613 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20615 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
20616 downloaded from ISO, the collation order of @-. and space has changed.
20617 Therefore, this test file needed to be adapted.
20618 * localedata/fr_CA.UTF-8.in: Likewise.
20619 * localedata/fr_FR.UTF-8.in: Likewise.
20620 * localedata/uk_UA.UTF-8.in: Likewise.
20622 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20624 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
20625 order of ȥ in the new iso14651_t1_common file.
20626 * localedata/pl_PL.UTF-8.in: Likewise.
20628 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20630 * localedata/locales/iso14651_t1_common: Add sections for various
20631 scripts to the iso14651_t1_common file.
20633 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20635 * localedata/locales/iso14651_t1_common: Use the code point of a
20636 character in the fourth collation level instead of IGNORE for all
20637 entries which have IGNORE on all 4 levels.
20639 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20641 * localedata/locales/iso14651_t1_common: Add some convenient collation
20642 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
20643 rules similar to those in CLDR.
20645 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20647 * localedata/locales/iso14651_t1_common: The new version of this
20648 file downloaded from ISO contained several syntax errors which
20649 are fixed by this patch.
20651 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20653 * localedata/locales/iso14651_t1_common: replace all <U.....>
20654 with <U000.....> because glibc understands only 4 digit or 8 digit
20656 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20658 * localedata/locales/iso14651_t1_common: Necessary changes
20659 to make the file downloaded from ISO usable by glibc.
20661 2018-02-27 Mike FABIAN <mfabian@redhat.com>
20664 * localedata/locales/iso14651_t1_common: Update file to
20665 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
20667 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
20669 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
20670 of <nptl/pthreadP.h>
20671 (thread_attr_compare): Move function to...
20672 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
20673 * sysdeps/nptl/timer_routines.h: ... new header.
20674 * sysdeps/mach/hurd/gai_misc.h: New file.
20676 2018-02-26 Joseph Myers <joseph@codesourcery.com>
20678 * string/strcoll_l.c: Include <libc-diag.h>.
20679 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
20680 declarations of seq1 and seq2.
20683 * stdlib/atoi.c (atoi): Use libc_hidden_def.
20684 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
20686 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
20690 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
20691 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
20692 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
20693 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
20694 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
20695 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
20697 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20699 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
20700 macros used in __ptrace_request.
20702 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
20705 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
20707 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
20708 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
20709 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
20712 2018-02-23 Joseph Myers <joseph@codesourcery.com>
20715 * ctype/ctype.c (tolower): Use libc_hidden_def.
20716 (toupper): Likewise.
20717 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
20718 [!_ISOMAC] (toupper): Likewise.
20720 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20722 * localedata/Makefile: Remove --quiet argument when
20725 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20728 * localedata/locales/pt_BR (LC_TIME): use / instead of -
20730 * localedata/locales/pt_PT (LC_TIME): likewise
20732 2018-02-23 Mike FABIAN <mfabian@redhat.com>
20735 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
20736 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
20737 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
20739 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20743 * nptl/Makefile (routines): Remove unregister-atfork.
20744 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
20745 (fork_handler_alloc): Remove function.
20746 (fork_handlers, fork_handler_init): New variables.
20747 (__fork_lock): Rename to atfork_lock.
20748 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
20749 to use a dynamic array to add/remove atfork handlers.
20750 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20751 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
20752 Remove declaration.
20753 (fork_handler): Remove next, refcntr, and need_signal member.
20754 (__run_fork_handler_type): New enum.
20755 (__run_fork_handlers): New prototype.
20756 * nptl/register-atfork.c: Remove file.
20757 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
20759 * sysdeps/nptl/nptl-signals.h: Move to ...
20760 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
20762 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
20763 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
20764 unnecessary check for SIGTIMER.
20765 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
20766 remove unnecessary removal of SIGTIMER.
20767 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
20768 include-signals.h rename.
20769 * nptl/pthreadP.h: Likewise.
20770 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
20771 __is_internal_signal instead of __nptl_is_internal_signal.
20773 2018-02-22 Andrew Waterman <andrew@sifive.com>
20776 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
20777 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
20778 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
20779 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
20781 2018-02-22 DJ Delorie <dj@delorie.com>
20783 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
20785 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
20787 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
20788 do_misaligned, not misaligned8.
20790 2018-02-22 Steve Ellcey <sellcey@cavium.com>
20792 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
20793 Add memcpy_thunderx2.
20794 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
20796 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
20797 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
20798 and IS_THUNDERX2PA checks.
20799 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
20800 Use macro to set name appropriately.
20801 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
20802 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
20803 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
20805 (IS_THUNDERX2): New macro.
20807 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
20809 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20811 2018-02-21 Zack Weinberg <zackw@panix.com>
20813 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
20814 Define here, unconditionally.
20815 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
20816 * libio/libioP.h: Remove #if 0 blocks.
20817 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
20818 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
20819 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
20821 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
20822 Assume weak_alias is always defined.
20824 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
20825 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
20826 Remove #if 0 and #ifdef TODO blocks.
20827 Assume text_set_element is always defined.
20829 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
20830 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
20831 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
20833 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
20834 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
20835 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
20836 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
20837 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
20838 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
20839 Reformat bit flags for _flags field to make occupancy clearer.
20841 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
20842 Keep definitions consistent with those in libio/libio.h.
20844 * libio/libio.h (_IO_file_flags): Remove macro.
20845 All uses changed to _flags.
20847 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
20848 (__HAVE_COLUMN, _IO_BE): Don't define.
20849 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
20850 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
20851 * libio/libioP.h (EOF): Don't define.
20852 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
20853 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
20854 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
20855 testing _IO_UNIFIED_JUMPTABLES.
20857 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
20858 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
20859 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
20860 (_IO_size_t): Delete; all uses changed to size_t.
20861 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
20862 (_IO_off_t): Delete; all uses changed to off_t.
20863 (_IO_off64_t): Delete; all uses changed to off64_t.
20864 (_IO_pid_t): Delete; all uses changed to pid_t.
20865 (_IO_uid_t): Delete; all uses changed to uid_t.
20866 (_IO_wint_t): Delete; all uses changed to wint_t.
20867 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
20868 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
20869 (_IO_cookie_io_functions_t): Delete; all uses changed to
20870 cookie_io_functions_t.
20871 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
20872 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
20873 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
20874 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
20876 * libio/iofopncook.c: Remove unnecessary forward declarations.
20877 * libio/iolibio.h: Correct outdated commentary.
20878 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
20879 * stdio-common/fxprintf.c (__fxprintf_nocancel):
20880 Remove unnecessary casts.
20881 * stdio-common/getline.c: Use _IO_getdelim directly.
20882 Don't redefine ssize_t.
20883 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
20884 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
20885 Remove outdated comments.
20886 * stdio-common/vfscanf.c: Don't redefine va_list.
20888 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
20889 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
20890 Remove preprocessor conditionals on _LIBC and __USE_GNU,
20891 which are always true, and __cplusplus, which is always false.
20893 2018-02-21 Joseph Myers <joseph@codesourcery.com>
20897 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
20898 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
20899 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
20900 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
20902 [!_ISOMAC] (putc_unlocked): Likewise.
20903 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
20904 define inline if [__USE_EXTERN_INLINES].
20905 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
20910 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
20911 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
20912 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
20913 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
20914 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
20916 * time/tzfile.c (__tzfile_read): Likewise.
20918 2018-02-21 Mike FABIAN <mfabian@redhat.com>
20921 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
20923 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20925 * io/fcntl.h: Fix a typo in a comment.
20927 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
20930 * include/features.h: Add _ISOC11_SOURCE to test for whether to
20931 define _DEFAULT_SOURCE.
20932 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
20934 2018-02-21 Florian Weimer <fweimer@redhat.com>
20937 * elf/cache.c (save_cache): Call fsync on temporary file before
20939 (save_aux_cache): Call fdatasync on temporary file before renaming
20942 2018-02-21 Florian Weimer <fweimer@redhat.com>
20945 * include/caller.h: Remove file.
20946 * elf/dl-caller.c: Likewise.
20947 * elf/Makefile (dl-routines): Remove dl-caller.
20948 (shared-only-routines): Do not add dl-caller.
20949 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
20951 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
20953 (dl_open_worker): Do not call __check_caller.
20954 (_dl_open): Do not set caller_dl_open member.
20955 * elf/rtld.c (_rtld_global_ro): Do not initialize
20956 _dl_check_caller member.
20957 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
20958 _dl_check_caller member.
20959 (_dl_check_caller): Remove declaration.
20960 * sysdeps/unix/sysv/linux/dl-execstack.c
20961 (_dl_make_stack_executable): Do not call __check_caller.
20963 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20965 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
20966 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
20968 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20970 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
20973 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
20976 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
20977 of 199606L, 200112L, and 200809L.
20978 (_XOPEN_SOURCE): Document special values of 600 and 700.
20979 (_ISOC11_SOURCE): Document macro.
20980 (_ATFILE_SOURCE): Likewise.
20981 (_FORTIFY_SOURCE): Likewise.
20983 2018-02-19 Joseph Myers <joseph@codesourcery.com>
20987 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
20988 and define as weak alias of __ferror_unlocked. Use
20990 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
20992 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
20993 function if [__USE_EXTERN_INLINES].
20994 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
20997 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
21000 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
21002 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21005 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
21006 the GLIBC_2.1 version.
21008 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
21011 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
21012 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
21013 intl/tst-gettext-de.po from po/de.po by removing the
21014 POT-Creation-Date line.
21015 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
21017 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
21020 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
21022 * mach/Makefile (headers): Add mach/param.h.
21023 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
21024 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
21025 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
21026 (__ptsname_r): Move implementation to...
21027 (__ptsname_internal): ... new function. Add filling the STP
21030 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
21032 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
21035 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
21037 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
21040 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21042 * nptl/Makefile (tst-mutex8-ENV): Delete.
21043 * nptl/tst-mutex8.c (check_type):
21044 Add runtime check if mutex will be elided.
21046 2018-02-15 Joseph Myers <joseph@codesourcery.com>
21050 * manual/install.texi (Configuring and compiling): Describe
21051 passing CC and CFLAGS on configure command line, not as
21052 environment variables. Use @code markup on those variables.
21053 Specify what options go in CC and what go in CFLAGS. Note the
21054 requirement to compile with optimization.
21055 * INSTALL: Regenerated.
21058 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
21059 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
21060 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
21061 __sigprocmask instead of sigprocmask.
21062 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
21064 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
21065 __sigsetjmp and sigprocmask.
21068 * include/argz.h (argz_next): Use libc_hidden_proto.
21069 (__argz_next): Likewise.
21070 * string-argz-next.c (__argz_next): Use libc_hidden_def.
21071 (argz_next): Use libc_hidden_weak.
21074 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
21076 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
21080 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
21082 * libio/iofputs.c (fputs): Use libc_hidden_weak.
21086 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
21087 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
21088 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
21089 (__feof_unlocked): New declaration, and inline function if
21090 [__USE_EXTERN_INLINES].
21091 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
21092 instead of feof_unlocked.
21093 * intl/localealias.c [_LIBC] (FEOF): Likewise.
21094 * nss/nsswitch.c (nss_parse_file): Likewise.
21095 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
21097 * time/getdate.c (__getdate_r): Likewise.
21098 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
21099 Define as macro to call __feof_unlocked.
21101 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21103 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
21105 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
21107 * math/Makefile: Remove mpexp.c and mplog.c
21108 * sysdeps/i386/fpu/mpexp.c: Delete file.
21109 * sysdeps/i386/fpu/mplog.c: Likewise.
21110 * sysdeps/ia64/fpu/mpexp.c: Likewise.
21111 * sysdeps/ia64/fpu/mplog.c: Likewise.
21112 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
21113 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
21114 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
21115 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21116 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
21117 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
21118 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
21119 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
21120 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
21121 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21122 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
21123 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
21124 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21125 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
21126 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
21127 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21129 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
21131 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21133 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21135 * sysdeps/sh/libm-test-ulps: Update.
21137 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21139 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
21142 2018-02-12 Zack Weinberg <zackw@panix.com>
21145 * posix/sys/types.h: Don't include sys/sysmacros.h.
21146 * misc/sys/sysmacros.h: Remove the conditional deprecation
21147 warnings for the macros defined by this header.
21149 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21151 * manual/probes.texi: Remove slowexp probes.
21152 * math/Makefile: Remove slowexp.
21153 * sysdeps/generic/math_private.h (__slowexp): Remove.
21154 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
21155 document error bounds.
21156 * sysdeps/i386/fpu/slowexp.c: Remove.
21157 * sysdeps/ia64/fpu/slowexp.c: Remove.
21158 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
21159 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
21160 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
21161 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
21162 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
21163 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
21164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
21165 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
21166 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
21167 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
21168 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
21170 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
21173 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
21174 * benchtests/pow-inputs: Update comment for slow path cases.
21175 * manual/probes.texi (slowpow_p10): Delete removed probe.
21176 (slowpow_p10): Likewise.
21177 * math/Makefile: Remove halfulp.c and slowpow.c.
21178 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
21179 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
21180 (__halfulp): Remove.
21181 (__slowpow): Remove.
21182 * sysdeps/i386/fpu/halfulp.c: Delete file.
21183 * sysdeps/i386/fpu/slowpow.c: Likewise.
21184 * sysdeps/ia64/fpu/halfulp.c: Likewise.
21185 * sysdeps/ia64/fpu/slowpow.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
21187 improve comments and add error analysis.
21188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
21189 (power1): Remove function:
21190 (log1): Remove error argument, add error analysis.
21191 (my_log2): Remove function.
21192 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
21193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21194 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
21195 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
21196 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
21197 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
21198 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
21199 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
21200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
21201 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
21202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
21203 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21204 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
21205 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21207 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21209 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
21210 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
21212 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
21215 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
21216 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
21217 and PTRACE_SETHBPREGS.
21219 2018-02-10 Zack Weinberg <zackw@panix.com>
21222 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
21224 * malloc/tst-malloc-stats-cancellation.c: New test case.
21225 * malloc/Makefile: Add new test case.
21227 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
21229 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
21231 2018-02-10 Joseph Myers <joseph@codesourcery.com>
21233 * math/Makefile (libm-narrow-fns): Add add.
21234 (libm-test-funcs-narrow): Likewise.
21235 * math/Versions (GLIBC_2.28): Add narrowing add functions.
21236 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
21237 * math/gen-auto-libm-tests.c (test_functions): Add add.
21238 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
21239 (NARROW_ADD_ROUND_TO_ODD): Likewise.
21240 (NARROW_ADD_TRIVIAL): Likewise.
21241 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
21243 (__daddl): Likewise.
21244 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
21246 (CFLAGS-nldbl-dadd.c): New variable.
21247 (CFLAGS-nldbl-fadd.c): Likewise.
21248 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
21250 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
21252 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
21253 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
21254 * math/auto-libm-test-in: Add tests of add.
21255 * math/auto-libm-test-out-narrow-add: New generated file.
21256 * math/libm-test-narrow-add.inc: New file.
21257 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
21258 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
21259 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
21260 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
21261 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
21262 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
21263 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
21264 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
21265 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
21266 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
21267 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
21268 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
21269 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
21270 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
21271 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
21272 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
21273 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
21274 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
21275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21276 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
21277 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21278 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21279 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21280 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21281 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21282 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21283 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21284 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21285 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21286 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21287 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21288 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
21291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
21292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
21293 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
21294 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21295 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21296 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21297 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21298 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21299 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
21300 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
21301 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21304 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
21305 (f128-pairs): New variable.
21306 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
21307 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
21309 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
21310 Also make tests add $(f128-loader-link) to gnulib-tests.
21312 2018-02-09 DJ Delorie <dj@redhat.com>
21315 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
21316 64-bit ELF type for 64-bit ELF objects.
21318 2018-02-09 Joseph Myers <joseph@codesourcery.com>
21320 * math/libm-test-driver.c (snan_tests_arg): New variable.
21321 * math/libm-test-support.h (snan_tests_arg): New declaration.
21322 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
21324 * math/Makefile (test-type-pairs): New variable.
21325 (test-type-pairs-f64xf128-yes): Likewise.
21326 (tests): Add test-narrow-macros.
21327 (libm-test-funcs-narrow): New variable.
21328 (libm-test-c-narrow): Likewise.
21329 (generated): Add $(libm-test-c-narrow).
21330 (libm-tests-base-narrow): New variable.
21331 (libm-tests-narrow): Likewise.
21332 (libm-tests): Add $(libm-tests-narrow).
21333 (libm-tests-for-type): Handle $(libm-tests-narrow).
21334 (libm-test-c-narrow-obj): New variable.
21335 ($(libm-test-c-narrow-obj)): New rule.
21336 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
21337 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
21338 $(o-iterator) to set dependencies and CFLAGS.
21339 * math/gen-auto-libm-tests.c: Document use for narrowing
21341 (output_for_one_input_case): Take argument NARROW.
21342 (generate_output): Likewise. Update call to
21343 output_for_one_input_case.
21344 (main): Take --narrow option. Update call to generate_output.
21345 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
21346 (apply_lit): Update call to _apply_lit.
21347 (apply_arglit): New function.
21348 (parse_args): Handle "a" arguments.
21349 (parse_auto_input): Handle format names using ":".
21350 * math/README.libm-test: Document "a" parameter type.
21351 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
21352 (ARG_TYPE_TRUE_MIN): Likewise.
21353 (ARG_TYPE_MAX): Likwise.
21354 (ARG_MIN_EXP): Likewise.
21355 (ARG_MAX_EXP): Likewise.
21356 (ARG_MANT_DIG): Likewise.
21357 (TEST_COND_arg_ibm128): Likewise.
21358 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
21359 (TEST_COND_arg_fmt): New macro.
21360 (init_max_error): Update prototype.
21361 * math/libm-test-support.c (test_ibm128): New variable.
21362 (init_max_error): Take argument testing_ibm128 and set test_ibm128
21363 instead of using [TEST_COND_ibm128] conditional.
21364 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
21365 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
21366 [TEST_NARROW] (TEST_MSG): New definition.
21367 (arg_plus_zero): New macro.
21368 (arg_minus_zero): Likewise.
21369 (arg_plus_infty): Likewise.
21370 (arg_minus_infty): Likewise.
21371 (arg_qnan_value_pl): Likewise.
21372 (arg_qnan_value): Likewise.
21373 (arg_snan_value_pl): Likewise.
21374 (arg_snan_value): Likewise.
21375 (arg_max_value): Likewise.
21376 (arg_min_value): Likewise.
21377 (arg_min_subnorm_value): Likewise.
21378 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
21379 (RUN_TEST_LOOP_aa_f): New macro.
21380 (TEST_SUFF): New macro.
21381 (TEST_SUFF_STR): Likewise.
21382 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
21383 (TEST_COND_any_ibm128): New macro.
21384 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
21385 this_func. Update call to init_max_error.
21386 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
21387 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
21388 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
21389 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
21390 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
21391 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
21392 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
21393 * math/test-math-scalar.h (TEST_NARROW): Likewise.
21394 * math/test-math-vector.h (TEST_NARROW): Likewise.
21395 * math/test-arg-double.h: New file.
21396 * math/test-arg-float128.h: Likewise.
21397 * math/test-arg-float32x.h: Likewise.
21398 * math/test-arg-float64.h: Likewise.
21399 * math/test-arg-float64x.h: Likewise.
21400 * math/test-arg-ldouble.h: Likewise.
21401 * math/test-math-narrow.h: Likewise.
21402 * math/test-narrow-macros.c: Likewise.
21403 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
21404 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
21405 test-narrow-macros-ldbl-64.
21406 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
21408 * math/bits/mathcalls-narrow.h: New file.
21409 * include/bits/mathcalls-narrow.h: Likewise.
21410 * math/math-narrow.h: Likewise.
21411 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
21412 (__MATHCALL_NARROW_ARGS_2): Likewise.
21413 (__MATHCALL_NARROW_ARGS_3): Likewise.
21414 (__MATHCALL_NARROW_NORMAL): Likewise.
21415 (__MATHCALL_NARROW_REDIR): Likewise.
21416 (__MATHCALL_NARROW): Likewise.
21417 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
21418 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
21420 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21421 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
21422 (libm-narrow-fns): New variable.
21423 (libm-narrow-types-basic): Likewise.
21424 (libm-narrow-types-ldouble-yes): Likewise.
21425 (libm-narrow-types-float128-yes): Likewise.
21426 (libm-narrow-types-float128-alias-yes): Likewise.
21427 (libm-narrow-types): Likewise.
21428 (libm-routines): Add narrowing functions.
21429 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
21430 (libc_feholdexcept_setroundf128): New macro.
21431 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
21432 * sysdeps/ieee754/float128/float128_private.h: Include
21433 <math/math-narrow.h>.
21434 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
21435 Undefine and redefine.
21436 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
21437 (libm_alias_float_ldouble): Undefine and redefine.
21438 (libm_alias_double_ldouble): Likewise.
21440 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
21442 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
21444 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
21447 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
21449 * manual/creature.texi: Convert references to gcc.info to gcc.
21450 * manual/stdio.texi: Likewise.
21451 * manual/string.texi: Likewise.
21453 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21456 * posix/bits/types.h (__int_least8_t): New typedef.
21457 (__uint_least8_t): Likewise.
21458 (__int_least16_t): Likewise.
21459 (__uint_least16_t): Likewise.
21460 (__int_least32_t): Likewise.
21461 (__uint_least32_t): Likewise.
21462 (__int_least64_t): Likewise.
21463 (__uint_least64_t): Likewise.
21464 * sysdeps/generic/stdint.h (int_least8_t): Define using
21466 (int_least16_t): Define using __int_least16_t.
21467 (int_least32_t): Define using __int_least32_t.
21468 (int_least64_t): Define using __int_least64_t.
21469 (uint_least8_t): Define using __uint_least8_t.
21470 (uint_least16_t): Define using __uint_least16_t.
21471 (uint_least32_t): Define using __uint_least32_t.
21472 (uint_least64_t): Define using __uint_least64_t.
21473 * wcsmbs/uchar.h: Include <bits/types.h>.
21474 (char16_t): Define using __uint_least16_t conditional only on
21476 (char32_t): Define using __uint_least32_t conditional only on
21478 * wcsmbs/test-char-types.c: New file.
21479 * wcsmbs/Makefile (tests): Add test-char-types.
21481 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
21484 2018-02-07 Zack Weinberg <zackw@panix.com>
21486 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
21487 Delete all contents except for definitions of _G_HAVE_MMAP and
21488 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
21489 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
21490 sysdeps/unix/sysv/linux/_G_config.h. Make same content
21493 * libio/libio.h: Don't include bits/_G_config.h here.
21494 Include stddef.h with __need_wchar_t defined. Include
21495 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
21496 Define _IO_iconv_t here, directly.
21497 Don't define _IO_HAVE_ST_BLKSIZE.
21498 * libio/libioP.h: Include _G_config.h here. Move include of
21499 shlib-compat.h up with rest of includes. Simplify conditionals
21500 controlling definition of _IO_JUMPS_OFFSET.
21502 * csu/init.c: Remove always-true #if around entire file.
21503 Don't include stdio.h. Set _IO_stdin_used to hardwired
21504 constant 0x20001, and update commentary.
21505 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
21506 Replace all uses of _G_va_list with __gnuc_va_list.
21507 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
21508 instead of #if _IO_HAVE_ST_BLKSIZE.
21509 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
21510 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
21513 * libio/bits/libio.h: Move back to libio/libio.h and adjust
21514 multiple-include guard to match.
21515 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
21517 Remove preprocessor conditionals that are always true and/or
21518 redundant to other preprocessor conditionals in the same nest.
21519 Include shlib-compat.h unconditionally.
21520 Error out if _LIBC is not defined, or if _ISOMAC is defined,
21521 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
21522 defined after including stdio.h.
21523 Use __BEGIN_DECLS/__END_DECLS.
21525 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
21526 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
21527 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
21529 2018-02-07 Zack Weinberg <zackw@panix.com>
21531 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
21532 New single-type headers split from _G_config.h.
21533 * libio/bits/types/cookie_io_functions_t.h
21534 * libio/bits/types/struct_FILE.h
21535 New single-type headers split from libio.h.
21537 * libio/Makefile: Install the above new headers. Don't install
21538 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
21540 * libio/_G_config.h, libio/libio.h: Delete file.
21542 * libio/bits/libio.h: Remove improper-inclusion guard.
21543 Include stdio.h and don't repeat anything that it does.
21544 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
21545 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
21546 __io_read_fn as cookie_read_function_t,
21547 __io_write_fn as cookie_write_function_t,
21548 __io_seek_fn as cookie_seek_function_t,
21549 __io_close_fn as cookie_close_function_t,
21550 and _IO_cookie_io_functions_t as cookie_io_functions_t.
21551 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
21552 here, in the "compatibility defines" section. Remove an #if 0
21553 block. Use the "body" macros from bits/types/struct_FILE.h to
21554 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
21555 and _IO_ferror_unlocked.
21556 Move prototypes of __uflow and __overflow...
21558 * libio/stdio.h: ...here. Don't include bits/libio.h.
21559 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
21560 directly from stdarg.h. Include bits/types/__fpos_t.h,
21561 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
21562 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
21563 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
21564 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
21565 cookie_io_functions_t, not _IO_cookie_io_functions_t;
21566 __ssize_t, not _IO_ssize_t. Unconditionally define
21567 BUFSIZ as 8192 and EOF as (-1).
21569 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
21570 macros from bits/types/struct_FILE.h instead of _IO_* macros
21571 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
21572 instead of _IO_ssize_t.
21573 * libio/bits/stdio2.h: Similarly.
21575 * libio/iolibio.h: Add multiple-include guard.
21576 Include bits/libio.h after stdio.h.
21577 * libio/libioP.h: Add multiple-include guard.
21578 Include stdio.h and bits/libio.h before iolibio.h.
21580 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
21581 * include/bits/types/cookie_io_functions_t.h
21582 * include/bits/types/struct_FILE.h: New wrappers.
21584 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
21585 Get definitions of _G_fpos_t and _G_fpos64_t from
21586 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
21587 respectively. Remove improper-inclusion guards.
21589 * conform/data/stdio.h-data: Update expectations of va_list.
21590 * scripts/check-installed-headers.sh: Remove special case for
21591 libio.h and _G_config.h.
21593 2018-02-07 Joseph Myers <joseph@codesourcery.com>
21597 * include/sys/sysmacros.h [!_ISOMAC]
21598 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
21599 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
21600 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
21601 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
21603 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
21604 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
21606 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
21607 Undefine and redefine to add use __gnu_dev_ prefix.
21608 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
21610 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
21611 and define as hidden inline function.
21612 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
21614 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
21616 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
21617 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
21618 (gnu_dev_minor): Likewise.
21619 (gnu_dev_makedev): Likewise.
21620 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
21622 * posix/wordexp.c (exec_comm_child): Likewise.
21623 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
21624 instead of minor and __gnu_dev_major instead of major.
21625 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
21626 __gnu_dev_major instead of major.
21627 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
21628 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
21629 instead of gnu_dev_minor.
21630 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
21631 (SLAVE_P): Likewise.
21632 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
21633 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
21637 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
21639 * locale/weightwc.h (findidx): Likewise.
21641 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
21643 * manual/probes.texi (slowlog): Delete documentation of removed probe.
21644 (slowlog_inexact): Likewise
21645 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
21646 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
21648 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
21651 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
21652 missing second underscore to parameter name.
21654 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21660 * bits/byteswap.h: Update file comment. Do not include
21661 <bits/byteswap-16.h>.
21662 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
21664 (__bswap_16): Define as inline function.
21665 (__bswap_constant_32): Reformat definition.
21666 (__bswap_32): Always define as inline function, not macro, using
21667 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
21668 otherwise __bswap_constant_32.
21669 (__bswap_constant_64): Reformat definition. Do not use
21670 __extension__ here.
21671 (__bswap_64): Always define as inline function, not macro. Use
21672 __extension__ on function definition. Use __builtin_bswap64 if
21673 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
21674 * string/test-endian-file-scope.c: New file.
21675 * string/test-endian-sign-conversion.c: Likewise.
21676 * string/Makefile (headers): Remove bits/byteswap-16.h.
21677 (tests): Add test-endian-file-scope and
21678 test-endian-sign-conversion.
21679 (CFLAGS-test-endian-sign-conversion.c): New variable.
21680 * bits/byteswap-16.h: Remove file.
21681 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
21682 * sysdeps/ia64/bits/byteswap.h: Likewise.
21683 * sysdeps/m68k/bits/byteswap.h: Likewise.
21684 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21685 * sysdeps/s390/bits/byteswap.h: Likewise.
21686 * sysdeps/tile/bits/byteswap.h: Likewise.
21687 * sysdeps/x86/bits/byteswap-16.h: Likewise.
21688 * sysdeps/x86/bits/byteswap.h: Likewise.
21691 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
21692 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
21693 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
21694 199901L] (__restrict): Define to restrict.
21697 * string/testcopy.c: Include <support/support.h>. Do not include
21698 <malloc.h>. Use <support/test-driver.c>.
21699 (main): Rename to do_test. Make static. Use xmalloc instead of
21703 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
21704 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
21705 (SSIZE_MAX): Define to INT_MAX.
21706 * posix/test-ssize-max.c: New file.
21707 * posix/Makefile (tests): Add test-ssize-max.
21710 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
21711 <support/support.h>. Do not include <malloc.h>.
21712 (query_auxv): Use xmalloc instead of malloc.
21715 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
21716 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
21719 2018-02-06 Florian Weimer <fweimer@redhat.com>
21722 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21723 Use scratch_buffer instead of extend_alloca.
21725 2018-02-06 Zack Weinberg <zackw@panix.com>
21727 * libio/stdio.h: Don't define getc or putc as macros.
21728 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
21729 not _IO_getc and _IO_putc.
21731 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
21732 * stdio-common/tstgetln.c: Don't redefine ssize_t.
21734 2018-02-06 Joseph Myers <joseph@codesourcery.com>
21736 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
21737 (TCP_FASTOPEN_NO_COOKIE): Likewise.
21739 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
21742 * elf/elf.h (NT_PRFPREG): New macro.
21743 (NT_S390_VXRS_LOW): Likewise.
21744 (NT_S390_VXRS_HIGH): Likewise.
21745 (NT_S390_GS_CB): Likewise.
21746 (NT_S390_GS_BC): Likewise.
21747 (NT_S390_RI_CB): Likewise.
21749 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
21750 (MAP_SYNC): New macro.
21751 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
21753 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
21754 (MAP_SYNC): Likewise.
21755 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
21756 (MAP_SYNC): Likewise.
21757 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
21758 (MAP_SYNC): Likewise.
21759 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
21760 (MAP_SYNC): Likewise.
21761 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
21762 (MAP_SYNC): Likewise.
21763 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
21764 (MAP_SYNC): Likewise.
21765 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
21767 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
21770 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
21771 (MAP_SHARED_VALIDATE): New macro.
21772 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
21773 (MAP_SHARED_VALIDATE): Likewise.
21775 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21777 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
21778 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
21779 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21781 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21783 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
21784 (DT_NUM): Updated to 35.
21786 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
21789 __builtin_expect with __glibc_likely and __glibc_unlikely.
21790 (elf_machine_rela): Likewise.
21791 (elf_machine_lazy_rel): Likewise.
21793 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
21796 __builtin_expect with __glibc_likely and __glibc_unlikely.
21797 (elf_machine_lazy_rel): Likewise.
21799 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
21802 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
21804 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
21806 2018-02-05 Andreas Schwab <schwab@suse.de>
21809 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
21812 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21814 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
21815 not check against PTHREAD_STACK_MIN.
21817 2018-02-02 Sean McKean <smckean83@gmail.com>
21820 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
21822 2018-02-02 Florian Weimer <fweimer@redhat.com>
21825 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
21826 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
21827 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
21828 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
21829 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
21830 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
21831 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
21832 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
21833 * manual/llio.texi (Scatter-Gather): Mention offset -1.
21834 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
21835 * misc/tst-preadvwritev2.c (do_test): Call it.
21836 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
21838 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
21840 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
21842 * benchtests/bench-memcmp.c: Print json instead of plain text.
21844 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
21847 2018-02-01 Joseph Myers <joseph@codesourcery.com>
21849 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
21851 (s390_sthyi): New syscall.
21853 * sysdeps/generic/ldbl-classify-compat.h: New file.
21854 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
21855 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
21856 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
21857 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
21858 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
21859 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
21860 * sysdeps/ieee754/dbl-64/s_finite.c: Include
21861 <ldbl-classify-compat.h>.
21862 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21863 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
21864 <ldbl-classify-compat.h>.
21865 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21866 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
21867 <ldbl-classify-compat.h>.
21868 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21869 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
21870 <ldbl-classify-compat.h>.
21871 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
21873 <ldbl-classify-compat.h>.
21874 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
21876 <ldbl-classify-compat.h>.
21877 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
21878 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
21879 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
21880 * sysdeps/m68k/coldfire/math_private.h: Remove file.
21881 * sysdeps/microblaze/math_private.h: Likewise.
21882 * sysdeps/nios2/math_private.h: Likewise.
21883 * sysdeps/sh/math_private.h: Likewise.
21885 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
21886 * sysdeps/m68k/coldfire/math_private.h: ... here.
21887 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
21888 * sysdeps/tile/math_private.h: Likewise.
21889 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
21891 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
21894 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
21896 (libc_fetestexcept): Likewise.
21897 (libc_feupdateenv_test): Likewise.
21898 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
21899 (libc_fetestexcept): Likewise.
21900 (libc_feupdateenv_test): Likewise.
21901 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
21902 (libc_fetestexcept): Likewise.
21903 (libc_feupdateenv_test): Likewise.
21904 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
21905 (libc_fetestexcept): Likewise.
21906 (libc_feupdateenv_test): Likewise.
21908 * sysdeps/generic/math_private.h
21909 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
21910 New inline function.
21911 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
21914 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
21915 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
21916 * sysdeps/generic/math_private.h
21917 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
21919 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
21921 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
21923 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
21925 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
21927 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
21929 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
21930 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
21931 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
21932 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
21933 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
21934 (__fegetenv): Likewise.
21935 (fesetenv): Likewise.
21936 (__fesetenv): Likewise.
21937 (feupdateenv): Likewise.
21938 (__feupdateenv): Likewise.
21939 (fegetround): Likewise.
21940 (__fegetround): Likewise.
21941 (fesetround): Likewise.
21942 (__fesetround): Likewise.
21944 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
21945 (feraiseexcept): New macro.
21946 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
21947 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
21949 (__feraiseexcept): Likewise.
21950 (feclearexcept): Likewise.
21951 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
21952 (__feraiseexcept): Likewise.
21953 (feclearexcept): Likewise.
21954 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
21955 (__feraiseexcept): Likewise.
21956 (feclearexcept): Likewise.
21957 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
21958 (__feraiseexcept): Likewise.
21959 (feclearexcept): Likewise.
21960 (fetestexcept): Likewise.
21962 * sysdeps/m68k/coldfire/math-tests.h: New file.
21964 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
21965 * sysdeps/m68k/bits/fenv.h: ... here.
21966 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
21968 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
21970 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
21972 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
21974 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
21976 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
21978 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
21979 (__FE_UNDEFINED): New enum constant.
21980 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
21982 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
21984 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
21986 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
21987 to match generic bits/fenv.h.
21988 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
21991 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
21993 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
21994 * soft-fp/half.h (union _FP_UNION_H): Likewise.
21995 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
21996 * soft-fp/single.h (union _FP_UNION_S): Likewise.
21998 2018-02-01 Carlos O'Donell <carlos@redhat.com>
21999 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
22000 Joseph Myers <joseph@codesourcery.com>
22003 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
22004 (__log1p): Disable -Wmaybe-uninitialized for -Os around
22005 computation using c.
22006 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
22007 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
22008 computation using c.
22010 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22012 * version.h (RELEASE): Set to "development".
22013 (VERSION): Set to "2.27.9000".
22014 * NEWS (2.28): New section.
22016 * version.h (RELEASE): Set to "stable".
22017 (VERSION): Set to "2.27".
22018 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
22020 * NEWS: Add the list of bugs fixed in 2.27.
22022 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22024 * stdlib/test-atexit-race-common.c (do_test): Check stack size
22025 against PTHREAD_STACK_MIN.
22027 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
22029 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
22031 (Rafał Lużyński, Andreas Schwab): Update.
22033 2018-02-01 Rafał Lużyński <digitalfreak@lingonborough.com>
22036 * NEWS: List the languages which actually use the alternative
22037 months feature in this release. Also explain that "alt_mon" and
22038 "ab_alt_mon" are optional.
22040 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
22043 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
22045 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
22047 * manual/install.texi (Tools for Compilation): Update the newest
22048 versions of gcc, binutils, texinfo, gawk, bison, and sed.
22049 * INSTALL: Regenerated.
22051 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22053 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
22054 instead of __builtin_expect.
22056 2018-01-30 Florian Weimer <fweimer@redhat.com>
22058 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
22060 * nss/tst-nss-getpwent.c (do_test): Likewise.
22062 2018-01-30 Rafał Lużyński <digitalfreak@lingonborough.com>
22065 * localedata/locales/hr_HR (mon): Rename to...
22067 (mon): Import from CLDR (genitive case).
22068 (d_t_fmt): Update the comment.
22070 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
22072 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
22073 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
22074 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
22076 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22078 * mach/Versions: Fix version when __mach_host_self_ was added.
22079 * hurd/Versions: Fix version when _hurd_exec_paths was added.
22080 * sysdeps/mach/hurd/i386/ld.abilist: New file.
22081 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
22082 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
22083 * sysdeps/mach/hurd/i386/libc.abilist: New file.
22084 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
22085 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
22086 * sysdeps/mach/hurd/i386/libm.abilist: New file.
22087 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
22088 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
22089 * sysdeps/mach/hurd/i386/librt.abilist: New file.
22090 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
22091 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
22092 || to respect codestyle.
22093 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
22094 (do_test_bz20181): Rename accordingly.
22095 * malloc/malloc.c: Include <assert.h>.
22096 (assert): Do not define.
22097 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
22098 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
22099 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
22100 * sysdeps/mach/hurd/hp-timing.h: New file.
22101 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
22103 2018-01-29 Darius Rad <darius@bluespec.com>
22105 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
22107 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
22109 * sysdeps/init_array/crti.S (.section .init_array): Add
22110 PREINIT_FUNCTION when defined.
22111 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
22112 * config.h.in: Regenerate.
22113 * manual/platform.texi: Add RISC-V documenation for
22114 __riscv_flush_icache.
22115 * sysdeps/riscv/__longjmp.S: New file.
22116 * sysdeps/riscv/backtrace.c: Likewise.
22117 * sysdeps/riscv/bits/endian.h: Likewise.
22118 * sysdeps/riscv/bits/setjmp.h: Likewise.
22119 * sysdeps/riscv/bits/wordsize.h: Likewise.
22120 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
22121 * sysdeps/riscv/bsd-setjmp.c: Likewise.
22122 * sysdeps/riscv/dl-trampoline.S: Likewise.
22123 * sysdeps/riscv/gccframe.h: Likewise.
22124 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
22125 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
22126 * sysdeps/riscv/machine-gmon.h: Likewise.
22127 * sysdeps/riscv/memusage.h: Likewise.
22128 * sysdeps/riscv/setjmp.S: Likewise.
22129 * sysdeps/riscv/sys/asm.h: Likewise.
22130 * sysdeps/riscv/tls-macros.h: Likewise.
22131 * sysdeps/riscv/dl-tls.h: New file.
22132 * sysdeps/riscv/libc-tls.c: Likewise.
22133 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
22134 * sysdeps/riscv/nptl/tls.h: Likewise.
22135 * sysdeps/riscv/stackinfo.h: Likewise.
22136 * sysdeps/riscv/bits/fenv.h: New file.
22137 * sysdeps/riscv/e_sqrtl.c: Likewise.
22138 * sysdeps/riscv/fpu_control.h: Likewise.
22139 * sysdeps/riscv/math-tests.h: Likewise.
22140 * sysdeps/riscv/nofpu/Implies: Likewise.
22141 * sysdeps/riscv/sfp-machine.h: Likewise.
22142 * sysdeps/riscv/tininess.h: Likewise.
22143 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
22144 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
22145 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
22146 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
22147 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
22148 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
22149 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
22150 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
22151 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
22152 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
22153 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
22154 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
22155 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
22156 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
22157 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
22158 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
22159 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
22160 * sysdeps/riscv/rvd/s_finite.c: Likewise.
22161 * sysdeps/riscv/rvd/s_fma.c: Likewise.
22162 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
22163 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
22164 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
22165 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
22166 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
22167 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
22168 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
22169 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
22170 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
22171 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
22172 * sysdeps/riscv/rvf/fegetround.c: Likewise.
22173 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
22174 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
22175 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
22176 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
22177 * sysdeps/riscv/rvf/fesetround.c: Likewise.
22178 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
22179 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
22180 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
22181 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
22182 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
22183 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
22184 * sysdeps/riscv/rvf/math_private.h: Likewise.
22185 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
22186 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
22187 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
22188 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
22189 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
22190 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
22191 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
22192 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
22193 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
22194 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
22195 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
22196 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
22197 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
22198 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
22199 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
22200 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
22201 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
22202 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
22203 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
22204 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
22205 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
22206 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
22207 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
22208 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
22209 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
22210 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
22211 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
22212 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
22213 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
22214 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
22215 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
22216 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
22217 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
22218 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
22219 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
22220 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
22221 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
22222 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
22223 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
22224 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
22225 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
22226 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
22227 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
22228 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
22229 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
22230 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
22231 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
22232 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
22233 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
22234 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
22235 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
22236 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
22237 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
22238 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
22239 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
22240 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
22241 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
22242 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
22243 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
22244 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
22245 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
22246 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
22247 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
22248 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
22249 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
22250 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
22251 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
22252 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
22253 * sysdeps/riscv/Implies: New file.
22254 * sysdeps/riscv/Makefile: Likewise.
22255 * sysdeps/riscv/configure: Likewise.
22256 * sysdeps/riscv/configure.ac: Likewise.
22257 * sysdeps/riscv/nptl/Makefile: Likewise.
22258 * sysdeps/riscv/preconfigure: Likewise.
22259 * sysdeps/riscv/rv64/Implies-after: Likewise.
22260 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
22261 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
22262 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
22263 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
22264 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
22265 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
22266 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
22267 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
22268 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
22269 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
22270 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
22271 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
22272 (Config): Likewise.
22274 2018-01-29 Florian Weimer <fweimer@redhat.com>
22277 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
22278 libnsl_hidden_proto.
22279 * include/rpcsvc/yp.h (yp_xdrall): Declare with
22280 libnsl_hidden_proto.
22281 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
22282 * nis/Makefile (libnsl-routines): Add nss-default only for
22283 build-obsolete-nsl.
22284 * nis/nis_defaults.c (__nis_default_ttl): Add
22285 libnsl_hidden_nolink_def.
22286 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
22288 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
22289 * nis/ypclnt.c (yp_maplist): Likewise.
22291 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
22293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22294 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
22296 2018-01-29 Joseph Myers <joseph@codesourcery.com>
22298 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
22299 clean -dxfq for git updates when replacing sources.
22301 * scripts/build-many-glibcs.py (Config.build_gcc): Use
22302 --disable-libcilkrts unconditionally, not just for the final GCC
22305 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
22308 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22311 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
22314 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22317 * localedata/locales/be_BY (mon): Rename to...
22318 (alt_mon): This, then synchronize with CLDR (nominative case).
22319 (abmon): Rename to...
22320 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
22321 (mon): Import from CLDR (genitive case).
22323 * localedata/locales/be_BY@latin (mon): Rename to...
22325 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
22327 * localedata/locales/be_BY@latin (lang_name): Reworded to
22328 "biełaruskaja mova".
22330 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22333 * localedata/locales/el_CY (mon): Renamed to...
22335 (mon): Import from CLDR (genitive case).
22336 * localedata/locales/el_GR: Likewise.
22338 2018-01-29 Rafał Lużyński <digitalfreak@lingonborough.com>
22341 * localedata/locales/ru_RU (mon): Rename to...
22343 (abmon): Rename to...
22344 (ab_alt_mon): This.
22345 (mon): Import from CLDR (genitive case).
22346 (abmon): Copy from the old content except the 5th month which is
22347 now in the genitive case, even when abbreviated.
22348 * localedata/locales/ru_UA: Likewise.
22349 * time/tst-strptime.c (day_tests): Add an actual example of
22350 a difference between %b and %Ob in Russian.
22352 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22354 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
22355 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
22357 * resolv/res-close.c: Include <stdlib.h>.
22358 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
22359 <sys/wait.h>, <time.h>, <sys/uio.h>.
22360 (NOT_CANCEL_H): Add inclusion guard.
22361 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
22362 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
22363 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
22365 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
22366 vm_address_t * to ElfW(Addr) * for dl_main parameter.
22367 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
22369 * sysdeps/pthread/timer_create.c (timer_create): Do not use
22370 timer_ptr2id to cast struct timer_node * to void *.
22371 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
22372 --disable-libcilkrts to gcc configure.
22373 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
22374 and make them the default for now.
22375 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
22376 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
22377 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
22378 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
22379 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
22381 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
22382 __task_terminate would ever return successfully.
22383 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
22385 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
22386 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
22387 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
22388 critical section to make code simpler and avoid warning.
22389 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
22390 critical section to make code simpler and avoid warning.
22391 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
22392 const char * instead of char *.
22393 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
22394 __hurd_file_name_split, hurd_file_name_split,
22395 __hurd_directory_name_split, hurd_directory_name_split,
22396 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
22397 hurd_file_name_path_lookup): Make lookup function parameter take a
22398 const char *name instead of char *name.
22399 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
22400 __hurd_directory_name_split): Likewise.
22401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
22402 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
22403 * sysdeps/mach/hurd/check_native.c: New file.
22404 * sysdeps/mach/hurd/check_pf.c: New file.
22405 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
22406 (__freeifaddrs): Define macro to freeifaddrs.
22407 * sysdeps/mach/hurd/libhurduser.abilist: New file.
22408 * sysdeps/mach/libmachuser.abilist: New file.
22409 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
22410 (do_test_bz20181): Rename accordingly.
22411 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
22412 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
22414 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
22415 version only if __USE_EXTERN_INLINES is defined.
22416 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
22417 __hurd_sockfail): Likewise.
22418 (_hurd_fd_get): Always declare functions, and provide inline versions
22419 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
22420 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
22421 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
22422 _hurd_port_set): Always declare functions, and provide inline versions
22423 only if __USE_EXTERN_INLINES and _LIBC are defined and
22425 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
22426 _hurd_critical_section_unlock): Likewise.
22427 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
22428 * __hurd_threadvar_location): Likewise.
22429 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
22430 _hurd_userlink_clear): Likewise.
22431 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
22432 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
22433 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
22434 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
22435 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
22436 __spin_lock_locked): Likewise.
22437 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
22438 __spin_lock_locked): Likewise.
22439 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
22440 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
22441 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
22442 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
22443 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
22444 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
22445 _POSIX_NO_TRUNC): Define to 0.
22446 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
22447 check size against PTHREAD_STACK_MIN.
22448 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
22449 IS_IN(libpthread)]: Include <sigsetops.h>.
22450 * mach/Makefile (user-interfaces): Add mach/gnumach.
22451 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
22452 * sysdeps/mach/configure (mach_interface_list): Regenerate.
22453 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
22454 instead of invalid -1.
22455 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
22456 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
22457 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
22460 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
22462 * hurd/fcntl-internal.h: New file.
22464 2018-01-27 James Clarke <jrtc27@jrtc27.com>
22466 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22468 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22470 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
22473 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
22474 Build only shared objects.
22476 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22478 * README: Update for hppa.
22480 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
22482 * sysdeps/sparc/fpu/libm-test-ulps: Update
22483 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
22485 2018-01-26 Carlos O'Donell <carlos@redhat.com>
22489 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22492 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22493 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
22494 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
22495 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
22498 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
22501 * bits/types/__cancel_jmp_buf_tag.h: New file.
22502 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
22503 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
22504 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
22505 * nptl/Makefile (headers): Add
22506 bits/types/__cancel_jmp_buf_tag.h.
22507 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
22508 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
22509 * sysdeps/nptl/pthread.h: Include
22510 <bits/types/__cancel_jmp_buf_tag.h>.
22511 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
22513 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
22515 2018-01-25 Rafał Lużyński <digitalfreak@lingonborough.com>
22518 * localedata/locales/uk_UA (mon): Renamed to...
22520 (alt_digits): "0" removed and then renamed to...
22522 (date_fmt): Definition changed not to use the alternative
22525 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
22527 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
22528 FLAG_RISCV_FLOAT_ABI_DOUBLE.
22529 * elf/elf.h (EF_RISCV_RVC): New define.
22530 (EF_RISCV_FLOAT_ABI): Likewise.
22531 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
22532 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
22533 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22534 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
22535 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
22537 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
22539 2018-01-25 Andreas Schwab <schwab@suse.de>
22541 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
22543 * sysdeps/gnu/configure: Regenerate.
22544 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22545 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22547 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22548 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22549 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
22550 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22551 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22553 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
22555 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
22556 URL, and run autoconf, make it the default for now.
22558 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22560 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22561 soft-float ColdFire configuration.
22563 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
22564 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
22565 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
22567 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
22570 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
22572 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
22574 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
22577 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
22578 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
22579 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
22582 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22585 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
22586 Rename to __reserved and add comment.
22587 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
22588 Rename to __reserved.
22590 2018-01-24 Joseph Myers <joseph@codesourcery.com>
22592 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
22593 i686-gnu configurations.
22594 (Context.run_builds): Include mig, gnumach and hurd in components
22596 (Context.checkout): Add mig, gnumach and hurd to components.
22597 (Context.checkout_tar): Add URL mappings for mig, gnumach and
22599 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
22600 (Config.build): Install gnumach headers, build mig and install
22601 hurd headers for 'gnu' OS.
22602 (Config.install_gnumach_headers): New function.
22603 (Config.install_hurd_headers): Likewise.
22604 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
22605 when building for 'gnu' OS.
22607 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
22609 * manual/tunables.texi (Hardware Capability Tunables): Fix
22612 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
22614 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
22615 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
22616 (ALTMON_11, ALTMON_12): Improve documentation.
22617 * manual/time.texi (strftime): Likewise.
22619 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22622 * localedata/locales/pl_PL: Alternative month names added,
22623 primary month names are genitive now.
22624 * time/tst-strptime.c (day_tests): Actually use a genitive case
22625 of a month name in Polish language.
22627 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22630 * manual/locale.texi: Document ALTMON_1..12 constants for
22631 nl_langinfo. Specify when to use ALTMON instead of MON.
22632 * manual/time.texi (strftime, strptime): Document GNU extension
22633 permitting O modifier with %B and %b. Specify when to use
22636 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22639 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
22640 names, define them as the same as abbreviated month names explicitly.
22641 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
22642 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
22643 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
22644 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
22645 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
22646 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
22647 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
22648 _NL_WABALTMON_12): New enum constants.
22649 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
22650 wab_alt_mon, and ab_alt_mon_defined members.
22651 (time_output): Output ab_alt_mon and wab_alt_mon members.
22652 (time_read): Read them, initialize them as copies of abmon and wabmon
22653 respectively if they are missing, initialize ab_alt_mon_defined.
22654 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
22655 * locale/programs/locfile-kw.h: Regenerate.
22656 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
22657 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
22659 * time/strftime_l.c (a_altmonth, aam_len): New macros.
22660 [!COMPILE_WIDE] (ABALTMON_1): New macro.
22661 (__strftime_internal): Handle %Ob and %Oh formats.
22662 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
22663 (__strptime_internal): Handle %Ob and %Oh formats.
22664 * time/tst-strptime.c (day_tests): Add more tests to parse different
22665 forms of month names including the new %Ob format specifier.
22667 2018-01-22 Rafał Lużyński <digitalfreak@lingonborough.com>
22670 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
22671 define them as the same as primary full month names explicitly.
22672 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
22673 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
22674 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
22675 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
22676 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
22677 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
22678 _NL_WALTMON_12): New enum constants.
22679 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
22680 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
22682 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
22683 walt_mon, and alt_mon_defined members.
22684 (time_output): Output alt_mon and walt_mon members.
22685 (time_read): Read them, initialize them as copies of mon and wmon
22686 respectively if they are missing, initialize alt_mon_defined.
22687 * locale/programs/locfile-kw.gperf (alt_mon): Define.
22688 * locale/programs/locfile-kw.h: Regenerate.
22689 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
22690 * localedata/tst-langinfo.c (map): Add tests for the new constants
22691 ALTMON_1 .. ALTMON_12.
22692 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
22694 * time/strftime_l.c (f_altmonth): New macro.
22695 (__strftime_internal): Handle %OB format.
22696 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
22697 (__strptime_internal): Handle %OB format.
22698 * time/tst-strptime.c (day_tests): Add tests to parse different forms
22699 of month names including the new %OB format specifier.
22701 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22704 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
22705 from ABORT_TRANSACTION.
22706 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
22707 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
22708 ABORT_TRANSACTION_IMPL): Likewise.
22709 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
22710 Linux code, but remove the code that aborts transactions.
22712 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22714 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
22716 2018-01-19 Rafał Lużyński <digitalfreak@lingonborough.com>
22718 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
22719 in date: "2004-14-09" should be "2004-09-14".
22720 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
22721 "2003-15-09" should be "2003-09-15".
22723 2018-01-18 Arjun Shankar <arjun@redhat.com>
22729 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
22731 (_int_memalign): check for integer overflow before calling
22733 * malloc/tst-malloc-too-large.c: New test.
22734 * malloc/Makefile: Add tst-malloc-too-large.
22736 2018-01-18 Rafał Lużyński <digitalfreak@lingonborough.com>
22738 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
22739 in date: "2017-24-07" should be "2017-07-24".
22740 * localedata/locales/mai_IN: Likewise.
22741 * localedata/locales/mai_NP: Likewise.
22743 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
22745 * po/ru.po: Update translations.
22747 2018-01-17 Joseph Myers <joseph@codesourcery.com>
22750 * sysdeps/hppa/backtrace.c: New file.
22752 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
22755 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
22756 align La_x86_64_retval to VEC_SIZE.
22758 2018-01-16 Joseph Myers <joseph@codesourcery.com>
22760 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
22761 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
22763 2018-01-16 Florian Weimer <fweimer@redhat.com>
22765 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
22766 Move tst-thread-exit-clobber ...
22767 [$(CXX)] (tests-unsupported): ... to here.
22769 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22771 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
22772 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
22773 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22774 (_dl_aarch64_cap_flags): Update.
22775 (_DL_HWCAP_COUNT): Update.
22777 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
22779 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
22780 (_DL_HWCAP_LAST): Remove.
22781 (_DL_HWCAP_COUNT): Move to ...
22782 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
22783 (_DL_HWCAP_COUNT): ... here.
22785 2018-01-16 Florian Weimer <fweimer@redhat.com>
22787 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
22788 mode with GNU extensions.
22790 2018-01-15 Alan Hayward <alan.hayward@arm.com>
22792 * elf/elf.h (NT_ARM_SVE): Define.
22794 2018-01-15 Florian Weimer <fweimer@redhat.com>
22797 * nptl/tst-minstack-throw.cc: New file.
22798 * nptl/Makefile (tests): Add tst-minstack-throw.
22799 (LDLIBS-tst-minstack-throw): Link with libstdc++.
22800 [!CXX] (tests-unsupported): Add tst-minstack-throw.
22802 2018-01-15 Joseph Myers <joseph@codesourcery.com>
22804 * scripts/build-many-glibcs.py (Context.checkout): Default
22805 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
22808 2018-01-13 Carlos O'Donell <carlos@redhat.com>
22811 * elf/elf.h (DF_1_STUB): Define.
22812 (DF_1_PIE): Define.
22814 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
22818 Do not add 0.5 to integer or out-of-range arguments.
22820 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22822 * po/bg.po: Update translations.
22823 * po/cs.po: Likewise.
22824 * po/de.po: Likewise.
22825 * po/ko.po: Likewise.
22826 * po/pl.po: Likewise.
22827 * po/sv.po: Likewise.
22828 * po/uk.po: Likewise.
22829 * po/vi.po: Likewise.
22831 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22833 * aarch64/start.S (_start): Use __wrap_main.
22834 (__wrap_main): New local symbol.
22836 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
22840 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
22841 generic_getcwd if the path returned by getcwd syscall is not absolute.
22842 * io/tst-getcwd-abspath.c: New test.
22843 * io/Makefile (tests): Add tst-getcwd-abspath.
22845 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
22847 * malloc/malloc.c (malloc_consolidate): Add size check.
22849 2018-01-12 Florian Weimer <fweimer@redhat.com>
22851 * support/write_message.c (write_message): Preserve errno.
22852 * support/check.c (print_failure): Likewise.
22853 * support/support_test_verify_impl.c (support_test_verify_impl):
22855 * support/support_test_compare_failure.c
22856 (support_test_compare_failure): Likewise.
22858 2018-01-12 Florian Weimer <fweimer@redhat.com>
22861 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
22862 Prevent installation of libnsl.so.
22863 (libnsl-inhibit-o): Do not build (or install) static libraries.
22865 2018-01-12 Egmont Koblinger <egmont@gmail.com>
22868 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
22869 before the day number which may produce a double space.
22870 (date_fmt): Likewise.
22872 2018-01-12 Joseph Myers <joseph@codesourcery.com>
22874 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
22875 instead of fegetenv.
22877 2018-01-11 Joseph Myers <joseph@codesourcery.com>
22880 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
22881 comment to say exceptions are discarded.
22882 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
22884 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
22887 2018-01-11 Florian Weimer <fweimer@redhat.com>
22889 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
22892 2018-01-11 Florian Weimer <fweimer@redhat.com>
22895 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
22896 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
22898 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22901 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
22902 negative arguments in test for NaN or infinity argument.
22904 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
22906 * po/libc.pot: Regenerate.
22908 2018-01-10 Florian Weimer <fweimer@redhat.com>
22911 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
22912 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
22914 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22916 * hurd/hurd/fd.h: Include <fcntl.h>
22917 (__hurd_at_flags): New function.
22918 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
22919 with call to __hurd_at_flags.
22920 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
22921 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
22923 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
22924 (__access_noerrno): Use __faccessat_common instead of access_common.
22925 (__access): Likewise.
22926 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
22927 with a call to __faccessat.
22928 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
22929 (__faccessat_common): ... this. Move implementation of __access into it when
22930 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
22931 reauthenticate_cwdir_at helper to implement AT mechanism.
22932 (__faccessat_noerrno): New function, just calls __faccessat_common.
22933 (__faccessat): New function, just calls __faccessat_common.
22934 (faccessat): Define weak alias.
22936 2018-01-10 Joseph Myers <joseph@codesourcery.com>
22939 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22940 (CFLAGS-s_fmaxmagl.c): New variable.
22941 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
22945 long int for arguments of possibly overflowing addition or
22947 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22949 2018-01-09 Joseph Myers <joseph@codesourcery.com>
22952 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22953 (CFLAGS-e_remainderl.c): New variable.
22956 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
22958 (CFLAGS-s_cacoshl.c): Likewise.
22959 (CFLAGS-s_casinhl.c): Likewise.
22960 (CFLAGS-s_catanl.c): Likewise.
22961 (CFLAGS-s_catanhl.c): Likewise.
22962 (CFLAGS-s_cexpl.c): Likewise.
22963 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
22964 (CFLAGS-s_csinhl.c): Likewise.
22965 (CFLAGS-s_clogl.c): Likewise.
22966 (CFLAGS-s_clog10l.c): Likewise.
22967 (CFLAGS-s_csinl.c): Likewise.
22968 (CFLAGS-s_csqrtl.c): Likewise.
22970 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
22971 2017-01-09 Svante Signell <svante.signell@gmail.com>
22973 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
22974 (_hurd_exec_paths): New function.
22975 * hurd/hurd.h (_hurd_exec): Deprecate function.
22976 (_hurd_exec_paths): Declare function.
22977 * hurd/Versions: Export _hurd_exec_paths.
22978 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
22979 (__execve): Use __getcwd to build absolute path, and use
22980 _hurd_exec_paths instead of _hurd_exec.
22981 * sysdeps/mach/hurd/spawni.c: Likewise.
22982 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
22985 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
22987 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
22988 test instead of failing in case of ENOENT returned by posix_openpt.
22990 2018-01-08 Florian Weimer <fweimer@redhat.com>
22992 resolv: Support binary labels in test framework.
22993 * support/resolv_test.c (struct to_be_freed): Remove.
22994 (struct compressed_name): New.
22995 (allocate_compressed_name, ascii_tolower)
22996 (compare_compressed_name): New functions.
22997 (struct resolv_response_builder): Update type of
22998 compression_offsets for use with tsearch. Rempve to_be_freed.
22999 (response_push_pointer_to_free): Remove function.
23000 (resolv_response_add_name): Rewrite using struct compressed_name
23001 and tsearch instead of hsearch_r.
23002 (response_builder_allocate): Remove initialization of
23003 compression_offsets.
23004 (response_builder_free): Update for removal of to_be_freed. Use
23005 tdestroy instead of hdestroy_r.
23006 * resolv/Makefile (tests): Add tst-resolv-binary.
23007 (tst-resolv-binary): Link with -lresolv -lpthread.
23009 2018-01-08 Florian Weimer <fweimer@redhat.com>
23011 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
23012 time. Pass positive flag instead of negative flag to
23013 support_test_compare_failure.
23014 (support_test_compare_failure): Change negative parameter to
23016 * support/support_test_compare_failure.c (report)
23017 (support_test_compare_failure): Likewise.
23018 * support/tst-test_compare.c (return_ssize_t, return_int): New.
23019 (do_test): Check int/size_t, ssize_t/size_t comparisons.
23021 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
23024 * nptl/descr.h (stackblock, stackblock_size): Update comments.
23025 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
23026 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
23028 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
23030 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
23032 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23033 Add s_sincosf-sse2 and s_sincosf-fma.
23034 (CFLAGS-s_sincosf-fma.c): New.
23035 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
23036 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
23037 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
23038 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
23039 __sincosf is defined.
23041 2018-01-08 Florian Weimer <fweimer@redhat.com>
23043 * nptl/tst-thread-exit-clobber.cc: New file.
23044 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
23046 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
23047 (tests): Add tst-thread-exit-clobber.
23048 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
23050 2018-01-08 Florian Weimer <fweimer@redhat.com>
23052 * support/check.h (support_static_assert): Define.
23053 (TEST_COMPARE): Use it.
23055 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
23057 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
23058 [!__RLIM_T_MATCHES_RLIM64_T]
23059 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
23060 __getrlimit64. Add libc_hidden_weak.
23062 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
23064 * elf/elf.h (R_RISCV_NONE): New define.
23065 (R_RISCV_32): Likewise.
23066 (R_RISCV_64): Likewise.
23067 (R_RISCV_RELATIVE): Likewise.
23068 (R_RISCV_COPY): Likewise.
23069 (R_RISCV_JUMP_SLOT): Likewise.
23070 (R_RISCV_TLS_DTPMOD32): Likewise.
23071 (R_RISCV_TLS_DTPMOD64): Likewise.
23072 (R_RISCV_TLS_DTPREL32): Likewise.
23073 (R_RISCV_TLS_DTPREL64): Likewise.
23074 (R_RISCV_TLS_TPREL32): Likewise.
23075 (R_RISCV_TLS_TPREL64): Likewise.
23076 * Makerules (make-link-multidir): Make directories before linking into
23078 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
23080 (VDSO_HASH_LINUX_4_15): Likewise.
23081 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
23082 in subdirectories of lib.
23083 * nptl/Makefile (/librt.so): Always depend on
23084 "$(shared-thread-library)".
23086 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23088 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
23089 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
23090 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
23092 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
23093 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
23095 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
23096 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
23097 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
23098 * sysdeps/gnu/glob-lstat-compat.c: New file.
23099 * sysdeps/gnu/glob64-lstat-compat.c: New file.
23100 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
23102 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23104 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
23105 Reserve 16 chars to reloc_addr before calling _itoa_word.
23107 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23110 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
23111 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
23113 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
23114 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
23116 * resource/tst-getrlimit.c: Add copyright header.
23118 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23119 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23121 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23122 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
23123 Define __GI_getrlimit64 as weak alias of __getrlimit64.
23124 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
23126 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
23127 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
23128 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
23129 RLIM64_INFINITY): Fix values to match the kernel ones.
23130 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
23131 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
23132 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
23133 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
23134 getrlimit64@@GLIBC_2_27.
23135 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
23137 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
23138 getrlimit, setrlimit, getrlimit64 and setrlimit64.
23139 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
23140 setrlimit, getrlimit64 and setrlimit64.
23142 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
23145 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
23146 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
23148 2018-01-04 Joseph Myers <joseph@codesourcery.com>
23150 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
23151 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
23152 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
23154 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23158 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
23159 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
23163 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
23164 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
23165 * sysdeps/alpha/fpu/s_floor.c: Likewise.
23166 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
23168 2018-01-04 Florian Weimer <fweimer@redhat.com>
23171 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
23172 Align the stack before calling exit.
23173 * stdlib/tst-makecontext-align.c: New file.
23174 * stdlib/Makefile (tests): Add tst-makecontext-align.
23176 2018-01-04 Florian Weimer <fweimer@redhat.com>
23178 Add support for calling dlvsym from libc.so.
23179 * include/dlfcn.h (__libc_dlvsym): Declare.
23180 * elf/Makefile (tests-static-internal): Add
23181 tst-libc_dlvsym-static.
23182 (tests-internal): Add tst-libc_dlvsym.
23183 (modules-names): Add tst-libc_dlvsym-dso.
23184 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
23185 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
23186 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
23187 object tst-libc_dlvsym-dso.so needs to be built before running
23189 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
23190 * elf/Versions: Export __libc_dlvsym.
23191 * elf/dl-libc.c (struct do_dlvsym_args): New.
23192 (do_dlvsym, __libc_dlvsym): New functions.
23193 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
23194 (_dl_open_hook2): New variable.
23195 (__libc_register_dl_open_hook): Set it.
23196 * elf/tst-libc_dlvsym-dso.c: New file.
23197 * elf/tst-libc_dlvsym-static.c: Likewise.
23198 * elf/tst-libc_dlvsym.c: Likewise.
23199 * elf/tst-libc_dlvsym.h: Likewise.
23201 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23203 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
23204 include <sys/mount.h>.
23206 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
23208 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
23209 Add __NO_MATH_ERRNO__ check.
23211 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23213 * sysdeps/mips/mips32/libm-test-ulps: Update.
23214 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23216 2018-01-02 Florian Weimer <fweimer@redhat.com>
23218 * misc/tst-pselect.c: Add copyright header.
23220 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23222 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
23224 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
23226 (settrlimit): Rename into setrlimit.
23227 (__sttrlimit): Rename into __setrlimit.
23229 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
23230 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
23231 never defined in that case.
23233 2018-01-02 Joseph Myers <joseph@codesourcery.com>
23235 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
23237 * sysdeps/arm/libm-test-ulps: Update.
23239 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
23240 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
23242 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23244 * NEWS: Add cosf and sincosf to list of optimized functions.
23246 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
23249 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
23250 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
23251 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
23252 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
23254 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
23257 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
23259 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
23260 making a copy of it.
23262 2018-01-01 Joseph Myers <joseph@codesourcery.com>
23264 * manual/texinfo.tex: Update to version 2017-12-26.21 with
23265 trailing whitespace removed.
23266 * scripts/config.guess: Update to version 2018-01-01.
23267 * scripts/config.sub: Update to version 2018-01-01.
23268 * scripts/move-if-change: Update from gnulib.
23270 * NEWS: Update copyright dates.
23271 * catgets/gencat.c (print_version): Likewise.
23272 * csu/version.c (banner): Likewise.
23273 * debug/catchsegv.sh: Likewise.
23274 * debug/pcprofiledump.c (print_version): Likewise.
23275 * debug/xtrace.sh (do_version): Likewise.
23276 * elf/ldconfig.c (print_version): Likewise.
23277 * elf/ldd.bash.in: Likewise.
23278 * elf/pldd.c (print_version): Likewise.
23279 * elf/sotruss.sh: Likewise.
23280 * elf/sprof.c (print_version): Likewise.
23281 * iconv/iconv_prog.c (print_version): Likewise.
23282 * iconv/iconvconfig.c (print_version): Likewise.
23283 * locale/programs/locale.c (print_version): Likewise.
23284 * locale/programs/localedef.c (print_version): Likewise.
23285 * login/programs/pt_chown.c (print_version): Likewise.
23286 * malloc/memusage.sh (do_version): Likewise.
23287 * malloc/memusagestat.c (print_version): Likewise.
23288 * malloc/mtrace.pl: Likewise.
23289 * manual/libc.texinfo: Likewise.
23290 * nptl/version.c (banner): Likewise.
23291 * nscd/nscd.c (print_version): Likewise.
23292 * nss/getent.c (print_version): Likewise.
23293 * nss/makedb.c (print_version): Likewise.
23294 * posix/getconf.c (main): Likewise.
23295 * scripts/test-installation.pl: Likewise.
23296 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23298 * All files with FSF copyright notices: Update copyright dates
23299 using scripts/update-copyrights.
23300 * locale/programs/charmap-kw.h: Regenerated.
23301 * locale/programs/locfile-kw.h: Likewise.
23303 2017-12-31 Zack Weinberg <zackw@panix.com>
23305 * libio/bits/libio-ldbl.h: Correct check for improper
23306 inclusion. Add own multiple include guard.
23308 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
23309 Dmitry V. Levin <ldv@altlinux.org>
23313 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
23314 string token expansion. Check for NULL pointer or empty string possibly
23315 returned by expand_dynamic_string_token.
23316 (decompose_rpath): Check for empty path after dynamic string
23319 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
23322 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
23324 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
23325 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
23326 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
23327 and PTRACE_SYSCALL.
23328 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
23329 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23333 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23335 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
23336 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23337 __ptrace_peeksiginfo_flags, ptrace): Move to ...
23338 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
23339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23340 bits/ptrace-shared.h.
23341 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
23342 <bits/ptrace-shared.h>.
23343 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
23344 __ptrace_peeksiginfo_flags, ptrace): Remove.
23345 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23346 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23347 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23348 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23349 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
23351 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23354 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
23355 end of the loop. Improve comments.
23357 2017-12-29 Zack Weinberg <zackw@panix.com>
23360 * manual/errno.texi (Checking for Errors): Explicitly say that errno
23361 might be set on success.
23363 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
23366 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
23367 is unchanged on success.
23369 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
23371 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
23373 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
23374 expand_dynamic_string_token): Likewise.
23375 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
23378 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
23381 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
23382 is set and name contains ':', and all code depending on these checks.
23384 2017-12-24 Zack Weinberg <zackw@panix.com>
23386 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
23387 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
23389 * libio/libio.h: Rename the original version of this file to
23390 libio/bits/libio.h. Error out if not included by stdio.h or the
23392 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
23393 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
23394 if not included by bits/libio.h or the stub _G_config.h.
23395 * sysdeps/unix/sysv/linux/_G_config.h: Move to
23396 sysdeps/unix/sysv/linux/bits. Error out if not included by
23397 bits/libio.h or the stub _G_config.h.
23398 * libio/stdio.h: Include bits/libio.h, not libio.h.
23399 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
23400 well as libio.h and _G_config.h.
23402 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
23403 * libio/strfile.h, stdio-common/vfscanf.c
23404 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
23405 Include stdio.h, not _G_config.h nor libio.h.
23406 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
23407 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
23409 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
23411 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
23414 * stdlib/getrandom.c (getrandom): Fix comment.
23415 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
23417 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
23420 * manual/arith.texi (strtoul): Fix a typo.
23423 * manual/arith.texi (finite): Fix the description of the return
23426 2017-12-22 Eric Blake <ebb9@byu.net>
23428 Avoid gcc warnings on cygwin
23429 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
23430 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
23431 Avoid unused variable.
23433 2017-12-22 Florian Weimer <fweimer@redhat.com>
23435 * io/Makefile (routines): Add copy_file_range.
23436 (tests): Add tst-copy_file_range.
23437 (tests-static, tests-internal): Add tst-copy_file_range-compat.
23438 * io/Versions (GLIBC_2.27): Export copy_file_range.
23439 * io/copy_file_range-compat.c: New file.
23440 * io/copy_file_range.c: Likewise.
23441 * io/tst-copy_file_range-compat.c: Likewise.
23442 * io/tst-copy_file_range.c: Likewise.
23443 * manual/llio.texi (Copying File Data): New section.
23444 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
23445 * support/Makefile (libsupport-routines): Add support-xfstat,
23446 xftruncate, xlseek.
23447 * support/support-xfstat.c: New file.
23448 * support/xftruncate.c: Likewise.
23449 * support/xlseek.c: Likewise.
23450 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
23451 * sysdeps/unix/sysv/linux/**.abilist: Update.
23452 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
23454 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
23456 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23457 disable-multi-arch variant to aarch64-linux-gnu.
23459 2017-12-20 Joseph Myers <joseph@codesourcery.com>
23461 * manual/texinfo.tex: Update to version 2017-12-18.20 with
23462 trailing whitespace removed.
23463 * scripts/config.guess: Update to version 2017-12-17.
23464 * scripts/config.sub: Update to version 2017-11-23.
23465 * scripts/install-sh: Update to version 2017-09-23.17.
23466 * scripts/move-if-change: Update to version 2017-09-13 06:45.
23468 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23470 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
23471 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23472 * sysdeps/tile/_mcount.S (__mcount): Likewise.
23473 * sysdeps/tile/crti.S (_init, _fini): Likewise.
23474 * sysdeps/tile/crtn.S: Likewise.
23475 * sysdeps/tile/dl-start.S (_start): Likewise.
23476 * sysdeps/tile/dl-trampoline.S: Likewise.
23477 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
23478 * sysdeps/tile/start.S (_start): Likewise.
23479 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
23480 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
23481 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
23482 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
23483 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
23484 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
23485 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
23487 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
23489 * sysdeps/tile/preconfigure: Remove tilegx folder.
23490 * sysdeps/tile/tilegx/Implies: Move definitions to ...
23491 * sysdeps/tile/Implies: ... here.
23492 * sysdeps/tile/tilegx/Makefile: Move rules to ...
23493 * sysdeps/tile/Makefile: ... here.
23494 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
23495 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
23496 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
23497 * sysdeps/tile/bits/wordsize.h: ... here.
23498 * sysdeps/tile/tilegx/*: Move to ...
23499 * sysdeps/tile/*: ... here.
23500 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
23501 * sysdeps/tile/tilegx32/Implies: ... here.
23502 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
23503 * sysdeps/tile/tilegx64/Implies: ... here.
23504 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
23506 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23507 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
23508 * sysdeps/unix/sysv/linux/tile/*: ... here.
23509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
23510 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
23511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
23512 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
23514 * README: Remove tilepro-*-linux-gnu from supported architecture.
23515 * scripts/build-many-glibcs.py: Likewise.
23516 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
23517 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
23518 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
23519 elf_machine_matches_host, elf_machine_dynamic,
23520 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
23521 howto, elf_machine_rela): Likewise.
23522 * sysdeps/tile/dl-start.S (_start): Likewise.
23523 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
23524 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
23525 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
23526 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
23527 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
23528 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23530 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
23531 * sysdeps/tile/preconfigure: Likewise.
23532 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
23533 POINTER_CHK_GUARD): Likewise.
23534 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
23535 * sysdeps/tile/start.S (_start): Likewise.
23536 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
23538 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
23539 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
23541 * sysdeps/unix/sysv/linux/tile/bits/environments.h
23542 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
23543 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
23545 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
23546 * sysdeps/tile/tilepro/Implies: Remove file.
23547 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
23548 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
23549 * sysdeps/tile/tilepro/memchr.c: Likewise.
23550 * sysdeps/tile/tilepro/memcpy.S: Likewise.
23551 * sysdeps/tile/tilepro/memset.c: Likewise.
23552 * sysdeps/tile/tilepro/memusage.h: Likewise.
23553 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
23554 * sysdeps/tile/tilepro/strchr.c: Likewise.
23555 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
23556 * sysdeps/tile/tilepro/strlen.c: Likewise.
23557 * sysdeps/tile/tilepro/strrchr.c: Likewise.
23558 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
23559 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
23560 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
23561 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
23562 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
23563 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23565 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
23566 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23567 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
23568 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
23569 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23570 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
23571 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
23572 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
23573 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
23574 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
23575 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
23576 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
23577 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
23578 tilepro mention in comment.
23580 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
23581 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
23582 * nptl/pthread_join_common.c: New file: common function used on
23583 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
23584 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
23585 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
23586 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23587 (cleanup): Move definition to pthread_join_common.c.
23588 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
23589 Remove superflous checks.
23590 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
23593 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
23595 * sysdeps/aarch64/libm-test-ulps: Update.
23597 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23599 * sysdeps/aarch64/memset.S (MEMSET): Define.
23601 2017-12-20 Florian Weimer <fweimer@redhat.com>
23604 nptl: Provide full implementation of pthread_self in libc.so.
23605 * nptl/Makefile (routines): Add pthread_self.
23606 (libpthread-routines): Replace pthread_self with
23607 compat-pthread_self.
23608 * nptl/forward.c (pthread_self): Remove.
23609 * nptl/nptl-init.c (pthread_functions): Do not initialize
23611 * nptl/pthread_self.c (pthread_self): Remove weak alias.
23612 * nptl/compat-pthread_self.c: New file.
23613 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
23614 Remove ptr_pthread_self.
23616 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
23618 * posix/regcomp.c: Fix spelling in comments.
23619 * posix/regex.h: Likewise.
23620 * posix/regex_internal.c: Likewise.
23621 * posix/regexec.c: Likewise.
23623 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23626 * math/Makefile [C++] (tests): Add test for iseqsig.
23627 * math/math.h [C++] (iseqsig): New implementation, which does
23628 not rely on __MATH_TG/__builtin_types_compatible_p.
23629 * math/test-math-iseqsig.cc: New file.
23630 * sysdeps/powerpc/powerpc64le/Makefile
23631 (CFLAGS-test-math-iseqsig.cc): New variable.
23633 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
23635 * elf/dl-load.c (is_trusted_path): Remove.
23636 (fillin_rpath): Remove check_trusted argument and its use,
23637 all callers changed.
23639 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23642 * Makeconfig (link-pie-before-libc): Replace -pie with
23643 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
23644 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
23645 (tst-dlopen-aout-no-pie): New.
23646 (LDFLAGS-tst-prelink): Removed.
23647 (tst-prelink-no-pie): New.
23648 (LDFLAGS-tst-main1): Removed.
23649 (tst-main1-no-pie): New.
23650 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
23651 (tst-gmon-no-pie): New.
23653 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23655 * manual/install.texi: Document that --enable-static-pie
23657 * INSTALL: Regenerated.
23659 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
23662 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
23665 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23669 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23673 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23675 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23676 <errno.h>. Include "eexp.tbl".
23677 (half): New constant.
23679 (__ieee754_exp): Rewrite.
23680 (__slowexp): Remove prototype.
23681 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23682 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23683 * sysdeps/i386/fpu/slowexp.c: Likewise.
23684 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23685 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23686 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23687 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23688 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23689 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23690 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23692 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23693 (CPPFLAGS-slowexp.c): Remove variable.
23694 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23695 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23696 (CFLAGS-slowexp-fma.c): Remove variable.
23697 (CFLAGS-slowexp-fma4.c): Likewise.
23698 (CFLAGS-slowexp-avx.c): Likewise.
23699 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23701 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23702 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23703 * math/Makefile (type-double-routines): Remove slowexp.
23704 * manual/probes.texi (slowexp_p6): Remove.
23705 (slowexp_p32): Likewise.
23707 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23709 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
23712 * lib/glob.c (glob): Do not pass NULL to mempcpy.
23714 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23718 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
23720 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
23721 <errno.h>. Include "eexp.tbl".
23722 (half): New constant.
23724 (__ieee754_exp): Rewrite.
23725 (__slowexp): Remove prototype.
23726 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
23727 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
23728 * sysdeps/i386/fpu/slowexp.c: Likewise.
23729 * sysdeps/ia64/fpu/slowexp.c: Likewise.
23730 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
23731 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
23732 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
23733 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23734 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
23735 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
23737 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
23738 (CPPFLAGS-slowexp.c): Remove variable.
23739 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23740 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
23741 (CFLAGS-slowexp-fma.c): Remove variable.
23742 (CFLAGS-slowexp-fma4.c): Likewise.
23743 (CFLAGS-slowexp-avx.c): Likewise.
23744 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
23746 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
23747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
23748 * math/Makefile (type-double-routines): Remove slowexp.
23749 * manual/probes.texi (slowexp_p6): Remove.
23750 (slowexp_p32): Likewise.
23752 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23753 James Clarke <jrtc27@jrtc27.com>
23756 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
23759 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23762 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
23765 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23768 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23769 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
23770 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
23771 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
23774 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
23777 * bits/types/__cancel_jmp_buf_tag.h: New file.
23778 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
23779 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
23780 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
23781 * nptl/Makefile (headers): Add
23782 bits/types/__cancel_jmp_buf_tag.h.
23783 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
23784 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
23785 * sysdeps/nptl/pthread.h: Include
23786 <bits/types/__cancel_jmp_buf_tag.h>.
23787 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
23789 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
23791 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23793 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23794 --enable-static-pie variants to x86_64, x32 and i686.
23796 2017-12-19 Joseph Myers <joseph@codesourcery.com>
23799 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
23800 argument for attrubutes. All callers changed.
23801 (__inline_mathop1): Likewise. All callers changed.
23802 (__inline_mathop): Likewise. All callers changed.
23803 [__USE_MISC] (scalbn): Use __inline_forward instead of
23804 __inline_forward_c.
23805 [__USE_ISOC99] (scalbln): Likewise.
23806 [__USE_ISOC99] (nearbyint): Likewise.
23807 [__USE_ISOC99] (lrint): Likewise.
23808 [__USE_MISC] (scalbnf): Likewise.
23809 [__USE_ISOC99] (scalblnf): Likewise.
23810 [__USE_ISOC99] (nearbyintf): Likewise.
23811 [__USE_ISOC99] (lrintf): Likewise.
23812 [__USE_MISC] (scalbnl): Likewise.
23813 [__USE_ISOC99] (scalblnl): Likewise.
23814 [__USE_ISOC99] (nearbyintl): Likewise.
23815 [__USE_ISOC99] (lrintl): Likewise.
23816 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
23817 __inline_mathop and __m81_defun changed.
23819 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
23820 CPU or FPU for ARM hard-float configurations.
23822 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23824 * nptl/tst-attr3.c: Include <libc-diag.h>.
23825 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
23827 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
23829 * string/tester.c (test_strncat): Also disable -Warray-bounds
23830 warnings for two tests.
23832 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
23835 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
23836 $(cc-pie-default) == yes.
23837 * config.make.in (cc-pie-default): New.
23838 * configure.ac (libc_cv_pie_default): Renamed to ...
23839 (libc_cv_cc_pie_default): This.
23840 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
23841 * configure: Regenerated.
23843 2017-12-18 Florian Weimer <fweimer@redhat.com>
23846 ld.so: Harden dl-libc/libdl hooks.
23847 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
23848 (rtld_active): New function.
23849 * dlfcn/dladdr.c (__dladdr): Call it.
23850 * dlfcn/dladdr1.c (__dladdr1): Likewise.
23851 * dlfcn/dlclose.c (__dlcose): Likewise.
23852 * dlfcn/dlerror.c (__dlerror): Likewise.
23853 * dlfcn/dlinfo.c (__dlinfo): Likewise.
23854 * dlfcn/dlmopen.c (__dlmopen): Likewise.
23855 * dlfcn/dlopen.c (__dlopen): Likewise.
23856 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23857 * dlfcn/dlsym.c (__dlsym): Likewise.
23858 * dlfcn/dlvsym.c (__dlvsym): Likewise.
23859 * libio/vtables.c (_IO_vtable_check): Likewise.
23860 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
23861 (__libc_dlclose): Likewise.
23862 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
23865 2017-12-18 Joseph Myers <joseph@codesourcery.com>
23868 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
23869 buffers for readlink input and output.
23871 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
23874 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
23875 inhibit_stack_protector.
23878 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
23879 inhibit_stack_protector.
23881 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
23884 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
23885 code and invocation.
23887 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
23889 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
23891 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
23894 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
23896 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23898 * sysdeps/s390/fpu/libm-test-ulps: Update.
23900 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23904 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23906 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
23907 constants to s_sincosf.h file.
23908 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23909 * sysdeps/ieee754/flt-32/s_sincosf.c: New
23911 * sysdeps/ieee754/flt-32/s_sincosf.h:
23914 2017-12-12 Carlos O'Donell <carlos@redhat.com>
23917 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
23920 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
23923 * INSTALL: Regenerated.
23924 * Makeconfig (real-static-start-installed-name): New.
23925 (pic-default): Updated for --enable-static-pie.
23926 (pie-default): New for --enable-static-pie.
23927 (default-pie-ldflag): Likewise.
23928 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
23929 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
23930 Replace $(static-start-installed-name) with
23931 $(real-static-start-installed-name).
23932 (+prectorT): Updated for --enable-static-pie.
23933 (+postctorT): Likewise.
23934 (CFLAGS-.o): Add $(pie-default).
23935 (CFLAGS-.op): Likewise.
23936 * NEWS: Mention --enable-static-pie.
23937 * config.h.in (ENABLE_STATIC_PIE): New.
23938 * configure.ac (--enable-static-pie): New configure option.
23939 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
23940 (have-static-pie): Likewise.
23941 Enable static PIE if linker supports --no-dynamic-linker.
23942 (ENABLE_STATIC_PIE): New AC_DEFINE.
23943 (enable-static-pie): New LIBC_CONFIG_VAR.
23944 * configure: Regenerated.
23945 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
23946 gr$(start-installed-name) for --enable-static-pie.
23947 (extra-objs): Likewise.
23948 (install-lib): Likewise.
23949 (extra-objs): Add static-reloc.o and static-reloc.os
23950 ($(objpfx)$(start-installed-name)): Also depend on
23951 $(objpfx)static-reloc.o.
23952 ($(objpfx)r$(start-installed-name)): New.
23953 ($(objpfx)g$(start-installed-name)): Also depend on
23954 $(objpfx)static-reloc.os.
23955 ($(objpfx)gr$(start-installed-name)): New.
23956 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
23958 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
23960 * csu/static-reloc.c: New file.
23961 * elf/Makefile (routines): Add dl-reloc-static-pie.
23962 (elide-routines.os): Likewise.
23963 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
23964 (tst-tls1-static-non-pie-no-pie): New.
23965 * elf/dl-reloc-static-pie.c: New file.
23966 * elf/dl-support.c (_dl_get_dl_main_map): New function.
23967 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
23968 STATIC_PIE_BOOTSTRAP.
23969 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
23970 * gmon/Makefile (tests): Add tst-gmon-static-pie.
23971 (tests-static): Likewise.
23972 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
23973 (tst-gmon-static-no-pie): New.
23974 (CFLAGS-tst-gmon-static-pie.c): Likewise.
23975 (CRT-tst-gmon-static-pie): Likewise.
23976 (tst-gmon-static-pie-ENV): Likewise.
23977 (tests-special): Likewise.
23978 ($(objpfx)tst-gmon-static-pie.out): Likewise.
23979 (clean-tst-gmon-static-pie-data): Likewise.
23980 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
23981 * gmon/tst-gmon-static-pie.c: New file.
23982 * manual/install.texi: Document --enable-static-pie.
23983 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
23984 (_dl_get_dl_main_map): Likewise.
23985 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
23986 * sysdeps/x86_64/configure.ac: Likewise.
23987 * sysdeps/i386/configure: Regenerated.
23988 * sysdeps/x86_64/configure: Likewise.
23989 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
23990 (ASFLAGS-.op): Likewise.
23992 2017-12-15 Joseph Myers <joseph@codesourcery.com>
23994 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
23995 * posix/tst-mmap-offset.c (fname): Use /tmp.
23996 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
23998 2017-12-15 Steve Ellcey <sellcey@cavium.com>
24000 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
24002 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
24004 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
24007 2017-12-15 Joseph Myers <joseph@codesourcery.com>
24009 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
24010 --with-float=hard for arm-linux-gnueabihf configurations.
24013 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
24014 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
24015 ($(mo-installed)): Use $(objpfx)%.mo.
24016 (realclean): Remove rule.
24018 * po/Makefile (linguas): Remove rule and dependencies.
24019 (linguas.mo): Likewise.
24020 (.PHONY): Do not depend on linguas and linguas.mo.
24021 (podir): Remove variable.
24022 (pofiles): Likewise.
24023 [$(pofiles)] (%.po): Remove rule.
24025 * sysdeps/sparc/sparc32/Makefile
24026 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
24027 start-of-line whitespace in argument of echo.
24028 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
24029 with whitespace. Generate __wrap_.udiv alias.
24030 * sysdeps/sparc/sparc32/rem.S: Regenerated.
24031 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24032 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24033 * sysdeps/sparc/sparc32/urem.S: Likewise.
24035 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24037 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
24038 for aligned inputs.
24040 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
24042 * benchtests/bench-strcmp.c: Print output in JSON format.
24044 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
24046 2017-12-14 Florian Weimer <fweimer@redhat.com>
24050 * elf/dl-load.c (_dl_init_paths): Compute number of components in
24051 the expanded path string.
24053 2017-12-14 Florian Weimer <fweimer@redhat.com>
24057 * elf/dl-load.c (system_dirs): Update comment.
24058 (nsystem_dirs_len): Use array_length.
24059 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
24061 2017-12-14 Florian Weimer <fweimer@redhat.com>
24063 Simplify compiling most of support/ outside of glibc.
24064 * support/check_addrinfo.c: Include <string.h>.
24065 * support/check_dns_packet.c: Likewise.
24066 * support/check_hostent.c: Likewise.
24067 * support/support_can_chroot.c: Include <support/xunistd.h>.
24068 * support/support_format_addrinfo.c: Include <stdlib.h>
24069 * support/support_format_dns_packet.c: Include <stdbool.h>.
24070 * support/support_format_hostent.c: Include <stdlib.h>.
24071 * support/support_format_netent.c: Likewise.
24072 * support/support_write_string.c: Include <support/xunistd.h>.
24073 * support/xdlfcn.c: Include <stddef.h>.
24075 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
24077 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
24079 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
24080 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24082 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24083 (sysdeps_routines): Add memset-niagara7.
24084 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
24086 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
24088 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
24089 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24090 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
24091 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
24092 Add niagara7 option.
24093 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
24096 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24097 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
24098 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
24100 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
24102 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
24103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
24104 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
24105 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
24106 and __memmove_niagara7.
24107 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
24108 Add niagara7 option.
24109 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
24110 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
24111 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
24112 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
24113 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
24115 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
24117 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
24118 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
24119 * sysdeps/sparc/sparc64/memmove.S: Likewise.
24120 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
24122 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
24123 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
24124 _dl_sparc_cap_flags array.
24125 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
24127 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
24129 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
24130 time whenever possible.
24132 2017-12-12 Carlos O'Donell <carlos@redhat.com>
24134 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
24135 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
24137 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24139 * soft-fp/fmadf4.c: Move to ....
24140 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
24141 * soft-fp/fmasf4.c: Move to ....
24142 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
24143 * soft-fp/fmatf4.c: Move to ....
24144 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
24145 * sysdeps/ieee754/soft-fp/Makefile: New file.
24146 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
24147 * sysdeps/arm/preconfigure: Regenerated.
24148 * sysdeps/arm/nofpu/Implies: New file.
24149 * sysdeps/arm/s_fma.c: Remove file.
24150 * sysdeps/arm/s_fmaf.c: Likewise.
24151 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
24152 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
24153 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24154 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
24155 * sysdeps/microblaze/s_fma.c: Remove file.
24156 * sysdeps/microblaze/s_fmaf.c: Likewise.
24157 * sysdeps/mips/mips32/nofpu/Implies: New file.
24158 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
24159 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
24160 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
24161 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
24162 * sysdeps/mips/ieee754/s_fma.c: Remove file.
24163 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
24164 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
24166 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
24167 * sysdeps/nios2/s_fma.c: Remove file.
24168 * sysdeps/nios2/s_fmaf.c: Likewise.
24169 * sysdeps/sh/nofpu/Implies: New file.
24170 * sysdeps/sh/s_fma.c: Remove file.
24171 * sysdeps/sh/s_fmaf.c: Likewise.
24172 * sysdeps/tile/Implies: Add ieee754/soft-fp.
24173 * sysdeps/tile/s_fma.c: Remove file.
24174 * sysdeps/tile/s_fmaf.c: Likewise.
24176 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
24178 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24179 Add s_cosf-sse2 and s_cosf-fma.
24180 (CFLAGS-s_cosf-fma.c): New.
24181 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
24182 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
24183 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
24185 2017-12-12 Steve Ellcey <sellcey@cavium.com>
24187 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
24189 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24191 * libio/Makefile (tests): Add tst-bz22415.
24192 (tst-bz22415-ENV): New rule.
24193 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
24194 (tests-special): Add tst-bz22415-mem.out.
24195 ($(objpfx)tst-bz22415-mem.out): New rule.
24196 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
24197 in case of a successful seek operation.
24198 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24199 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
24200 buffer is required.
24201 * libio/tst-bz22415.c: New test.
24203 * sysdeps/ia64/fpu/libm-test-ulps: Update.
24205 2017-12-12 James Clarke <jrtc27@jrtc27.com>
24207 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
24208 __IPC_64 to 0 to avoid IPC_64 being set.
24210 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
24213 * math/bits/mathcalls.h (nextafter): Remove const.
24214 (nexttoward): Likewise.
24216 2017-12-12 Joseph Myers <joseph@codesourcery.com>
24218 * configure.ac (--with-fp): Remove configure option.
24219 (with_fp_cond): New variable.
24220 (libc_cv_with_fp): New configure test. Use this variable instead
24222 * configure: Regenerated.
24223 * config.make.in (with-fp): Use @libc_cv_with_fp@.
24224 * manual/install.texi (Configuring and compiling): Remove
24226 * INSTALL: Regenerated.
24227 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
24228 * sysdeps/mips/preconfigure (with_fp_cond): Define.
24229 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
24230 * sysdeps/sh/preconfigure (with_fp_cond): Define.
24231 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
24232 use --without-fp to configure glibc.
24234 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
24236 * manual/locale.texi (nl_langinfo): Fix a typo.
24238 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
24241 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
24243 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24245 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
24246 (CFLAGS-argp-parse.c): Likewise.
24247 (CFLAGS-argp-fmtstream.c): Likewise.
24248 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
24249 (CPPFLAGS-sha512-crypt.c): Likewise.
24250 (CPPFLAGS-md5-crypt.c): Likewise.
24251 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
24252 (CFLAGS-stack_chk_fail_local.c): Likewise.
24253 (CFLAGS-backtrace.c): Likewise.
24254 (CFLAGS-sprintf_chk.c): Likewise.
24255 (CFLAGS-snprintf_chk.c): Likewise.
24256 (CFLAGS-vsprintf_chk.c): Likewise.
24257 (CFLAGS-vsnprintf_chk.c): Likewise.
24258 (CFLAGS-asprintf_chk.c): Likewise.
24259 (CFLAGS-vasprintf_chk.c): Likewise.
24260 (CFLAGS-obprintf_chk.c): Likewise.
24261 (CFLAGS-dprintf_chk.c): Likewise.
24262 (CFLAGS-vdprintf_chk.c): Likewise.
24263 (CFLAGS-printf_chk.c): Likewise.
24264 (CFLAGS-fprintf_chk.c): Likewise.
24265 (CFLAGS-vprintf_chk.c): Likewise.
24266 (CFLAGS-vfprintf_chk.c): Likewise.
24267 (CFLAGS-gets_chk.c): Likewise.
24268 (CFLAGS-fgets_chk.c): Likewise.
24269 (CFLAGS-fgets_u_chk.c): Likewise.
24270 (CFLAGS-fread_chk.c): Likewise.
24271 (CFLAGS-fread_u_chk.c): Likewise.
24272 (CFLAGS-swprintf_chk.c): Likewise.
24273 (CFLAGS-vswprintf_chk.c): Likewise.
24274 (CFLAGS-wprintf_chk.c): Likewise.
24275 (CFLAGS-fwprintf_chk.c): Likewise.
24276 (CFLAGS-vwprintf_chk.c): Likewise.
24277 (CFLAGS-vfwprintf_chk.c): Likewise.
24278 (CFLAGS-fgetws_chk.c): Likewise.
24279 (CFLAGS-fgetws_u_chk.c): Likewise.
24280 (CFLAGS-read_chk.c): Likewise.
24281 (CFLAGS-pread_chk.c): Likewise.
24282 (CFLAGS-pread64_chk.c): Likewise.
24283 (CFLAGS-recv_chk.c): Likewise.
24284 (CFLAGS-recvfrom_chk.c): Likewise.
24285 (CFLAGS-tst-longjmp_chk.c): Likewise.
24286 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
24287 (CFLAGS-tst-longjmp_chk2.c): Likewise.
24288 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
24289 (CFLAGS-tst-longjmp_chk3.c): Likewise.
24290 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
24291 (CFLAGS-tst-chk1.c): Likewise.
24292 (CFLAGS-tst-chk2.c): Likewise.
24293 (CFLAGS-tst-chk3.c): Likewise.
24294 (CFLAGS-tst-chk4.cc): Likewise.
24295 (CFLAGS-tst-chk5.cc): Likewise.
24296 (CFLAGS-tst-chk6.cc): Likewise.
24297 (CFLAGS-tst-lfschk1.c): Likewise.
24298 (CFLAGS-tst-lfschk2.c): Likewise.
24299 (CFLAGS-tst-lfschk3.c): Likewise.
24300 (CFLAGS-tst-lfschk4.cc): Likewise.
24301 (CFLAGS-tst-lfschk5.cc): Likewise.
24302 (CFLAGS-tst-lfschk6.cc): Likewise.
24303 (CFLAGS-tst-ssp-1.c): Likewise.
24304 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
24305 (CFLAGS-scandir64.c): Likewise.
24306 (CFLAGS-scandir-tail.c): Likewise.
24307 (CFLAGS-scandir64-tail.c): Likewise.
24308 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
24309 (CFLAGS-dl-tunables.c): Likewise.
24310 (CFLAGS-dl-runtime.c): Likewise.
24311 (CFLAGS-dl-lookup.c): Likewise.
24312 (CFLAGS-dl-iterate-phdr.c): Likewise.
24313 (CFLAGS-vismain.c): Likewise.
24314 (CFLAGS-tst-linkall-static.c): Likewise.
24315 (CFLAGS-tst-linkall-static.c): Likewise.
24316 (CPPFLAGS-dl-load.c): Likewise.
24317 (CFLAGS-ldconfig.c): Likewise.
24318 (CFLAGS-dl-cache.c): Likewise.
24319 (CFLAGS-cache.c): Likewise.
24320 (CFLAGS-rtld.c): Likewise.
24321 (CFLAGS-multiload.c): Likewise.
24322 (CFLAGS-filtmod1.c): Likewise.
24323 (CFLAGS-tst-align.c): Likewise.
24324 (CFLAGS-tst-align2.c): Likewise.
24325 (CFLAGS-tst-alignmod.c): Likewise.
24326 (CFLAGS-tst-alignmod2.c): Likewise.
24327 (CPPFLAGS-tst-execstack.c): Likewise.
24328 (CFLAGS-tst-ptrguard1-static.c): Likewise.
24329 (CFLAGS-tst-latepthreadmod.c): Likewise.
24330 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
24331 (CFLAGS-getgrnam_r.c): Likewise.
24332 (CFLAGS-getgrent_r.c): Likewise.
24333 (CFLAGS-getgrent.c): Likewise.
24334 (CFLAGS-fgetgrent.c): Likewise.
24335 (CFLAGS-fgetgrent_r.c): Likewise.
24336 (CFLAGS-putgrent.c): Likewise.
24337 (CFLAGS-initgroups.c): Likewise.
24338 (CFLAGS-getgrgid.c): Likewise.
24339 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
24340 (CFLAGS-getsgent.c): Likewise.
24341 (CFLAGS-fgetsgent.c): Likewise.
24342 (CFLAGS-fgetsgent_r.c): Likewise.
24343 (CFLAGS-putsgent.c): Likewise.
24344 (CFLAGS-getsgnam.c): Likewise.
24345 (CFLAGS-getsgnam_r.c): Likewise.
24346 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
24347 (CFLAGS-iconv_charmap.c): Likewise.
24348 (CFLAGS-dummy-repertoire.c): Likewise.
24349 (CFLAGS-charmap.c): Likewise.
24350 (CFLAGS-linereader.c): Likewise.
24351 (CFLAGS-simple-hash.c): Likewise.
24352 (CFLAGS-gconv_conf.c): Likewise.
24353 (CFLAGS-iconvconfig.c): Likewise.
24354 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24355 (CFLAGS-gethstbyad.c): Likewise.
24356 (CFLAGS-gethstbynm_r.c): Likewise.
24357 (CFLAGS-gethstbynm.c): Likewise.
24358 (CFLAGS-gethstbynm2_r.c): Likewise.
24359 (CFLAGS-gethstbynm2.c): Likewise.
24360 (CFLAGS-gethstent_r.c): Likewise.
24361 (CFLAGS-gethstent.c): Likewise.
24362 (CFLAGS-rcmd.c): Likewise.
24363 (CFLAGS-getnetbynm_r.c): Likewise.
24364 (CFLAGS-getnetbynm.c): Likewise.
24365 (CFLAGS-getnetbyad_r.c): Likewise.
24366 (CFLAGS-getnetbyad.c): Likewise.
24367 (CFLAGS-getnetent_r.c): Likewise.
24368 (CFLAGS-getnetent.c): Likewise.
24369 (CFLAGS-getaliasent_r.c): Likewise.
24370 (CFLAGS-getaliasent.c): Likewise.
24371 (CFLAGS-getrpcent_r.c): Likewise.
24372 (CFLAGS-getrpcent.c): Likewise.
24373 (CFLAGS-getservent_r.c): Likewise.
24374 (CFLAGS-getservent.c): Likewise.
24375 (CFLAGS-getprtent_r.c): Likewise.
24376 (CFLAGS-getprtent.c): Likewise.
24377 (CFLAGS-either_ntoh.c): Likewise.
24378 (CFLAGS-either_hton.c): Likewise.
24379 (CFLAGS-getnetgrent.c): Likewise.
24380 (CFLAGS-getnetgrent_r.c): Likewise.
24381 (CFLAGS-tst-checks-posix.c): Likewise.
24382 (CFLAGS-tst-sockaddr.c): Likewise.
24383 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
24384 (CFLAGS-tst-translit.c): Likewise.
24385 (CFLAGS-tst-gettext2.c): Likewise.
24386 (CFLAGS-tst-codeset.c): Likewise.
24387 (CFLAGS-tst-gettext3.c): Likewise.
24388 (CFLAGS-tst-gettext4.c): Likewise.
24389 (CFLAGS-tst-gettext5.c): Likewise.
24390 (CFLAGS-tst-gettext6.c): Likewise.
24391 * io/Makefile (CFLAGS-open.c): Likewise.
24392 (CFLAGS-open64.c): Likewise.
24393 (CFLAGS-creat.c): Likewise.
24394 (CFLAGS-creat64.c): Likewise.
24395 (CFLAGS-fcntl.c): Likewise.
24396 (CFLAGS-poll.c): Likewise.
24397 (CFLAGS-ppoll.c): Likewise.
24398 (CFLAGS-lockf.c): Likewise.
24399 (CFLAGS-statfs.c): Likewise.
24400 (CFLAGS-fstatfs.c): Likewise.
24401 (CFLAGS-statvfs.c): Likewise.
24402 (CFLAGS-fstatvfs.c): Likewise.
24403 (CFLAGS-fts.c): Likewise.
24404 (CFLAGS-fts64.c): Likewise.
24405 (CFLAGS-ftw.c): Likewise.
24406 (CFLAGS-ftw64.c): Likewise.
24407 (CFLAGS-lockf.c): Likewise.
24408 (CFLAGS-posix_fallocate.c): Likewise.
24409 (CFLAGS-posix_fallocate64.c): Likewise.
24410 (CFLAGS-fallocate.c): Likewise.
24411 (CFLAGS-fallocate64.c): Likewise.
24412 (CFLAGS-read.c): Likewise.
24413 (CFLAGS-write.c): Likewise.
24414 (CFLAGS-test-stat.c): Likewise.
24415 (CFLAGS-test-lfs.c): Likewise.
24416 * libio/Makefile (CFLAGS-fileops.c): Likewise.
24417 (CFLAGS-fputc.c): Likewise.
24418 (CFLAGS-fputwc.c): Likewise.
24419 (CFLAGS-freopen64.c): Likewise.
24420 (CFLAGS-freopen.c): Likewise.
24421 (CFLAGS-fseek.c): Likewise.
24422 (CFLAGS-fseeko64.c): Likewise.
24423 (CFLAGS-fseeko.c): Likewise.
24424 (CFLAGS-ftello64.c): Likewise.
24425 (CFLAGS-ftello.c): Likewise.
24426 (CFLAGS-fwide.c): Likewise.
24427 (CFLAGS-genops.c): Likewise.
24428 (CFLAGS-getc.c): Likewise.
24429 (CFLAGS-getchar.c): Likewise.
24430 (CFLAGS-getwc.c): Likewise.
24431 (CFLAGS-getwchar.c): Likewise.
24432 (CFLAGS-iofclose.c): Likewise.
24433 (CFLAGS-iofflush.c): Likewise.
24434 (CFLAGS-iofgetpos64.c): Likewise.
24435 (CFLAGS-iofgetpos.c): Likewise.
24436 (CFLAGS-iofgets.c): Likewise.
24437 (CFLAGS-iofgetws.c): Likewise.
24438 (CFLAGS-iofputs.c): Likewise.
24439 (CFLAGS-iofputws.c): Likewise.
24440 (CFLAGS-iofread.c): Likewise.
24441 (CFLAGS-iofsetpos64.c): Likewise.
24442 (CFLAGS-iofsetpos.c): Likewise.
24443 (CFLAGS-ioftell.c): Likewise.
24444 (CFLAGS-iofwrite.c): Likewise.
24445 (CFLAGS-iogetdelim.c): Likewise.
24446 (CFLAGS-iogetline.c): Likewise.
24447 (CFLAGS-iogets.c): Likewise.
24448 (CFLAGS-iogetwline.c): Likewise.
24449 (CFLAGS-ioputs.c): Likewise.
24450 (CFLAGS-ioseekoff.c): Likewise.
24451 (CFLAGS-ioseekpos.c): Likewise.
24452 (CFLAGS-iosetbuffer.c): Likewise.
24453 (CFLAGS-iosetvbuf.c): Likewise.
24454 (CFLAGS-ioungetc.c): Likewise.
24455 (CFLAGS-ioungetwc.c): Likewise.
24456 (CFLAGS-oldfileops.c): Likewise.
24457 (CFLAGS-oldiofclose.c): Likewise.
24458 (CFLAGS-oldiofgetpos64.c): Likewise.
24459 (CFLAGS-oldiofgetpos.c): Likewise.
24460 (CFLAGS-oldiofsetpos64.c): Likewise.
24461 (CFLAGS-oldiofsetpos.c): Likewise.
24462 (CFLAGS-peekc.c): Likewise.
24463 (CFLAGS-putc.c): Likewise.
24464 (CFLAGS-putchar.c): Likewise.
24465 (CFLAGS-putwc.c): Likewise.
24466 (CFLAGS-putwchar.c): Likewise.
24467 (CFLAGS-rewind.c): Likewise.
24468 (CFLAGS-wfileops.c): Likewise.
24469 (CFLAGS-wgenops.c): Likewise.
24470 (CFLAGS-oldiofopen.c): Likewise.
24471 (CFLAGS-iofopen.c): Likewise.
24472 (CFLAGS-iofopen64.c): Likewise.
24473 (CFLAGS-oldtmpfile.c): Likewise.
24474 (CFLAGS-tst_putwc.c): Likewise.
24475 * locale/Makefile (CFLAGS-md5.c): Likewise.
24476 (CFLAGS-charmap.c): Likewise.
24477 (CFLAGS-locfile.c): Likewise.
24478 (CFLAGS-charmap-dir.c): Likewise.
24479 * login/Makefile (CFLAGS-grantpt.c): Likewise.
24480 (CFLAGS-getpt.c): Likewise.
24481 (CFLAGS-pt_chown.c): Likewise.
24482 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
24483 (CFLAGS-obstack.c): Likewise.
24484 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
24485 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
24486 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
24487 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
24488 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
24489 (CFLAGS-test-tgmath.c): Likewise.
24490 (CFLAGS-test-tgmath2.c): Likewise.
24491 (CFLAGS-test-tgmath-ret.c): Likewise.
24492 (CFLAGS-test-powl.c): Likewise.
24493 (CFLAGS-test-snan.c): Likewise.
24494 (CFLAGS-test-signgam-finite.c): Likewise.
24495 (CFLAGS-test-signgam-finite-c99.c): Likewise.
24496 (CFLAGS-test-signgam-finite-c11.c): Likewise.
24497 (CFLAGS-test-signgam-uchar.c): Likewise.
24498 (CFLAGS-test-signgam-uchar-init.c): Likewise.
24499 (CFLAGS-test-signgam-uchar-static.c): Likewise.
24500 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24501 (CFLAGS-test-signgam-uint.c): Likewise.
24502 (CFLAGS-test-signgam-uint-init.c): Likewise.
24503 (CFLAGS-test-signgam-uint-static.c): Likewise.
24504 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24505 (CFLAGS-test-signgam-ullong.c): Likewise.
24506 (CFLAGS-test-signgam-ullong-init.c): Likewise.
24507 (CFLAGS-test-signgam-ullong-static.c): Likewise.
24508 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24509 (CFLAGS-test-math-cxx11.cc): Likewise.
24510 (CFLAGS-test-math-isinff.cc): Likewise.
24511 (CFLAGS-test-math-iszero.cc): Likewise.
24512 (CFLAGS-test-math-issignaling.cc): Likewise.
24513 (CFLAGS-test-math-iscanonical.cc): Likewise.
24514 (CFLAGS-test-iszero-excess-precision.c): Likewise.
24515 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
24516 (CFLAGS-test-flt-eval-method.c): Likewise.
24517 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
24518 (CFLAGS-test-finite-macros.c): Likewise.
24519 * misc/Makefile (CFLAGS-select.c): Likewise.
24520 (CFLAGS-tsearch.c): Likewise.
24521 (CFLAGS-lsearch.c): Likewise.
24522 (CFLAGS-pselect.c): Likewise.
24523 (CFLAGS-readv.c): Likewise.
24524 (CFLAGS-writev.c): Likewise.
24525 (CFLAGS-preadv.c): Likewise.
24526 (CFLAGS-preadv64.c): Likewise.
24527 (CFLAGS-pwritev.c): Likewise.
24528 (CFLAGS-pwritev64.c): Likewise.
24529 (CFLAGS-preadv2.c): Likewise.
24530 (CFLAGS-preadv64v2.c): Likewise.
24531 (CFLAGS-pwritev2.c): Likewise.
24532 (CFLAGS-pwritev64v2.c): Likewise.
24533 (CFLAGS-usleep.c): Likewise.
24534 (CFLAGS-syslog.c): Likewise.
24535 (CFLAGS-error.c): Likewise.
24536 (CFLAGS-getpass.c): Likewise.
24537 (CFLAGS-mkstemp.c): Likewise.
24538 (CFLAGS-mkstemp64.c): Likewise.
24539 (CFLAGS-getsysstats.c): Likewise.
24540 (CFLAGS-getusershell.c): Likewise.
24541 (CFLAGS-err.c): Likewise.
24542 (CFLAGS-tst-tsearch.c): Likewise.
24543 (CFLAGS-msync.c): Likewise.
24544 (CFLAGS-fdatasync.c): Likewise.
24545 (CFLAGS-fsync.c): Likewise.
24546 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
24547 (CFLAGS-unwind.c): Likewise.
24548 (CFLAGS-unwind-forcedunwind.c): Likewise.
24549 (CFLAGS-pthread_cancel.c): Likewise.
24550 (CFLAGS-pthread_setcancelstate.c): Likewise.
24551 (CFLAGS-pthread_setcanceltype.c): Likewise.
24552 (CFLAGS-cancellation.c): Likewise.
24553 (CFLAGS-libc-cancellation.c): Likewise.
24554 (CFLAGS-pthread_exit.c): Likewise.
24555 (CFLAGS-forward.c): Likewise.
24556 (CFLAGS-pthread_testcancel.c): Likewise.
24557 (CFLAGS-pthread_join.c): Likewise.
24558 (CFLAGS-pthread_timedjoin.c): Likewise.
24559 (CFLAGS-pthread_once.c): Likewise.
24560 (CFLAGS-pthread_cond_wait.c): Likewise.
24561 (CFLAGS-sem_wait.c): Likewise.
24562 (CFLAGS-sem_timedwait.c): Likewise.
24563 (CFLAGS-fcntl.c): Likewise.
24564 (CFLAGS-lockf.c): Likewise.
24565 (CFLAGS-pread.c): Likewise.
24566 (CFLAGS-pread64.c): Likewise.
24567 (CFLAGS-pwrite.c): Likewise.
24568 (CFLAGS-pwrite64.c): Likewise.
24569 (CFLAGS-wait.c): Likewise.
24570 (CFLAGS-waitpid.c): Likewise.
24571 (CFLAGS-sigwait.c): Likewise.
24572 (CFLAGS-msgrcv.c): Likewise.
24573 (CFLAGS-msgsnd.c): Likewise.
24574 (CFLAGS-tcdrain.c): Likewise.
24575 (CFLAGS-open.c): Likewise.
24576 (CFLAGS-open64.c): Likewise.
24577 (CFLAGS-pause.c): Likewise.
24578 (CFLAGS-recv.c): Likewise.
24579 (CFLAGS-send.c): Likewise.
24580 (CFLAGS-accept.c): Likewise.
24581 (CFLAGS-sendto.c): Likewise.
24582 (CFLAGS-connect.c): Likewise.
24583 (CFLAGS-recvfrom.c): Likewise.
24584 (CFLAGS-recvmsg.c): Likewise.
24585 (CFLAGS-sendmsg.c): Likewise.
24586 (CFLAGS-close.c): Likewise.
24587 (CFLAGS-read.c): Likewise.
24588 (CFLAGS-write.c): Likewise.
24589 (CFLAGS-nanosleep.c): Likewise.
24590 (CFLAGS-sigsuspend.c): Likewise.
24591 (CFLAGS-msync.c): Likewise.
24592 (CFLAGS-fdatasync.c): Likewise.
24593 (CFLAGS-fsync.c): Likewise.
24594 (CFLAGS-pt-system.c): Likewise.
24595 (CFLAGS-tst-cleanup2.c): Likewise.
24596 (CFLAGS-tst-cleanupx2.c): Likewise.
24597 (CFLAGS-flockfile.c): Likewise.
24598 (CFLAGS-ftrylockfile.c): Likewise.
24599 (CFLAGS-funlockfile.c): Likewise.
24600 (CFLAGS-tst-initializers1.c): Likewise.
24601 (CFLAGS-tst-initializers1-c89.c): Likewise.
24602 (CFLAGS-tst-initializers1-c99.c): Likewise.
24603 (CFLAGS-tst-initializers1-c11.c): Likewise.
24604 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
24605 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
24606 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24607 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
24608 (CFLAGS-nscd_getgr_r.c): Likewise.
24609 (CFLAGS-nscd_gethst_r.c): Likewise.
24610 (CFLAGS-nscd_getai.c): Likewise.
24611 (CFLAGS-nscd_initgroups.c): Likewise.
24612 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
24613 (CFLAGS-pause.c): Likewise.
24614 (CFLAGS-pread.c): Likewise.
24615 (CFLAGS-pread64.c): Likewise.
24616 (CFLAGS-pwrite.c): Likewise.
24617 (CFLAGS-pwrite64.c): Likewise.
24618 (CFLAGS-sleep.c): Likewise.
24619 (CFLAGS-wait.c): Likewise.
24620 (CFLAGS-waitid.c): Likewise.
24621 (CFLAGS-waitpid.c): Likewise.
24622 (CFLAGS-getopt.c): Likewise.
24623 (CFLAGS-wordexp.c): Likewise.
24624 (CFLAGS-sysconf.c): Likewise.
24625 (CFLAGS-pathconf.c): Likewise.
24626 (CFLAGS-fpathconf.c): Likewise.
24627 (CFLAGS-spawn.c): Likewise.
24628 (CFLAGS-spawnp.c): Likewise.
24629 (CFLAGS-spawni.c): Likewise.
24630 (CFLAGS-glob.c): Likewise.
24631 (CFLAGS-glob64.c): Likewise.
24632 (CFLAGS-getconf.c): Likewise.
24633 (CFLAGS-nanosleep.c): Likewise.
24634 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
24635 (CFLAGS-getpwent.c): Likewise.
24636 (CFLAGS-getpw.c): Likewise.
24637 (CFLAGS-fgetpwent_r.c): Likewise.
24638 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
24639 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
24640 (CFLAGS-mq_timedreceive.c): Likewise.
24641 (CFLAGS-mq_timedsend.c): Likewise.
24642 (CFLAGS-clock_nanosleep.c): Likewise.
24643 (CFLAGS-librt-cancellation.c): Likewise.
24644 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
24645 (CFLAGS-getspent.c): Likewise.
24646 (CFLAGS-fgetspent.c): Likewise.
24647 (CFLAGS-fgetspent_r.c): Likewise.
24648 (CFLAGS-putspent.c): Likewise.
24649 (CFLAGS-getspnam.c): Likewise.
24650 (CFLAGS-getspnam_r.c): Likewise.
24651 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
24652 (CFLAGS-sigsuspend.c): Likewise.
24653 (CFLAGS-sigtimedwait.c): Likewise.
24654 (CFLAGS-sigwait.c): Likewise.
24655 (CFLAGS-sigwaitinfo.c): Likewise.
24656 (CFLAGS-sigreturn.c): Likewise.
24657 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
24658 (CFLAGS-vfwprintf.c): Likewise.
24659 (CFLAGS-tmpfile.c): Likewise.
24660 (CFLAGS-tmpfile64.c): Likewise.
24661 (CFLAGS-tempname.c): Likewise.
24662 (CFLAGS-psignal.c): Likewise.
24663 (CFLAGS-vprintf.c): Likewise.
24664 (CFLAGS-cuserid.c): Likewise.
24665 (CFLAGS-errlist.c): Likewise.
24666 (CFLAGS-siglist.c): Likewise.
24667 (CFLAGS-scanf15.c): Likewise.
24668 (CFLAGS-scanf17.c): Likewise.
24669 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
24670 (CFLAGS-msort.c): Likewise.
24671 (CFLAGS-qsort.c): Likewise.
24672 (CFLAGS-system.c): Likewise.
24673 (CFLAGS-fmtmsg.c): Likewise.
24674 (CFLAGS-strfmon.c): Likewise.
24675 (CFLAGS-strfmon_l.c): Likewise.
24676 (CFLAGS-strfromd.c): Likewise.
24677 (CFLAGS-strfromf.c): Likewise.
24678 (CFLAGS-strfroml.c): Likewise.
24679 (CFLAGS-tst-bsearch.c): Likewise.
24680 (CFLAGS-tst-qsort.c): Likewise.
24681 (CFLAGS-tst-makecontext2.c): Likewise.
24682 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
24683 (CFLAGS-xnlm_prot.c): Likewise.
24684 (CFLAGS-xrstat.c): Likewise.
24685 (CFLAGS-xyppasswd.c): Likewise.
24686 (CFLAGS-xklm_prot.c): Likewise.
24687 (CFLAGS-xrex.c): Likewise.
24688 (CFLAGS-xsm_inter.c): Likewise.
24689 (CFLAGS-xmount.c): Likewise.
24690 (CFLAGS-xrusers.c): Likewise.
24691 (CFLAGS-xspray.c): Likewise.
24692 (CFLAGS-xnfs_prot.c): Likewise.
24693 (CFLAGS-xrquota.c): Likewise.
24694 (CFLAGS-xkey_prot.c): Likewise.
24695 (CFLAGS-auth_unix.c): Likewise.
24696 (CFLAGS-key_call.c): Likewise.
24697 (CFLAGS-pmap_rmt.c): Likewise.
24698 (CFLAGS-clnt_perr.c): Likewise.
24699 (CFLAGS-openchild.c): Likewise.
24700 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
24701 (CFLAGS-msgsnd.c): Likewise.
24702 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
24703 * time/Makefile (CFLAGS-tzfile.c): Likewise.
24704 (CFLAGS-tzset.c): Likewise.
24705 (CFLAGS-getdate.c): Likewise.
24706 (CFLAGS-test_time.c): Likewise.
24707 (CPPFLAGS-tst-tzname.c): Likewise.
24708 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
24709 (CFLAGS-zic.c): Likewise.
24710 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
24711 (CFLAGS-wcswidth.c): Likewise.
24712 (CFLAGS-wcstol.c): Likewise.
24713 (CFLAGS-wcstoul.c): Likewise.
24714 (CFLAGS-wcstoll.c): Likewise.
24715 (CFLAGS-wcstoull.c): Likewise.
24716 (CFLAGS-wcstod.c): Likewise.
24717 (CFLAGS-wcstold.c): Likewise.
24718 (CFLAGS-wcstof128.c): Likewise.
24719 (CFLAGS-wcstof.c): Likewise.
24720 (CFLAGS-wcstol_l.c): Likewise.
24721 (CFLAGS-wcstoul_l.c): Likewise.
24722 (CFLAGS-wcstoll_l.c): Likewise.
24723 (CFLAGS-wcstoull_l.c): Likewise.
24724 (CFLAGS-wcstod_l.c): Likewise.
24725 (CFLAGS-wcstold_l.c): Likewise.
24726 (CFLAGS-wcstof128_l.c): Likewise.
24727 (CFLAGS-wcstof_l.c): Likewise.
24728 (CPPFLAGS-tst-wchar-h.c): Likewise.
24729 (CPPFLAGS-wcstold_l.c): Likewise.
24731 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
24733 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
24735 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24736 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24738 * manual/tunables.texi (Hardware Capability Tunables): Document
24739 glibc.tune.cached_memopt.
24740 * sysdeps/powerpc/cpu-features.c: New file.
24741 * sysdeps/powerpc/cpu-features.h: New file.
24742 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
24743 _dl_powerpc_cpu_features.
24744 * sysdeps/powerpc/dl-tunables.list: New file.
24745 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
24746 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24747 (INIT_ARCH): Initialize use_aligned_memopt.
24748 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
24749 IS_IN(rtld))]: Restrict dl_platform_init availability and
24750 initialize CPU features used by tunables.
24751 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
24752 Add memcpy-power8-cached.
24753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
24754 __memcpy_power8_cached.
24755 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24756 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
24759 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
24761 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
24762 (CFLAGS-noinl-tester.c): Likewise.
24763 (CFLAGS-tst-strlen.c): Likewise.
24764 (CFLAGS-stratcliff.c): Likewise.
24765 (CFLAGS-test-ffs.c): Likewise.
24766 (CFLAGS-tst-inlcall.c): Likewise.
24767 (CFLAGS-tst-xbzero-opt.c): Likewise.
24768 (CFLAGS-memcpy.c): Likewise.
24769 (CFLAGS-wordcopy.c): Likewise.
24771 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24773 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
24774 Store r15 on stack and add cfi rule.
24775 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
24778 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
24781 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
24784 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24786 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24787 Add s_sinf-sse2 and s_sinf-fma.
24788 (CFLAGS-s_sinf-fma.c): New.
24789 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
24790 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
24791 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
24793 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
24795 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
24797 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24800 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
24801 part of result to imaginary part of argument if it is zero and the
24802 real part of the argument is not finite.
24803 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
24804 of result to real part of argument if it is zero and the imaginary
24805 part of the argument is not finite.
24807 2017-12-07 Mike FABIAN <mfabian@redhat.com>
24810 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
24811 and to the list of locales to be built for testing.
24812 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
24813 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
24814 and build the collation rules upon that.
24816 2017-12-07 Joseph Myers <joseph@codesourcery.com>
24818 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
24819 * manual/math.texi (Mathematics): Document support for _Float32.
24820 * math/Makefile (test-types): Add float32.
24821 * math/Versions (GLIBC_2.27): Add _Float32 functions.
24822 * stdlib/Versions (GLIBC_2.27): Likewise.
24823 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24824 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24825 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24826 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24827 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24828 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24829 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24830 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24831 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24832 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24833 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24834 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24835 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24836 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24837 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24838 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24839 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24840 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24841 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24842 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24843 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24844 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
24846 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24847 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24848 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24849 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24850 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
24864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24868 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24869 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24870 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24871 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24872 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24873 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24874 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24875 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24876 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24877 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24886 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24887 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24888 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24889 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24890 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24891 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24892 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24893 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24895 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24897 * stdlib/strtof.c: Include <bits/floatn.h>
24898 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
24899 and later undefine as macro. Define as weak alias if
24901 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
24902 and later undefine as macro. Define as weak alias if
24904 * stdlib/strtof_l.c: Include <bits/floatn.h>
24905 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
24906 and later undefine as macro. Define as weak alias if
24908 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
24909 and later undefine as macro. Define as weak alias if
24912 * stdlib/strfromf.c: Include <bits/floatn.h>.
24913 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
24914 and later undefine as macro and define as weak alias.
24916 * math/test-float32.h: New file.
24918 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
24919 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
24920 (libm_alias_float_other_r): Create f32 alias.
24921 (libm_alias_float_r): Use semicolon before call to
24922 libm_alias_float_other_r.
24924 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
24925 second argument to libm_alias_float_other.
24926 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
24927 second argument to libm_alias_float_other.
24928 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
24929 argument to libm_alias_float_other.
24932 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
24933 real part of result for argument 0 + i * NaN.
24934 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
24935 results for tests of 0 + i * NaN.
24937 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24939 * sysdeps/alpha/fpu/libm-test-ulps: Update.
24941 2017-12-06 David S. Miller <davem@davemloft.net>
24943 * sysdeps/sparc/fpu/libm-test-ulps: Update
24944 exp_{downward,towardzero,upward} ulps.
24946 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24948 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
24951 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
24953 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
24955 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
24957 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
24960 2017-12-06 Mike FABIAN <mfabian@redhat.com>
24963 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
24964 and to the list of locales to be built for testing.
24965 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
24966 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
24967 and build the collation rules upon that.
24969 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24971 * NEWS: Add sinf to list of optimized functions.
24973 2017-12-06 Joseph Myers <joseph@codesourcery.com>
24975 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
24976 (__HAVE_FLOAT32X): Likewise.
24977 * manual/math.texi (Mathematics): Document support for _Float64
24979 * math/Makefile (test-types): Add float64 and float32x.
24980 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
24982 * stdlib/Versions (GLIBC_2.27): Likewise.
24983 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24984 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24985 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24986 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24987 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24988 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24989 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24990 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24991 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24992 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24993 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24994 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24995 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24996 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24997 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24998 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24999 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25000 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25001 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25002 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25003 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25004 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
25006 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25008 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25009 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25010 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
25023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25027 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25028 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25029 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25030 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25031 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25032 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25033 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25034 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25035 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25036 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25045 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25046 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25047 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25048 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25049 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25050 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25051 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25052 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
25054 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25056 * bits/floatn-common.h: Include <bits/long-double.h>.
25057 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25058 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
25059 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25060 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
25061 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
25062 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
25063 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25064 (__builtin_huge_valf64): Use __builtin_huge_vall.
25065 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25066 (__builtin_inff64): Use __builtin_infl.
25067 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25068 (__builtin_nanf64): Use __builtin_nanl.
25069 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
25070 (__builtin_nansf64): Use __builtin_nansl.
25072 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
25073 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25074 Carlos O'Donell <carlos@redhat.com>
25076 * elf/dl-tunables.list: Add elision parameters.
25077 * manual/tunables.texi: Add entries about elision tunable.
25078 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
25079 Add callback functions to dynamically enable/disable elision.
25080 Add multiple callbacks functions to set elision parameters.
25081 Deleted __libc_enable_secure check.
25082 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
25083 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
25084 * configure: Regenerated.
25085 * configure.ac: Option enable_lock_elision was deleted.
25086 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
25087 * config.make.in: Remove references to enable_lock_elision.
25088 * manual/install.texi: Elision configure option was removed.
25089 * INSTALL: Regenerated to remove enable_lock_elision.
25091 Disable elision so it can verify error case for destroying a mutex.
25092 * sysdeps/powerpc/nptl/elide.h:
25093 Cleanup ENABLE_LOCK_ELISION check.
25094 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
25095 * sysdeps/s390/configure: Regenerated.
25096 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
25097 * nptl/tst-mutex8.c:
25098 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
25099 * sysdeps/powerpc/powerpc32/sysdep.h:
25100 Deleted all ENABLE_LOCK_ELISION checks.
25101 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25102 * sysdeps/powerpc/sysdep.h: Likewise.
25103 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
25104 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
25105 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25106 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25107 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25108 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
25109 enable-lock-elision.
25111 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25113 * stdlib/strtod.c: Include <bits/floatn.h>.
25114 (BUILD_DOUBLE): New macro.
25115 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25116 (strtof64): Define and later undefine as macro. Define as weak
25117 alias if [!USE_WIDE_CHAR].
25118 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25119 (wcstof64): Define and later undefine as macro. Define as weak
25120 alias if [USE_WIDE_CHAR].
25121 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25122 (strtof32x): Define and later undefine as macro. Define as weak
25123 alias if [!USE_WIDE_CHAR].
25124 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25125 (wcstof32x): Define and later undefine as macro. Define as weak
25126 alias if [USE_WIDE_CHAR].
25127 * stdlib/strtod_l.c: Include <bits/floatn.h>.
25128 (BUILD_DOUBLE): New macro.
25129 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25130 (strtof64_l): Define and later undefine as macro. Define as weak
25131 alias if [!USE_WIDE_CHAR].
25132 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
25133 (wcstof64_l): Define and later undefine as macro. Define as weak
25134 alias if [USE_WIDE_CHAR].
25135 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25136 (strtof32x_l): Define and later undefine as macro. Define as weak
25137 alias if [!USE_WIDE_CHAR].
25138 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
25139 (wcstof32x_l): Define and later undefine as macro. Define as weak
25140 alias if [USE_WIDE_CHAR].
25142 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25144 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
25145 (reduced): Use ones as double instead of integer.
25147 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
25149 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
25151 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25153 * stdlib/strfromd.c: Include <bits/floatn.h>.
25154 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
25155 and later undefine as macro and define as weak alias.
25156 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
25159 * math/test-float32x.h: New file.
25160 * math/test-float64.h: Likewise.
25162 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
25163 (libm_alias_double_other_r_f64): New macro.
25164 (libm_alias_double_other_r_f32x): Likewise.
25165 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25166 libm_alias_double_other_r_f32x.
25167 (libm_alias_double_r): Use semicolon before call to
25168 libm_alias_double_other_r.
25169 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
25171 (libm_alias_double_other_r_f64): New macro.
25172 (libm_alias_double_other_r_f32x): Likewise.
25173 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
25174 libm_alias_double_other_r_f32x.
25176 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
25178 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
25180 (SINF_FUNC): Likewise. Replace floor with simple casts.
25182 2017-12-05 Mike FABIAN <mfabian@redhat.com>
25185 * localedata/Makefile: Add et_EE.UTF-8 to test-input
25186 and to the list of locales to be built for testing.
25187 * localedata/et_EE.UTF-8.in: New file for testing the collation.
25188 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
25189 and build the collation rules upon that.
25191 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
25193 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
25194 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
25195 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
25196 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
25197 instead of __insn__xxx.
25198 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
25199 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
25200 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
25201 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
25202 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
25203 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
25205 2017-12-05 Florian Weimer <fweimer@redhat.com>
25207 Linux: Implement interfaces for memory protection keys
25208 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
25210 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
25211 * support/xunistd.h (xsysconf): Declare.
25212 * support/xraise.c: New file.
25213 * support/xsigaction.c: Likewise.
25214 * support/xsignal.c: Likewise.
25215 * support/xsysconf.c: Likewise.
25216 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
25217 pkey_set, pkey_get, pkey_mprotect.
25218 [misc] (tests): Add tst-pkey.
25219 (tst-pkey): Link with -lpthread.
25220 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
25221 pkey_free, pkey_set, pkey_get, pkey_mprotect.
25222 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
25223 (PKEY_DISABLE_WRITE): Define.
25224 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
25226 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
25227 (SEGV_PKUERR): Add.
25228 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
25229 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
25230 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
25231 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
25233 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
25234 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
25235 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
25236 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
25237 * sysdeps/unix/sysv/linux/**.abilist: Update.
25239 2017-12-05 Florian Weimer <fweimer@redhat.com>
25241 * support/tst-test_compare.c (subprocess): Use long long instead
25242 of long argument for consistent type width across 32-bit and
25243 64-bit architectures.
25244 (do_test): Adjust expected output.
25246 2017-12-05 Joseph Myers <joseph@codesourcery.com>
25248 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
25249 (cosf): Define using libm_alias_float.
25250 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
25251 (fabsf): Define using libm_alias_float.
25252 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
25253 (fmaf): Define using libm_alias_float.
25254 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
25255 (rintf): Define using libm_alias_float.
25256 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
25257 (sinf): Define using libm_alias_float.
25258 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
25259 <libm-alias-float.h>.
25260 (modff): Define using libm_alias_float.
25261 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
25262 <libm-alias-float.h>.
25263 (logbf): Define using libm_alias_float.
25264 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
25265 <libm-alias-float.h>.
25266 (ceilf): Define using libm_alias_float.
25267 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25268 <libm-alias-float.h>.
25269 (copysignf): Define using libm_alias_float.
25270 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
25271 <libm-alias-float.h>.
25272 (floorf): Define using libm_alias_float.
25273 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
25274 <libm-alias-float.h>.
25275 (llrintf): Define using libm_alias_float.
25276 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
25277 <libm-alias-float.h>.
25278 (llroundf): Define using libm_alias_float.
25279 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25280 <libm-alias-float.h>.
25281 (lrintf): Define using libm_alias_float.
25282 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25283 <libm-alias-float.h>.
25284 (lroundf): Define using libm_alias_float.
25285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
25286 <libm-alias-float.h>.
25287 (nearbyintf): Define using libm_alias_float.
25288 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
25289 <libm-alias-float.h>.
25290 (rintf): Define using libm_alias_float.
25291 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
25292 <libm-alias-float.h>.
25293 (roundf): Define using libm_alias_float.
25294 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
25295 <libm-alias-float.h>.
25296 (truncf): Define using libm_alias_float.
25297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
25298 Include <libm-alias-float.h>.
25299 (ceilf): Define using libm_alias_float.
25300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
25301 Include <libm-alias-float.h>.
25302 (copysignf): Define using libm_alias_float.
25303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
25304 Include <libm-alias-float.h>.
25305 (floorf): Define using libm_alias_float.
25306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
25307 Include <libm-alias-float.h>.
25308 (llrintf): Define using libm_alias_float.
25309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
25310 Include <libm-alias-float.h>.
25311 (llroundf): Define using libm_alias_float.
25312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
25313 Include <libm-alias-float.h>.
25314 (logbf): Define using libm_alias_float.
25315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
25316 Include <libm-alias-float.h>.
25317 (lrintf): Define using libm_alias_float.
25318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
25319 Include <libm-alias-float.h>.
25320 (lroundf): Define using libm_alias_float.
25321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
25322 Include <libm-alias-float.h>.
25323 (modff): Define using libm_alias_float.
25324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
25325 Include <libm-alias-float.h>.
25326 (roundf): Define using libm_alias_float.
25327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
25328 Include <libm-alias-float.h>.
25329 (truncf): Define using libm_alias_float.
25330 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
25331 <libm-alias-float.h>.
25332 (llrintf): Define using libm_alias_float.
25333 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25334 <libm-alias-float.h>.
25335 (llroundf): Define using libm_alias_float.
25336 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
25337 <libm-alias-float.h>.
25338 (ceilf): Define using libm_alias_float.
25339 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
25340 <libm-alias-float.h>.
25341 (floorf): Define using libm_alias_float.
25342 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25343 <libm-alias-float.h>.
25344 (llroundf): Define using libm_alias_float.
25345 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25346 <libm-alias-float.h>.
25347 (lroundf): Define using libm_alias_float.
25348 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
25349 <libm-alias-float.h>.
25350 (roundf): Define using libm_alias_float.
25351 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
25352 <libm-alias-float.h>.
25353 (truncf): Define using libm_alias_float.
25354 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25355 <libm-alias-float.h>.
25356 (copysignf): Define using libm_alias_float.
25357 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
25358 <libm-alias-float.h>.
25359 (llrintf): Define using libm_alias_float.
25360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25361 <libm-alias-float.h>.
25362 (llroundf): Define using libm_alias_float.
25363 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25364 <libm-alias-float.h>.
25365 (lrintf): Define using libm_alias_float.
25366 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25367 <libm-alias-float.h>.
25368 (lroundf): Define using libm_alias_float.
25369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
25370 <libm-alias-float.h>.
25371 (ceilf): Define using libm_alias_float.
25372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
25373 <libm-alias-float.h>.
25374 (copysignf): Define using libm_alias_float.
25375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
25376 <libm-alias-float.h>.
25377 (cosf): Define using libm_alias_float.
25378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
25379 <libm-alias-float.h>.
25380 (floorf): Define using libm_alias_float.
25381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
25382 <libm-alias-float.h>.
25383 (llrintf): Define using libm_alias_float.
25384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
25385 <libm-alias-float.h>.
25386 (llroundf): Define using libm_alias_float.
25387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
25388 <libm-alias-float.h>.
25389 (logbf): Define using libm_alias_float.
25390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
25391 <libm-alias-float.h>.
25392 (modff): Define using libm_alias_float.
25393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
25394 <libm-alias-float.h>.
25395 (roundf): Define using libm_alias_float.
25396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
25397 <libm-alias-float.h>.
25398 (sinf): Define using libm_alias_float.
25399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
25400 <libm-alias-float.h>.
25401 (truncf): Define using libm_alias_float.
25402 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
25403 <libm-alias-float.h>.
25404 (ceilf): Define using libm_alias_float.
25405 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25406 <libm-alias-float.h>.
25407 (copysignf): Define using libm_alias_float.
25408 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
25409 <libm-alias-float.h>.
25410 (floorf): Define using libm_alias_float.
25411 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25412 <libm-alias-float.h>.
25413 (llrintf): Define using libm_alias_float.
25414 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
25415 <libm-alias-float.h>.
25416 (llroundf): Define using libm_alias_float.
25417 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
25418 <libm-alias-float.h>.
25419 (nearbyintf): Define using libm_alias_float.
25420 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
25421 <libm-alias-float.h>.
25422 (rintf): Define using libm_alias_float.
25423 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
25424 <libm-alias-float.h>.
25425 (roundf): Define using libm_alias_float.
25426 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
25427 <libm-alias-float.h>.
25428 (truncf): Define using libm_alias_float.
25429 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
25430 <libm-alias-float.h>.
25431 (ceilf): Define using libm_alias_float.
25432 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
25433 <libm-alias-float.h>.
25434 (floorf): Define using libm_alias_float.
25435 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25436 <libm-alias-float.h>.
25437 (llroundf): Define using libm_alias_float.
25438 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
25439 <libm-alias-float.h>.
25440 (roundf): Define using libm_alias_float.
25441 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
25442 <libm-alias-float.h>.
25443 (truncf): Define using libm_alias_float.
25444 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25445 <libm-alias-float.h>.
25446 (copysignf): Define using libm_alias_float.
25447 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25448 <libm-alias-float.h>.
25449 (llrintf): Define using libm_alias_float.
25450 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25451 <libm-alias-float.h>.
25452 (llroundf): Define using libm_alias_float.
25453 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
25454 <libm-alias-float.h>.
25455 (cosf): Define using libm_alias_float.
25456 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25457 <libm-alias-float.h>.
25458 (llrintf): Define using libm_alias_float.
25459 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25460 <libm-alias-float.h>.
25461 (llroundf): Define using libm_alias_float.
25462 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
25463 <libm-alias-float.h>.
25464 (sinf): Define using libm_alias_float.
25466 2017-12-04 Florian Weimer <fweimer@redhat.com>
25468 * support/check.h (TEST_COMPARE): Define.
25469 (support_test_compare_failure): Declare.
25470 * support/Makefile (libsupport-routines): Add
25471 support_test_compare_failure.
25472 (tests): Add tst-test_compare.
25473 * support /support_test_compare_failure.c: New file.
25474 * support/tst-test_compare.c: Likewise.
25476 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25479 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
25480 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
25481 available, this rewrite of the collation rules does reproduce
25482 the test file in the same order.
25484 2017-12-04 Mike FABIAN <mfabian@redhat.com>
25487 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
25488 digraphs in the month and day names. Using single code points for
25489 digraphs is deprecated. While there are dedicated Unicode
25490 codepoints, for the digraphs, these are included for backwards
25491 compatibility and modern texts use a sequence of Basic Latin
25492 characters. See: https://www.unicode.org/faq/ligature_digraph.html
25493 This makes the month and day names agree exactly with CLDR now,
25494 CLDR does not use the single code points for the digraphs either.
25496 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
25498 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
25500 2017-12-04 Joseph Myers <joseph@codesourcery.com>
25502 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
25505 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
25507 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
25508 Define only for libc.so.
25510 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
25512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25513 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
25514 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
25515 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
25516 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25518 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25521 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
25523 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
25526 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
25527 PREINIT_FUNCTION_WEAK is nonzero.
25528 (gmon_initializer): New function. Put procedure label for it in
25529 .init_array section.
25530 (_init): Don't call PREINIT_FUNCTION.
25531 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
25532 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
25533 value when map argument is null.
25535 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
25536 depi instruction from PIC pc-relative sequence.
25537 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
25538 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
25539 (elf_machine_load_address): Likewise.
25540 (elf_machine_runtime_setup): Likewise.
25542 2017-12-02 Joseph Myers <joseph@codesourcery.com>
25544 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
25545 <libm-alias-double.h>.
25546 (logb): Define using libm_alias_double.
25547 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
25548 <libm-alias-double.h>.
25549 (copysign): Define using libm_alias_double.
25550 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
25551 <libm-alias-double.h>.
25552 (llrint): Define using libm_alias_double.
25553 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
25554 <libm-alias-double.h>.
25555 (llround): Define using libm_alias_double.
25556 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
25557 <libm-alias-double.h>.
25558 (lrint): Define using libm_alias_double.
25559 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
25560 <libm-alias-double.h>.
25561 (lround): Define using libm_alias_double.
25562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25563 Include <libm-alias-double.h>.
25564 (copysign): Define using libm_alias_double.
25565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
25566 Include <libm-alias-double.h>.
25567 (llrint): Define using libm_alias_double.
25568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
25569 Include <libm-alias-double.h>.
25570 (llround): Define using libm_alias_double.
25571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
25572 <libm-alias-double.h>.
25573 (logb): Define using libm_alias_double.
25574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
25575 Include <libm-alias-double.h>.
25576 (lrint): Define using libm_alias_double.
25577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
25578 Include <libm-alias-double.h>.
25579 (lround): Define using libm_alias_double.
25580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
25581 <libm-alias-double.h>.
25582 (llrint): Define using libm_alias_double.
25583 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
25584 <libm-alias-double.h>.
25585 (llround): Define using libm_alias_double.
25586 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
25587 <libm-alias-double.h>.
25588 (llround): Define using libm_alias_double.
25589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
25590 <libm-alias-double.h>.
25591 (lround): Define using libm_alias_double.
25592 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
25593 <libm-alias-double.h>.
25594 (copysign): Define using libm_alias_double.
25595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
25596 <libm-alias-double.h>.
25597 (llrint): Define using libm_alias_double.
25598 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
25599 <libm-alias-double.h>.
25600 (llround): Define using libm_alias_double.
25601 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
25602 <libm-alias-double.h>.
25603 (lrint): Define using libm_alias_double.
25604 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
25605 <libm-alias-double.h>.
25606 (lround): Define using libm_alias_double.
25607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
25608 <libm-alias-double.h>.
25609 (copysign): Define using libm_alias_double.
25610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
25611 <libm-alias-double.h>.
25612 (llrint): Define using libm_alias_double.
25614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
25615 <libm-alias-double.h>.
25616 (llround): Define using libm_alias_double.
25617 (lround): Likewise.
25618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
25619 <libm-alias-double.h>.
25620 (logb): Define using libm_alias_double.
25621 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
25622 <libm-alias-double.h>.
25623 (copysign): Define using libm_alias_double.
25624 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
25625 <libm-alias-double.h>.
25626 (llrint): Define using libm_alias_double.
25628 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
25629 <libm-alias-double.h>.
25630 (llround): Define using libm_alias_double.
25631 (lround): Likewise.
25632 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
25633 <libm-alias-double.h>.
25634 (llround): Define using libm_alias_double.
25635 (lround): Likewise.
25636 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
25637 <libm-alias-double.h>.
25638 (copysign): Define using libm_alias_double.
25639 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
25640 <libm-alias-double.h>.
25641 (llrint): Define using libm_alias_double.
25643 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
25644 <libm-alias-double.h>.
25645 (llround): Define using libm_alias_double.
25646 (lround): Likewise.
25647 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
25648 <libm-alias-double.h>.
25649 (llrint): Define using libm_alias_double.
25651 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
25652 <libm-alias-double.h>.
25653 (llround): Define using libm_alias_double.
25654 (lround): Likewise.
25656 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25659 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
25660 compat symbol based on llround.
25662 * sysdeps/powerpc/power7/fpu/s_logb.c
25663 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
25664 symbol based on __logb, not on logb.
25665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
25666 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
25668 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
25670 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
25671 (rint): Define using libm_alias_double.
25672 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
25673 <libm-alias-double.h>.
25674 (modf): Define using libm_alias_double.
25675 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
25676 <libm-alias-double.h>.
25677 (ceil): Define using libm_alias_double.
25678 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
25679 <libm-alias-double.h>.
25680 (floor): Define using libm_alias_double.
25681 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
25682 <libm-alias-double.h>.
25683 (nearbyint): Define using libm_alias_double.
25684 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
25685 <libm-alias-double.h>.
25686 (rint): Define using libm_alias_double.
25687 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
25688 <libm-alias-double.h>.
25689 (round): Define using libm_alias_double.
25690 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
25691 <libm-alias-double.h>.
25692 (trunc): Define using libm_alias_double.
25693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
25694 <libm-alias-double.h>.
25695 (ceil): Define using libm_alias_double.
25696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
25697 Include <libm-alias-double.h>.
25698 (floor): Define using libm_alias_double.
25699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
25700 <libm-alias-double.h>.
25701 (modf): Define using libm_alias_double.
25702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
25703 Include <libm-alias-double.h>.
25704 (round): Define using libm_alias_double.
25705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
25706 Include <libm-alias-double.h>.
25707 (trunc): Define using libm_alias_double.
25708 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
25709 <libm-alias-double.h>.
25710 (ceil): Define using libm_alias_double.
25711 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
25712 <libm-alias-double.h>.
25713 (floor): Define using libm_alias_double.
25714 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
25715 <libm-alias-double.h>.
25716 (round): Define using libm_alias_double.
25717 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
25718 <libm-alias-double.h>.
25719 (trunc): Define using libm_alias_double.
25720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
25721 <libm-alias-double.h>.
25722 (ceil): Define using libm_alias_double.
25723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
25724 <libm-alias-double.h>.
25725 (floor): Define using libm_alias_double.
25726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
25727 <libm-alias-double.h>.
25728 (modf): Define using libm_alias_double.
25729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
25730 <libm-alias-double.h>.
25731 (round): Define using libm_alias_double.
25732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
25733 <libm-alias-double.h>.
25734 (trunc): Define using libm_alias_double.
25735 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
25736 <libm-alias-double.h>.
25737 (ceil): Define using libm_alias_double.
25738 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
25739 <libm-alias-double.h>.
25740 (floor): Define using libm_alias_double.
25741 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
25742 <libm-alias-double.h>.
25743 (nearbyint): Define using libm_alias_double.
25744 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
25745 <libm-alias-double.h>.
25746 (rint): Define using libm_alias_double.
25747 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
25748 <libm-alias-double.h>.
25749 (round): Define using libm_alias_double.
25750 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
25751 <libm-alias-double.h>.
25752 (trunc): Define using libm_alias_double.
25753 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
25754 <libm-alias-double.h>.
25755 (ceil): Define using libm_alias_double.
25756 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
25757 <libm-alias-double.h>.
25758 (floor): Define using libm_alias_double.
25759 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
25760 <libm-alias-double.h>.
25761 (round): Define using libm_alias_double.
25762 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
25763 <libm-alias-double.h>.
25764 (trunc): Define using libm_alias_double.
25766 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
25767 (fabs): Define using libm_alias_double.
25768 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
25769 (fma): Define using libm_alias_double.
25770 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
25771 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
25772 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
25773 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
25775 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25777 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
25779 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
25780 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
25781 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
25783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
25784 due redirect macro.
25786 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
25788 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
25790 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25792 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
25793 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
25794 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
25795 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
25797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25798 (libm-sysdep_routines): Add s_nearbyintf-generic and
25799 s_nearbyint-generic.
25800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
25802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
25803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
25805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
25807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
25809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
25812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25813 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
25814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
25816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
25817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
25819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
25820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
25821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25824 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
25827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
25828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
25830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
25831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
25832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
25834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25835 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
25836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
25839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
25841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
25842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
25843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
25846 (sysdep_calls): New rule.
25847 (sysdep_routines): Use sysdep_calls as base.
25848 (libm-sysdep_routines): Add generic rule for symbols shared with
25849 libc. Add s_copysign-generic and s_copysign-generic objects.
25850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
25853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
25855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
25856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
25857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
25859 2017-12-01 Mike FABIAN <mfabian@redhat.com>
25862 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
25863 the list of locales to be built for testing.
25864 * localedata/is_IS.UTF-8.in: New file.
25865 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
25868 2017-12-01 Joseph Myers <joseph@codesourcery.com>
25870 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
25871 <libm-alias-float.h>.
25872 (fabsf): Define using libm_alias_float.
25874 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
25876 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
25878 2017-11-30 Joseph Myers <joseph@codesourcery.com>
25880 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
25881 <libm-alias-float.h>.
25882 (fabsf): Define using libm_alias_float.
25883 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
25884 <libm-alias-float.h>.
25885 (lrintf): Define using libm_alias_float.
25886 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
25887 <libm-alias-float.h>.
25888 (rintf): Define using libm_alias_float.
25890 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
25891 <libm-alias-double.h>.
25892 (fabs): Define using libm_alias_double.
25893 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
25894 <libm-alias-double.h>.
25895 (lrint): Define using libm_alias_double.
25896 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
25897 <libm-alias-double.h>.
25898 (rint): Define using libm_alias_double.
25900 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
25901 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
25902 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
25903 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
25904 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
25905 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
25906 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
25907 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
25908 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
25909 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
25910 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
25911 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
25912 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
25913 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
25914 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
25915 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
25916 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
25917 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
25919 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
25920 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
25921 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
25923 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
25924 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
25925 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
25927 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
25928 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
25929 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
25930 s_expm1_template.c.
25931 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
25932 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
25933 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
25935 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
25936 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
25937 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
25938 s_floor_template.c.
25939 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
25940 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
25941 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
25942 s_frexp_template.c.
25943 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
25944 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
25945 s_lrint_template.c.
25946 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
25947 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
25948 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
25950 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
25951 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
25952 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
25953 s_nearbyint_template.c.
25954 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
25955 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
25956 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
25957 s_remquo_template.c.
25958 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
25959 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
25960 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
25962 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
25963 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
25964 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
25966 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
25967 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
25968 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
25969 s_sincos_template.c.
25970 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
25971 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
25972 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
25974 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
25975 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
25976 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
25978 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
25979 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
25980 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
25981 s_trunc_template.c.
25982 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
25983 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
25984 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
25985 s_atan.c instead of including s_atan.c.
25986 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
25987 s_atanf.c instead of including s_atanf.c.
25988 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
25989 s_atanl.c instead of including s_atanl.c.
25990 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
25991 instead of s_atan.c.
25992 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
25993 instead of s_atanf.c.
25994 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
25995 instead of s_atanl.c.
25997 * scripts/update-copyrights: Do not handle intl/plural.c
26000 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
26003 * configure.ac (BISON): Require to be present.
26004 * configure: Regenerated.
26005 * intl/Makefile (generated): Add plural.c.
26006 [$(BISON) != no]: Make code unconditional.
26007 (plural.c): Change rule to $(objpfx)plural.c.
26008 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
26009 * intl/plural.c: Remove.
26010 * manual/install.texi (Tools for Compilation): Document bison as
26012 * INSTALL: Regenerated.
26014 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26016 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
26017 <libm-alias-double.h>.
26018 (llrint): Define using libm_alias_double.
26019 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
26020 <libm-alias-float.h>.
26021 (llrintf): Define using libm_alias_float.
26022 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
26023 <libm-alias-ldouble.h>.
26024 (llrintl): Define using libm_alias_ldouble.
26026 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
26027 declare_mgen_alias instead of weak_alias.
26028 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
26029 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
26030 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
26032 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26034 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26036 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
26037 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
26038 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
26040 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26041 Add submul_1-generic.
26042 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
26043 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
26044 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
26046 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26047 Add addmul_1-generic.
26048 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
26049 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
26050 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
26052 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26054 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
26055 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
26056 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
26058 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
26060 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
26061 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
26062 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
26064 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26066 According to CLDR, collation rules for Serbian and Bosnian
26067 should be the same as for Croatian.
26070 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
26071 and to the list of locales to be built for testing.
26072 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26073 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
26074 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
26075 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
26077 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26079 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
26080 to make test case pass.
26081 * localedata/hr_HR.UTF-8.in: Add more test strings.
26083 2017-11-30 Mike FABIAN <mfabian@redhat.com>
26085 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
26087 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26089 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
26090 the list of locales to built for testing.
26091 * localedata/hr_HR.UTF-8.in: New file.
26093 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
26096 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
26098 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
26099 CLDR (except use ligatures for the digraphs, CLDR does not use
26100 the ligatures), add first_workday, some fixes in the date and time
26102 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
26104 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
26105 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
26106 Add int_p_cs_precedes and int_n_cs_precedes.
26107 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
26108 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
26110 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
26111 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
26113 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
26114 and lang_lib. Change postal_fmt.
26116 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
26118 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
26120 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26121 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
26122 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
26123 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
26124 * sysdeps/generic/setjmpP.h: New file.
26125 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
26126 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
26127 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
26128 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
26129 Add jmp_buf-ssp.sym.
26130 (tests): Add tst-saved_mask-1.
26132 2017-11-30 Arjun Shankar <arjun@redhat.com>
26136 * malloc/malloc.c (__libc_malloc): Use checked_request2size
26137 instead of request2size.
26139 2017-11-30 Joseph Myers <joseph@codesourcery.com>
26141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
26142 (__lllrint): Remove alias.
26143 (lllrint): Likewise.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
26145 (__lllrintf): Likewise.
26146 (lllrintf): Likewise.
26148 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
26149 <libm-alias-float.h>.
26150 (copysignf): Define using libm_alias_float.
26151 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
26152 <libm-alias-float.h>.
26153 (fabsf): Define using libm_alias_float.
26154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26155 Include <libm-alias-float.h>.
26156 (copysignf): Define using libm_alias_float.
26157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
26158 <libm-alias-float.h>.
26159 (fabsf): Define using libm_alias_float.
26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
26161 <libm-alias-float.h>.
26162 (fdimf): Define using libm_alias_float.
26163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
26164 <libm-alias-float.h>.
26165 (fmaf): Define using libm_alias_float.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
26167 <libm-alias-float.h>.
26168 (llrintf): Define using libm_alias_float.
26169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
26170 Include <libm-alias-float.h>.
26171 (nearbyintf): Define using libm_alias_float.
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
26173 <libm-alias-float.h>.
26174 (rintf): Define using libm_alias_float.
26175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
26176 <libm-alias-float.h>.
26177 (llrintf): Define using libm_alias_float.
26178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
26179 <libm-alias-float.h>.
26180 (lrintf): Define using libm_alias_float.
26181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
26182 <libm-alias-float.h>.
26183 (nearbyintf): Define using libm_alias_float.
26184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
26185 <libm-alias-float.h>.
26186 (rintf): Define using libm_alias_float.
26187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
26188 <libm-alias-float.h>.
26189 (ceilf): Define using libm_alias_float.
26190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
26191 <libm-alias-float.h>.
26192 (floorf): Define using libm_alias_float.
26193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
26194 <libm-alias-float.h>.
26195 (fmaf): Define using libm_alias_float.
26196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
26197 <libm-alias-float.h>.
26198 (lrintf): Define using libm_alias_float.
26199 (llrintf): Likewise.
26200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
26201 <libm-alias-float.h>.
26202 (nearbyintf): Define using libm_alias_float.
26203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
26204 <libm-alias-float.h>.
26205 (rintf): Define using libm_alias_float.
26206 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
26207 <libm-alias-float.h>.
26208 (truncf): Define using libm_alias_float.
26209 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
26210 <libm-alias-float.h>.
26211 (copysignf): Define using libm_alias_float.
26212 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
26213 <libm-alias-float.h>.
26214 (fabsf): Define using libm_alias_float.
26215 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
26216 <libm-alias-float.h>.
26217 (lrintf): Define using libm_alias_float.
26218 (llrintf): Likewise.
26219 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
26220 <libm-alias-float.h>.
26221 (nearbyintf): Define using libm_alias_float.
26222 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
26223 <libm-alias-float.h>.
26224 (rintf): Define using libm_alias_float.
26226 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26228 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
26229 <libm-alias-double.h>.
26230 (copysign): Define using libm_alias_double.
26231 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
26232 <libm-alias-double.h>.
26233 (fabs): Define using libm_alias_double.
26234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26235 Include <libm-alias-double.h>.
26236 (copysign): Define using libm_alias_double.
26237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
26238 <libm-alias-double.h>.
26239 (fabs): Define using libm_alias_double.
26240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
26241 <libm-alias-double.h>.
26242 (fdim): Define using libm_alias_double.
26243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
26244 <libm-alias-double.h>.
26245 (fma): Define using libm_alias_double.
26246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
26247 <libm-alias-double.h>.
26248 (llrint): Define using libm_alias_double.
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
26250 Include <libm-alias-double.h>.
26251 (nearbyint): Define using libm_alias_double.
26252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
26253 <libm-alias-double.h>.
26254 (rint): Define using libm_alias_double.
26255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26256 <libm-alias-double.h>.
26257 (fabs): Define using libm_alias_double.
26258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
26259 <libm-alias-double.h>.
26260 (llrint): Define using libm_alias_double.
26261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
26262 <libm-alias-double.h>.
26263 (nearbyint): Define using libm_alias_double.
26264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
26265 <libm-alias-double.h>.
26266 (rint): Define using libm_alias_double.
26267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
26268 <libm-alias-double.h>.
26269 (ceil): Define using libm_alias_double.
26270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
26271 <libm-alias-double.h>.
26272 (floor): Define using libm_alias_double.
26273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
26274 <libm-alias-double.h>.
26275 (fma): Define using libm_alias_double.
26276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
26277 <libm-alias-double.h>.
26278 (lrint): Define using libm_alias_double.
26279 (llrint): Likewise.
26280 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
26281 <libm-alias-double.h>.
26282 (nearbyint): Define using libm_alias_double.
26283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
26284 <libm-alias-double.h>.
26285 (rint): Define using libm_alias_double.
26286 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
26287 <libm-alias-double.h>.
26288 (trunc): Define using libm_alias_double.
26289 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
26290 <libm-alias-double.h>.
26291 (copysign): Define using libm_alias_double.
26292 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
26293 <libm-alias-double.h>.
26294 (fabs): Define using libm_alias_double.
26295 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
26296 <libm-alias-double.h>.
26297 (lrint): Define using libm_alias_double.
26298 (llrint): Likewise.
26299 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
26300 <libm-alias-double.h>.
26301 (nearbyint): Define using libm_alias_double.
26302 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
26303 <libm-alias-double.h>.
26304 (rint): Define using libm_alias_double.
26307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
26309 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
26311 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
26312 SPARC --disable-multi-arch glibc variants.
26314 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
26315 <libm-alias-float.h>.
26316 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26318 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
26319 <libm-alias-float.h>.
26320 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26322 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
26323 <libm-alias-float.h>.
26324 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26326 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
26327 <libm-alias-float.h>.
26328 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26330 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
26331 <libm-alias-float.h>.
26332 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26334 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
26335 <libm-alias-float.h>.
26336 (ceilf): Define using libm_alias_float.
26337 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
26338 <libm-alias-float.h>.
26339 (floorf): Define using libm_alias_float.
26340 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
26341 <libm-alias-float.h>.
26342 (fmaf): Define using libm_alias_float.
26343 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
26344 <libm-alias-float.h>.
26345 (nearbyintf): Define using libm_alias_float.
26346 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
26347 <libm-alias-float.h>.
26348 (rintf): Define using libm_alias_float.
26349 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
26350 <libm-alias-float.h>.
26351 (truncf): Define using libm_alias_float.
26352 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26353 (copysignf): Define using libm_alias_float.
26354 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
26355 (cosf): Define using libm_alias_float.
26356 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26357 (fabsf): Define using libm_alias_float.
26358 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26359 (fmaxf): Define using libm_alias_float.
26360 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
26361 (fminf): Define using libm_alias_float.
26362 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26363 (llrintf): Define using libm_alias_float.
26364 [!__ILP32__] (lrintf): Likewise.
26365 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
26366 (sincosf): Define using libm_alias_float.
26367 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
26368 (sinf): Define using libm_alias_float.
26369 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26370 (lrintf): Define using libm_alias_float.
26372 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
26373 <libm-alias-double.h>.
26374 (atan): Define using libm_alias_double.
26375 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
26376 <libm-alias-double.h>.
26377 (ceil): Define using libm_alias_double.
26378 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
26379 <libm-alias-double.h>.
26380 (floor): Define using libm_alias_double.
26381 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
26382 <libm-alias-double.h>.
26383 (fma): Define using libm_alias_double.
26384 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
26385 <libm-alias-double.h>.
26386 (nearbyint): Define using libm_alias_double.
26387 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
26388 <libm-alias-double.h>.
26389 (rint): Define using libm_alias_double.
26390 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
26391 <libm-alias-double.h>.
26392 (sin): Define using libm_alias_double.
26394 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
26395 <libm-alias-double.h>.
26396 (tan): Define using libm_alias_double.
26397 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
26398 <libm-alias-double.h>.
26399 (trunc): Define using libm_alias_double.
26400 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
26401 (copysign): Define using libm_alias_double.
26402 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
26403 (fabs): Define using libm_alias_double.
26404 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
26405 (fmax): Define using libm_alias_double.
26406 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
26407 (fmin): Define using libm_alias_double.
26408 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
26409 (llrint): Define using libm_alias_double.
26410 [!__ILP32__] (lrint): Likewise.
26411 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
26412 (lrint): Define using libm_alias_double.
26414 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26417 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
26419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
26420 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
26421 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
26422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
26423 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
26424 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26427 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
26429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
26430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
26431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
26432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
26433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
26434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
26437 (libm-sysdep_routines): Add s_nearbyint-generic and
26438 s_nearbyintf-generic objects.
26439 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
26440 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
26441 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
26442 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
26443 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
26444 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
26446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26447 Add s_finitef-generic and s_finite-generic objects.
26448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
26449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
26450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
26451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
26452 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
26453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
26455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26456 Add s_isinff-generic and s_isinf-generic objects.
26457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
26458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
26459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
26460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
26461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
26462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
26465 Add s_isnanf-generic and s_isnan-generic objects.
26466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
26467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
26468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
26469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
26470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
26471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26473 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
26475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
26477 (sysdep_routines): Use sysdep_calls as base.
26478 (libm-sysdep_routines): Add generic rule for symbols shared with
26479 libc. Add s_signbit-generic and s_signbitf-generic objects.
26480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
26481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
26482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
26483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
26484 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
26485 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26487 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26489 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
26490 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
26491 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
26492 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
26493 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
26494 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
26495 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
26496 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
26497 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
26498 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
26499 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
26500 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
26501 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
26502 libm_alias_float_r.
26503 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
26504 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
26506 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
26507 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
26508 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
26509 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
26510 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
26511 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
26512 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
26513 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
26514 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
26515 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
26517 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
26519 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
26520 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
26521 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
26522 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
26523 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
26524 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
26525 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
26526 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
26527 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
26528 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
26529 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
26530 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
26531 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
26532 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
26533 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
26534 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
26535 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
26536 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
26537 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
26539 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
26540 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
26541 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
26542 * sysdeps/ia64/fpu/w_lgammaf_main.c
26543 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
26544 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
26546 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26547 Alexandre Oliva <aoliva@redhat.com>
26550 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
26551 * localedata/fr_CA.UTF-8.in: New file with test data for backward
26553 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
26555 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
26556 * localedata/locales/de_DE (LC_COLLATE): Likewise.
26557 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
26558 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
26559 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
26560 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
26561 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
26562 instead of “ifdef DIACRIT_BACKWARD”.
26564 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26566 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
26567 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
26568 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
26569 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
26570 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
26571 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
26572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
26573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
26574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
26575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
26576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
26577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
26578 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
26579 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
26580 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
26581 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
26582 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
26583 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
26584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
26585 ($(have-as-vis3) == yes): Remove conditional.
26586 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
26588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
26590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
26592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
26594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
26596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
26597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
26598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
26599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
26600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
26601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
26602 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
26603 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
26605 2017-11-29 Joseph Myers <joseph@codesourcery.com>
26607 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
26608 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
26609 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
26610 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
26611 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
26612 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
26613 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
26614 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
26615 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
26616 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
26617 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
26618 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
26619 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
26620 libm_alias_double_r.
26621 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
26623 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
26624 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
26625 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
26626 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
26627 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
26628 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
26629 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
26630 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
26631 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
26632 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
26633 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
26635 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
26637 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
26638 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
26639 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
26640 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
26641 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
26642 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
26643 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
26644 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
26645 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
26646 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
26647 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
26648 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
26649 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
26650 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
26651 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
26652 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
26653 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
26654 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
26656 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
26657 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
26658 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
26659 * sysdeps/ia64/fpu/w_lgamma_main.c
26660 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
26661 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
26663 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
26665 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
26666 address of $global$ into %dp register earlier. Use pc-relative
26667 instruction sequence for PIC case.
26669 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26671 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
26672 (asinhf): Define using libm_alias_float.
26673 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
26674 (atanf): Define using libm_alias_float.
26675 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
26676 (cbrtf): Define using libm_alias_float.
26677 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
26678 (ceilf): Define using libm_alias_float.
26679 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
26680 (copysignf): Define using libm_alias_float.
26681 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
26682 (expm1f): Define using libm_alias_float.
26683 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
26684 (fabsf): Define using libm_alias_float.
26685 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
26686 (floorf): Define using libm_alias_float.
26687 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26688 (fmaxf): Define using libm_alias_float.
26689 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
26690 (fminf): Define using libm_alias_float.
26691 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
26692 (frexpf): Define using libm_alias_float.
26693 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
26694 (llrintf): Define using libm_alias_float.
26695 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
26696 (logbf): Define using libm_alias_float.
26697 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
26698 (lrintf): Define using libm_alias_float.
26699 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
26700 (nearbyintf): Define using libm_alias_float.
26701 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
26702 (remquof): Define using libm_alias_float.
26703 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
26704 (rintf): Define using libm_alias_float.
26705 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
26706 (truncf): Define using libm_alias_float.
26707 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
26708 <libm-alias-float.h>.
26709 (exp2f): Define using libm_alias_float, or libm_alias_float_other
26711 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
26712 <libm-alias-float.h>.
26713 (expf): Define using libm_alias_float, or libm_alias_float_other
26715 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
26716 <libm-alias-float.h>.
26717 (log2f): Define using libm_alias_float, or libm_alias_float_other
26719 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
26720 <libm-alias-float.h>.
26721 (logf): Define using libm_alias_float, or libm_alias_float_other
26723 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
26724 <libm-alias-float.h>.
26725 (powf): Define using libm_alias_float, or libm_alias_float_other
26727 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
26728 <libm-alias-float.h>.
26729 (cosf): Define using libm_alias_float.
26730 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
26731 <libm-alias-float.h>.
26732 (sincosf): Define using libm_alias_float.
26733 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
26734 <libm-alias-float.h>.
26735 (sinf): Define using libm_alias_float.
26736 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
26737 (fmaxf): Define using libm_alias_float.
26738 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
26739 (fminf): Define using libm_alias_float.
26740 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26741 <libm-alias-float.h>.
26742 (fmaf): Define using libm_alias_float.
26744 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
26745 (asinh): Define using libm_alias_double.
26746 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
26747 (atan): Define using libm_alias_double.
26748 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
26749 (cbrt): Define using libm_alias_double.
26750 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
26751 (ceil): Define using libm_alias_double.
26752 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
26753 (copysign): Define using libm_alias_double.
26754 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
26755 (expm1): Define using libm_alias_double.
26756 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
26757 (fabs): Define using libm_alias_double.
26758 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
26759 (fdim): Define using libm_alias_double.
26760 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
26761 (floor): Define using libm_alias_double.
26762 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
26763 (fmax): Define using libm_alias_double.
26764 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
26765 (fmin): Define using libm_alias_double.
26766 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
26767 (frexp): Define using libm_alias_double.
26768 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
26769 (llrint): Define using libm_alias_double.
26770 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
26771 (logb): Define using libm_alias_double.
26772 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
26773 (lrint): Define using libm_alias_double.
26774 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
26775 (nearbyint): Define using libm_alias_double.
26776 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
26777 (remquo): Define using libm_alias_double.
26778 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
26779 (rint): Define using libm_alias_double.
26780 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
26781 (trunc): Define using libm_alias_double.
26782 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
26783 (fmax): Define using libm_alias_double.
26784 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
26785 (fmin): Define using libm_alias_double.
26786 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
26787 (fma): Define using libm_alias_double.
26789 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
26792 * elf/dl-hwcaps.c (ROUND): Removed.
26793 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
26794 and ELF_NOTE_NEXT_OFFSET.
26795 * elf/dl-load.c (ROUND): Removed.
26796 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26797 * elf/readelflib.c (ROUND): Removed.
26798 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
26799 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
26800 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
26801 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
26803 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26805 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26806 [!__fmaf] (fmaf): Define using libm_alias_float.
26808 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
26809 [!__fma] (fma): Define using libm_alias_double.
26810 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
26812 2017-11-28 Mike FABIAN <mfabian@redhat.com>
26815 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
26816 and implement the collation rules for cs from CLDR on top of that.
26817 * Makefile: Add cs_CZ.UTF-8 to test-input.
26818 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
26820 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
26822 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
26824 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26825 Icarus Sparry <icarus.w.sparry@intel.com>
26827 * benchtests/Makefile:Add BENCHSET to allow subsets of
26828 benchmarks to be run.
26829 * benchtests/README: Add documentation for: Running subsets of
26832 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
26834 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
26835 range of tests names.
26837 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
26838 result from property and remove "max", min" and "mean" from
26839 required properties based on benchtests/bench-skeleton.c.
26841 2017-11-28 Florian Weimer <fweimer@redhat.com>
26844 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
26845 due to Internet requirement.
26846 * posix/Makefile (tests): Remove tst-getaddrinfo4,
26848 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
26850 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26852 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26853 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
26854 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26855 (sysdep_routines): Add memset-ultra1.
26856 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
26858 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
26859 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
26860 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
26861 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
26862 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
26863 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
26864 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
26865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26867 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
26869 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
26870 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
26871 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
26872 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
26873 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
26874 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
26875 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
26877 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
26878 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
26879 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
26880 (sysdep_routines): Add memcpy-ultra1.
26881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
26882 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
26884 2017-11-28 Joseph Myers <joseph@codesourcery.com>
26886 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
26887 (cfloat_versions): Take function argument without trailing 'f'.
26888 Call libm_alias_float_other.
26889 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
26890 * sysdeps/alpha/fpu/cargf.c: Likewise.
26891 * sysdeps/alpha/fpu/cimagf.c: Likewise.
26892 * sysdeps/alpha/fpu/conjf.c: Likewise.
26893 * sysdeps/alpha/fpu/crealf.c: Likewise.
26894 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
26895 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
26896 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
26897 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
26898 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
26899 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
26900 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
26901 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
26902 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
26903 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
26904 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
26905 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
26906 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
26907 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
26908 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
26909 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
26910 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
26911 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
26912 (clog10f): Use libm_alias_float_other.
26913 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26914 (ceilf): Define using libm_alias_float.
26915 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
26916 (copysignf): Define using libm_alias_float.
26917 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
26918 (fabsf): Define using libm_alias_float.
26919 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
26920 (floorf): Define using libm_alias_float.
26921 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
26922 (fmaxf): Define using libm_alias_float.
26923 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
26924 (fminf): Define using libm_alias_float.
26925 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26926 (lrintf): Define using libm_alias_float.
26927 (llrintf): Likewise.
26928 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26929 (lroundf): Define using libm_alias_float.
26930 (llroundf): Likewise.
26931 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
26932 (rintf): Define using libm_alias_float.
26933 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
26934 (truncf): Define using libm_alias_float.
26936 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
26937 (ceilf): Define using libm_alias_float.
26938 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
26939 (floorf): Define using libm_alias_float.
26940 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
26941 (fmaf): Define using libm_alias_float.
26942 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
26943 (fmaxf): Define using libm_alias_float.
26944 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
26945 (fminf): Define using libm_alias_float.
26946 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
26947 (llrintf): Define using libm_alias_float.
26948 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
26949 (llroundf): Define using libm_alias_float.
26950 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
26951 (lrintf): Define using libm_alias_float.
26952 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
26953 (lroundf): Define using libm_alias_float.
26954 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
26955 <libm-alias-float.h>.
26956 (nearbyintf): Define using libm_alias_float.
26957 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
26958 (rintf): Define using libm_alias_float.
26959 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
26960 (roundf): Define using libm_alias_float.
26961 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
26962 (truncf): Define using libm_alias_float.
26964 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
26965 (ceil): Define using libm_alias_double.
26966 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
26967 (copysign): Define using libm_alias_double.
26968 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
26969 (fabs): Define using libm_alias_double.
26970 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
26971 (floor): Define using libm_alias_double.
26972 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
26973 (fmax): Define using libm_alias_double.
26974 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
26975 (fmin): Define using libm_alias_double.
26976 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
26977 (lrint): Define using libm_alias_double.
26978 (llrint): Likewise.
26979 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
26980 (lround): Define using libm_alias_double.
26981 (llround): Likewise.
26982 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
26983 (rint): Define using libm_alias_double.
26984 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
26985 (trunc): Define using libm_alias_double.
26987 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
26988 (libm_alias_double_r): Add semicolon after weak_alias call.
26990 2017-11-27 Joseph Myers <joseph@codesourcery.com>
26992 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
26993 (ceil): Define using libm_alias_double.
26994 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
26995 (floor): Define using libm_alias_double.
26996 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
26997 (fma): Define using libm_alias_double.
26998 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
26999 (fmax): Define using libm_alias_double.
27000 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
27001 (fmin): Define using libm_alias_double.
27002 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
27003 (llrint): Define using libm_alias_double.
27004 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
27005 (llround): Define using libm_alias_double.
27006 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
27007 (lrint): Define using libm_alias_double.
27008 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
27009 (lround): Define using libm_alias_double.
27010 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
27011 (nearbyint): Define using libm_alias_double.
27012 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
27013 (rint): Define using libm_alias_double.
27014 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
27015 (round): Define using libm_alias_double.
27016 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
27017 (trunc): Define using libm_alias_double.
27019 2017-11-27 Florian Weimer <fweimer@redhat.com>
27021 * sysdeps/unix/sysv/linux/mlock2.c: New file.
27022 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
27023 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
27024 (tests): Add tst-mlock2.
27025 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
27026 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
27027 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
27028 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
27029 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
27030 for mlock. Document mlock2.
27032 2017-11-27 Joseph Myers <joseph@codesourcery.com>
27034 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
27035 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
27037 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
27039 * sysdeps/x86/Makeconfig: New file.
27040 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
27041 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27042 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
27043 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27044 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27045 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27046 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
27048 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27049 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27050 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27051 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27052 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27053 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
27054 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
27055 * manual/math.texi (Mathematics): Document support for _Float64x.
27056 * math/Versions (GLIBC_2.27): Add _Float64x functions.
27057 * stdlib/Versions (GLIBC_2.27): Likewise.
27058 * wcsmbs/Versions (GLIBC_2.27): Likewise.
27059 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27060 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27061 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27062 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27063 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
27064 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
27065 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
27066 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
27067 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27068 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27069 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
27072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
27074 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27075 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27076 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27077 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27078 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27079 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27080 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27081 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27082 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
27083 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
27084 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
27085 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
27086 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
27087 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27089 2017-11-27 Andreas Schwab <schwab@suse.de>
27091 * elf/Makefile (dl-routines): Add dl-sort-maps.
27092 * elf/dl-sort-maps.c: New file.
27093 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
27094 (_dl_sort_maps): Declare.
27095 * elf/dl-fini.c (_dl_sort_fini): Remove.
27096 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
27097 * elf/dl-close.c (_dl_close_worker): Likewise.
27098 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
27100 * elf/dl-open.c (dl_open_worker): Likewise.
27102 2017-11-24 Joseph Myers <joseph@codesourcery.com>
27104 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
27105 using libm_alias_float128.
27106 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
27108 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
27110 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
27111 (setpayloadsigf128): Likewise.
27112 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
27114 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
27117 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
27118 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
27119 -mfloat128 to CFLAGS.
27121 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
27123 (CFLAGS-libm-test-support-float64x.c): New variable.
27124 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
27125 $(f128-loader-link) to gnulib-tests.
27127 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
27128 (libm_alias_float128_other_r): If
27129 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
27131 (libm_alias_float128_r): Add semicolon after weak_alias call.
27132 * sysdeps/generic/libm-alias-ldouble.h
27133 (libm_alias_ldouble_other_r_f128): New macro.
27134 (libm_alias_ldouble_other_r_f64x): Likewise.
27135 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27136 and libm_alias_ldouble_other_r_f64x.
27137 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
27138 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27139 (libm_alias_ldouble_other_r_f128): New macro.
27140 (libm_alias_ldouble_other_r_f64x): Likewise.
27141 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
27142 and libm_alias_ldouble_other_r_f64x.
27144 * stdlib/strfroml.c: Always include <stdlib.h>.
27145 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
27146 undefine as macro and define as weak alias.
27147 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
27148 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
27150 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
27151 Define and later undefine as macro and define as weak alias.
27153 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27154 Define and later undefine as macro. Define as weak alias if
27156 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
27157 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27158 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
27159 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
27160 Define and later undefine as macro. Define as weak alias if
27162 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
27163 Define and later undefine as macro. Define as weak alias if
27165 * sysdeps/ieee754/float128/strtof128_l.c
27166 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
27167 Define and later undefine as macro. Define as weak alias if
27169 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
27170 Define and later undefine as macro. Define as weak alias if
27172 * sysdeps/ieee754/ldbl-128/strtold_l.c
27173 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27174 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27175 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27176 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27177 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
27178 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27179 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27180 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27181 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27182 * sysdeps/ieee754/ldbl-96/strtold_l.c
27183 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
27184 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27185 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
27186 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
27188 * math/test-float64x.h: New file.
27189 * math/Makefile (type-float64x-yes): New variable.
27190 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
27192 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
27193 function-like macro.
27194 (min_of_type_): Likewise.
27195 (min_of_type_l): Likewise.
27196 (min_of_type_f128): Likewise.
27197 (min_of_type): Pass () as last argument of __MATH_TG.
27199 * stdlib/tst-strtod-round-skeleton.c
27200 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
27203 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
27204 for combinations of long double with _Float64 and _Float64x.
27206 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
27207 (__DECL_SIMD_cosf32): Likewise.
27208 (__DECL_SIMD_cosf64): Likewise.
27209 (__DECL_SIMD_cosf32x): Likewise.
27210 (__DECL_SIMD_cosf64x): Likewise.
27211 (__DECL_SIMD_cosf128x): Likewise.
27212 (__DECL_SIMD_sinf16): Likewise.
27213 (__DECL_SIMD_sinf32): Likewise.
27214 (__DECL_SIMD_sinf64): Likewise.
27215 (__DECL_SIMD_sinf32x): Likewise.
27216 (__DECL_SIMD_sinf64x): Likewise.
27217 (__DECL_SIMD_sinf128x): Likewise.
27218 (__DECL_SIMD_sincosf16): Likewise.
27219 (__DECL_SIMD_sincosf32): Likewise.
27220 (__DECL_SIMD_sincosf64): Likewise.
27221 (__DECL_SIMD_sincosf32x): Likewise.
27222 (__DECL_SIMD_sincosf64x): Likewise.
27223 (__DECL_SIMD_sincosf128x): Likewise.
27224 (__DECL_SIMD_logf16): Likewise.
27225 (__DECL_SIMD_logf32): Likewise.
27226 (__DECL_SIMD_logf64): Likewise.
27227 (__DECL_SIMD_logf32x): Likewise.
27228 (__DECL_SIMD_logf64x): Likewise.
27229 (__DECL_SIMD_logf128x): Likewise.
27230 (__DECL_SIMD_expf16): Likewise.
27231 (__DECL_SIMD_expf32): Likewise.
27232 (__DECL_SIMD_expf64): Likewise.
27233 (__DECL_SIMD_expf32x): Likewise.
27234 (__DECL_SIMD_expf64x): Likewise.
27235 (__DECL_SIMD_expf128x): Likewise.
27236 (__DECL_SIMD_powf16): Likewise.
27237 (__DECL_SIMD_powf32): Likewise.
27238 (__DECL_SIMD_powf64): Likewise.
27239 (__DECL_SIMD_powf32x): Likewise.
27240 (__DECL_SIMD_powf64x): Likewise.
27241 (__DECL_SIMD_powf128x): Likewise.
27243 * stdlib/Versions (libc): Move entries for wcstof128 and
27244 wcstof128_l to ....
27245 * wcsmbs/Versions (libc): ... here.
27246 Include <float128-abi.h>.
27248 2017-11-24 Florian Weimer <fweimer@redhat.com>
27250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27251 bits/mman-shared.h.
27252 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
27253 <bits/mman-shared.h>.
27254 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
27256 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
27257 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
27258 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
27259 <bits/mman-shared.h>.
27261 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27264 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
27265 posix_memalign/free.
27266 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
27268 2017-11-22 Mike FABIAN <mfabian@redhat.com>
27271 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
27272 and implement the collation rules for pl from CLDR on top of that.
27273 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
27274 of locales to be built for testing.
27275 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
27277 2017-11-23 Joseph Myers <joseph@codesourcery.com>
27279 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
27280 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
27281 libm_alias_ldouble_other.
27282 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
27283 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
27284 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
27285 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
27286 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
27287 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
27288 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
27289 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
27290 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
27291 libm_alias_ldouble_r.
27292 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
27293 libm_alias_ldouble_other.
27294 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
27295 (log10l): Likewise.
27296 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
27297 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
27298 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
27299 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
27300 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
27301 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
27302 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
27303 (atan2l): Likewise.
27304 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
27305 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
27306 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
27307 libm_alias_ldouble.
27308 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
27310 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
27311 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
27312 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
27314 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
27315 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
27316 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
27317 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
27318 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
27319 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
27320 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
27321 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
27322 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
27323 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
27324 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
27325 libm_alias_ldouble.
27326 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
27327 libm_alias_ldouble_other.
27328 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
27329 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
27330 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
27331 libm_alias_ldouble.
27332 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
27333 libm_alias_ldouble_other.
27334 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
27335 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
27336 * sysdeps/ia64/fpu/w_lgammal_main.c
27337 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
27338 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
27340 2017-11-23 Florian Weimer <fweimer@redhat.com>
27342 * malloc/malloc.c (tcache_thread_shutdown): Rename from
27343 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
27344 alike. Remove freeres marker.
27345 * malloc/arena.c (arena_thread_freeres): Call
27346 tcache_thread_shutdown.
27348 2017-11-23 Florian Weimer <fweimer@redhat.com>
27351 Export nscd hash function as __nss_hash.
27352 * include/nss.h (__nss_hash): Declare.
27353 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
27355 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
27356 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
27358 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
27359 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
27360 * nss/Makefiles (routines): Add nss_hash.
27361 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
27362 * nss/nss_hash.c: Rename from nis/nis_hash.c.
27363 (__nss_hash): Rename from __nis_hash. Define hidden alias.
27364 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
27366 2017-11-23 Florian Weimer <fweimer@redhat.com>
27369 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
27370 Return error code, not -1.
27371 * signal/tst-sigwait-eintr.c: New file.
27372 * signal/Makefile (tests): Add tst-sigwait-eintr.
27374 2017-11-23 Florian Weimer <fweimer@redhat.com>
27376 Linux: Add memfd_create system call wrapper
27377 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
27379 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
27380 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
27381 [__USE_GNU] (memfd_create): Declare.
27382 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
27383 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
27384 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
27385 * sysdeps/unix/sysv/linux/**.abilist: Update.
27386 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
27388 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27390 * localedata/gen-locale.sh: Fix typo in variable name.
27392 * resolv/res_debug.c (p_secstodate): Condition definition on
27393 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
27394 directly as __p_secstodate, and as a compat symbol. Do not use
27395 libresolv_hidden_def.
27396 * resolv/resolv.h (p_secstodate): Remove macro and function
27398 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
27399 using p_secstodate.
27400 * include/resolv.h (__p_secstodate): Do not use
27401 libresolv_hidden_proto.
27402 * resolv/Makefile (tests): Move tst-p_secstodate to ....
27403 (tests-internal): ... here.
27404 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
27405 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
27406 and declare and use __p_secstodate and use compat_symbol_reference
27408 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
27409 implementation returning 77.
27412 * resolv/res_debug.c: Include <libc-diag.h>.
27413 (p_secstodate): Assert time_t at least as wide as u_long. On
27414 overflow, use integer seconds since the epoch as output, or use
27415 "<overflow>" as output and set errno to EOVERFLOW if integer
27416 seconds since the epoch would be 14 or more characters.
27417 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
27419 * resolv/tst-p_secstodate.c: New file.
27420 * resolv/Makefile (tests): Add tst-p_secstodate.
27421 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
27423 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
27424 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
27425 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
27427 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
27429 * posix/regcomp.c (init_word_char): Add comments.
27431 2017-11-22 Joseph Myers <joseph@codesourcery.com>
27434 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
27435 strlen to compute length of ut_user and set trailing NUL byte of
27438 2017-11-21 Mike FABIAN <mfabian@redhat.com>
27441 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
27442 using “copy "iso14651_t1"” and then implementing the
27443 collation rules for lv from CLDR on top of that.
27444 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
27445 of locales to be built for testing.
27446 * lv_LV.UTF-8.in: New file with test data to test the Latvian
27449 2017-11-21 Joseph Myers <joseph@codesourcery.com>
27451 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27452 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
27453 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
27454 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
27455 [__USE_MISC] (MADV_HWPOISON): New macro.
27456 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
27458 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27460 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
27461 -Wmissing-braces on GCC 4.9.
27463 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27465 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
27466 * sysdeps/s390/s390-32/start.S (_start): Likewise
27467 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
27468 (thread_start): Likewise.
27469 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
27470 (thread_start): Likewise.
27471 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
27472 (__makecontext_ret): Likewise.
27473 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
27474 (__makecontext_ret): Likewise.
27476 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
27478 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
27479 __wcschrnul): Remove attribute_hidden.
27481 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
27483 regex: don't assume uint64_t or uint32_t
27484 This avoids -Werror=overflow errors for 32-bit systems in
27485 the 64-bit case. Problem reported by Joseph Myers in:
27486 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
27487 Also, when this code is used in Gnulib it ports to platforms
27488 that lack uint64_t and uint32_t. The C standard doesn't guarantee
27489 them, and on some 32-bit compilers there is no uint64_t.
27490 Problem reported by Gianluigi Tiesi in:
27491 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
27492 * posix/regcomp.c (init_word_char): Don't assume that the types
27493 uint64_t and uint32_t exist. Adapted from Gnulib patch
27494 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
27495 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
27497 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
27499 * sysdeps/aarch64/memset-reg.h: New file.
27500 * sysdeps/aarch64/memset.S: Use it.
27501 (__memset): Rename to MEMSET macro.
27502 [ZVA_MACRO]: Use zva_macro.
27503 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
27504 Add memset_generic and memset_falkor.
27505 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27506 (__libc_ifunc_impl_list): Add memset ifuncs.
27507 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
27508 local variable zva_size.
27509 * sysdeps/aarch64/multiarch/memset.c: New file.
27510 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
27511 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
27512 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
27513 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
27514 (DCZID_DZP_MASK): New macro.
27515 (DCZID_BS_MASK): Likewise.
27516 (init_cpu_features): Read and set zva_size.
27517 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
27518 (struct cpu_features): New member zva_size.
27520 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
27521 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
27522 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
27524 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
27525 backwards. Fix timing computation.
27526 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
27527 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
27528 on memset by N at a time. Fix timing computation.
27530 2017-11-20 Florian Weimer <fweimer@redhat.com>
27532 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
27533 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
27535 2017-11-19 Florian Weimer <fweimer@redhat.com>
27537 manual: Document mprotect
27538 * manual/memory.texi (Memory Protection): New section.
27539 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
27540 documentation of PROT_* flags and reference the Memory Protection
27543 2017-11-19 Florian Weimer <fweimer@redhat.com>
27545 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
27546 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
27547 (Scatter-Gather): ... to here. Remove misleading comment.
27549 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
27551 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
27554 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
27555 when /proc/<pid>/setgroups does not exist.
27557 2017-11-18 Florian Weimer <fweimer@redhat.com>
27559 * sysdeps/unix/sysv/linux/tst-ttyname.c
27560 (become_root_in_mount_ns): Remove.
27561 (do_in_chroot_1): Call support_enter_mount_namespace.
27562 (do_in_chroot_2): Likewise.
27563 (do_test): Call support_become_root early.
27565 2017-11-18 Florian Weimer <fweimer@redhat.com>
27567 * support/namespace.h (support_enter_mount_namespace): Declare.
27568 * support/support_enter_mount_namespace.c: New file.
27569 * support/Makefile (libsupport-routines): Add
27570 support_enter_mount_namespace.
27572 2017-11-18 Florian Weimer <fweimer@redhat.com>
27574 * support/temp_file.c (support_create_temp_directory): Use
27575 test_dir and do not rely on the presence of the XXXXXX suffix.
27576 * support/temp_file.h (support_create_temp_directory): Update
27578 * support/tst-xreadlink.c (do_test): Adjust.
27579 * support/support_chroot.c (support_chroot_create): Likewise.
27581 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27583 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
27585 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
27588 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27590 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27591 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27592 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27593 (ceill): Define using libm_alias_ldouble.
27594 * sysdeps/x86_64/fpu/s_copysignl.S: Include
27595 <libm-alias-ldouble.h>.
27596 (copysignl): Define using libm_alias_ldouble.
27597 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27598 (fabsl): Define using libm_alias_ldouble.
27599 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27600 (floorl): Define using libm_alias_ldouble.
27601 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27602 (fmaxl): Define using libm_alias_ldouble.
27603 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27604 (fminl): Define using libm_alias_ldouble.
27605 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27606 (llrintl): Define using libm_alias_ldouble.
27607 (lrintl): Likewise.
27608 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
27609 <libm-alias-ldouble.h>.
27610 (nearbyintl): Define using libm_alias_ldouble.
27611 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27612 (truncl): Define using libm_alias_ldouble.
27613 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
27614 <libm-alias-ldouble.h>.
27615 (lrintl): Define using libm_alias_ldouble.
27617 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
27618 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
27619 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
27620 (asinhl): Define using libm_alias_ldouble.
27621 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
27622 (atanl): Define using libm_alias_ldouble.
27623 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
27624 (cbrtl): Define using libm_alias_ldouble.
27625 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
27626 (ceill): Define using libm_alias_ldouble.
27627 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
27628 (copysignl): Define using libm_alias_ldouble.
27629 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
27630 (fabsl): Define using libm_alias_ldouble.
27631 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
27632 (floorl): Define using libm_alias_ldouble.
27633 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27634 (fmaxl): Define using libm_alias_ldouble.
27635 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27636 (fminl): Define using libm_alias_ldouble.
27637 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
27638 (frexpl): Define using libm_alias_ldouble.
27639 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
27640 (llrintl): Define using libm_alias_ldouble.
27641 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
27642 (logbl): Define using libm_alias_ldouble.
27643 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
27644 (lrintl): Define using libm_alias_ldouble.
27645 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
27646 (nearbyintl): Define using libm_alias_ldouble.
27647 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
27648 (nextafterl): Define using libm_alias_ldouble.
27649 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
27650 (remquol): Define using libm_alias_ldouble.
27651 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
27652 (rintl): Define using libm_alias_ldouble.
27653 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
27654 (truncl): Define using libm_alias_ldouble.
27655 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
27656 (fmaxl): Define using libm_alias_ldouble.
27657 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
27658 (fminl): Define using libm_alias_ldouble.
27660 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
27661 to C syntax instead of availability and properties of types.
27662 * bits/floatn.h [!__ASSEMBLER]: Likewise.
27663 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
27664 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
27665 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
27666 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
27667 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
27669 2017-11-17 Florian Weimer <fweimer@redhat.com>
27671 support_become_root: Enable file creation in namespaces.
27672 * support/support_become_root.c (setup_mapping): New function.
27673 (support_become_root): Call it.
27675 2017-11-17 Joseph Myers <joseph@codesourcery.com>
27677 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
27680 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27682 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
27683 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
27685 2017-11-16 Joseph Myers <joseph@codesourcery.com>
27687 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
27689 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
27692 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
27694 * INSTALL: Fix botched up regeneration.
27696 * NEWS: Update sourceare link to https.
27697 * configure.ac: Likewise.
27698 * crypt/md5test-giant.c: Likewise.
27699 * dlfcn/bug-atexit1.c: Likewise.
27700 * dlfcn/bug-atexit2.c: Likewise.
27701 * localedata/README: Likewise.
27702 * malloc/tst-mallocfork.c: Likewise.
27703 * manual/install.texi: Likewise.
27704 * nptl/tst-pthread-getattr.c: Likewise.
27705 * stdio-common/tst-fgets.c: Likewise.
27706 * stdio-common/tst-fwrite.c: Likewise.
27707 * sunrpc/Makefile: Likewise.
27708 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
27709 * wcsmbs/tst-mbrtowc2.c: Likewise.
27710 * configure: Regenerate.
27711 * INSTALL: Regenerate.
27713 2017-11-15 Martin Sebor <msebor@redhat.com>
27715 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
27716 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
27717 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
27719 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27722 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
27723 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
27726 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
27727 Defer is_pty check until end of the function.
27728 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27731 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
27732 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
27733 (ttyname): Likewise.
27734 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
27735 (__ttyname_r): Likewise.
27737 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
27740 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
27742 * manual/terminal.texi (Is It a Terminal):
27743 Mention ENODEV for ttyname and ttyname_r.
27745 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27747 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
27748 constant and macro.
27750 * sysdeps/unix/sysv/linux/bits/mman-linux.h
27751 [__USE_MISC] (MADV_WIPEONFORK): New macro.
27752 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27753 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
27754 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
27755 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
27757 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27759 * signal/sigrelse.c (sigrelse): Optimize implementation.
27761 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
27762 (__sigpause): Rely on __sigsuspend to implement single thread
27763 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
27765 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27767 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
27768 kernel version to 4.14.
27770 2017-11-15 Steve Ellcey <sellcey@cavium.com>
27773 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
27774 Check if ifname is too long.
27776 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
27778 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
27780 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27782 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
27783 was accidentally lost.
27785 2017-11-15 Mike FABIAN <mfabian@redhat.com>
27787 * localedata/locales/az_IR: Add standard copyright header.
27789 2017-11-15 Florian Weimer <fweimer@redhat.com>
27792 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
27793 not just the top one. Output a new "subheaps" statistic.
27795 2017-11-15 Florian Weimer <fweimer@redhat.com>
27798 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
27799 under the per-arena lock.
27800 * malloc/Makefile (tests): Add tst-malloc_info.
27801 (tst-malloc_info): Link with libpthread.
27802 * malloc/tst-malloc_info.c: New file.
27804 2017-11-15 Joseph Myers <joseph@codesourcery.com>
27807 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
27808 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
27809 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
27810 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
27811 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
27812 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
27813 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
27814 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
27815 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
27816 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
27817 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
27818 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
27819 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
27820 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
27821 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
27822 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
27823 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
27824 (__floating_type): Likewise.
27825 (__real_integer_type): Likewise.
27826 (__complex_integer_type): Likewise.
27827 (__expr_is_real): Likewise.
27828 (__tgmath_real_type_sub): Likewise.
27829 (__tgmath_real_type): Likewise.
27830 (__tgmath_complex_type_sub): Likewise.
27831 (__tgmath_complex_type): Likewise.
27832 (__TGMATH_F128): Likewise.
27833 (__TGMATH_CF128): Likewise.
27834 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
27836 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
27837 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
27839 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
27841 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
27842 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
27843 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
27844 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
27846 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
27847 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
27849 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
27850 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
27851 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
27853 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
27854 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
27855 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
27859 2017-11-14 Joseph Myers <joseph@codesourcery.com>
27861 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
27862 for stpncpy calls for GCC 8.
27863 (test_strncat): Disable -Wstringop-truncation warning for strncat
27864 calls for GCC 8. Disable -Wstringop-overflow= warning for one
27865 strncat call for GCC 7.
27866 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
27868 (test_memcmp): Use memcpy instead of strncpy for calls not copying
27871 * string/bug-strncat1.c: Include <libc-diag.h>.
27872 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
27874 2017-11-13 Claude Paroz <claude@2xlibre.net>
27877 * localedata/locales/aa_DJ: Improved readibility by replacing
27878 <Uxxxx> sequences in the ASCII printable range by their ASCII
27879 character equivalents.
27880 * localedata/locales/aa_ER: Likewise.
27881 * localedata/locales/aa_ER@saaho: Likewise.
27882 * localedata/locales/aa_ET: Likewise.
27883 * localedata/locales/af_ZA: Likewise.
27884 * localedata/locales/agr_PE: Likewise.
27885 * localedata/locales/ak_GH: Likewise.
27886 * localedata/locales/am_ET: Likewise.
27887 * localedata/locales/anp_IN: Likewise.
27888 * localedata/locales/ar_AE: Likewise.
27889 * localedata/locales/ar_BH: Likewise.
27890 * localedata/locales/ar_DZ: Likewise.
27891 * localedata/locales/ar_EG: Likewise.
27892 * localedata/locales/ar_IN: Likewise.
27893 * localedata/locales/ar_IQ: Likewise.
27894 * localedata/locales/ar_JO: Likewise.
27895 * localedata/locales/ar_KW: Likewise.
27896 * localedata/locales/ar_LB: Likewise.
27897 * localedata/locales/ar_LY: Likewise.
27898 * localedata/locales/ar_MA: Likewise.
27899 * localedata/locales/ar_OM: Likewise.
27900 * localedata/locales/ar_QA: Likewise.
27901 * localedata/locales/ar_SA: Likewise.
27902 * localedata/locales/ar_SD: Likewise.
27903 * localedata/locales/ar_SS: Likewise.
27904 * localedata/locales/ar_SY: Likewise.
27905 * localedata/locales/ar_TN: Likewise.
27906 * localedata/locales/ar_YE: Likewise.
27907 * localedata/locales/as_IN: Likewise.
27908 * localedata/locales/ast_ES: Likewise.
27909 * localedata/locales/ayc_PE: Likewise.
27910 * localedata/locales/az_AZ: Likewise.
27911 * localedata/locales/az_IR: Likewise.
27912 * localedata/locales/be_BY: Likewise.
27913 * localedata/locales/be_BY@latin: Likewise.
27914 * localedata/locales/bem_ZM: Likewise.
27915 * localedata/locales/ber_DZ: Likewise.
27916 * localedata/locales/ber_MA: Likewise.
27917 * localedata/locales/bg_BG: Likewise.
27918 * localedata/locales/bhb_IN: Likewise.
27919 * localedata/locales/bho_IN: Likewise.
27920 * localedata/locales/bi_VU: Likewise.
27921 * localedata/locales/bn_BD: Likewise.
27922 * localedata/locales/bn_IN: Likewise.
27923 * localedata/locales/bo_CN: Likewise.
27924 * localedata/locales/bo_IN: Likewise.
27925 * localedata/locales/br_FR: Likewise.
27926 * localedata/locales/brx_IN: Likewise.
27927 * localedata/locales/bs_BA: Likewise.
27928 * localedata/locales/byn_ER: Likewise.
27929 * localedata/locales/ca_AD: Likewise.
27930 * localedata/locales/ca_ES: Likewise.
27931 * localedata/locales/ca_FR: Likewise.
27932 * localedata/locales/ca_IT: Likewise.
27933 * localedata/locales/ce_RU: Likewise.
27934 * localedata/locales/chr_US: Likewise.
27935 * localedata/locales/cmn_TW: Likewise.
27936 * localedata/locales/crh_UA: Likewise.
27937 * localedata/locales/cs_CZ: Likewise.
27938 * localedata/locales/csb_PL: Likewise.
27939 * localedata/locales/cv_RU: Likewise.
27940 * localedata/locales/cy_GB: Likewise.
27941 * localedata/locales/da_DK: Likewise.
27942 * localedata/locales/de_AT: Likewise.
27943 * localedata/locales/de_BE: Likewise.
27944 * localedata/locales/de_CH: Likewise.
27945 * localedata/locales/de_DE: Likewise.
27946 * localedata/locales/de_IT: Likewise.
27947 * localedata/locales/de_LI: Likewise.
27948 * localedata/locales/de_LU: Likewise.
27949 * localedata/locales/doi_IN: Likewise.
27950 * localedata/locales/dv_MV: Likewise.
27951 * localedata/locales/dz_BT: Likewise.
27952 * localedata/locales/el_CY: Likewise.
27953 * localedata/locales/el_GR: Likewise.
27954 * localedata/locales/en_AG: Likewise.
27955 * localedata/locales/en_AU: Likewise.
27956 * localedata/locales/en_BW: Likewise.
27957 * localedata/locales/en_CA: Likewise.
27958 * localedata/locales/en_DK: Likewise.
27959 * localedata/locales/en_GB: Likewise.
27960 * localedata/locales/en_HK: Likewise.
27961 * localedata/locales/en_IE: Likewise.
27962 * localedata/locales/en_IL: Likewise.
27963 * localedata/locales/en_IN: Likewise.
27964 * localedata/locales/en_NG: Likewise.
27965 * localedata/locales/en_NZ: Likewise.
27966 * localedata/locales/en_PH: Likewise.
27967 * localedata/locales/en_SG: Likewise.
27968 * localedata/locales/en_US: Likewise.
27969 * localedata/locales/en_ZA: Likewise.
27970 * localedata/locales/en_ZM: Likewise.
27971 * localedata/locales/en_ZW: Likewise.
27972 * localedata/locales/eo: Likewise.
27973 * localedata/locales/es_AR: Likewise.
27974 * localedata/locales/es_BO: Likewise.
27975 * localedata/locales/es_CL: Likewise.
27976 * localedata/locales/es_CO: Likewise.
27977 * localedata/locales/es_CR: Likewise.
27978 * localedata/locales/es_CU: Likewise.
27979 * localedata/locales/es_DO: Likewise.
27980 * localedata/locales/es_EC: Likewise.
27981 * localedata/locales/es_ES: Likewise.
27982 * localedata/locales/es_GT: Likewise.
27983 * localedata/locales/es_HN: Likewise.
27984 * localedata/locales/es_MX: Likewise.
27985 * localedata/locales/es_NI: Likewise.
27986 * localedata/locales/es_PA: Likewise.
27987 * localedata/locales/es_PE: Likewise.
27988 * localedata/locales/es_PR: Likewise.
27989 * localedata/locales/es_PY: Likewise.
27990 * localedata/locales/es_SV: Likewise.
27991 * localedata/locales/es_US: Likewise.
27992 * localedata/locales/es_UY: Likewise.
27993 * localedata/locales/es_VE: Likewise.
27994 * localedata/locales/et_EE: Likewise.
27995 * localedata/locales/eu_ES: Likewise.
27996 * localedata/locales/eu_ES@euro: Likewise.
27997 * localedata/locales/fa_IR: Likewise.
27998 * localedata/locales/ff_SN: Likewise.
27999 * localedata/locales/fi_FI: Likewise.
28000 * localedata/locales/fil_PH: Likewise.
28001 * localedata/locales/fo_FO: Likewise.
28002 * localedata/locales/fr_BE: Likewise.
28003 * localedata/locales/fr_CA: Likewise.
28004 * localedata/locales/fr_CH: Likewise.
28005 * localedata/locales/fr_FR: Likewise.
28006 * localedata/locales/fr_LU: Likewise.
28007 * localedata/locales/fur_IT: Likewise.
28008 * localedata/locales/fy_DE: Likewise.
28009 * localedata/locales/fy_NL: Likewise.
28010 * localedata/locales/ga_IE: Likewise.
28011 * localedata/locales/gd_GB: Likewise.
28012 * localedata/locales/gez_ER: Likewise.
28013 * localedata/locales/gez_ET: Likewise.
28014 * localedata/locales/gl_ES: Likewise.
28015 * localedata/locales/gu_IN: Likewise.
28016 * localedata/locales/gv_GB: Likewise.
28017 * localedata/locales/ha_NG: Likewise.
28018 * localedata/locales/hak_TW: Likewise.
28019 * localedata/locales/he_IL: Likewise.
28020 * localedata/locales/hi_IN: Likewise.
28021 * localedata/locales/hif_FJ: Likewise.
28022 * localedata/locales/hne_IN: Likewise.
28023 * localedata/locales/hr_HR: Likewise.
28024 * localedata/locales/hsb_DE: Likewise.
28025 * localedata/locales/ht_HT: Likewise.
28026 * localedata/locales/hu_HU: Likewise.
28027 * localedata/locales/hy_AM: Likewise.
28028 * localedata/locales/i18n: Likewise.
28029 * localedata/locales/ia_FR: Likewise.
28030 * localedata/locales/id_ID: Likewise.
28031 * localedata/locales/ig_NG: Likewise.
28032 * localedata/locales/ik_CA: Likewise.
28033 * localedata/locales/is_IS: Likewise.
28034 * localedata/locales/it_CH: Likewise.
28035 * localedata/locales/it_IT: Likewise.
28036 * localedata/locales/iu_CA: Likewise.
28037 * localedata/locales/ja_JP: Likewise.
28038 * localedata/locales/ka_GE: Likewise.
28039 * localedata/locales/kk_KZ: Likewise.
28040 * localedata/locales/kl_GL: Likewise.
28041 * localedata/locales/kn_IN: Likewise.
28042 * localedata/locales/ko_KR: Likewise.
28043 * localedata/locales/kok_IN: Likewise.
28044 * localedata/locales/ks_IN: Likewise.
28045 * localedata/locales/ks_IN@devanagari: Likewise.
28046 * localedata/locales/ku_TR: Likewise.
28047 * localedata/locales/kw_GB: Likewise.
28048 * localedata/locales/ky_KG: Likewise.
28049 * localedata/locales/lb_LU: Likewise.
28050 * localedata/locales/lg_UG: Likewise.
28051 * localedata/locales/li_BE: Likewise.
28052 * localedata/locales/li_NL: Likewise.
28053 * localedata/locales/lij_IT: Likewise.
28054 * localedata/locales/ln_CD: Likewise.
28055 * localedata/locales/lo_LA: Likewise.
28056 * localedata/locales/lt_LT: Likewise.
28057 * localedata/locales/lv_LV: Likewise.
28058 * localedata/locales/lzh_TW: Likewise.
28059 * localedata/locales/mag_IN: Likewise.
28060 * localedata/locales/mai_IN: Likewise.
28061 * localedata/locales/mg_MG: Likewise.
28062 * localedata/locales/mhr_RU: Likewise.
28063 * localedata/locales/mi_NZ: Likewise.
28064 * localedata/locales/mk_MK: Likewise.
28065 * localedata/locales/ml_IN: Likewise.
28066 * localedata/locales/mn_MN: Likewise.
28067 * localedata/locales/mni_IN: Likewise.
28068 * localedata/locales/mr_IN: Likewise.
28069 * localedata/locales/ms_MY: Likewise.
28070 * localedata/locales/mt_MT: Likewise.
28071 * localedata/locales/my_MM: Likewise.
28072 * localedata/locales/nan_TW: Likewise.
28073 * localedata/locales/nan_TW@latin: Likewise.
28074 * localedata/locales/nb_NO: Likewise.
28075 * localedata/locales/nds_DE: Likewise.
28076 * localedata/locales/nds_NL: Likewise.
28077 * localedata/locales/ne_NP: Likewise.
28078 * localedata/locales/nhn_MX: Likewise.
28079 * localedata/locales/niu_NU: Likewise.
28080 * localedata/locales/niu_NZ: Likewise.
28081 * localedata/locales/nl_AW: Likewise.
28082 * localedata/locales/nl_BE: Likewise.
28083 * localedata/locales/nl_NL: Likewise.
28084 * localedata/locales/nn_NO: Likewise.
28085 * localedata/locales/nr_ZA: Likewise.
28086 * localedata/locales/nso_ZA: Likewise.
28087 * localedata/locales/oc_FR: Likewise.
28088 * localedata/locales/om_ET: Likewise.
28089 * localedata/locales/om_KE: Likewise.
28090 * localedata/locales/or_IN: Likewise.
28091 * localedata/locales/os_RU: Likewise.
28092 * localedata/locales/pa_IN: Likewise.
28093 * localedata/locales/pa_PK: Likewise.
28094 * localedata/locales/pap_AW: Likewise.
28095 * localedata/locales/pap_CW: Likewise.
28096 * localedata/locales/pl_PL: Likewise.
28097 * localedata/locales/ps_AF: Likewise.
28098 * localedata/locales/pt_BR: Likewise.
28099 * localedata/locales/pt_PT: Likewise.
28100 * localedata/locales/quz_PE: Likewise.
28101 * localedata/locales/raj_IN: Likewise.
28102 * localedata/locales/ro_RO: Likewise.
28103 * localedata/locales/ru_RU: Likewise.
28104 * localedata/locales/ru_UA: Likewise.
28105 * localedata/locales/rw_RW: Likewise.
28106 * localedata/locales/sa_IN: Likewise.
28107 * localedata/locales/sat_IN: Likewise.
28108 * localedata/locales/sc_IT: Likewise.
28109 * localedata/locales/sd_IN: Likewise.
28110 * localedata/locales/sd_IN@devanagari: Likewise.
28111 * localedata/locales/se_NO: Likewise.
28112 * localedata/locales/sgs_LT: Likewise.
28113 * localedata/locales/shs_CA: Likewise.
28114 * localedata/locales/si_LK: Likewise.
28115 * localedata/locales/sid_ET: Likewise.
28116 * localedata/locales/sk_SK: Likewise.
28117 * localedata/locales/sl_SI: Likewise.
28118 * localedata/locales/sm_WS: Likewise.
28119 * localedata/locales/so_DJ: Likewise.
28120 * localedata/locales/so_ET: Likewise.
28121 * localedata/locales/so_KE: Likewise.
28122 * localedata/locales/so_SO: Likewise.
28123 * localedata/locales/sq_AL: Likewise.
28124 * localedata/locales/sq_MK: Likewise.
28125 * localedata/locales/sr_ME: Likewise.
28126 * localedata/locales/sr_RS: Likewise.
28127 * localedata/locales/sr_RS@latin: Likewise.
28128 * localedata/locales/ss_ZA: Likewise.
28129 * localedata/locales/st_ZA: Likewise.
28130 * localedata/locales/sv_FI: Likewise.
28131 * localedata/locales/sv_SE: Likewise.
28132 * localedata/locales/sw_KE: Likewise.
28133 * localedata/locales/sw_TZ: Likewise.
28134 * localedata/locales/szl_PL: Likewise.
28135 * localedata/locales/ta_IN: Likewise.
28136 * localedata/locales/ta_LK: Likewise.
28137 * localedata/locales/tcy_IN: Likewise.
28138 * localedata/locales/te_IN: Likewise.
28139 * localedata/locales/tg_TJ: Likewise.
28140 * localedata/locales/th_TH: Likewise.
28141 * localedata/locales/the_NP: Likewise.
28142 * localedata/locales/ti_ER: Likewise.
28143 * localedata/locales/ti_ET: Likewise.
28144 * localedata/locales/tig_ER: Likewise.
28145 * localedata/locales/tk_TM: Likewise.
28146 * localedata/locales/tl_PH: Likewise.
28147 * localedata/locales/tn_ZA: Likewise.
28148 * localedata/locales/to_TO: Likewise.
28149 * localedata/locales/tpi_PG: Likewise.
28150 * localedata/locales/tr_CY: Likewise.
28151 * localedata/locales/tr_TR: Likewise.
28152 * localedata/locales/ts_ZA: Likewise.
28153 * localedata/locales/tt_RU: Likewise.
28154 * localedata/locales/tt_RU@iqtelif: Likewise.
28155 * localedata/locales/ug_CN: Likewise.
28156 * localedata/locales/uk_UA: Likewise.
28157 * localedata/locales/unm_US: Likewise.
28158 * localedata/locales/ur_IN: Likewise.
28159 * localedata/locales/ur_PK: Likewise.
28160 * localedata/locales/uz_UZ: Likewise.
28161 * localedata/locales/uz_UZ@cyrillic: Likewise.
28162 * localedata/locales/ve_ZA: Likewise.
28163 * localedata/locales/vi_VN: Likewise.
28164 * localedata/locales/wa_BE: Likewise.
28165 * localedata/locales/wae_CH: Likewise.
28166 * localedata/locales/wal_ET: Likewise.
28167 * localedata/locales/wo_SN: Likewise.
28168 * localedata/locales/xh_ZA: Likewise.
28169 * localedata/locales/yi_US: Likewise.
28170 * localedata/locales/yo_NG: Likewise.
28171 * localedata/locales/yue_HK: Likewise.
28172 * localedata/locales/yuw_PG: Likewise.
28173 * localedata/locales/zh_CN: Likewise.
28174 * localedata/locales/zh_HK: Likewise.
28175 * localedata/locales/zh_SG: Likewise.
28176 * localedata/locales/zh_TW: Likewise.
28177 * localedata/locales/zu_ZA: Likewise.
28179 2017-11-13 Florian Weimer <fweimer@redhat.com>
28181 * support/next_to_fault.h, support/next_to_fault.c: New files.
28182 * support/Makefile (libsupport-routines): Add next_to_fault.
28183 * resolv/tst-inet_pton.c (struct next_to_fault)
28184 (next_to_fault_allocate, next_to_fault_free): Remove.
28185 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
28187 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
28189 * elf/dl-support.c: Include <dl-procruntime.c>.
28190 * include/link.h: Include <link_map.h>.
28191 * sysdeps/generic/dl-procruntime.c: New file.
28192 * sysdeps/generic/link_map.h: Likewise.
28193 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
28194 the writable ld.so namespace.
28196 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
28198 timezone: pacify GCC -Wstringop-truncation
28199 Problem reported by Martin Sebor in:
28200 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
28201 * timezone/zic.c (writezone): Use memcpy, not strncpy.
28203 2017-11-12 Florian Weimer <fweimer@redhat.com>
28205 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
28207 (tests): Add tst-xreadlink.
28208 * support/support.h (xstrndup): Declare.
28209 * support/xunistd.h (xunlink, xreadlink): Declare.
28210 * support/temp_file.h (support_create_temp_directory): Declare.
28211 * support/temp_file.c (support_create_temp_directory): New function.
28212 * support/support_chroot.c (support_chroot_create): Use it.
28213 * support/xreadlink.c: New file.
28214 * support/xstrndup.c: Likewise.
28215 * support/xunlink.c: Likewise.
28216 * support/tst-xreadlink.c: Likewise.
28218 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
28220 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
28222 2017-11-11 Florian Weimer <fweimer@redhat.com>
28226 * resolv/res_comp.c (printable_string, binary_hnok)
28227 (binary_leading_dash): New functions.
28228 (res_hnok): Reimplement using these functions and ns_name_pton.
28229 (res_ownok): Likewise.
28230 (res_mailok): Reimplement using printable_string, ns_name_pton and
28232 (res_dnok): Reimplement using printable_string and ns_name_pton.
28233 * resolv/tst-res_hnok.c (tests): Add additional tests.
28234 (LETTERDIGITS, PRINTABLE): Define.
28235 (do_test): Adjust one_char results.
28237 2017-11-11 Florian Weimer <fweimer@redhat.com>
28240 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
28241 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
28243 2017-11-11 Florian Weimer <fweimer@redhat.com>
28245 * resolv/tst-ns_name_pton.c: New file.
28246 * resolv/Makefile (tests): Add tst-ns_name_pton.
28247 (tst-ns_name_pton): Link against libresolv.
28249 2017-11-11 Florian Weimer <fweimer@redhat.com>
28251 * resolv/tst-res_hnok.c: New file.
28252 * resolv/Makefile (tests): Add tst-res_hnok.
28253 (tst-res_hnok): Link against libresolv.
28255 2017-11-11 Florian Weimer <fweimer@redhat.com>
28257 * resolv/tst-resolv-network.c: Use test framework instead explicit
28260 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
28262 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
28263 <jmp_buf-macros.h>.
28264 [!_ISOMAC] (STR_HELPER): New.
28265 [!_ISOMAC] (STR): Likewise.
28266 [!_ISOMAC] (TEST_SIZE): Likewise.
28267 [!_ISOMAC] (TEST_ALIGN): Likewise.
28268 [!_ISOMAC] (TEST_OFFSET): Likewise.
28269 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
28270 field offsets of jmp_buf as well as sigjmp_buf.
28271 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
28272 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
28273 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
28274 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
28275 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
28276 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
28277 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
28278 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
28279 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
28280 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
28282 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
28284 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
28285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
28289 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
28290 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
28291 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
28292 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
28293 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
28294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
28296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
28298 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
28299 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
28300 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
28302 2017-11-07 Joseph Myers <joseph@codesourcery.com>
28305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28306 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
28307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28308 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
28309 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28310 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
28311 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28312 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
28313 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28314 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
28315 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28316 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
28317 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28318 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
28319 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28320 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
28321 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28322 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
28323 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28324 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
28325 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28326 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
28327 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28328 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
28329 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28330 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
28331 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28332 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
28333 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28334 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
28335 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28336 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
28337 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28338 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
28339 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28340 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
28341 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28342 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
28343 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28344 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
28345 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28346 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
28347 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28348 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
28349 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28350 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
28351 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28352 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
28353 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28354 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
28355 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28356 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
28357 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28358 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
28359 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28360 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
28361 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28362 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
28363 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28364 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
28365 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28366 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
28367 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28368 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
28369 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28370 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
28371 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28372 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
28373 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28374 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
28375 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28376 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
28377 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28378 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
28379 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28380 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
28381 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28382 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
28383 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28384 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
28385 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28386 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
28387 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28388 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
28389 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28390 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
28391 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
28392 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
28394 * stdlib/tst-strtod.h (F16): New macro.
28400 (IF_FLOAT16): Likewise.
28401 (IF_FLOAT32): Likewise.
28402 (IF_FLOAT64): Likewise.
28403 (IF_FLOAT32X): Likewise.
28404 (IF_FLOAT64X): Likewise.
28405 (IF_FLOAT128X): Likewise.
28406 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
28407 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
28408 (STRTOD_TEST_FOREACH): Likewise.
28409 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
28410 (CHOOSE_f64): Likewise.
28411 (CHOOSE_f32x): Likewise.
28412 (CHOOSE_f64x): Likewise.
28414 2017-11-07 Andreas Schwab <schwab@suse.de>
28416 * nptl/Makefile (tests-internal): Remove tst-typesizes.
28418 2017-11-07 Mike FABIAN <mfabian@redhat.com>
28421 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
28423 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
28426 2017-11-07 Claude Paroz <claude@2xlibre.net>
28429 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
28431 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
28433 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
28436 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28439 * nptl/allocatestack.c (allocate_stack): Check if
28440 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
28441 __PTHREAD_MUTEX_HAVE_PREV is defined.
28442 * nptl/descr.h (pthread): Likewise.
28443 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28445 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28446 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28447 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
28448 * sysdeps/nptl/bits/thread-shared-types.h
28449 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28451 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
28452 of __WORDSIZE for internal layout.
28453 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
28454 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
28455 instead of __WORDSIZE whether to use an union for __spins and __list
28457 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
28459 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
28460 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
28462 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
28463 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28465 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
28466 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28468 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
28469 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28471 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
28472 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28474 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
28475 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28477 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
28478 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28480 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
28481 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28483 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
28484 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28486 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
28487 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28489 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
28490 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28492 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
28493 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28495 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
28496 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28498 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
28499 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28501 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
28502 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
28505 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
28507 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
28508 checks for expected input type size.
28509 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28510 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28512 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28513 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
28514 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28515 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
28516 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28517 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
28518 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
28519 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
28520 superflous runtime assert check.
28521 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
28523 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
28525 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
28527 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
28529 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
28531 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
28533 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
28534 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
28535 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
28537 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
28539 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
28541 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
28543 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
28545 * nptl/pthread_attr_setinheritsched.c
28546 (__pthread_attr_setinheritsched): Likewise.
28547 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
28549 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
28551 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
28552 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
28553 __old_pthread_attr_setstack): Likewise.
28554 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
28556 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
28558 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
28560 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
28561 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
28563 * nptl/tst-typesizes.c: Remove file.
28565 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
28566 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
28567 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
28568 checks for internal pthread_mutex_t offsets.
28569 * sysdeps/aarch64/nptl/pthread-offsets.h
28570 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
28571 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
28572 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
28573 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
28574 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
28575 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
28576 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
28577 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
28578 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
28579 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
28580 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
28581 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
28582 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
28583 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
28584 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
28585 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
28586 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
28587 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
28589 2017-11-07 Florian Weimer <fweimer@redhat.com>
28591 * bits/mman-linux.h: Move ...
28592 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
28594 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
28597 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28599 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
28600 Redefine STRNLEN as __strnlen_power8.
28602 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28604 * signal/sighold.c (sighold): Optimize implementation.
28606 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
28607 __NR_rt_sigqueueinfo.
28609 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28611 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
28612 assume __NR_rt_sigtimedwait.
28613 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
28614 and add LIBC_CANCEL_HANDLED for cancellation marking.
28615 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28617 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28618 (sysdeps_routines): Add memchr_noneon.
28619 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
28620 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
28621 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
28622 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
28623 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
28624 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
28625 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
28627 * sysdeps/arm/arm-ifunc.h: New file.
28628 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
28629 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
28630 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
28631 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
28632 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
28633 (__memcpy_neon): Avoid create hidden alias.
28634 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
28635 (__memcpy_vfp): Likewise.
28636 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
28637 (sysdep_routines): Add memcpy_arm.
28638 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
28640 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
28643 * Makerules (make-link-multidir): New.
28644 * config.make.in (multidir): New.
28645 * configure.ac (libc_cv_multidir): New. AC_SUBST.
28646 * configure: Regenerated.
28647 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
28648 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
28649 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
28652 2017-11-06 Joseph Myers <joseph@codesourcery.com>
28655 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
28656 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
28658 2017-11-04 Mike FABIAN <mfabian@redhat.com>
28660 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
28663 2017-11-04 Florian Weimer <fweimer@redhat.com>
28665 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
28667 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28669 * math/math.h [__HAVE_DISTINCT_FLOAT16
28670 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28671 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28672 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28673 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
28674 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
28675 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
28676 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28677 (__MATH_TG_F32): New macro.
28678 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28679 (__MATH_TG_F64X): Likewise.
28680 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
28681 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
28683 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
28685 * po/de.po: Update translations.
28686 * po/ru.po: Likewise.
28688 2017-11-03 Florian Weimer <fweimer@redhat.com>
28690 * manual/filesys.texi (Hard Links): Document linkat.
28692 2017-11-03 Joseph Myers <joseph@codesourcery.com>
28694 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
28695 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
28696 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
28697 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
28698 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28699 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28700 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
28701 the same as _Float128.
28702 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
28703 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
28704 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
28707 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
28709 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
28711 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
28713 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28714 (strtof32x): Likewise.
28715 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28716 (strtof64x): Likewise.
28717 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28718 (strtof128x): Likewise.
28719 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28720 (strfromf16): Likewise.
28721 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28722 (strfromf32): Likewise.
28723 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28724 (strfromf64): Likewise.
28725 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28726 (strfromf32x): Likewise.
28727 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28728 (strfromf64x): Likewise.
28729 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28730 (strfromf128x): Likewise.
28731 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
28732 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
28733 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
28734 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
28735 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
28736 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
28738 2017-11-03 Richard Henderson <rth@twiddle.net>
28740 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
28742 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28744 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
28746 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28748 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
28749 DT_TLSDESC_GOT initialization.
28750 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
28751 (_dl_tlsdesc_resolve_hold): Likewise.
28752 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
28753 (_dl_tlsdesc_resolve_hold): Likewise.
28754 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
28755 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28757 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28759 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
28761 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28764 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
28765 non-lazily for R_ARM_TLS_DESC.
28767 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28770 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
28771 R_ARM_TLS_DESC case.
28772 (elf_machine_lazy_rel): Remove the prelink check.
28774 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28776 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
28777 DT_TLSDESC_GOT initialization.
28778 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
28779 (_dl_tlsdesc_resolve_rela): Likewise.
28780 (_dl_tlsdesc_resolve_hold): Likewise.
28781 (_dl_tlsdesc_undefweak): Remove ldar.
28782 (_dl_tlsdesc_dynamic): Likewise.
28783 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
28784 (_dl_tlsdesc_resolve_rela): Likewise.
28785 (_dl_tlsdesc_resolve_hold): Likewise.
28786 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
28787 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
28788 (_dl_tlsdesc_resolve_rela): Likewise.
28789 (_dl_tlsdesc_resolve_hold): Likewise.
28791 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28793 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
28794 binding and initialization non-lazily for R_AARCH64_TLSDESC.
28796 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28798 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
28799 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28801 2017-11-02 Joseph Myers <joseph@codesourcery.com>
28803 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
28805 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
28806 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
28807 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
28808 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
28809 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
28810 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
28811 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
28812 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
28813 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
28814 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
28815 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
28817 2017-11-02 Mike FABIAN <mfabian@redhat.com>
28820 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
28821 * localedata/locales/tpi_PG: Add standard header.
28823 2017-11-02 Florian Weimer <fweimer@redhat.com>
28825 test-errno-linux: quotactl can fail with EPERM in containers.
28826 * sysdeps/unix/sysv/linux/test-errno-linux.c
28827 (LIST, LIST_FORWARD): New macros.
28828 (check_error_in_list): New function.
28829 (test_wrp_rv): Accept list of permitted error codes.
28830 (test_wrp_rv2): Remove.
28831 (test_wrp): Call test_wrp_rv with list of error codes.
28832 (test_wrp2): Accept list of error codes.
28833 (do_test): Adjust. Allow EPERM for quotactl.
28835 2017-11-02 Florian Weimer <fweimer@redhat.com>
28837 * stdio-common/bug16.c (do_test): Use array_length.
28838 * stdio-common/errlist.c (_sys_nerr): Likewise.
28839 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
28840 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
28841 * stdio-common/psiginfo.c (psiginfo): Use array_length.
28842 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
28843 (do_test): Use array_length.
28844 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
28845 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
28846 * stdio-common/tst-printf-round.c (do_test): Likewise.
28847 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
28848 (CHECK): Use array_length.
28849 * stdio-common/tstdiomisc.c (t3, F): Likewise.
28850 * stdio-common/tstscanf.c (main): Likewise.
28851 * stdio-common/vfprintf.c (process_string_arg): Likewise.
28853 2017-11-02 Florian Weimer <fweimer@redhat.com>
28855 Add array_length and array_end macros.
28856 * include/array_length.h: New file.
28858 2017-11-02 Florian Weimer <fweimer@redhat.com>
28861 * posix/tst-glob-tilde.c (do_noescape): New variable.
28862 (one_test): Process it.
28863 (do_test): Set do_noescape. Add unescaping test case.
28865 2017-11-01 Joseph Myers <joseph@codesourcery.com>
28868 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
28869 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
28870 with appropriate macros defined and undefined.
28871 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
28872 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28873 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
28874 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28875 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
28876 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28877 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
28878 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28879 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
28880 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
28883 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
28884 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
28885 that for long double. Do not condition define and undefine of
28886 _Mdouble_complex_ on [__CFLOAT128].
28888 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
28890 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28891 of <sysdeps/generic/sysdep.h>.
28892 (ALIGNARG): Removed.
28893 (ASM_SIZE_DIRECTIVE): Likewise.
28896 (ENTRY_CHK): Likewise.
28897 (END_CHK): Likewise.
28898 (syscall_error): Likewise.
28899 (mcount): Likewise.
28900 (PSEUDO_END): Likewise.
28902 (atom_text_section): Likewise.
28903 * sysdeps/x86/sysdep.h: New file.
28904 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
28905 of <sysdeps/generic/sysdep.h>.
28906 (ALIGNARG): Removed.
28907 (ASM_SIZE_DIRECTIVE): Likewise.
28910 (ENTRY_CHK): Likewise.
28911 (END_CHK): Likewise.
28912 (syscall_error): Likewise.
28913 (mcount): Likewise.
28914 (PSEUDO_END): Likewise.
28916 (atom_text_section): Likewise.
28918 2017-10-31 Rafał Lużyński <digitalfreak@lingonborough.com>
28920 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
28921 category of LC_CTYPE set to "i18n:2012".
28922 * localedata/locales/i18n_ctype: Regenerate.
28924 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
28926 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
28927 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
28928 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
28929 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
28931 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
28932 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
28933 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
28934 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
28936 2017-10-31 Joseph Myers <joseph@codesourcery.com>
28939 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
28941 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
28943 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
28945 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28946 (CMPLXF32X): Likewise.
28947 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28948 (CMPLXF64X): Likewise.
28949 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28950 (CMPLXF128X): Likewise.
28953 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
28954 (__MATH_EVAL_FMT2): Define to add 0.0f.
28956 2017-10-31 Alan Modra <amodra@gmail.com>
28958 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
28960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
28961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
28962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
28963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
28964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
28965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
28966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
28967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
28968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
28969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
28970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
28971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
28972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
28973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
28974 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
28975 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
28976 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
28977 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
28978 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
28979 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
28980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
28981 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
28982 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
28983 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
28984 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28985 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
28986 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
28987 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
28988 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
28989 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
28990 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28991 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28992 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
28993 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
28994 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
28995 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
28996 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
28997 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
28998 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
28999 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
29000 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
29001 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
29002 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
29003 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
29004 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
29005 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
29006 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
29007 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
29008 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29009 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29010 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
29011 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
29012 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
29013 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
29014 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29015 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
29016 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
29017 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
29018 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29019 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29020 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29021 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
29022 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
29023 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
29024 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
29025 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
29026 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
29027 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
29028 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
29030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
29031 include sysdep.h and math_ldbl_opt.h.
29033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
29034 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
29035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
29036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
29037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
29038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
29039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
29040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
29041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
29042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
29043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
29044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
29045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
29046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
29047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
29048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
29049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
29050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
29051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
29052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
29053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
29054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
29055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
29056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
29057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
29058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
29060 2017-10-31 Alan Modra <amodra@gmail.com>
29062 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
29063 string/strncase_l.c, not string/strncase.c.
29064 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
29065 (libc_hidden_def): Redefine.
29067 2017-10-31 Alan Modra <amodra@gmail.com>
29069 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
29070 (__STRCMP, STRCMP, __strcasecmp_l): Define.
29071 (__strcasecmp): Don't define.
29073 2017-10-31 Alan Modra <amodra@gmail.com>
29075 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
29077 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
29078 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
29079 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
29081 2017-10-31 Alan Modra <amodra@gmail.com>
29083 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
29086 2017-10-31 Alan Modra <amodra@gmail.com>
29088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
29089 Redefine only when SHARED.
29091 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29093 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29094 Include <bits/math-finite.h> with appropriate macros defined and
29096 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29097 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29098 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29099 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29100 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29102 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
29103 [!_Mlong_double_] (_Mlong_double_): Likewise.
29104 [!_Mfloat16_] (_Mfloat16_): Likewise.
29105 [!_Mfloat32_] (_Mfloat32_): Likewise.
29106 [!_Mfloat64_] (_Mfloat64_): Likewise.
29107 [!_Mfloat128_] (_Mfloat128_): Likewise.
29108 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
29109 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
29110 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
29111 (_Mdouble_): Define without indirection through those macros.
29112 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
29113 [!_Mfloat128_] (_Mfloat128_): Likewise.
29114 [_Mlong_double_] (_Mlong_double_): Likewise.
29115 (_Mdouble_): Define without indirection through those macros.
29116 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
29117 not add -D_Mlong_double_=double.
29118 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
29119 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
29121 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29123 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
29125 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29127 * sysdeps/x86/libc-start.c: Reformat.
29129 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
29132 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
29133 (1): Renamed to ...
29136 (L(Src2)): Likewise.
29137 (L(1)): Renamed to ...
29140 2017-10-30 Joseph Myers <joseph@codesourcery.com>
29142 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
29143 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
29144 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
29145 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
29146 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
29147 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
29148 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
29149 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
29150 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
29151 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
29152 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
29153 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
29154 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
29155 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
29156 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
29157 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
29158 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
29159 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
29160 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
29161 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
29162 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
29163 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
29164 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
29165 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
29166 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
29167 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
29168 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
29169 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
29170 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
29171 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
29172 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
29173 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
29174 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
29175 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
29176 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
29177 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
29178 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
29179 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
29180 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
29181 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
29182 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
29183 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
29184 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
29185 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
29186 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
29187 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
29188 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
29189 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
29190 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
29191 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
29192 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
29193 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
29194 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
29195 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
29196 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
29197 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
29198 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
29199 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
29200 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
29201 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
29202 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
29203 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
29204 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
29205 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
29206 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
29207 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
29209 2017-10-30 Florian Weimer <fweimer@redhat.com>
29211 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
29213 * io/tst-mkdirat.c (do_test): Likewise.
29214 * io/tst-mkfifoat.c (do_test): Likewise.
29215 * io/tst-mknodat.c (do_test): Likewise.
29216 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
29217 * locale/programs/locale.c (select_dirs): Likewise.
29218 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
29219 * posix/bug-glob2.c (my_readdir): Likewise.
29220 * posix/tst-dir.c (main): Likewise.
29221 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
29222 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
29224 2017-10-30 Florian Weimer <fweimer@redhat.com>
29226 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
29229 2017-10-30 Florian Weimer <fweimer@redhat.com>
29231 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
29232 Convert to support/test-driver.c.
29233 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
29234 New macro parameters.
29235 (PRINTF): Remove macro. Use test_verbose conditionals instead.
29236 * posix/tst-gnuglob.c: New file.
29237 * posix/tst-gnuglob64.c: Likewise.
29238 * posix/Makefile (tests): Add tst-gnuglob64.
29240 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
29243 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
29244 and use a better translation for March in “mon”.
29245 * localedata/locales/csb_PL: Use more ASCII to improve the
29246 readability of the source.
29248 2017-10-30 Mike FABIAN <mfabian@redhat.com>
29251 * localedata/locales/km_KH: Use ASCII as much
29252 as possible for better readability of the source and
29253 remove useless comments.
29254 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
29255 was commented out and apparently wrong anyway because it was
29256 using Lao characters. If Buddhist era should be used
29257 for km_KH, a native speaker should write the correct formaat
29259 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
29260 (According to CLDR, the first weekday for Cambodia is Sunday).
29261 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
29262 (These were using Lao characters which must be wrong. If we get
29263 the correct data from a native speaker, we could add it back, until
29264 then it is better not to have name_mr and name_mrs at all than
29267 2017-10-27 Rafał Lużyński <digitalfreak@lingonborough.com>
29269 * locale/loadlocale.c: Correct size of
29270 _nl_value_type_LC_<category> arrays.
29272 2017-10-27 Joseph Myers <joseph@codesourcery.com>
29274 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
29275 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
29276 with appropriate macros defined and undefined.
29277 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
29278 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
29279 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
29280 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
29281 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
29283 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
29285 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
29288 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29290 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
29291 with lowercase letters to make it agree with CLDR.
29293 2017-10-27 Mike FABIAN <mfabian@redhat.com>
29296 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
29297 first letters of yesstr and nostr in yesexpr and noexpr,
29298 not for the full words.
29299 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29300 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
29301 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
29302 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
29303 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
29304 first letters of yesstr and nostr in yesexpr and noexpr,
29305 until now only English was matched in yesexpr and noexpr.
29306 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
29307 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
29308 fil but not for tl. As tl and fil are very similar, using fil
29309 is probably better than using English.
29311 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
29314 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
29315 in yesstr and nostr.
29317 2017-10-26 Joseph Myers <joseph@codesourcery.com>
29319 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29320 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
29321 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
29323 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
29325 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
29327 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
29329 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29330 (SNANF128X): Likewise.
29332 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
29333 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
29334 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29335 (HUGE_VAL_F32): Likewise.
29336 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29337 (HUGE_VAL_F64): Likewise.
29338 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29339 (HUGE_VAL_F32X): Likewise.
29340 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29341 (HUGE_VAL_F64X): Likewise.
29342 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
29343 (HUGE_VAL_F128X): Likewise.
29345 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29347 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
29348 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
29349 for the br_FR locale.
29351 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
29354 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
29356 2017-10-25 Carlos O'Donell <carlos@redhat.com>
29358 * locale/programs/record-status.h: Define globals, and function
29359 prototypes. Move function bodies...
29360 * locale/programs/record-status.c: ... to here. New file.
29361 * iconv/Makefile (iconv_prog-modules): Add record-status.
29362 * locale/Makefile (lib-modules): Likewise.
29363 * iconv/iconv_prog.c: Remove verbose.
29364 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
29365 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
29366 record a warning about ASCII compatibility.
29367 * locale/programs/ld-monetary.c (monetary_finish): If
29368 warn_int_curr_symbol is true then record a warning about the symbol
29369 not being in our ISO 4217 list.
29370 * locale/programs/locale.c: Include record-status.h. Remove verbose.
29371 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
29372 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
29373 (OPT_NO_WARN): Define.
29374 (OPT_WARN): Define.
29375 (options): Add entry for --no-warnings, and --warnings.
29376 (set_warnings): New function to enable/disable warnings.
29377 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
29378 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
29379 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
29380 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
29381 Pass flags to generate_locale.
29382 (generate_locale): Accept new flag argument and pass it to localedef
29384 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
29385 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
29387 * localedata/Makefile (test-input-data): Use full file name.
29388 * localedata/da_DK.in: Rename to...
29389 * localedata/da_DK.ISO-8859-1.in: ...this.
29390 * localedata/de_DE.in: Rename to...
29391 * localedata/de_DE.ISO-8859-1.in: ...this.
29392 * localedata/en_US.in: Rename to...
29393 * localedata/en_US.ISO-8859-1.in: ...this.
29394 * localedata/fr_FR.in: Rename to...
29395 * localedata/fr_FR.UTF-8.in: ... this.
29396 * localedata/hr_HR.in: Rename to...
29397 * localedata/hr_HR.ISO-8859-2.in: ...this.
29398 * localedata/hu_HU.in: Rename to...
29399 * localedata/hu_HU.UTF-8.in: ...this.
29400 * localedata/si_LK.in: Rename to...
29401 * localedata/si_LK.UTF-8.in: ...this.
29402 * localedata/sv_SE.in: Rename to...
29403 * localedata/sv_SE.ISO-8859-1.in: ...this.
29404 * localedata/tr_TR.in: Rename to...
29405 * localedata/tr_TR.UTF-8.in: ...this.
29406 * localedata/uk_UA.in: Rename to...
29407 * localedata/uk_UA.UTF-8.in: ...this.
29408 * localedata/sort-test.sh: Test file is locale name with the
29411 * localedata/unicode-gen/Makefile (check_i18n): Rename to
29412 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
29414 * localedata/locales/i18n_ctype: Regenerate.
29415 * localedata/locales/tr_TR: Likewise.
29416 * localedata/locales/translit_circle: Likewise.
29417 * localedata/locales/translit_cjk_compat: Likewise.
29418 * localedata/locales/translit_combining: Likewise.
29419 * localedata/locales/translit_compat: Likewise.
29420 * localedata/locales/translit_font: Likewise.
29421 * localedata/locales/translit_fraction: Likewise.
29423 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29425 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
29426 lxvd2x/stxvd2x with lvx/stvx.
29427 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
29429 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
29431 * include/alloc_buffer.h: Replace "if if " with "if " in
29433 * sysdeps/mips/memcpy.S: Likkewise.
29434 * sysdeps/mips/memset.S: Likewise.
29435 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
29437 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
29439 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
29442 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29445 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
29446 yesexpr and noexpr.
29447 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29448 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29449 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29450 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29451 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29452 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29453 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29455 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29457 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
29458 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29459 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29460 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29461 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29462 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
29463 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29464 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29465 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29466 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29467 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29468 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29470 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29472 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
29473 as possible for better readability of the source.
29474 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
29475 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
29476 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
29477 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
29478 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
29479 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
29480 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
29481 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
29482 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
29483 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
29484 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
29485 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
29486 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
29487 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
29488 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
29489 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
29490 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
29491 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
29492 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
29493 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
29494 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
29495 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
29496 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
29497 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
29498 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
29499 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
29500 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
29501 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
29502 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
29503 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
29504 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
29505 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
29506 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
29507 * localedata/locales/en_US (LC_MESSAGES): Likewise.
29508 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
29509 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
29510 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
29511 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
29512 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
29513 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
29514 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
29515 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
29516 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
29517 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
29518 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
29519 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
29520 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
29521 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
29522 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
29523 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
29524 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
29525 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
29526 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
29527 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
29528 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
29529 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
29530 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
29531 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
29532 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
29533 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
29534 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
29535 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
29536 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
29537 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
29538 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
29539 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
29540 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
29541 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
29542 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
29543 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
29544 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
29545 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
29546 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
29547 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
29548 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
29549 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
29550 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
29551 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
29552 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
29553 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
29554 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
29555 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
29556 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
29557 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
29558 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
29559 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
29560 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
29561 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
29562 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
29563 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
29564 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
29565 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
29566 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
29567 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
29568 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
29569 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
29570 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
29571 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
29572 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
29573 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
29574 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
29575 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
29576 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
29577 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
29578 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
29579 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
29580 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
29581 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
29582 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
29583 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
29584 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
29585 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
29586 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
29587 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
29588 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
29589 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
29590 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
29591 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
29592 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
29593 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
29594 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
29595 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
29596 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
29597 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
29598 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
29599 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
29600 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
29601 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
29602 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
29603 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
29604 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
29605 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
29606 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
29607 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
29608 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
29609 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
29610 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
29611 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
29612 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
29613 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
29614 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
29615 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
29616 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
29617 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
29618 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
29619 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
29620 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
29621 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
29622 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
29623 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
29624 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
29625 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
29626 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
29627 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
29628 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
29629 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
29630 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
29631 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
29632 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
29633 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
29634 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
29635 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
29636 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
29637 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
29638 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
29639 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
29640 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
29641 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
29642 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
29643 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
29644 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
29645 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
29646 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
29647 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
29649 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29651 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
29652 (Use first letters of yesstr and nostr correctly instead of using
29655 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29657 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
29658 (Use first letters of yesstr and nostr correctly).
29660 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29662 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
29663 also check for the first characters of yesstr and nostr.
29664 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
29665 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
29667 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29669 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
29670 also check for Chinese characters.
29672 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29674 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
29675 match also for the contents of yesstr and nostr. As the first letter
29676 of yesstr and nostr is equal, checking only for the first letter
29679 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29681 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
29682 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
29684 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29686 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
29687 of main contributor.
29689 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29691 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
29692 instead of using English.
29694 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29696 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
29697 by including the first letters of nostr and yesexpr in the regexp.
29698 Also make it more readable by using ASCII where possible.
29700 2017-10-25 Mike FABIAN <mfabian@redhat.com>
29702 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
29703 the first letter of nostr in the regexp. It agrees with CLDR now.
29704 Also make it more readable by using ASCII where possible.
29706 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29708 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
29709 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
29710 these strings contain a U+17D6 (which somewhat looks like a colon)
29711 instead of a real colon to separate the full words for “yes”
29712 and “no” from the single letter responses.
29714 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29716 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
29717 it agree with CLDR (include the first letter of yesstr).
29718 Also make it more readable by using ASCII where possible.
29720 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29722 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
29723 and improve yesexpr and noexpr. The yesstr and nostr apparently
29724 came from CLDR. And CLDR has a bug there: these strings contain
29725 a U+0903 (which looks like a colon) instead of a real colon
29726 to separate the full words for “yes” and “no” from the single
29729 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29731 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
29732 letters of the full yesstr and nostr in yesexpr and noexpr.
29734 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29736 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
29737 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
29738 * localedata/locales/an_ES: Make source more readable by using ASCII
29741 2017-10-24 Mike FABIAN <mfabian@redhat.com>
29744 * localedata/locales/yuw_PG: New file.
29745 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
29746 * locale/iso-639.def: Add Yau (Uruwa).
29748 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29750 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
29752 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29754 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
29755 (__libc_realloc): Likewise.
29756 (_mid_memalign): Likewise.
29757 (__libc_calloc): Likewise.
29759 2017-10-23 Mike FABIAN <mfabian@redhat.com>
29761 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
29762 by adding the generic +1 and -0 as in all other locales.
29763 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
29764 day names and make it more readable by using ASCII where possible.
29766 2017-10-24 Joseph Myers <joseph@codesourcery.com>
29768 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
29769 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
29771 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29773 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
29774 WNOHANG in waitpid call.
29776 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
29778 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
29779 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
29781 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
29782 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
29783 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
29784 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
29785 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
29786 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
29787 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
29788 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
29791 2017-10-23 Michael Collison <michael.collison@arm.com>
29793 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
29794 with __builtin_sqrt.
29795 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
29796 with __builtin_sqrtf.
29797 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
29798 with __builtin_ceil.
29799 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
29800 with __builtin_ceilf.
29801 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
29802 with __builtin_floor.
29803 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
29804 with __builtin_floorf.
29805 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
29806 with __builtin_fma.
29807 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
29808 with __builtin_fmaf.
29809 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
29810 with __builtin_fmax.
29811 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
29812 with __builtin_fmaxf.
29813 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
29814 with __builtin_fmin.
29815 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
29816 with __builtin_fminf.
29817 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
29818 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
29819 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
29820 with builtin_rint and conversion to int.
29821 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
29822 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
29823 with builtin_llround.
29824 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
29825 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
29826 with builtin_rint and conversion to long int.
29827 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
29828 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
29829 with builtin_lround.
29830 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
29831 with builtin_lroundf.
29832 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
29833 statements with __builtin_nearbyint.
29834 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
29835 statements with __builtin_nearbyintf.
29836 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
29837 with __builtin_rint.
29838 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
29839 with __builtin_rintf.
29840 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
29841 with __builtin_round.
29842 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
29843 with __builtin_roundf.
29844 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
29845 with __builtin_trunc.
29846 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
29847 with __builtin_truncf.
29848 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
29849 and s_l[l]round[f].c too.
29851 2017-10-23 Alan Modra <amodra@gmail.com>
29853 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
29854 Adjust stack after restoring regs. Add missing LR cfi_restore.
29856 2017-10-23 Alan Modra <amodra@gmail.com>
29858 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
29859 Move LR save and frame setup/teardown and LR restore to
29860 immediately around memset call. Provide cfi.
29862 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29864 * sysdeps/i386/fpu/e_powf.S: Removed.
29865 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
29866 * sysdeps/i386/fpu/w_powf.c: Likewise.
29867 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
29868 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29869 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29871 (CFLAGS-e_powf-sse2.c): New.
29872 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
29873 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
29875 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29877 * sysdeps/i386/fpu/e_log2f.S: Removed.
29878 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
29879 * sysdeps/i386/fpu/w_log2f.c: Likewise.
29880 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
29881 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29882 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29884 (CFLAGS-e_log2f-sse2.c): New.
29885 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
29886 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
29888 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29892 (CFLAGS-e_powf-fma.c): New.
29893 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
29894 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
29896 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29898 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29900 (CFLAGS-e_log2f-fma.c): New.
29901 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
29902 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
29904 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29906 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29908 (CFLAGS-e_logf-fma.c): New.
29909 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
29910 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
29912 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29914 * sysdeps/i386/fpu/e_logf.S: Removed.
29915 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
29916 * sysdeps/i386/fpu/w_logf.c: Likewise.
29917 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
29918 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
29919 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29920 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29922 (CFLAGS-e_logf-sse2.c): New.
29923 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
29924 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
29926 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29928 * sysdeps/i386/fpu/e_exp2f.S: Removed.
29929 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
29930 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
29931 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29932 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29934 (CFLAGS-e_exp2f-sse2.c): New.
29935 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
29936 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
29938 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29940 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29942 (CFLAGS-e_exp2f-fma.c): New.
29943 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
29944 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
29946 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29948 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
29949 * sysdeps/i386/fpu/e_expf.S: Likewise.
29950 * sysdeps/i386/fpu/math_errf.c: Likewise.
29951 * sysdeps/i386/fpu/w_expf.c: Likewise.
29952 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
29953 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29954 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
29955 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
29956 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
29957 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
29958 Remove e_expf-ia32.
29959 (CFLAGS-e_expf-sse2.c): New.
29960 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
29961 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
29963 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
29965 * sysdeps/x86_64/fpu/e_expf.S: Removed.
29966 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
29967 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
29968 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
29970 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
29972 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
29973 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
29975 (__redirect_expf): This.
29976 (SYMBOL_NAME): Changed to expf.
29977 (__ieee754_expf): Renamed to ...
29979 (__GI___expf): This.
29980 (__ieee754_expf): Add strong_alias.
29981 (__expf_finite): Likewise.
29983 Include <sysdeps/ieee754/flt-32/e_expf.c>.
29985 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
29988 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
29991 2017-10-21 Florian Weimer <fweimer@redhat.com>
29993 * posix/Makefile (tests): Add tst-glob-tilde.
29994 (tests-special): Add tst-glob-tilde-mem.out
29995 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
29996 (tst-glob-tilde-mem.out): Add mtrace check.
29997 * posix/tst-glob-tilde.c: New file.
29999 2017-10-20 Joseph Myers <joseph@codesourcery.com>
30001 * bits/floatn-common.h: New file.
30002 * math/Makefile (headers): Add bits/floatn-common.h.
30003 * bits/floatn.h: Include <bits/floatn-common.h>.
30004 * sysdeps/ia64/bits/floatn.h: Likewise.
30005 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30006 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
30007 * sysdeps/powerpc/bits/floatn.h: Likewise.
30008 * sysdeps/x86/bits/floatn.h: Likewise.
30010 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30012 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
30013 indicates whether compiler emits an warning for alias for
30014 functions with incompatible types.
30017 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
30018 the auxiliary process is terminated by a signal before calling _exit
30021 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30024 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
30026 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
30027 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
30028 and bit_arch_XSAVEC_Usable if needed.
30029 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
30030 and bit_arch_Use_dl_runtime_resolve_opt.
30031 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
30033 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
30034 (bit_arch_Prefer_No_AVX512): Updated.
30035 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
30036 (bit_arch_XSAVEC_Usable): New.
30037 (STATE_SAVE_OFFSET): Likewise.
30038 (STATE_SAVE_MASK): Likewise.
30039 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
30040 (cpu_features): Add xsave_state_size and xsave_state_full_size.
30041 (index_arch_Use_dl_runtime_resolve_opt): Removed.
30042 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
30043 (index_arch_XSAVEC_Usable): New.
30044 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30045 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
30046 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
30048 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
30049 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
30050 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
30051 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
30052 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
30053 _dl_runtime_resolve_xsavec.
30054 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
30056 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
30057 instead of VEC_SIZE.
30058 (REGISTER_SAVE_BND0): Removed.
30059 (REGISTER_SAVE_BND1): Likewise.
30060 (REGISTER_SAVE_BND3): Likewise.
30061 (REGISTER_SAVE_RAX): Always defined to 0.
30063 (_dl_runtime_resolve_avx): Likewise.
30064 (_dl_runtime_resolve_avx_slow): Likewise.
30065 (_dl_runtime_resolve_avx_opt): Likewise.
30066 (_dl_runtime_resolve_avx512): Likewise.
30067 (_dl_runtime_resolve_avx512_opt): Likewise.
30068 (_dl_runtime_resolve_sse): Likewise.
30069 (_dl_runtime_resolve_sse_vex): Likewise.
30071 (_dl_runtime_resolve_fxsave): Likewise.
30072 (USE_XSAVE): Likewise.
30073 (_dl_runtime_resolve_xsave): Likewise.
30074 (USE_XSAVEC): Likewise.
30075 (_dl_runtime_resolve_xsavec): Likewise.
30076 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
30078 (_dl_runtime_resolve_avx512_opt): Likewise.
30079 (_dl_runtime_resolve_avx): Likewise.
30080 (_dl_runtime_resolve_avx_opt): Likewise.
30081 (_dl_runtime_resolve_sse): Likewise.
30082 (_dl_runtime_resolve_sse_vex): Likewise.
30083 (_dl_runtime_resolve_fxsave): New.
30084 (_dl_runtime_resolve_xsave): Likewise.
30085 (_dl_runtime_resolve_xsavec): Likewise.
30087 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
30091 * posix/glob.c (__glob): Fix one-byte overflow.
30093 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30095 * malloc/malloc.c (sysdep-cancel.h): Add include.
30097 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
30099 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
30101 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
30103 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
30104 (tests): Remove $(objpfx)ga_test depdendency.
30105 * resolv/ga_test.c: Remove file.
30107 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30110 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
30111 * localedata/locales/kab_DZ: New file.
30113 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30115 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
30116 _dl_relocate_static_pie instead of _dl_start to compute load
30117 address in static PIE.
30119 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
30121 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
30123 2017-10-20 Mike FABIAN <mfabian@redhat.com>
30126 * localedata/SUPPORTED: Add shn_MM/UTF-8.
30127 * localedata/locales/shn_MM: New file.
30129 2017-10-20 Florian Weimer <fweimer@redhat.com>
30132 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
30133 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
30134 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
30135 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
30136 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
30137 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
30139 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
30141 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30143 2017-10-19 Joseph Myers <joseph@codesourcery.com>
30145 * sysdeps/mips/ieee754/bits/floatn.h: New file.
30148 * sysdeps/mips/bits/long-double.h: Move to ....
30149 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
30151 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
30153 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
30155 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
30156 H.J. Lu <hongjiu.lu@intel.com>
30159 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
30160 GLRO(dl_platform) to NULL.
30161 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
30162 (modules-names): Add tst-platformmod-1 and
30163 x86_64/tst-platformmod-2.
30164 (CFLAGS-tst-platform-1.c): New.
30165 (CFLAGS-tst-platformmod-1.c): Likewise.
30166 (CFLAGS-tst-platformmod-2.c): Likewise.
30167 (LDFLAGS-tst-platformmod-2.so): Likewise.
30168 ($(objpfx)tst-platform-1): Likewise.
30169 ($(objpfx)tst-platform-1.out): Likewise.
30170 (tst-platform-1-ENV): Likewise.
30171 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
30172 * sysdeps/x86_64/tst-platform-1.c: New file.
30173 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
30174 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
30176 2017-10-19 Mike FABIAN <mfabian@redhat.com>
30179 * locale/iso-639.def: Add Karbi.
30180 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
30181 * localedata/locales/mjw_IN: New file.
30183 2017-10-18 Joseph Myers <joseph@codesourcery.com>
30185 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
30186 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
30187 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
30188 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
30189 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30190 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30191 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
30193 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
30194 (libm_alias_ldouble_other_r): Also create _Float128 alias.
30195 * manual/math.texi (Mathematics): Document additional architecture
30196 support for _Float128.
30197 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
30198 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
30199 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
30200 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
30201 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
30202 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
30203 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
30204 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
30205 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
30206 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
30207 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
30208 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
30209 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
30210 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
30211 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
30213 2017-10-18 Renlin Li <renlin.li@arm.com>
30215 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
30216 _DYNAMIC symbol to calculate load address.
30218 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
30220 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
30221 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
30223 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
30224 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
30226 2017-10-18 Mike FABIAN <mfabian@redhat.com>
30229 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
30230 and improve readability by using more ASCII.
30231 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
30232 and improve readability by using more ASCII.
30234 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
30236 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
30237 not all targets support atomics on bool.
30239 2017-10-17 Joseph Myers <joseph@codesourcery.com>
30241 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
30242 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
30244 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30245 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
30246 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30247 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
30248 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
30249 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
30251 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30253 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
30256 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30259 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
30260 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
30261 (do_check_remalloced_chunk): Fix build bug.
30262 (do_check_malloc_state): Add assert that checks arena->top.
30263 (malloc_consolidate): Remove initialization.
30264 (int_mallinfo): Remove call to malloc_consolidate.
30265 (__libc_mallopt): Clarify why malloc_consolidate is needed.
30267 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30269 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
30270 (have_fastchunks): Remove.
30271 (clear_fastchunks): Remove.
30272 (set_fastchunks): Remove.
30273 (malloc_state): Add have_fastchunks.
30274 (malloc_init_state): Use have_fastchunks.
30275 (do_check_malloc_state): Remove incorrect invariant checks.
30276 (_int_malloc): Use have_fastchunks.
30277 (_int_free): Likewise.
30278 (malloc_consolidate): Likewise.
30280 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
30282 * malloc/malloc.c (tcache_put): Inline.
30283 (tcache_get): Inline.
30285 2017-10-17 Jordi Mallach <jordi@gnu.org>
30287 Aurelien Jarno <aurelien@aurel32.net>
30289 * localedata/locales/ca_ES@valencia: New file.
30290 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
30292 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
30295 * math/math.h: Let signbit use the builtin in C++ mode with gcc
30298 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30300 * scripts/build-many-glibcs.py (Context.add_all_configs):
30301 Add arm-linux-gnueabihf multiarch extra_glibcs.
30303 * sysdeps/generic/ifunc-init.h: New file.
30304 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
30306 2017-10-17 Mike FABIAN <mfabian@redhat.com>
30309 * localedata/locales/el_GR: Set n_cs_precedes to 0.
30310 * localedata/locales/el_CY: copy "el_GR" because it is identical.
30311 * stdlib/tst-strfmon_l.c: adapt test case.
30313 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30315 * sysdeps/generic/float128-abi.h: New file.
30316 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
30317 non-__prefixed symbols to ....
30318 * math/Versions: ... here. Include <float128-abi.h>.
30319 * stdlib/Versions ... and here. Include <float128-abi.h>
30321 2017-10-16 Florian Weimer <fweimer@redhat.com>
30323 * version.h (VERSION): Switch to ".9000" as the development
30326 2017-10-16 Florian Weimer <fweimer@redhat.com>
30329 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
30330 compat_symbol_reference to access non-default version.
30332 2017-10-16 Florian Weimer <fweimer@redhat.com>
30334 * malloc/Makefile (others-extras): Set to mcheck-init.o.
30336 2017-10-16 Carlos O'Donell <carlos@redhat.com>
30338 * include/shlib-compat.h (compat_symbol_reference): Update
30341 2017-10-16 Joseph Myers <joseph@codesourcery.com>
30343 * math/Makefile (test-types): Add
30344 $(type-float128-$(float128-alias-fcts)).
30345 * math/test-float128.h (TYPE_STR): Define conditional on
30346 [FLT128_MANT_DIG == LDBL_MANT_DIG].
30347 (ULP_IDX): Likewise.
30348 (ULP_I_IDX): Likewise.
30350 * stdlib/strtold.c: Include <bits/floatn.h>
30351 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
30352 and later undefine as macro. Define as weak alias if
30354 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
30355 and later undefine as macro. Define as weak alias if
30357 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
30358 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
30359 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
30360 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30361 Define and later undefine as macro. Define as weak alias if
30363 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
30365 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
30366 Define and later undefine as macro. Define as weak alias if
30368 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
30369 Define and later undefine as macro. Define as weak alias if
30372 2017-10-15 Carlos O'Donell <carlos@redhat.com>
30374 * localedata/collate-test.c (allocate_arrays): Don't use \n in
30375 record_verbose messages.
30377 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
30380 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
30381 to silence -O3 -Wall warning with GCC 7.
30383 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
30385 * Makeconfig (+link-static-before-libc): Use the first of
30386 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
30387 * gmon/Makefile (tests): Add tst-gmon-static.
30388 (tests-static): Likewise.
30389 (CFLAGS-tst-gmon-static.c): New.
30390 (CRT-tst-gmon-static): Likewise.
30391 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
30392 (tst-gmon-static-ENV): Likewise.
30393 (tests-special): Likewise.
30394 ($(objpfx)tst-gmon-static.out): Likewise.
30395 (clean-tst-gmon-static-data): Likewise.
30396 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
30397 * gmon/tst-gmon-static-gprof.sh: New file.
30398 * gmon/tst-gmon-static.c: Likewise.
30400 2017-10-13 Carlos O'Donell <carlos@redhat.com>
30403 * locale/programs/linereader.c (get_string): Don't warn on
30404 non-symbolic character.
30407 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
30411 * locale/programs/record-status.h: New file
30412 * locale/programs/locale.c: Add comment.
30413 * locale/programs/charmap-dir.c: Don't include error.h.
30414 (charmap_opendir): Use record_error.
30415 * locale/programs/charmap.c: Don't include error.h.
30416 (charmap_read): Use record_error, and record_warning.
30417 (parse_charmap): Likewise.
30418 * locale/programs/ld-address.c: Don't include error.h.
30419 (address_finish): Use record_error, and record_warning.
30420 * locale/programs/ld-collate.c: Don't include error.h.
30421 (collate_finish): Use record_error, and record_error_at_line.
30422 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
30423 (ctype_class_new): Likewise.
30424 (ctype_map_new): Likewise.
30425 (set_one_default): Likewise.
30426 (set_class_defaults): Likewise.
30427 (translit_flatten): Likewise.
30428 (allocate_arrays): Use record_error, and record_verbose.
30429 * locale/programs/ld-identification.c: Don't include error.h.
30430 (indentation_finish): Use record_error and record_warning.
30431 * locale/programs/ld-measurement.c: Don't include error.h.
30432 (measurement_finish): Use record_error.
30433 * locale/programs/ld-messages.c
30434 (message_finish): Likewise.
30435 * locale/programs/ld-monetary.c
30436 (monetary_finish): Likewise.
30437 * locale/programs/ld-name.c (name_finish): Use record_error
30438 and record_warning.
30439 * locale/programs/ld-numeric.c
30440 (numeric_finish): Use record_error.
30441 * locale/programs/ld-paper.c: Don't include error.h.
30442 (paper_finish): Use record_error.
30443 * locale/programs/ld-telephone.c: Don't include error.h.
30444 (telephone_finish): Use record_error.
30445 * locale/programs/ld-time.c (time_finish): Likewise.
30446 * locale/programs/linereader.h (lr_error): Make inline func.
30447 * locale/programs/localedef.c: Define recorded_warning_count,
30448 and recorded_error_count.
30449 (main): Use record_error. Use recorded_error_count and
30450 recorded_warning_count to issue correct error returns.
30451 (add_to_readlist): Use record_error.
30452 (find_locale): Likewise.
30453 (load_locale): Likewise.
30454 * locale/programs/localedef.h: Remove be_quiet
30455 and WITH_CUR_LOCALE.
30456 * locale/programs/locarchive.c (compare_from_file): Use
30458 * locale/programs/locfile.c (write_locale_data): Use
30460 * locale/programs/repertoire.c: Dont include error.h.
30461 (repertoire_complain): Use record_error.
30462 * localedata/tst-fmon.sh: Expect failures from localedef.
30463 * localedata/tst-locale.sh: Likewise.
30464 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
30466 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
30467 (REPORTS): Likewise.
30469 (i18n): Rename to...
30470 (i18n_ctype): ...this.
30471 (i18n-report): Rename to...
30472 (i18n_ctype-report): ...this.
30473 * localedata/locales/i18n_ctype: Regenerate.
30474 * localedata/locales/i18n: copy i18n_ctype.
30476 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30478 * stdlib/strfroml.c: Include <bits/floatn.h>.
30479 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
30480 Define before include of <stdlib.h> and undefine afterwards, then
30481 define as weak alias.
30483 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
30484 Undefine and restore default definition. Use
30485 libm_alias_ldouble_other.
30487 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
30490 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
30493 2017-10-13 James Clarke <jrtc27@jrtc27.com>
30495 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30496 Assign sym_map to be map for local symbols, as TLS relocations
30497 use sym_map to determine whether the symbol is defined and to
30498 extract the TLS information.
30499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30500 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30502 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30505 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
30506 (math_force_eval): Add powerpc version.
30509 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
30511 (do_test): Likewise.
30512 * stdio-common/tst-printf.sh: Likewise.
30513 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
30514 ifdef clause in order to set the carry bit right. Replace r0 by
30515 0 without changing the behavior.
30517 2017-10-13 Joseph Myers <joseph@codesourcery.com>
30519 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
30520 <libm-alias-ldouble.h>.
30521 (fabsl): Define using libm_alias_ldouble.
30522 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
30523 <libm-alias-ldouble.h>.
30524 (fabsl): Define using libm_alias_ldouble.
30526 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
30527 Remove conditional code.
30529 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
30530 Rename to __clog10_internal_l.
30531 (__clog10_internal_l): Define aliases using
30532 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
30535 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30537 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
30538 * benchtests/sincosf-inputs: New file.
30539 * benchtests/cosf-inputs: New file.
30540 * benchtests/sinf-inputs: New file.
30542 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
30544 * posix/tst-spawn.c (do_test): Wait for both children.
30546 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
30549 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
30550 tests-pie): Add tst-gmon-pie.
30551 (CFLAGS-tst-gmon-pie.c): New.
30552 (CRT-tst-gmon-pie): Likewise.
30553 (tst-gmon-pie-ENV): Likewise.
30554 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
30555 ($(objpfx)tst-gmon-pie.out): Likewise.
30556 (clean-tst-gmon-pie-data): Likewise.
30557 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
30558 * gmon/gmon.c [PIC]: Include <link.h>.
30559 [PIC] (callback): New function.
30560 (write_hist): Add an argument for load address. Subtract load
30562 (write_call_graph): Likewise.
30563 (write_gmon): Call __dl_iterate_phdr to get load address, pass
30564 it to write_hist and write_call_graph.
30565 * gmon/tst-gmon-pie.c: New file.
30567 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30569 * math/Makefile (test-types-basic): New variable.
30570 (test-types): Likewise.
30571 (libm-test-support): Use $(test-types) instead of $(types).
30572 (libm-tests-base-normal): Likewise.
30573 (libm-tests-base-finite): Likewise.
30574 (libm-tests-base-inline): Likewise.
30575 (generated): Likewise.
30576 ($(objpfx)libm-test-support-$(t).c): Likewise.
30577 (libm-tests-for-type iterator): Likewise.
30578 (libm-test-support iterator): Likewise.
30579 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
30580 (ulp_idx): Use ULP_IDX.
30581 * math/test-ldouble.h: Include <float.h>.
30582 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
30583 (ULP_IDX): New macro.
30584 (ULP_I_IDX): Likewise.
30585 * math/test-double.h (ULP_IDX): Likewise.
30586 (ULP_I_IDX): Likewise.
30587 * math/test-float.h (ULP_IDX): Likewise.
30588 (ULP_I_IDX): Likewise.
30589 * math/test-float128.h (ULP_IDX): Likewise.
30590 (ULP_I_IDX): Likewise.
30592 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30594 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
30595 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30596 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30597 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
30598 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30599 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
30600 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
30601 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30602 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30603 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30604 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
30605 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30606 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30607 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30608 (SINGLE_THREAD_BY_GLOBAL): Define.
30609 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30611 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30613 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30615 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30617 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
30618 (SINGLE_THREAD_BY_GLOBAL): Likewise.
30619 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
30622 2017-10-11 Andreas Schwab <schwab@suse.de>
30624 * nis/Makefile (aux): Remove.
30625 * nscd/Makefile (aux): Add nscd_hash.
30626 (nscd-modules): Likewise.
30627 ($(objpfx)nscd): Don't depend on libnsl.
30628 * nscd/nscd_hash.c: New file.
30629 * nscd/nscd_hash.h: Likewise.
30630 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
30631 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
30632 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
30633 instead of <nis/rpcsvc/nis.h>.
30634 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
30636 2017-10-11 Florian Weimer <fweimer@redhat.com>
30639 Avoid large NSS buffers with many addresses, aliases.
30640 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
30641 using dynarrays and struct alloc_buffer.
30642 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
30643 (tst-nss-files-hosts-multi): Link with -ldl.
30644 * nss/tst-nss-files-hosts-multi.c: New file.
30646 2017-10-11 Florian Weimer <fweimer@redhat.com>
30649 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
30650 scratch_buffer. Eliminate gotos.
30652 2017-10-11 Joseph Myers <joseph@codesourcery.com>
30654 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
30655 libm_alias_ldouble_other.
30656 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
30657 undefine and redefine.
30658 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30659 (exp10l): Do not define here.
30660 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
30661 (weak_alias): Undefine and redefine.
30662 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
30663 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30664 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
30665 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
30667 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
30668 [!__fma] (fma): Define using libm_alias_double.
30669 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
30670 [!__fmaf] (fmaf): Define using libm_alias_float.
30671 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
30672 (fmal): Define using libm_alias_ldouble.
30674 2017-10-10 Joseph Myers <joseph@codesourcery.com>
30676 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
30678 (libm_alias_double_other): Likewise.
30679 (libm_alias_double_r): Use libm_alias_double_other_r.
30680 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
30682 (libm_alias_float_other): Likewise.
30683 (libm_alias_float_r): Use libm_alias_float_other_r.
30684 * sysdeps/generic/libm-alias-float128.h
30685 (libm_alias_float128_other_r): New macro.
30686 (libm_alias_float128_other): Likewise.
30687 (libm_alias_float128_r): Use libm_alias_float128_other_r.
30688 * sysdeps/generic/libm-alias-ldouble.h
30689 (libm_alias_ldouble_other_r): New macro.
30690 (libm_alias_ldouble_other): Likewise.
30691 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30692 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
30693 (libm_alias_double_other_r): New macro.
30694 (libm_alias_double_other): Likewise.
30695 (libm_alias_double_r): Use libm_alias_double_other_r.
30696 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
30697 (libm_alias_ldouble_other_r): New macro.
30698 (libm_alias_ldouble_other): Likewise.
30699 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
30700 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
30701 [!USE_AS_COMPAT]: Use libm_alias_double_other.
30702 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
30703 [!USE_AS_COMPAT]: Use libm_alias_float_other.
30704 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
30705 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
30706 * math/w_exp2f.c: Use libm_alias_float_other.
30707 * math/w_expf.c: Likewise.
30708 * math/w_log2f.c: Likewise.
30709 * math/w_logf.c: Likewise.
30710 * math/w_powf.c: Likewise.
30711 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
30712 [!__exp2f]: Use libm_alias_float_other.
30713 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
30714 [!__expf]: Use libm_alias_float_other.
30715 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
30716 [!__log2f]: Use libm_alias_float_other.
30717 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
30718 [!__logf]: Use libm_alias_float_other.
30719 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
30720 [!__powf]: Use libm_alias_float_other.
30722 2017-10-10 Florian Weimer <fweimer@redhat.com>
30724 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
30726 (_nss_files_gethostbyname3_r): Call it.
30728 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30730 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
30731 error. Remove default definition of declare_mgen_alias.
30732 [!declare_mgen_alias_r]: Likewise.
30733 * sysdeps/generic/math-type-macros-double.h
30734 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
30735 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
30736 (declare_mgen_alias_r): Likewise.
30737 * sysdeps/generic/math-type-macros-float128.h
30738 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30739 * sysdeps/generic/math-type-macros-ldouble.h
30740 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
30741 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
30743 (declare_mgen_alias_r_s): Likewise.
30744 (declare_mgen_alias_r): Likewise.
30745 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
30746 (lgamma_r): Define using libm_alias_double_r.
30747 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
30748 (lgammaf_r): Define using libm_alias_float_r.
30749 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
30750 (lgammal_r): Define using libm_alias_ldouble_r.
30751 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
30752 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
30754 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30756 * lib/glob.c (__glob_pattern_type): Remove now-spurious
30757 extern declaration.
30759 2017-10-09 Joseph Myers <joseph@codesourcery.com>
30761 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
30763 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
30766 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
30767 [__cplusplus >= 201103] (__USE_ISOC99): Define.
30768 * math/Makefile (test-math-cxx11): New test.
30769 * math/test-math-cxx11.cc: New file.
30771 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
30773 * login/openpty.c (openpty): Close slave pty file descriptor on error.
30775 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
30776 call to allocate the slave pty file descriptor.
30778 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30780 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
30781 [!__fma] (fma): Define using libm_alias_double.
30782 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
30783 [!__fma] (fma): Define using libm_alias_double.
30785 * sysdeps/ieee754/float128/float128_private.h: Include
30786 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
30787 (libm_alias_ldouble_r): Undefine and redefine.
30788 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
30789 <libm-alias-ldouble.h>.
30790 (asinhl): Define using libm_alias_ldouble.
30791 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
30792 <libm-alias-ldouble.h>.
30793 (atanl): Define using libm_alias_ldouble.
30794 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
30795 <libm-alias-ldouble.h>.
30796 (cbrtl): Define using libm_alias_ldouble.
30797 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
30798 <libm-alias-ldouble.h>.
30799 (ceill): Define using libm_alias_ldouble.
30800 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
30801 <libm-alias-ldouble.h>.
30802 (copysignl): Define using libm_alias_ldouble.
30803 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
30804 <libm-alias-ldouble.h>.
30805 (cosl): Define using libm_alias_ldouble.
30806 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
30807 <libm-alias-ldouble.h>.
30808 (erfl): Define using libm_alias_ldouble.
30810 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
30811 <libm-alias-ldouble.h>.
30812 (expm1l): Define using libm_alias_ldouble.
30813 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
30814 <libm-alias-ldouble.h>.
30815 (fabsl): Define using libm_alias_ldouble.
30816 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
30817 <libm-alias-ldouble.h>.
30818 (floorl): Define using libm_alias_ldouble.
30819 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
30820 <libm-alias-ldouble.h>.
30821 (fmal): Define using libm_alias_ldouble.
30822 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
30823 <libm-alias-ldouble.h>.
30824 (frexpl): Define using libm_alias_ldouble.
30825 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
30826 libm_alias_ldouble.
30827 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
30828 <libm-alias-ldouble.h>.
30829 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
30830 libm_alias_ldouble.
30831 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
30832 <libm-alias-ldouble.h>.
30833 (getpayloadl): Define using libm_alias_ldouble.
30834 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
30835 <libm-alias-ldouble.h>.
30836 (llrintl): Define using libm_alias_ldouble.
30837 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
30838 <libm-alias-ldouble.h>.
30839 (llroundl): Define using libm_alias_ldouble.
30840 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
30841 <libm-alias-ldouble.h>.
30842 (logbl): Define using libm_alias_ldouble.
30843 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
30844 <libm-alias-ldouble.h>.
30845 (lrintl): Define using libm_alias_ldouble.
30846 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
30847 <libm-alias-ldouble.h>.
30848 (lroundl): Define using libm_alias_ldouble.
30849 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
30850 <libm-alias-ldouble.h>.
30851 (modfl): Define using libm_alias_ldouble.
30852 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
30853 <libm-alias-ldouble.h>.
30854 (nearbyintl): Define using libm_alias_ldouble.
30855 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
30856 <libm-alias-ldouble.h>.
30857 (nextafterl): Define using libm_alias_ldouble.
30858 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
30859 <libm-alias-ldouble.h>.
30860 (nextupl): Define using libm_alias_ldouble.
30861 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
30862 <libm-alias-ldouble.h>.
30863 (remquol): Define using libm_alias_ldouble.
30864 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
30865 <libm-alias-ldouble.h>.
30866 (rintl): Define using libm_alias_ldouble.
30867 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
30868 <libm-alias-ldouble.h>.
30869 (roundevenl): Define using libm_alias_ldouble.
30870 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
30871 <libm-alias-ldouble.h>.
30872 (roundl): Define using libm_alias_ldouble.
30873 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
30874 using libm_alias_ldouble.
30875 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
30876 <libm-alias-ldouble.h>.
30877 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
30878 Define using libm_alias_ldouble.
30879 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
30880 <libm-alias-ldouble.h>.
30881 (sincosl): Define using libm_alias_ldouble.
30882 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
30883 <libm-alias-ldouble.h>.
30884 (sinl): Define using libm_alias_ldouble.
30885 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
30886 <libm-alias-ldouble.h>.
30887 (tanhl): Define using libm_alias_ldouble.
30888 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
30889 <libm-alias-ldouble.h>.
30890 (tanl): Define using libm_alias_ldouble.
30891 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
30892 <libm-alias-ldouble.h>.
30893 (totalorderl): Define using libm_alias_ldouble.
30894 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
30895 <libm-alias-ldouble.h>.
30896 (totalordermagl): Define using libm_alias_ldouble.
30897 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
30898 <libm-alias-ldouble.h>.
30899 (truncl): Define using libm_alias_ldouble.
30900 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
30901 libm_alias_ldouble.
30902 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
30903 libm_alias_ldouble.
30904 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
30905 <libm-alias-ldouble.h>.
30906 (weak_alias): Do not undefine and redefine.
30907 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30908 (copysignl): Define with long_double_symbol only if [IS_IN
30910 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
30911 <libm-alias-ldouble.h>.
30912 (weak_alias): Do not undefine and redefine.
30913 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30914 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
30915 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
30916 <libm-alias-ldouble.h>.
30917 (weak_alias): Do not undefine and redefine.
30918 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
30919 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
30920 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
30921 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
30922 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
30923 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
30924 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
30925 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
30926 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
30927 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
30928 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
30929 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
30930 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
30931 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
30932 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
30933 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
30934 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
30935 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
30936 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
30937 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
30938 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
30939 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
30940 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
30941 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
30942 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
30943 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
30945 2017-10-06 Carlos O'Donell <carlos@redhat.com>
30948 * malloc/malloc.c (tcache_shutting_down): Use bool type.
30949 (tcache_thread_freeres): Set tcache_shutting_down before
30950 freeing the tcache.
30951 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
30952 * malloc/tst-malloc-tcache-leak.c: New file.
30954 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30956 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
30957 back to powerpc32 file.
30958 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
30959 (memrchr): Add __memrchr_power8 to ifunc list.
30960 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
30961 extra bytes for unaligned inputs.
30963 2017-10-06 Joseph Myers <joseph@codesourcery.com>
30965 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
30966 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
30967 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
30968 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30971 2017-10-05 Joseph Myers <joseph@codesourcery.com>
30973 * sysdeps/arm/libm-test-ulps: Update.
30975 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
30976 <libm-alias-ldouble.h>.
30977 (asinhl): Define using libm_alias_ldouble.
30978 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
30979 <libm-alias-ldouble.h>.
30980 (cbrtl): Define using libm_alias_ldouble.
30981 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
30982 <libm-alias-ldouble.h>.
30983 (copysignl): Define using libm_alias_ldouble.
30984 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
30985 <libm-alias-ldouble.h>.
30986 (cosl): Define using libm_alias_ldouble.
30987 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
30988 <libm-alias-ldouble.h>.
30989 (erfl): Define using libm_alias_ldouble.
30991 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
30992 <libm-alias-ldouble.h>.
30993 (fmal): Define using libm_alias_ldouble.
30994 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
30995 <libm-alias-ldouble.h>.
30996 (frexpl): Define using libm_alias_ldouble.
30997 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
30998 libm_alias_ldouble.
30999 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
31000 <libm-alias-ldouble.h>.
31001 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
31002 libm_alias_ldouble.
31003 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
31004 <libm-alias-ldouble.h>.
31005 (getpayloadl): Define using libm_alias_ldouble.
31006 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
31007 <libm-alias-ldouble.h>.
31008 (llrintl): Define using libm_alias_ldouble.
31009 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
31010 <libm-alias-ldouble.h>.
31011 (llroundl): Define using libm_alias_ldouble.
31012 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
31013 <libm-alias-ldouble.h>.
31014 (lrintl): Define using libm_alias_ldouble.
31015 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
31016 <libm-alias-ldouble.h>.
31017 (lroundl): Define using libm_alias_ldouble.
31018 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
31019 <libm-alias-ldouble.h>.
31020 (modfl): Define using libm_alias_ldouble.
31021 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
31022 <libm-alias-ldouble.h>.
31023 (nextupl): Define using libm_alias_ldouble.
31024 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
31025 <libm-alias-ldouble.h>.
31026 (remquol): Define using libm_alias_ldouble.
31027 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
31028 <libm-alias-ldouble.h>.
31029 (roundevenl): Define using libm_alias_ldouble.
31030 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
31031 <libm-alias-ldouble.h>.
31032 (roundl): Define using libm_alias_ldouble.
31033 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
31034 using libm_alias_ldouble.
31035 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
31036 <libm-alias-ldouble.h>.
31037 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
31038 <libm-alias-ldouble.h>.
31039 (setpayloadsigl): Define using libm_alias_ldouble.
31040 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
31041 <libm-alias-ldouble.h>.
31042 (sincosl): Define using libm_alias_ldouble.
31043 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
31044 <libm-alias-ldouble.h>.
31045 (sinl): Define using libm_alias_ldouble.
31046 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
31047 <libm-alias-ldouble.h>.
31048 (tanhl): Define using libm_alias_ldouble.
31049 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
31050 <libm-alias-ldouble.h>.
31051 (tanl): Define using libm_alias_ldouble.
31052 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
31053 <libm-alias-ldouble.h>.
31054 (totalorderl): Define using libm_alias_ldouble.
31055 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
31056 <libm-alias-ldouble.h>.
31057 (totalordermagl): Define using libm_alias_ldouble.
31058 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
31059 libm_alias_ldouble.
31060 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
31061 libm_alias_ldouble.
31063 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
31065 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
31067 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
31068 (__libc_ifunc_impl_list): Likewise.
31069 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
31070 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
31072 * benchtests/bench-memmove-walk.c: New file.
31073 * benchtests/Makefile (string-benchset): Add it.
31075 * benchtests/bench-memset-walk.c: New file.
31076 * benchtests/Makefile (string-benchset): Add it.
31078 * benchtests/bench-memcpy-walk.c: New file.
31079 * benchtests/Makefile (string-benchset): Add it.
31081 2017-10-05 Florian Weimer <fweimer@redhat.com>
31083 nscd: Eliminate compilation time dependency in the build output.
31084 * nscd/nscd_stat.c (STATDATA_VERSION)
31085 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
31086 (STATDATA_VERSION_FULL): New macro definitions.
31087 (compilation): Remove.
31088 (struct statdata): Adjust version member.
31089 (send_stats): Set version from STATDATA_VERSION_FULL.
31090 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
31092 2017-10-05 Joseph Myers <joseph@codesourcery.com>
31094 * configure.ac (--enable-add-ons): Remove option.
31095 (machine): Do not mention add-ons in comment.
31096 (LIBC_PRECONFIGURE): Likewise.
31097 (add_ons): Remove variable and sanity checks and logic to locate
31099 (add_ons_automatic): Remove variable.
31100 (configured_add_ons): Likewise.
31101 (add_ons_sfx): Likewise.
31102 (add_ons_pfx): Likewise.
31103 (add_on_subdirs): Likewise.
31104 (sysnames_add_ons): Likewise. Remove loop over add-ons and
31105 consideration of add-ons in Implies handling.
31106 (sysdeps_add_ons): Likewise.
31107 * configure: Regenerated.
31108 * libidn/configure.ac: Remove.
31109 * libidn/configure: Likewise.
31110 * sysdeps/unix/inet/configure.ac: New file.
31111 * sysdeps/unix/inet/configure: New generated file.
31112 * sysdeps/unix/inet/Subdirs: Add libidn.
31113 * Makeconfig (sysdeps-srcdirs): Remove variable.
31114 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
31115 ($(common-objpfx)config.status): Do not depend on add-on files.
31116 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
31118 (all-subdirs): Do not include $(add-on-subdirs).
31119 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
31120 * config.make.in (add-ons): Remove variable.
31121 (add-on-subdirs): Likewise.
31122 (sysdeps-add-ons): Likewise.
31123 * manual/Makefile (add-chapters): Remove.
31124 ($(objpfx)texis): Do not depend on $(add-chapters).
31125 (nonexamples): Do not handle $(add-chapters).
31126 (examples): Do not handle $(add-ons).
31127 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
31129 * manual/install.texi (Installation): Do not mention add-ons.
31130 (--enable-add-ons): Do not document configure option.
31131 * INSTALL: Regenerated.
31132 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
31133 * manual/maint.texi (Hierarchy Conventions): Do not mention
31135 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
31137 * scripts/gen-sorted.awk: Do not handle Subdirs files from
31139 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
31140 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
31142 2017-10-05 Andreas Schwab <schwab@suse.de>
31145 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
31146 (_IO_flush_all_lockp): Always lock list_all_lock.
31147 (_IO_flush_all_linebuffered): Likewise.
31148 (_IO_unbuffer_all): Likewise.
31150 2017-10-05 Florian Weimer <fweimer@redhat.com>
31153 Do not flush stdio streams on abort.
31154 * stdlib/abort.c (fflush): Remove macro definition.
31155 (abort): Remove stages related to stdio flushing.
31157 2017-10-05 Florian Weimer <fweimer@redhat.com>
31159 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
31161 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
31163 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31165 2017-10-05 Florian Weimer <fweimer@redhat.com>
31167 * support/support_format_hostent.c (support_format_hostent): Add
31168 more error information for NETDB_INTERNAL.
31170 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31172 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
31173 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
31174 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
31175 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
31176 AC_DEFINE if multi-arch is enabled.
31177 * sysdeps/i386/configure: Regenerated.
31179 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31181 * Makeconfig (+link-static-before-libc): Use
31182 $(DEFAULT-LDFLAGS-$(@F)).
31183 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
31184 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
31185 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
31187 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31189 * elf/Makefile (tests): Add tst-main1.
31190 (modules-names): Add tst-main1mod.
31191 ($(objpfx)tst-main1): New.
31192 (CRT-tst-main1): Likewise.
31193 (LDFLAGS-tst-main1): Likewise.
31194 (LDLIBS-tst-main1): Likewise.
31195 (tst-main1mod.so-no-z-defs): Likewise.
31196 * elf/tst-main1.c: New file.
31197 * elf/tst-main1mod.c: Likewise.
31199 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
31201 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
31203 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31205 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
31206 (fma): Define using libm_alias_double.
31207 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
31208 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
31210 (fmal): Do not define as compat symbol here.
31211 * sysdeps/alpha/fpu/s_fma.c: New file.
31213 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31215 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
31217 2017-10-04 Joseph Myers <joseph@codesourcery.com>
31220 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
31222 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31224 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
31225 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31226 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
31227 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31229 Include <math_ldbl_opt.h>
31230 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
31232 (compat_symbol): Undefine and redefine.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
31235 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
31236 (compat_symbol): Undefine and redefine.
31237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
31238 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
31239 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
31240 GLIBC_2_1 for libm.
31241 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
31242 GLIBC_2.0 copysignl symbol.
31243 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
31244 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
31246 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
31248 2017-10-04 Florian Weimer <fweimer@redhat.com>
31250 * scripts/check-local-headers.sh: Ignore nspr4 header file
31251 directory in addition to nspr.
31253 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
31256 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
31257 * configure: Regenerate.
31258 * crypt/Makefile (nss-cpp-flags): New variable.
31259 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
31260 (CPPFLAGS-md5-crypt.c): Use it.
31261 * scripts/check-local-headers.sh: Ignore nspr header file
31264 2017-10-04 Andreas Schwab <schwab@suse.de>
31266 * nis/Makefile (services): Remove compat.
31267 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
31268 ($(objpfx)libnss_compat.so): Remove rule.
31269 * nis/Versions (libnss_compat): Remove.
31270 * nss/Makefile (services): Add compat.
31271 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
31272 * nss/Versions (libnss_compat): Define.
31273 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
31274 Don't include <rpc/types.h>. Replace bool_t by bool.
31275 * nss/nss_compat/compat-initgroups.c: Likewise.
31276 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
31277 instead of <rpcsrv/ypclnt.h>.
31278 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
31279 yp_get_default_domain.
31280 * nss/nss_compat/compat-pwd.c: Likewise.
31281 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
31282 yp_get_default_domain.
31283 * nss/nss_compat/nisdomain.c: New file.
31284 * nss/nss_compat/nisdomain.h: Likewise.
31286 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31289 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
31290 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31292 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
31295 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
31296 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
31298 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31300 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
31301 "movl main@GOTOFF(%ebx), %eax".
31303 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31305 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
31306 allow undefined _DYNAMIC in PIE libc.a.
31307 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
31310 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31312 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
31315 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31317 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
31320 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31322 * math/test-math-iscanonical.cc (error): Replace bool with int.
31324 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31326 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
31327 (modf): Define using libm_alias_double, only if [!__modf].
31328 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
31329 <libm-alias-double.h>.
31330 (modf): Define using libm_alias_double, only if [!__modf].
31331 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
31332 compat symbol here.
31333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
31334 (weak_alias): Do not undefine and redefine.
31335 (strong_alias): Likewise.
31336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
31337 (weak_alias): Likewise.
31338 (strong_alias): Likewise.
31340 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
31341 (logb): Define using libm_alias_double, only if [!__logb].
31342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
31343 <libm-alias-double.h>.
31344 (logb): Define using libm_alias_double, only if [!__logb].
31345 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
31346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
31347 (weak_alias): Do not undefine and redefine.
31348 (strong_alias): Likewise.
31349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
31350 (weak_alias): Likewise.
31351 (strong_alias): Likewise.
31353 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31355 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
31356 Check SHARED instead PIC.
31358 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31360 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
31361 [!__fmaf] (fmaf): Define using libm_alias_float.
31363 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
31364 (frexp): Define using libm_alias_double.
31365 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
31366 <libm-alias-double.h>.
31367 (frexp): Define using libm_alias_double.
31368 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
31369 compat symbol here.
31371 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
31374 * math/math.h: Trivial fix for unbalanced parentheses in comment.
31375 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
31376 (CFLAGS-test-math-iscanonical.cc): New variable.
31377 * math/test-math-iscanonical.cc: New file.
31378 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
31379 Provide a C++ implementation based on function overloading,
31380 rather than using __MATH_TG, which uses C-only builtins.
31381 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
31383 * sysdeps/powerpc/powerpc64le/Makefile
31384 (CFLAGS-test-math-iscanonical.cc): New variable.
31386 2017-10-03 Joseph Myers <joseph@codesourcery.com>
31388 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
31389 (ceil): Define using libm_alias_double.
31390 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
31391 (floor): Define using libm_alias_double.
31392 * sysdeps/ieee754/dbl-64/s_llround.c: Include
31393 <libm-alias-double.h>.
31394 (llround): Define using libm_alias_double.
31395 * sysdeps/ieee754/dbl-64/s_lround.c: Include
31396 <libm-alias-double.h>.
31397 (lround): Define using libm_alias_double.
31398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
31399 <libm-alias-double.h>.
31400 (nearbyint): Define using libm_alias_double.
31401 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
31402 <libm-alias-double.h>.
31403 (remquo): Define using libm_alias_double.
31404 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
31405 (rint): Define using libm_alias_double.
31406 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
31407 (round): Define using libm_alias_double.
31408 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
31409 (trunc): Define using libm_alias_double.
31410 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
31411 <libm-alias-double.h>.
31412 (ceil): Define using libm_alias_double.
31413 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
31414 <libm-alias-double.h>.
31415 (floor): Define using libm_alias_double.
31416 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
31417 <libm-alias-double.h>.
31418 (llround): Define using libm_alias_double.
31419 [_LP64] (lround): Likewise.
31420 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
31421 <libm-alias-double.h>.
31422 [!_LP64] (lround): Define using libm_alias_double.
31423 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
31424 <libm-alias-double.h>.
31425 (nearbyint): Define using libm_alias_double.
31426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
31427 <libm-alias-double.h>.
31428 (remquo): Define using libm_alias_double.
31429 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
31430 <libm-alias-double.h>.
31431 (rint): Define using libm_alias_double.
31432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
31433 <libm-alias-double.h>.
31434 (round): Define using libm_alias_double.
31435 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
31436 <libm-alias-double.h>.
31437 (trunc): Define using libm_alias_double.
31438 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
31439 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
31440 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
31441 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
31442 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
31443 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
31444 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
31445 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
31446 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
31448 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
31450 * math/w_remainder.c: New file.
31451 * math/w_remainderf.c: New file.
31452 * math/w_remainderl.c: New file.
31454 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
31456 * elf/rtld.c (BOOTSTRAP_MAP): New.
31457 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
31458 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31460 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31462 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
31465 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31467 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
31468 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
31469 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
31470 rtld_hidden_data_ver): Define to empty.
31471 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
31472 __assert_perror_fail): Likewise.
31473 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31474 (__rewinddir): Likewise.
31475 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31476 (__profile_frequency): Likewise.
31477 * include/setjmp.h (__sigsetjmp): Likewise.
31478 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
31479 __libc_sigaction): Likewise.
31480 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
31481 not set hidden attribute.
31482 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
31483 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
31484 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
31485 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
31486 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
31487 __fxstatat64): Likewise.
31488 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31489 (__uname): Likewise.
31490 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
31491 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
31492 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
31493 (NO_RTLD_HIDDEN): Set.
31494 * sysdeps/mach/hurd/configure: Refresh.
31495 * config.h.in: Refresh.
31497 2017-10-02 Joseph Myers <joseph@codesourcery.com>
31499 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
31500 (atan): Define using libm_alias_double.
31501 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
31502 (tan): Define using libm_alias_double.
31503 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
31504 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
31506 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
31507 define as weak alias of __atan. Do not define any aliases if
31509 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
31510 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
31511 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
31512 as weak alias of __tan. Do not define any aliases if [__tan].
31513 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
31514 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
31515 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
31517 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
31518 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
31519 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
31520 and define as weak alias of __atan.
31521 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
31523 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
31524 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
31525 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
31526 define as weak alias of __tan.
31528 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31530 * math/w_lgamma.c: New file.
31531 * math/w_lgammaf.c: New file.
31532 * math/w_lgammal.c: New file.
31534 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31536 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
31537 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
31538 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
31539 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
31540 * sysdeps/ieee754/flt-32/w_logf.c: New file.
31541 * sysdeps/ieee754/flt-32/w_powf.c: New file.
31542 * sysdeps/i386/fpu/w_log2f.c: New file.
31543 * sysdeps/i386/fpu/w_logf.c: New file.
31544 * sysdeps/i386/fpu/w_powf.c: New file.
31545 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
31546 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
31547 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
31549 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31550 H.J. Lu <hongjiu.lu@intel.com>
31552 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
31553 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
31554 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
31555 * sysdeps/ieee754/flt-32/w_expf.c: New file.
31556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
31558 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
31559 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
31560 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
31561 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
31562 * sysdeps/i386/fpu/w_exp2f.c: New file.
31563 * sysdeps/i386/fpu/w_expf.c: New file.
31564 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
31565 * sysdeps/x86_64/fpu/w_expf.c: New file.
31567 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
31569 * math/Versions (logf): New libm symbol at GLIBC_2.27.
31572 * math/w_log2f.c: New file.
31573 * math/w_logf.c: New file.
31574 * math/w_powf.c: New file.
31575 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
31576 * math/w_logf_compat.c (__logf_compat): Likewise.
31577 * math/w_powf_compat.c (__powf_compat): Likewise.
31578 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
31579 * sysdeps/ia64/fpu/e_logf.S: Likewise.
31580 * sysdeps/ia64/fpu/e_powf.S: Likewise.
31581 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
31582 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
31583 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
31584 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
31585 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
31586 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
31587 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
31588 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31589 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
31590 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
31591 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
31592 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
31593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
31595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
31599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
31601 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
31602 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
31603 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
31604 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
31605 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
31606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
31608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
31610 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
31611 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
31612 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
31614 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31616 * sysdeps/powerpc/powerpc64/multiarch/Makefile
31617 (sysdep_routines): Add memrchr_power8.
31618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31619 (memrchr): Add __memrchr_power8 to list of memrchr functions.
31620 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
31622 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
31623 (memrchr): Add __memrchr_power8 to ifunc list.
31624 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
31626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31629 * sysdeps/unix/sysv/linux/posix_fadvise64.c
31630 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
31632 * sysdeps/unix/sysv/linux/posix_fallocate64.c
31633 (__posix_fallocate64_l64): Likewise.
31635 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31638 * sysdeps/unix/sysv/linux/sched_setaffinity.c
31639 (__sched_setaffinity_new): Add libc_hidden_proto and
31642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31645 * include/glob.h (__glob64): Add libc_hidden_proto.
31646 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
31649 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31652 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
31655 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31658 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
31660 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31663 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
31666 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31669 * csu/version.c (__libc_print_version): Add attribute_hidden.
31671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31674 * include/libc-internal.h (__init_misc): Add attribute_hidden.
31676 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31679 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
31681 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31684 * nscd/nscd_helper.c (__nis_hash): New prototype.
31686 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31689 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
31690 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
31692 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31693 * termios/tcgetattr.c (__tcgetattr): Likewise.
31695 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31698 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
31699 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
31700 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
31701 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
31702 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
31704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31707 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
31709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31712 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
31713 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
31715 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31718 * intl/hash-string.h (__hash_string): Add attribute_hidden.
31720 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31723 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
31724 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
31726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31729 * include/ifreq.h: New file.
31730 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
31731 (__ifreq): Likewise.
31732 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
31733 (__ifreq): Likewise.
31735 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31738 * include/idna.h: New file.
31739 * inet/getnameinfo.c: Include <idna.h> instead of
31741 (__idna_to_unicode_lzlz): Removed.
31742 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
31744 (__idna_to_ascii_lz): Removed.
31745 (__idna_to_unicode_lzlz): Likewise.
31747 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31750 * include/plural-exp.h: New file.
31751 * intl/plural-exp.c: Include <plural-exp.h> instead of
31754 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31757 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
31758 "getsourcefilter.h".
31759 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
31760 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
31761 "getsourcefilter.h".
31762 (__get_sol): Removed.
31764 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31767 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
31769 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
31771 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31774 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
31777 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31780 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
31782 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31785 * include/search.h (__tdestroy): Add libc_hidden_proto.
31786 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
31788 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31791 * include/assert.h (__assert_fail_base): Add attribute_hidden.
31793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31796 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
31799 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31802 * include/signal.h (__kill): Add libc_hidden_proto.
31803 (__sigblock): Likewise.
31804 (__sigprocmask): Likewise.
31805 (__sigaltstack): Likewise.
31806 * signal/kill.c (__kill): Add libc_hidden_def.
31807 * signal/sigblock.c (__sigblock): Likewise.
31808 * signal/sigprocmask.c (__sigprocmask): Likewise.
31809 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
31810 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
31811 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
31812 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
31813 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
31815 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
31817 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
31818 (__sigprocmask): Likewise.
31819 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
31821 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
31822 (__sigprocmask): Likewise.
31823 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
31826 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31829 * include/string.h (__strsep): Add libc_hidden_proto.
31830 * string/strsep.c (__strsep): Add libc_hidden_def.
31832 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31835 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
31837 (__spawni): Likewise.
31839 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31842 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
31843 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
31846 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31849 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
31851 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31854 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
31855 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
31856 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
31857 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
31858 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
31860 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
31861 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
31863 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31866 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
31867 (__dcigettext): Likewise.
31869 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31872 * include/sys/sysinfo.h (__get_nprocs_conf): Add
31874 (__get_nprocs): Likewise.
31875 (__get_phys_pages): Likewise.
31876 (__get_avphys_pages): Likewise.
31877 (__get_child_max): Add attribute_hidden.
31878 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
31879 (__get_nprocs): Likewise.
31880 (__get_phys_pages): Likewise.
31881 (__get_avphys_pages): Likewise.
31882 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
31884 (__get_nprocs): Likewise.
31885 (__get_phys_pages): Likewise.
31886 (__get_avphys_pages): Likewise.
31887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
31889 (__get_nprocs_conf): Likewise.
31890 (__get_phys_pages): Likewise.
31891 (__get_avphys_pages): Likewise.
31893 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31896 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
31898 (__netlink_close): Likewise.
31899 (__netlink_free_handle): Likewise.
31900 (__netlink_request): Likewise.
31902 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31905 * include/rpc/rpc.h (__rpc_thread_variables): Add
31907 (__rpc_thread_svc_cleanup): Likewise.
31908 (__rpc_thread_clnt_cleanup): Likewise.
31909 (__rpc_thread_key_cleanup): Likewise.
31911 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31914 * include/sys/uio.h (__readv): Add libc_hidden_proto.
31915 (__writev): Likewise.
31916 * misc/readv.c (__readv): Add libc_hidden_def.
31917 * misc/writev.c (__writev): Likewise.
31918 * sysdeps/posix/readv.c (__readv): Likewise.
31919 * sysdeps/posix/writev.c (__writev): Likewise.
31920 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
31921 (__readv): Likewise.
31922 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
31923 (__writev): Likewise.
31925 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31928 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
31929 (__regcomp): Add libc_hidden_proto.
31930 (__regexec): Likewise.
31931 (__regfree): Likewise.
31932 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
31933 (__regfree): Likewise.
31934 * posix/regexec.c (__regexec): Likewise.
31936 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31939 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
31940 (__getutent): Likewise.
31941 (__getutid): Likewise.
31942 (__getutline): Likewise.
31943 (__pututline): Likewise.
31944 (__getutent_r): Likewise.
31945 (__getutid_r): Likewise.
31946 (__getutline_r): Likewise.
31947 (__utmpname): Add attribute_hidden.
31948 (__setutent): Likewise.
31949 (__endutent): Likewise.
31950 * login/getutent.c (__getutent): Add libc_hidden_def.
31951 * login/getutent_r.c (__getutent_r): Likewise.
31952 (__pututline): Likewise.
31953 * login/getutid.c (__getutid): Likewise.
31954 * login/getutid_r.c (__getutid_r): Likewise.
31955 * login/getutline.c (__getutline): Likewise.
31956 * login/getutline_r.c (__getutline_r): Likewise.
31957 * login/updwtmp.c (__updwtmp): Likewise.
31959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31962 * include/dirent.h (__opendir): Always add attribute_hidden.
31963 (__fdopendir): Likewise.
31964 (__closedir): Likewise.
31965 (__readdir): Likewise.
31966 (__readdir64): Add libc_hidden_proto.
31967 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
31968 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
31969 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
31970 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
31973 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31976 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
31977 * include/netdb.h (__gethostbyaddr_r): Likewise.
31978 (__gethostbyname_r): Likewise.
31979 (__gethostbyname2_r): Likewise.
31980 (__getnetbyaddr_r): Likewise.
31981 (__getnetbyname_r): Likewise.
31982 (__getservbyname_r): Likewise.
31983 (__getservbyport_r): Likewise.
31984 (__getprotobyname_r): Likewise.
31985 (__getprotobynumber_r): Likewise.
31986 (__getnetgrent_r): Likewise.
31987 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
31988 (__getrpcbynumber_r): Likewise.
31989 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
31991 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
31994 * include/stdio.h (__fcloseall): Add attribute_hidden.
31995 (__getline): Likewise.
31996 (__path_search): Likewise.
31997 (__gen_tempname): Likewise.
31998 (__libc_message): Likewise.
31999 (__flockfile): Likewise.
32000 (__funlockfile): Likewise.
32001 (__fxprintf): Likewise.
32002 (__fxprintf_nocancel): Likewise.
32004 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32007 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
32008 (__sgetsgent_r): Likewise.
32010 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32013 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
32014 (__statfs64): Likewise.
32015 (__fstatfs64): Likewise.
32016 * include/sys/statvfs.h (__statvfs64): Likewise.
32017 (__fstatvfs64): Likewise.
32018 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
32019 (__statfs_filesize_max): Likewise.
32020 (__statfs_symlinks): Likewise.
32021 (__statfs_chown_restricted): Likewise.
32023 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32026 * include/time.h (__tzstring): Add attribute_hidden.
32027 (__tzfile_read): Likewise.
32028 (__tzfile_compute): Likewise.
32029 (__tzfile_default): Likewise.
32030 (__tzset_parse_tz): Likewise.
32031 (__offtime): Likewise.
32032 (__asctime_r): Likewise.
32033 (__tzset): Likewise.
32034 (__tz_convert): Likewise.
32035 (__getdate_r): Likewise.
32036 (__getclktck): Likewise.
32038 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32041 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
32042 (__nscd_unmap): Likewise.
32043 (__nscd_cache_search): Likewise.
32044 (__nscd_get_nl_timestamp): Likewise.
32045 (__nscd_getpwnam_r): Likewise.
32046 (__nscd_getpwuid_r): Likewise.
32047 (__nscd_getgrnam_r): Likewise.
32048 (__nscd_getgrgid_r): Likewise.
32049 (__nscd_gethostbyname_r): Likewise.
32050 (__nscd_gethostbyname2_r): Likewise.
32051 (__nscd_gethostbyaddr_r): Likewise.
32052 (__nscd_getai): Likewise.
32053 (__nscd_getgrouplist): Likewise.
32054 (__nscd_getservbyname_r): Likewise.
32055 (__nscd_getservbyport_r): Likewise.
32056 (__nscd_innetgr): Likewise.
32057 (__nscd_setnetgrent): Likewise.
32059 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32062 * include/gmp.h: Declare internal functions only if _ISOMAC is
32064 (__mpn_extract_double): Add attribute_hidden.
32065 (__mpn_extract_long_double): Likewise.
32066 (__mpn_extract_float128): Likewise.
32067 (__mpn_construct_float): Likewise.
32068 (__mpn_construct_double): Likewise.
32069 (__mpn_construct_long_double): Likewise.
32070 (__mpn_construct_float128): Likewise.
32071 (mpn_add_1): Likewise.
32072 (mpn_addmul_1): Likewise.
32073 (mpn_add_n): Likewise.
32074 (mpn_cmp): Likewise.
32075 (mpn_divrem): Likewise.
32076 (mpn_lshift): Likewise.
32077 (mpn_mul): Likewise.
32078 (mpn_mul_1): Likewise.
32079 (mpn_rshift): Likewise.
32080 (mpn_sub_1): Likewise.
32081 (mpn_submul_1): Likewise.
32082 (mpn_sub_n): Likewise.
32084 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32087 * include/wchar.h (__wcsnlen): Add attribute_hidden.
32088 (__wcscat): Likewise.
32089 (__btowc): Likewise.
32090 (__wcrtomb): Likewise.
32091 (__mbsrtowcs): Likewise.
32092 (__wcsrtombs): Likewise.
32093 (__mbsnrtowcs): Likewise.
32094 (__wcsnrtombs): Likewise.
32095 (__wcsncpy): Likewise.
32096 (__wcpncpy): Likewise.
32097 (__wmemcpy): Likewise.
32098 (__wmempcpy): Likewise.
32099 (__wmemmove): Likewise.
32100 (__wcschrnul): Likewise.
32101 (__vfwscanf): Likewise.
32102 (__vswprintf): Likewise.
32103 (__fwprintf): Likewise.
32104 (__vfwprintf): Likewise.
32106 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32109 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
32110 (__getgrgid_r): Likewise.
32111 (__getgrnam_r): Likewise.
32112 * include/pwd.h (__getpwuid_r): Likewise.
32113 (__getpwnam_r): Likewise.
32114 (__fgetpwent_r): Likewise.
32115 * include/shadow.h (__getspnam_r): Likewise.
32116 (__sgetspent_r): Likewise.
32117 (__fgetspent_r): Likewise.
32119 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32122 * include/unistd.h (__access): Add attribute_hidden.
32123 (__lseek64): Likewise.
32124 (__libc_pread64): Likewise.
32125 (__pipe2): Likewise.
32126 (__sleep): Likewise.
32127 (__chdir): Likewise.
32128 (__fchdir): Likewise.
32129 (__getcwd): Likewise.
32130 (__rmdir): Likewise.
32131 (__execvpe): Likewise.
32132 (__execve): Likewise.
32133 (__setsid): Likewise.
32134 (__getuid): Likewise.
32135 (__geteuid): Likewise.
32136 (__getgid): Likewise.
32137 (__getegid): Likewise.
32138 (__getgroups): Likewise.
32139 (__group_member): Likewise.
32140 (__ttyname_r): Likewise.
32141 (__isatty): Likewise.
32142 (__readlink): Likewise.
32143 (__unlink): Likewise.
32144 (__gethostname): Likewise.
32145 (__profil): Likewise.
32146 (__getdtablesize): Likewise.
32148 (__ftruncate): Likewise.
32149 (__ftruncate64): Likewise.
32151 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32154 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
32155 * argp/argp-fs-xinl.c: Likewise.
32156 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
32157 * argp/argp-parse.c: Include <argp.h>.
32158 * argp/argp-xinl.c: Likewise.
32159 * include/argp-fmtstream.h: New file.
32160 * include/argp.h (__argp_error): Add attribute_hidden.
32161 (__argp_failure): Likewise.
32162 (__argp_input): Likewise.
32163 (__argp_state_help): Likewise.
32165 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32168 * include/wchar.h (____wcstof_l_internal): New prototype.
32169 (____wcstod_l_internal): Likewise.
32170 (____wcstold_l_internal): Likewise.
32171 (____wcstol_l_internal): Likewise.
32172 (____wcstoul_l_internal): Likewise.
32173 (____wcstoll_l_internal): Likewise.
32174 (____wcstoull_l_internal): Likewise.
32175 (____wcstof128_l_internal): Likewise.
32176 * sysdeps/ieee754/float128/wcstof128.c
32177 (____wcstof128_l_internal): Removed.
32178 * sysdeps/ieee754/float128/wcstof128_l.c
32179 (____wcstof128_l_internal): Likewise.
32180 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
32181 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
32182 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
32183 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
32184 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
32185 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
32186 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
32187 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
32188 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
32189 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
32191 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32194 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
32195 instead of <sys/statvfs.h>.
32196 (__internal_statvfs): Removed.
32197 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
32198 instead of <sys/statvfs.h>.
32199 (__internal_statvfs64): Removed.
32200 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
32201 "internal_statvfs.h" instead of <sys/statvfs.h>.
32202 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
32203 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
32204 instead of <sys/statvfs.h>.
32205 (__internal_statvfs): Removed.
32206 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
32207 instead of <sys/statvfs.h>.
32208 (__internal_statvfs64): Removed.
32210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32213 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
32214 (__gconv_close): Likewise.
32215 (__gconv): Likewise.
32216 (__gconv_find_transform): Likewise.
32217 (__gconv_lookup_cache): Likewise.
32218 (__gconv_compare_alias_cache): Likewise.
32219 (__gconv_load_cache): Likewise.
32220 (__gconv_get_path): Likewise.
32221 (__gconv_close_transform): Likewise.
32222 (__gconv_release_cache): Likewise.
32223 (__gconv_find_shlib): Likewise.
32224 (__gconv_release_shlib): Likewise.
32225 (__gconv_get_builtin_trans): Likewise.
32226 (__gconv_compare_alias): Likewise.
32227 * include/dlfcn.h (_dlerror_run): Likewise.
32228 * include/stdio.h (__fortify_fail_abort): Likewise.
32229 * include/time.h (__tz_compute): Likewise.
32230 (__strptime_internal): Likewise.
32231 * intl/gettextP.h (_nl_find_domain): Likewise.
32232 (_nl_load_domain): Likewise.
32233 (_nl_find_msg): Likewise.
32234 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
32235 (EXTRACT_PLURAL_EXPRESSION): Likewise.
32236 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
32237 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
32238 (__gai_find_request): Likewise.
32239 (__gai_remove_request): Likewise.
32240 (__gai_notify): Likewise.
32241 (__gai_notify_only): Likewise.
32242 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32243 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
32244 (_dl_non_dynamic_init): Likewise.
32245 (_dl_aux_init): Likewise.
32246 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
32247 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32249 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
32250 (__wcsmbs_clone_conv): Likewise.
32251 (__wcsmbs_named_conv): Likewise.
32253 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32256 * include/stdlib.h (__random): Add attribute_hidden.
32257 (__random_r): Likewise.
32258 (__srandom_r): Likewise.
32259 (__initstate_r): Likewise.
32260 (__setstate_r): Likewise.
32261 (__erand48_r): Likewise.
32262 (__nrand48_r): Likewise.
32263 (__jrand48_r): Likewise.
32264 (__srand48_r): Likewise.
32265 (__seed48_r): Likewise.
32266 (__lcong48_r): Likewise.
32267 (__drand48_iterate): Likewise.
32268 (__setenv): Likewise.
32269 (__unsetenv): Likewise.
32270 (__clearenv): Likewise.
32271 (__ptsname_r): Likewise.
32272 (__posix_openpt): Likewise.
32273 (__add_to_environ): Likewise.
32274 (__realpath): Add libc_hidden_proto.
32275 (__ecvt_r): Likewise.
32276 (__fcvt_r): Likewise.
32277 (__qecvt_r): Likewise.
32278 (__qfcvt_r): Likewise.
32279 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
32280 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
32282 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
32285 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
32286 * include/time.h (__mktime_internal): Likewise.
32287 * libio/iolibio.h (__fopen_internal): Likewise.
32289 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
32291 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
32293 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
32294 Correct offset used to restore PIC register.
32296 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
32299 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
32300 code to load address of __getcontext_ret when generating PIC code.
32302 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
32304 * elf/Makefile (tests-static-internal): Add
32305 tst-tls1-static-non-pie.
32306 (LDFLAGS-tst-tls1-static-non-pie): New.
32307 * elf/tst-tls1-static-non-pie.c: New file.
32309 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32311 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
32312 (asinh): Define using libm_alias_double.
32313 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
32314 (cbrt): Define using libm_alias_double.
32315 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
32316 <libm-alias-double.h>.
32317 (copysign): Define using libm_alias_double.
32318 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
32319 (erf): Define using libm_alias_double.
32321 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
32322 (expm1): Define using libm_alias_double.
32323 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
32324 (fabs): Define using libm_alias_double.
32325 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
32327 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
32328 <libm-alias-double.h>.
32329 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
32331 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
32332 <libm-alias-double.h>.
32333 (getpayload): Define using libm_alias_double.
32334 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
32335 <libm-alias-double.h>.
32336 (llrint): Define using libm_alias_double.
32337 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
32338 (lrint): Define using libm_alias_double.
32339 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
32340 <libm-alias-double.h>.
32341 (nextup): Define using libm_alias_double.
32342 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
32343 <libm-alias-double.h>.
32344 (roundeven): Define using libm_alias_double.
32345 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
32347 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
32348 <libm-alias-double.h>.
32349 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
32350 using libm_alias_double.
32351 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
32352 (cos): Define using libm_alias_double.
32354 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
32355 <libm-alias-double.h>.
32356 (sincos): Define using libm_alias_double.
32357 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
32358 (tanh): Define using libm_alias_double.
32359 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
32360 <libm-alias-double.h>.
32361 (totalorder): Define using libm_alias_double.
32362 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
32363 <libm-alias-double.h>.
32364 (totalordermag): Define using libm_alias_double.
32365 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
32367 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
32369 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
32370 <libm-alias-double.h>.
32371 (getpayload): Define using libm_alias_double.
32372 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
32373 <libm-alias-double.h>.
32374 (roundeven): Define using libm_alias_double.
32375 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
32376 <libm-alias-double.h>.
32377 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
32378 <libm-alias-double.h>.
32379 (totalorder): Define using libm_alias_double.
32380 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
32381 <libm-alias-double.h>.
32382 (totalordermag): Define using libm_alias_double.
32383 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
32384 libc compat symbol here.
32385 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
32386 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
32387 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
32388 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
32389 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
32390 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
32391 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
32392 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
32393 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
32394 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
32396 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32398 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
32399 _dl_relocate_static_pie instead of _dl_start to compute load
32400 address in static PIE. Return 0 if _DYNAMIC is undefined for
32403 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32405 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
32406 _DYNAMIC is undefined for static executable.
32408 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
32410 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
32412 2017-09-29 Joseph Myers <joseph@codesourcery.com>
32414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32416 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32418 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
32419 (__ieee754_lgamma_r): Use fabs rather than __fabs.
32420 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32421 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32422 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
32423 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
32424 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
32425 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
32426 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
32427 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32428 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
32429 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
32430 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32431 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
32432 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32433 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32434 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
32436 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
32438 * math/bits/cmathcalls.h (cimag): Remove inline.
32439 (creal): Remove inline.
32440 (conj): Remove inline.
32442 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32444 * math/Makefile (type-float-routines): Add e_powf_log2_data.
32445 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
32446 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
32447 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
32448 (issignalingf_inline): Likewise.
32449 (POWF_LOG2_TABLE_BITS): Likewise.
32450 (POWF_LOG2_POLY_ORDER): Likewise.
32451 (POWF_SCALE_BITS): Likewise.
32452 (POWF_SCALE): Likewise.
32453 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
32454 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
32455 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
32457 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32459 * math/Makefile (type-float-routines): Add e_log2f_data.
32460 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
32461 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
32462 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
32463 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
32464 * sysdeps/i386/fpu/e_log2f_data.c: New file.
32465 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
32466 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
32468 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32470 * math/Makefile (type-float-routines): Add e_logf_data.
32471 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
32472 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
32473 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
32474 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
32475 * sysdeps/i386/fpu/e_logf_data.c: New file.
32476 * sysdeps/ia64/fpu/e_logf_data.c: New file.
32477 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
32479 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
32481 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
32482 undefined _DYNAMIC in PIE libc.a.
32483 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
32486 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32488 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
32489 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
32490 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
32491 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
32492 (__signbit): Remove.
32493 (__signbitl): Remove.
32494 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
32495 (__signbit): Remove.
32496 (__signbitl): Remove.
32497 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
32498 (__signbit): Remove.
32499 (__signbitl): Remove.
32500 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
32501 (__signbit): Remove.
32502 (__signbitl): Remove.
32503 * sysdeps/tile/bits/mathinline.h: Delete file.
32504 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
32505 (__signbit): Remove.
32506 (__signbitl): Remove.
32508 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
32510 * math/math.h: Improve handling of C99 isgreater macros.
32511 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
32512 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
32513 * sysdeps/powerpc/bits/mathinline.h: Likewise.
32514 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32515 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
32517 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
32519 * sysdeps/aarch64/libm-test-ulps: Update.
32521 2017-09-28 Joseph Myers <joseph@codesourcery.com>
32524 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32525 math_opt_barrier on argument when doing arithmetic on it.
32526 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32527 Likewise. Use math_force_eval not math_opt_barrier after
32529 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
32530 math_opt_barrier on argument when doing arithmetic on it.
32531 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32534 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
32536 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
32538 (__freeifaddrs): Likewise.
32540 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32542 * include/dirent.h (__dirfd): New declaration.
32543 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
32545 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
32546 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
32547 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
32548 * include/unistd.h (__revoke): New declaration.
32549 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
32551 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
32552 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
32554 * include/dirent.h (__seekdir): New declaration.
32555 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
32556 redefine as weak alias.
32557 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
32559 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
32560 and use libc_hidden_def on them.
32561 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
32563 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
32564 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
32565 instead of getifaddrs and freeifaddrs.
32567 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32570 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
32571 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
32572 (__dso_handle): Remove declaration.
32573 * dlfcn/tstatexit.c (__dso_handle): Removed.
32574 (main): Don't check __dso_handle.
32575 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
32576 (main): Don't check __dso_handle.
32577 * include/dso_handle.h: New file.
32578 * malloc/mtrace.c: Include <dso_handle.h>.
32579 (mtrace): Pass __dso_handle directly.
32580 * nptl/pthread_atfork.c: Include <dso_handle.h>.
32581 (__dso_handle): Remove declaration.
32582 (__pthread_atfork): Pass __dso_handle directly.
32583 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
32584 (__dso_handle): Removed.
32585 * posix/wordexp-test.c: Include <dso_handle.h>.
32586 (__dso_handle): Remove declaration.
32587 (__app_register_atfork): Pass __dso_handle directly.
32588 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
32589 (__dso_handle): Remove declaration.
32590 (at_quick_exit): Pass __dso_handle directly.
32591 * stdlib/atexit.c: Include <dso_handle.h>.
32592 (__dso_handle): Remove declaration.
32593 (atexit): Pass __dso_handle directly.
32594 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
32595 (__dso_handle): Removed.
32597 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32599 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
32602 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
32604 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
32605 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
32606 values to correct default value for given type.
32608 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
32611 * elf/Makefile (tests): Add tst-debug1.
32612 ($(objpfx)tst-debug1): New.
32613 ($(objpfx)tst-debug1.out): Likewise.
32614 ($(objpfx)tst-debug1mod1.so): Likewise.
32615 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
32616 with p_filesz == 0.
32617 * elf/tst-debug1.c: New file.
32619 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32621 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
32622 Define using __ifunc.
32624 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32626 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
32629 2017-09-26 Joseph Myers <joseph@codesourcery.com>
32632 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
32634 2017-09-26 Florian Weimer <fweimer@redhat.com>
32636 * resolv/Makefile (tests-internal): Fix typo in comment.
32638 2017-09-26 Florian Weimer <fweimer@redhat.com>
32640 * resolv/nss_dns/dns-host.c: Fix typo in comment.
32642 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32644 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
32645 Use an union instead of a max_align_t array for __space,
32646 so that __space is the same size on all platforms.
32647 * malloc/scratch_buffer_grow_preserve.c
32648 (__libc_scratch_buffer_grow_preserve): Likewise.
32651 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
32653 * posix/Makefile (routines): Add glob-lstat-compat and
32654 glob64-lstat-compat.
32655 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
32656 * posix/glob-lstat-compat.c: New file.
32657 * posix/glob64-lstat-compat.c: Likewise.
32658 * posix/tst-glob_lstat_compat.c: Likewise.
32659 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
32660 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
32661 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
32662 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
32664 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
32665 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
32666 * posix/glob.c (glob_lstat): New function.
32667 (glob): Rename to __glob and add versioned symbol to 2.27.
32668 (glob_in_dir): Use glob_lstat.
32669 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
32670 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
32671 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
32673 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
32674 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
32675 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
32676 gl_lstat on glob call.
32677 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
32678 and glob64 symbols.
32679 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
32680 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
32681 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
32682 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
32683 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
32684 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
32685 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
32686 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
32687 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
32688 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
32689 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
32690 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
32691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
32693 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
32694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
32695 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
32696 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
32697 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
32698 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
32699 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
32700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
32701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
32702 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
32703 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
32704 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
32706 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
32708 * configure.ac (AS): Require binutils 2.25 or later.
32709 * configure: Regenerated.
32711 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32714 * stdlib/test-atexit-race-common.c (do_test): Minimize required
32717 2017-09-25 DJ Delorie <dj@redhat.com>
32720 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
32723 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
32725 * sysdeps/ieee754/dbl-64/sincos32.h
32726 [SINCCOS32_H]: Remove define.
32727 [SINCOS32_H]: Define.
32729 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32731 * math/Versions (expf): New libm symbol at GLIBC_2.27.
32733 * math/w_exp2f.c: New file.
32734 * math/w_expf.c: New file.
32735 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
32736 * math/w_expf_compat.c (__expf_compat): Likewise.
32737 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
32738 * sysdeps/ia64/fpu/e_expf.S: Likewise.
32739 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
32740 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
32741 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
32742 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
32743 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
32744 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
32745 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
32746 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
32747 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32748 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
32749 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
32750 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
32751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
32753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
32759 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
32760 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
32761 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
32762 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
32763 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
32764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
32766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
32768 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
32769 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
32770 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
32772 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32774 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
32775 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
32776 (roundtoint, converttoint): Likewise.
32777 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
32778 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
32779 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
32780 * sysdeps/ieee754/flt-32/math_config.h: New file.
32781 * sysdeps/ieee754/flt-32/math_errf.c: New file.
32782 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
32783 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
32784 * sysdeps/i386/fpu/math_errf.c: New file.
32785 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
32786 * sysdeps/ia64/fpu/math_errf.c: New file.
32787 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
32788 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
32790 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
32792 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
32793 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
32794 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
32795 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
32796 to make sure that these symbols are defined.
32797 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
32799 (__need_NULL): Do not define.
32800 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
32802 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
32803 CMGROUP_MAX, cmsgcred): Do not define.
32804 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
32806 * bits/socket.h: Likewise.
32807 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
32808 __gettimeofday instead of gettimeofday.
32809 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
32810 instead of settimeofday.
32812 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32814 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
32815 (asinhf): Define using libm_alias_float.
32816 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
32817 (atanf): Define using libm_alias_float.
32818 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
32819 (cbrtf): Define using libm_alias_float.
32820 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
32821 (ceilf): Define using libm_alias_float.
32822 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
32823 <libm-alias-float.h>.
32824 (copysignf): Define using libm_alias_float.
32825 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
32826 (cosf): Define using libm_alias_float.
32827 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
32828 (erff): Define using libm_alias_float.
32830 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
32831 (expm1f): Define using libm_alias_float.
32832 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
32833 (fabsf): Define using libm_alias_float.
32834 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
32835 (floorf): Define using libm_alias_float.
32836 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
32837 (frexpf): Define using libm_alias_float.
32838 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
32840 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
32841 <libm-alias-float.h>.
32842 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
32844 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
32845 <libm-alias-float.h>.
32846 (getpayloadf): Define using libm_alias_float.
32847 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
32848 <libm-alias-float.h>.
32849 (llrintf): Define using libm_alias_float.
32850 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
32851 <libm-alias-float.h>.
32852 (llroundf): Define using libm_alias_float.
32853 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
32854 (logbf): Define using libm_alias_float.
32855 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
32856 (lrintf): Define using libm_alias_float.
32857 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
32858 (lroundf): Define using libm_alias_float.
32859 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
32860 (modff): Define using libm_alias_float.
32861 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
32862 <libm-alias-float.h>.
32863 (nearbyintf): Define using libm_alias_float.
32864 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
32865 <libm-alias-float.h>.
32866 (nextafterf): Define using libm_alias_float.
32867 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
32868 <libm-alias-float.h>.
32869 (nextupf): Define using libm_alias_float.
32870 * sysdeps/ieee754/flt-32/s_remquof.c: Include
32871 <libm-alias-float.h>.
32872 (remquof): Define using libm_alias_float.
32873 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
32874 (rintf): Define using libm_alias_float.
32875 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
32876 <libm-alias-float.h>.
32877 (roundevenf): Define using libm_alias_float.
32878 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
32879 (roundf): Define using libm_alias_float.
32880 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
32881 using libm_alias_float.
32882 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
32883 <libm-alias-float.h>.
32884 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
32885 Define using libm_alias_float.
32886 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
32887 <libm-alias-float.h>.
32888 (sincosf): Define using libm_alias_float.
32889 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
32890 (sinf): Define using libm_alias_float.
32891 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
32892 (tanf): Define using libm_alias_float.
32893 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
32894 (tanhf): Define using libm_alias_float.
32895 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
32896 <libm-alias-float.h>.
32897 (totalorderf): Define using libm_alias_float.
32898 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
32899 <libm-alias-float.h>.
32900 (totalordermagf): Define using libm_alias_float.
32901 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
32902 (truncf): Define using libm_alias_float.
32903 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
32905 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
32908 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32911 math/math.h: Let fpclassify use the builtin in C++ mode, even
32912 when optimazing for size.
32914 2017-09-22 Joseph Myers <joseph@codesourcery.com>
32916 * csu/Makefile (generated): Do not add version-info.h.
32917 (before-compile): Likewise.
32918 (all-Banner-files): Remove variable.
32919 ($(objpfx)version-info.h): Remove rule.
32920 * csu/version.c (banner): Do not include "version-info.h".
32921 * libidn/Banner: Remove.
32922 * manual/contrib.texi (Simon Josefsson): New entry.
32924 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32926 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32927 Remove conditionals on LDBL_MANT_DIG.
32928 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
32929 (__ieee754_lgammal_r): Likewise.
32931 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32933 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
32935 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
32936 _Float128 and L(). Replace _Float128 with long double and L(x)
32937 with xL, throughout the file.
32938 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32939 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32940 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32941 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32943 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
32946 sysdeps/ieee754/ldbl-128ibm.
32947 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
32948 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
32949 of including it. Keep _Float128 and L() intact. These will be
32950 reviewed by a separate patch.
32951 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
32952 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
32953 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
32954 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
32956 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
32959 (__finitef128): Define to __redirect___finitef128.
32960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
32961 (__isinff128): Define to __redirect___isinff128.
32962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
32963 (__isnanf128): Define to __redirect___isnanf128.
32965 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
32967 * sysdeps/powerpc/powerpc64le/Makefile
32968 (CFLAGS-tst-strtod-nan-locale.c): New variable.
32969 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
32971 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
32972 Carlos O'Donell <carlos@redhat.com>
32975 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
32976 * stdlib/test-dlclose-exit-race.c: New file.
32977 * stdlib/test-dlclose-exit-race-helper.c: New file.
32978 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
32980 2017-09-21 Joseph Myers <joseph@codesourcery.com>
32982 * crypt/Banner: Remove file.
32983 * nptl/Banner: Likewise.
32984 * resolv/Banner: Likewise.
32985 * soft-fp/Banner: Likewise.
32986 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
32987 ($(objpfx)version.d): Remove dependency on banner.h.
32988 ($(objpfx)version.os): Likewise.
32989 * nptl/version.c (banner): Do not include banner.h.
32990 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
32991 Jelinek and BIND code.
32993 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
32994 Carlos O'Donell <carlos@redhat.com>
32996 * support/xdlfcn.h: New file.
32997 * support/xdlfcn.c: New file.
32998 * support/Makefile (libsupport-routines): Add xdlfcn.
32999 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
33001 2017-09-20 Joseph Myers <joseph@codesourcery.com>
33004 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33005 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
33006 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
33007 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
33008 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
33009 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
33010 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
33011 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
33013 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
33014 Ricky Zhou <rickyz@google.com>
33015 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
33018 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
33020 (__new_exitfn): Fail registration when we finished at_exit processing.
33021 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33022 * stdlib/on_exit.c (__on_exit): Likewise.
33023 * stdlib/exit.c (__exit_funcs_done): New variable.
33024 (__run_exit_handlers): Use __exit_funcs_lock.
33025 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
33027 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
33028 (test-cxa_atexit-race, test-on_exit-race): New tests.
33029 * stdlib/test-atexit-race-common.c: New file.
33030 * stdlib/test-atexit-race.c: New file.
33031 * stdlib/test-at_quick_exit-race.c: New file.
33032 * stdlib/test-cxa_atexit-race.c: New file.
33033 * stdlib/test-on_exit-race.c: New file.
33035 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
33037 * benchtests/Makefile: Add exp2f and log2f benchmarks.
33038 * benchtests/exp2f-inputs: Copy of expf-inputs.
33039 * benchtests/log2f-inputs: Copy of logf-inputs.
33041 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33043 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
33044 Explicitly take address of first element of array arguments in
33045 call to INLINE_SYSCALL.
33047 2017-09-19 Andreas Schwab <schwab@suse.de>
33050 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
33052 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
33054 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
33055 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
33056 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33057 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
33058 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33059 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33061 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
33062 * posix/Makefile (tests): Add tst-fexecve.
33063 * posix/tst-fexecve.c: New file.
33065 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33067 * benchtests/Makefile: Add logf benchmark.
33068 * benchtests/logf-inputs: Add reduced trace from wrf_r.
33070 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33072 * benchtests/Makefile: Add expf benchmark.
33073 * benchtests/expf-inputs: Add reduced trace from wrf_r.
33075 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
33077 * csu/Makefile: Add -funwind-tables to libc-start.c.
33078 * debug/Makefile: Add -funwind-tables to backtrace.c.
33079 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
33080 * sysdeps/arm/Makefile: Likewise.
33081 * sysdeps/i386/Makefile: Likewise.
33082 * sysdeps/m68k/Makefile: Likewise.
33083 * sysdeps/mips/Makefile: Likewise.
33084 * sysdeps/nios2/Makefile: Likewise.
33085 * sysdeps/sh/Makefile: Likewise.
33086 * sysdeps/sparc/Makefile: Likewise.
33088 2017-09-19 Joseph Myers <joseph@codesourcery.com>
33090 * benchtests/Makefile (bench-math): Add trunc and truncf.
33091 (CFLAGS-bench-trunc.c): New variable.
33092 (CFLAGS-bench-truncf.c): Likewise.
33093 * benchtests/trunc-inputs: New file.
33094 * benchtests/truncf-inputs: Likewise.
33096 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33098 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
33100 2017-09-18 Joseph Myers <joseph@codesourcery.com>
33102 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
33103 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
33105 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
33106 (exp10l): Define as weak alias.
33107 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
33108 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
33110 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
33111 (remainderl): Define as weak alias.
33113 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
33114 (fmal): Define using libm_alias_ldouble.
33115 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
33116 (acoshl): Define using libm_alias_ldouble.
33117 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
33118 (acosl): Define using libm_alias_ldouble.
33119 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
33120 (asinl): Define using libm_alias_ldouble.
33121 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
33122 (atan2l): Define using libm_alias_ldouble.
33123 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
33124 (atanhl): Define using libm_alias_ldouble.
33125 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
33126 (coshl): Define using libm_alias_ldouble.
33127 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
33128 (exp10l): Define using libm_alias_ldouble.
33129 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
33130 (exp2l): Define using libm_alias_ldouble.
33131 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
33132 (expl): Define using libm_alias_ldouble.
33133 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
33134 (fmodl): Define using libm_alias_ldouble.
33135 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
33136 (hypotl): Define using libm_alias_ldouble.
33137 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
33138 (j0l): Define using libm_alias_ldouble.
33140 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
33141 (j1l): Define using libm_alias_ldouble.
33143 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
33144 (jnl): Define using libm_alias_ldouble.
33146 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
33147 (log10l): Define using libm_alias_ldouble.
33148 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
33149 (log2l): Define using libm_alias_ldouble.
33150 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
33151 (logl): Define using libm_alias_ldouble.
33152 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
33153 (powl): Define using libm_alias_ldouble.
33154 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
33155 (remainderl): Define using libm_alias_ldouble.
33156 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
33157 (sinhl): Define using libm_alias_ldouble.
33158 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
33159 (sqrtl): Define using libm_alias_ldouble.
33160 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
33161 (tgammal): Define using libm_alias_ldouble.
33162 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
33163 (exp10l): Do not use long_double_symbol here.
33164 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
33165 [LIBM_SVID_COMPAT] (remainderl): Likewise.
33166 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
33167 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
33168 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
33169 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
33170 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
33171 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
33172 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
33173 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33174 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
33175 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
33176 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
33177 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
33178 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
33179 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
33180 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
33181 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
33182 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
33183 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
33184 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
33185 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
33187 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
33189 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
33190 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
33192 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
33194 * io/read.c (read): Add libc_hidden_weak.
33195 * sysdeps/mach/hurd/read.c (read): Likewise.
33196 * io/write.c (write): Likewise.
33197 * sysdeps/mach/hurd/write.c (write): Likewise.
33198 * io/pread64.c (__pread64): Likewise.
33199 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
33200 * posix/pread64.c (__pread64): Add libc_hidden_def.
33202 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
33204 * benchtests/scripts/compare_strings.py: New option -g.
33205 (draw_graph): Print a message that a graph is being generated.
33206 (process_results): Generate graph only if -g is passed.
33207 (main): Process option -g.
33209 * benchtests/scripts/compare_strings.py (process_results):
33210 Better spacing for output.
33212 * benchtests/scripts/compare_strings.py: Use argparse.
33213 * benchtests/README: Document existence of compare_strings.py.
33215 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33217 * math/s_fma.c: Include <libm-alias-double.h>.
33218 (fma): Define using libm_alias_double.
33219 * math/s_nextafter.c: Include <libm-alias-double.h>.
33220 (nextafter): Define using libm_alias_double.
33221 * math/w_acos_compat.c: Include <libm-alias-double.h>.
33222 (acos): Define using libm_alias_double.
33223 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
33224 (aocsh): Define using libm_alias_double.
33225 * math/w_asin_compat.c: Include <libm-alias-double.h>.
33226 (asin): Define using libm_alias_double.
33227 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
33228 (atan2): Define using libm_alias_double.
33229 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
33230 (atanh): Define using libm_alias_double.
33231 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
33232 (cosh): Define using libm_alias_double.
33233 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
33234 (exp10): Define using libm_alias_double.
33235 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
33236 (exp2): Define using libm_alias_double.
33237 * math/w_exp_compat.c: Include <libm-alias-double.h>.
33238 (exp): Define using libm_alias_double.
33239 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
33240 (fmod): Define using libm_alias_double.
33241 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
33242 (hypot): Define using libm_alias_double.
33243 * math/w_j0_compat.c: Include <libm-alias-double.h>.
33244 (j0): Define using libm_alias_double.
33246 * math/w_j1_compat.c: Include <libm-alias-double.h>.
33247 (j1): Define using libm_alias_double.
33249 * math/w_jn_compat.c: Include <libm-alias-double.h>.
33250 (jn): Define using libm_alias_double.
33252 * math/w_log10_compat.c: Include <libm-alias-double.h>.
33253 (log10): Define using libm_alias_double.
33254 * math/w_log2_compat.c: Include <libm-alias-double.h>.
33255 (log2): Define using libm_alias_double.
33256 * math/w_log_compat.c: Include <libm-alias-double.h>.
33257 (log): Define using libm_alias_double.
33258 * math/w_pow_compat.c: Include <libm-alias-double.h>.
33259 (pow): Define using libm_alias_double.
33260 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
33261 (remainder): Define using libm_alias_double.
33262 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
33263 (sinh): Define using libm_alias_double.
33264 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
33265 (sqrt): Define using libm_alias_double.
33266 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
33267 (tgamma): Define using libm_alias_double.
33268 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
33269 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
33270 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
33271 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
33272 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
33273 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
33274 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
33275 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
33276 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
33277 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
33278 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
33279 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
33280 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
33281 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
33282 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
33283 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
33284 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
33285 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
33286 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
33287 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
33288 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
33289 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
33290 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
33291 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
33292 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
33294 * math/e_acoshl.c: Remove.
33295 * math/e_acosl.c: Likewise.
33296 * math/e_asinl.c: Likewise.
33297 * math/e_atan2l.c: Likewise.
33298 * math/e_atanhl.c: Likewise.
33299 * math/e_coshl.c: Likewise.
33300 * math/e_expl.c: Likewise.
33301 * math/e_fmodl.c: Likewise.
33302 * math/e_gammal_r.c: Likewise.
33303 * math/e_hypotl.c: Likewise.
33304 * math/e_j0l.c: Likewise.
33305 * math/e_j1l.c: Likewise.
33306 * math/e_jnl.c: Likewise.
33307 * math/e_lgammal_r.c: Likewise.
33308 * math/e_log10l.c: Likewise.
33309 * math/e_log2l.c: Likewise.
33310 * math/e_logl.c: Likewise.
33311 * math/e_powl.c: Likewise.
33312 * math/e_rem_pio2l.c: Likewise.
33313 * math/e_sinhl.c: Likewise.
33314 * math/e_sqrtf128.c: Likewise.
33315 * math/e_sqrtl.c: Likewise.
33316 * math/k_cosl.c: Likewise.
33317 * math/k_sinl.c: Likewise.
33318 * math/k_tanl.c: Likewise.
33319 * math/s_asinhl.c: Likewise.
33320 * math/s_atanl.c: Likewise.
33321 * math/s_cbrtl.c: Likewise.
33322 * math/s_erfl.c: Likewise.
33323 * math/s_expm1l.c: Likewise.
33324 * math/s_log1pl.c: Likewise.
33325 * math/s_tanhl.c: Likewise.
33327 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
33331 [$(subdir) = math] (sysdep_calls): New variable. Has the
33332 previous contents of sysdep_routines, but re-sorted..
33333 [$(subdir) = math] (sysdep_routines): Re-use the contents from
33335 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
33336 defined in sysdep_calls and replace by the respective m_* names.
33337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
33338 (compat_symbol): Undefine to avoid duplicated compat symbols in
33341 2017-09-15 Joseph Myers <joseph@codesourcery.com>
33343 * math/s_fmaf.c: Include <libm-alias-float.h>.
33344 (fmaf): Define using libm_alias_float.
33345 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
33346 (acosf): Define using libm_alias_float.
33347 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
33348 (acoshf): Define using libm_alias_float.
33349 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
33350 (asinf): Define using libm_alias_float.
33351 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
33352 (atan2f): Define using libm_alias_float.
33353 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
33354 (atanhf): Define using libm_alias_float.
33355 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
33356 (coshf): Define using libm_alias_float.
33357 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
33358 (exp10f): Define using libm_alias_float.
33359 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
33360 (fmodf): Define using libm_alias_float.
33361 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
33362 (hypotf): Define using libm_alias_float.
33363 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
33364 (j0f): Define using libm_alias_float.
33366 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
33367 (j1f): Define using libm_alias_float.
33369 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
33370 (jnf): Define using libm_alias_float.
33372 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
33373 (log10f): Define using libm_alias_float.
33374 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
33375 (log2f): Define using libm_alias_float.
33376 * math/w_logf_compat.c: Include <libm-alias-float.h>.
33377 (logf): Define using libm_alias_float.
33378 * math/w_powf_compat.c: Include <libm-alias-float.h>.
33379 (powf): Define using libm_alias_float.
33380 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
33381 (remainderf): Define using libm_alias_float.
33382 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
33383 (sinhf): Define using libm_alias_float.
33384 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
33385 (sqrtf): Define using libm_alias_float.
33386 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
33387 (tgammaf): Define using libm_alias_float.
33389 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33391 * include/math.h (roundeven): Change hidden_proto call to
33393 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
33395 [NO_LONG_DOUBLE] (__j0l): New strong alias.
33396 (y0): Rename to __y0 and define as weak alias.
33397 [NO_LONG_DOUBLE] (__y0l): New strong alias.
33398 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
33400 (y0f): Rename to __y0f and define as weak alias.
33401 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
33403 [NO_LONG_DOUBLE] (__j1l): New strong alias.
33404 (y1): Rename to __y1 and define as weak alias.
33405 [NO_LONG_DOUBLE] (__y1l): New strong alias.
33406 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
33408 (y1f): Rename to __y1f and define as weak alias.
33409 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
33411 [NO_LONG_DOUBLE] (__jnl): New strong alias.
33412 (yn): Rename to __yn and define as weak alias.
33413 [NO_LONG_DOUBLE] (__ynl): New strong alias.
33414 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
33416 (ynf): Rename to __ynf and define as weak alias.
33417 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
33418 (fromfp): Define as weak alias.
33419 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
33420 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
33421 (fromfpx): Define as weak alias.
33422 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
33423 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
33424 __getpayload and define as weak alias.
33425 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33426 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
33427 __roundeven and define as weak alias.
33428 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33429 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
33431 (setpayload): Define as weak alias.
33432 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
33433 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
33435 (setpayloadsig): Define as weak alias.
33436 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
33437 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
33438 __totalorder and define as weak alias.
33439 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33440 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
33441 to __totalordermag and define as weak alias.
33442 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33443 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
33444 (ufromfp): Define as weak alias.
33445 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
33446 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
33448 (ufromfpx): Define as weak alias.
33449 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
33450 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
33451 Rename to __getpayload and define as weak alias.
33452 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
33453 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
33454 Rename to __roundeven and define as weak alias.
33455 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
33456 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
33457 Rename to __totalorder and define as weak alias.
33458 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
33459 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
33460 (totalordermag): Rename to __totalordermag and define as weak
33462 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
33463 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
33465 (__roundevenl): Likewise.
33466 (__totalorderl): Likewise.
33467 (__totalordermagl): Likewise
33468 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
33470 (fromfpf128): Define as weak alias.
33471 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
33473 (fromfpxf128): Define as weak alias.
33474 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
33476 (setpayloadf128): Define as weak alias.
33477 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
33478 __setpayloadsigf128.
33479 (setpayloadsigf128): Define as weak alias.
33480 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
33482 (ufromfpf128): Define as weak alias.
33483 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
33485 (ufromfpxf128): Define as weak alias.
33486 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
33487 (fromfpf): Define as weak alias.
33488 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
33490 (fromfpxf): Define as weak alias.
33491 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
33492 __getpayloadf and define as weak alias.
33493 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
33494 __roundevenf and define as weak alias.
33495 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
33497 (setpayloadf): Define as weak alias.
33498 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
33500 (setpayloadsigf): Define as weak alias.
33501 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
33502 __totalorderf and define as weak alias.
33503 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
33504 Rename to __totalordermagf and define as weak alias.
33505 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
33507 (ufromfpf): Define as weak alias.
33508 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
33510 (ufromfpxf): Define as weak alias.
33511 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
33513 (fromfpl): Define as weak alias.
33514 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
33516 (fromfpxl): Define as weak alias.
33517 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
33518 to __getpayloadl and define as weak alias.
33519 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
33520 __roundevenl and define as weak alias.
33521 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
33523 (setpayloadl): Define as weak alias.
33524 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
33526 (setpayloadsigl): Define as weak alias.
33527 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
33528 to __totalorderl and define as weak alias.
33529 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
33530 Rename to __totalordermagl and define as weak alias.
33531 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
33533 (ufromfpl): Define as weak alias.
33534 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
33536 (ufromfpxl): Define as weak alias.
33537 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
33539 (fromfpl): Define as weak alias.
33540 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
33542 (fromfpxl): Define as weak alias.
33543 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
33544 Rename to __getpayloadl and define as weak alias.
33545 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
33546 to __roundevenl and define as weak alias. Call __roundeven
33547 instead of roundeven.
33548 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
33550 (setpayloadl): Define as weak alias.
33551 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
33553 (setpayloadsigl): Define as weak alias.
33554 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
33555 Rename to __totalorderl and define as weak alias.
33556 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
33557 Rename to __totalordermagl and define as weak alias.
33558 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
33560 (ufromfpl): Define as weak alias.
33561 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
33563 (ufromfpxl): Define as weak alias.
33564 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
33566 (fromfpl): Define as weak alias.
33567 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
33569 (fromfpxl): Define as weak alias.
33570 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
33571 __getpayloadl and define as weak alias.
33572 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
33573 __roundevenl and define as weak alias.
33574 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
33576 (setpayloadl): Define as weak alias.
33577 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
33579 (setpayloadsigl): Define as weak alias.
33580 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
33581 __totalorderl and define as weak alias.
33582 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
33583 Rename to __totalordermagl and define as weak alias.
33584 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
33586 (ufromfpl): Define as weak alias.
33587 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
33589 (ufromfpxl): Define as weak alias.
33591 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
33593 * benchtests/bench-string.h (realloc_bufs): New function.
33594 (test_init): Call it.
33595 * benchtests/bench-memset-large.c (do_test): Likewise.
33596 * benchtests/bench-memset.c (do_test): Likewise.
33598 * benchtests/bench-memset-large.c: Print output in JSON
33600 * benchtests/bench-memset.c: Likewise.
33602 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33605 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
33606 * iconvdata/Makefile: Add IBM858.
33607 * iconvdata/gconv-modules: Likewise.
33608 * iconvdata/tst-tables.sh: Likewise.
33609 * iconvdata/ibm858.c: New file.
33610 * localedata/charmaps/IBM858: Likewise.
33612 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
33615 * locales/niu_NZ (LC_TIME): copy "niu_NU".
33616 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
33618 2017-09-14 Mike FABIAN <mfabian@redhat.com>
33621 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
33622 and add tel_int_fmt.
33624 2017-09-14 Joseph Myers <joseph@codesourcery.com>
33626 * sysdeps/generic/libm-alias-float128.h: New file.
33627 * sysdeps/generic/math-type-macros-float128.h: Include
33628 <libm-alias-float128.h>.
33629 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33631 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33633 * sysdeps/generic/libm-alias-ldouble.h: New file.
33634 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
33635 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
33636 * sysdeps/generic/math-type-macros-ldouble.h: Include
33637 <libm-alias-ldouble.h>.
33638 [!declare_mgen_alias] (declare_mgen_alias): Define to use
33639 libm_alias_ldouble.
33641 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
33643 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
33644 * math/w_exp_compat.c: ... here.
33645 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
33646 * math/w_expf_compat.c: ... here.
33647 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
33648 * math/w_expl_compat.c: ... here.
33649 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
33650 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
33651 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
33652 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
33654 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33656 * math/w_scalbln_template.c (strong_alias): Do not undefine and
33658 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
33660 (ldexpl): Only define as compat symbol for libc, not libm.
33661 (scalbnl): Define as compat symbol for libc here.
33662 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
33663 define for [IS_IN (libc)].
33664 (__ldexpl_2): Remove alias.
33665 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
33666 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
33667 name in long_double_symbol call.
33668 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
33669 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33670 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33671 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
33672 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
33674 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
33675 Define as compat symbol.
33677 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33679 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
33680 * sysdeps/unix/sysv/linux/alpha/Makefile
33681 [$(subdir) = csu] (sysdep_routines): Remove rule.
33683 2017-09-13 Joseph Myers <joseph@codesourcery.com>
33685 * sysdeps/generic/libm-alias-double.h: New file.
33686 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
33687 * sysdeps/generic/math-type-macros-double.h: Include
33688 <libm-alias-double.h>.
33689 [declare_mgen_alias] (declare_mgen_alias): Define to use
33691 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
33692 (M_LIBM_NEED_COMPAT): Remove macro.
33693 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
33694 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
33695 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
33697 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33698 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33699 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33700 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33701 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33702 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33703 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33704 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33705 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33706 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33707 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33708 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33709 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33710 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33711 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33712 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33713 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33714 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33715 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33716 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33717 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33718 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33719 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33720 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33721 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33722 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33723 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
33724 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
33725 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
33727 (declare_mgen_alias): New macro.
33728 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
33729 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
33730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
33731 (M_LIBM_NEED_COMPAT): Remove macro.
33732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
33733 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
33734 <first-versions.h>.
33735 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
33736 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
33738 2017-09-12 Joseph Myers <joseph@codesourcery.com>
33740 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
33741 (declare_mgen_alias_2): Remove.
33742 * sysdeps/generic/math-type-macros-double.h
33743 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
33745 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
33747 (ldexp): Define with declare_mgen_alias.
33748 (scalbn): Likewise.
33750 2017-09-12 Steve Ellcey <sellcey@cavium.com>
33752 * grp/initgroups.c: Include config.h.
33753 (DEFAULT_CONFIG): New macro.
33754 (internal_getgrouplist): Use DEFAULT_CONFIG.
33755 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33756 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
33757 (DEFAULT_DEFCONFIG): New macro.
33758 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
33759 * nss/grp-lookup.c: Include config.h
33760 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
33761 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
33762 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
33763 * manual/nss.texi: Update default values section.
33765 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
33768 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
33770 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
33771 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33772 Handle MathVec_Prefer_No_AVX512.
33773 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
33774 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
33777 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
33779 * posix/sched_primax.c (__sched_get_priority_max): Add
33781 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
33782 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
33783 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
33784 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
33785 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
33786 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
33787 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
33788 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
33791 2017-09-11 Joseph Myers <joseph@codesourcery.com>
33793 * sysdeps/generic/libm-alias-float.h: New file.
33794 * sysdeps/generic/math-type-macros-float.h: Include
33795 <libm-alias-float.h>.
33796 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
33798 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
33801 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
33802 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
33803 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
33804 (HWCAP_IMPORTANT): Likewise.
33805 (HWCAP_X86_64): New enum.
33806 (HWCAP_X86_AVX512_1): Updated.
33807 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
33808 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
33809 (modules-names): Add x86_64/tst-x86_64mod-1.
33810 (LDFLAGS-tst-x86_64mod-1.so): New.
33811 ($(objpfx)tst-x86_64-1): Likewise.
33812 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
33813 (tst-x86_64-1-clean): Likewise.
33814 * sysdeps/x86_64/tst-x86_64-1.c: New file.
33815 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
33817 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33819 * po/sv.po: Update translations.
33820 * po/fr.po: Likewise.
33822 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33824 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
33826 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
33828 * elf/rtld-Rules: Fix $(error) use.
33830 2017-09-09 Mike FABIAN <mfabian@redhat.com>
33833 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
33834 * locale/iso-639.def: Change “Bengali” to “Bangla”.
33835 * localedata/locales/bn_BD: “Bengali” was still used in some
33836 comments. Change it to “Bangla”.
33838 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
33840 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
33842 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33844 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
33845 thunderx2t99p1 to list of cpu names.
33846 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
33847 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
33849 2017-09-08 Steve Ellcey <sellcey@cavium.com>
33851 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
33852 Use strcmp instead of tunable_is_name.
33854 2017-09-08 Joseph Myers <joseph@codesourcery.com>
33856 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33857 (F_GET_RW_HINT): New macro.
33858 [__USE_GNU] (F_SET_RW_HINT): Likewise.
33859 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
33860 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
33861 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
33862 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
33863 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
33864 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
33865 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
33866 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
33868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33869 (F_ADD_SEALS): New macro.
33870 [__USE_GNU] (F_GET_SEALS): Likewise.
33871 [__USE_GNU] (F_SEAL_SEAL): Likewise.
33872 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
33873 [__USE_GNU] (F_SEAL_GROW): Likewise.
33874 [__USE_GNU] (F_SEAL_WRITE): Likewise.
33876 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33878 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
33879 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
33880 * posix/glob_internal.h (__glob_pattern_type):
33881 * posix/glob.c (glob):
33882 * posix/glob_pattern_p.c (__glob_pattern_p):
33885 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
33886 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33887 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
33888 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
33889 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
33891 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
33892 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
33893 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33894 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33895 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33896 * sysdeps/wordsize-64/glob.c: Likewise.
33897 * sysdeps/wordsize-64/glob64.c: Likewise.
33898 * sysdeps/wordsize-64/globfree.c: Likewise.
33899 * sysdeps/wordsize-64/globfree64.c: Likewise.
33900 * sysdeps/unix/sysv/linux/glob.c: New file.
33901 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
33902 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
33903 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
33904 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
33905 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
33906 adds !GLOB_NO_OLD_VERSION as an extra condition.
33907 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
33908 using relative path instead of absolute one.
33909 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
33910 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33911 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33912 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
33913 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
33914 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
33917 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
33918 (glob): Use the same scratch buffer for both getlogin_r and
33919 getpwnam_r. Don’t require preallocation of the login name. This
33920 simplifies storage allocation, and corrects the handling of
33924 * posix/glob.c (glob): Port recent patches to platforms
33925 lacking getpwnam_r.
33926 (glob): Fix longstanding misuse of errno after getpwnam_r, which
33927 returns an error number rather than setting errno.
33929 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
33930 instead of GCC extension.
33931 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
33932 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
33933 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
33937 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
33938 * posix/bug-glob1.c: Remove file.
33939 * posix/tst-glob_symlinks.c: New file.
33940 * posix/glob.c (__lstat64): New macro.
33941 (is_dir): New function.
33942 (glob, glob_in_dir): Match symlinks even if they are dangling.
33943 (link_stat, link_exists_p): Remove. All uses removed.
33947 * posix/glob.c (struct readdir_result): Remove skip_entry member.
33948 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
33953 * posix/Makefile (routines): Add globfree, globfree64, and
33955 * posix/flexmember.h: New file.
33956 * posix/glob_internal.h: Likewise.
33957 * posix/glob_pattern_p.c: Likewise.
33958 * posix/globfree.c: Likewise.
33959 * posix/globfree64.c: Likewise.
33960 * sysdeps/gnu/globfree64.c: Likewise.
33961 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
33962 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
33963 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
33964 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
33965 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
33966 * sysdeps/wordsize-64/globfree.c: Likewise.
33967 * sysdeps/wordsize-64/globfree64.c: Likewise.
33968 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
33969 [NDEBUG): Remove comments.
33970 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
33971 (dirent_type): New type. Use uint_fast8_t not
33972 uint8_t, as C99 does not require uint8_t.
33973 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
33974 (struct readdir_result): Use dirent_type. Do not define skip_entry
33975 unless it is needed; this saves a byte on platforms lacking d_ino.
33976 (readdir_result_type, readdir_result_skip_entry):
33977 New functions, replacing ...
33978 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
33979 these functions, which were removed. This makes the callers
33980 easier to read. All callers changed.
33981 (D_INO_TO_RESULT): Now empty if there is no d_ino.
33982 (size_add_wrapv, glob_use_alloca): New static functions.
33983 (glob, glob_in_dir): Check for size_t overflow in several places,
33984 and fix some size_t checks that were not quite right.
33985 Remove old code using SHELL since Bash no longer
33987 (glob, prefix_array): Separate MS code better.
33988 (glob_in_dir): Remove old Amiga and VMS code.
33989 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
33991 (glob_in_dir): Do not rely on undefined behavior in accessing
33992 struct members beyond their bounds. Use a flexible array member
33994 (link_stat): Rename from link_exists2_p and return -1/0 instead of
33995 0/1. Caller changed.
33996 (glob): Fix memory leaks.
33997 * posix/glob64 (globfree64): Move to separate file.
33998 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
33999 (globfree64): Remove hidden alias.
34000 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
34002 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
34004 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
34006 Move compat code to separate file.
34007 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
34010 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
34012 * resolv/tst-resolv-qtypes.c (domain): Changed to
34013 "const char domain[] =".
34015 2017-09-07 Joseph Myers <joseph@codesourcery.com>
34017 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
34020 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
34021 (TCP_MD5SIG_EXT): Likewise.
34022 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
34023 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
34024 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
34026 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
34028 2017-09-07 Mike FABIAN <mfabian@redhat.com>
34030 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
34032 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
34035 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
34037 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
34039 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
34040 before assuming that the file is empty. Avoid testing buffer content
34043 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34046 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34048 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
34050 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
34052 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
34054 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
34056 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
34058 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
34061 2017-09-06 Florian Weimer <fweimer@redhat.com>
34063 * malloc/dynarray_emplace_enlarge.c
34064 (__libc_dynarray_emplace_enlarge): Add missing else.
34066 2017-09-06 Florian Weimer <fweimer@redhat.com>
34069 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
34070 case of failure to obtain the global conf object.
34072 2017-09-06 Florian Weimer <fweimer@redhat.com>
34075 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
34076 dynarray allocation failure.
34078 2017-09-06 Florian Weimer <fweimer@redhat.com>
34080 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
34081 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
34082 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
34084 (response): Call them. Add 'p', '6' flag processing.
34085 (test_reverse): New function.
34086 (test_get2_any): Call it.
34087 (test_no_inet6): Add 'p' test.
34088 (test_inet6): Likewise.
34090 2017-09-06 Florian Weimer <fweimer@redhat.com>
34092 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
34093 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
34095 (test_gai): Adjust query names. Add additional tests.
34096 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
34097 test_get2. Adjust query names. Add additional tests.
34098 (test_no_inet6): New function, extracted from threadfunc.
34099 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
34100 Add additional tests.
34102 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34105 * localedata/unicode-gen/utf8_gen.py: Set the width for
34106 characters with Prepended_Concatenation_Mark property to 1
34107 * localedata/charmaps/UTF-8: Updated using the improved script.
34109 2017-09-06 Mike FABIAN <mfabian@redhat.com>
34112 * localedata/unicode-gen/utf8_gen.py: Improve the script to
34113 use the range notation for all ranges of neighbouring characters
34114 with the same width.
34116 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34118 * sysdeps/generic/math-type-macros-double.h: Include
34119 <math-svid-compat.h>.
34120 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34121 * sysdeps/generic/math-type-macros-float.h: Include
34122 <math-svid-compat.h>.
34123 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34124 * sysdeps/generic/math-type-macros-ldouble.h: Include
34125 <math-svid-compat.h>.
34126 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
34127 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
34129 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
34130 * math/w_acosf_compat.c: Likewise.
34131 * math/w_acosh_compat.c: Likewise.
34132 * math/w_acoshf_compat.c: Likewise.
34133 * math/w_acoshl_compat.c: Likewise.
34134 * math/w_acosl_compat.c: Likewise.
34135 * math/w_asin_compat.c: Likewise.
34136 * math/w_asinf_compat.c: Likewise.
34137 * math/w_asinl_compat.c: Likewise.
34138 * math/w_atan2_compat.c: Likewise.
34139 * math/w_atan2f_compat.c: Likewise.
34140 * math/w_atan2l_compat.c: Likewise.
34141 * math/w_atanh_compat.c: Likewise.
34142 * math/w_atanhf_compat.c: Likewise.
34143 * math/w_atanhl_compat.c: Likewise.
34144 * math/w_cosh_compat.c: Likewise.
34145 * math/w_coshf_compat.c: Likewise.
34146 * math/w_coshl_compat.c: Likewise.
34147 * math/w_exp10_compat.c: Likewise.
34148 * math/w_exp10f_compat.c: Likewise.
34149 * math/w_exp10l_compat.c: Likewise.
34150 * math/w_exp2_compat.c: Likewise.
34151 * math/w_exp2f_compat.c: Likewise.
34152 * math/w_exp2l_compat.c: Likewise.
34153 * math/w_fmod_compat.c: Likewise.
34154 * math/w_fmodf_compat.c: Likewise.
34155 * math/w_fmodl_compat.c: Likewise.
34156 * math/w_hypot_compat.c: Likewise.
34157 * math/w_hypotf_compat.c: Likewise.
34158 * math/w_hypotl_compat.c: Likewise.
34159 * math/w_j0_compat.c: Likewise.
34160 * math/w_j0f_compat.c: Likewise.
34161 * math/w_j0l_compat.c: Likewise.
34162 * math/w_j1_compat.c: Likewise.
34163 * math/w_j1f_compat.c: Likewise.
34164 * math/w_j1l_compat.c: Likewise.
34165 * math/w_jn_compat.c: Likewise.
34166 * math/w_jnf_compat.c: Likewise.
34167 * math/w_jnl_compat.c: Likewise.
34168 * math/w_lgamma_r_compat.c: Likewise.
34169 * math/w_lgammaf_r_compat.c: Likewise.
34170 * math/w_lgammal_r_compat.c: Likewise.
34171 * math/w_log10_compat.c: Likewise.
34172 * math/w_log10f_compat.c: Likewise.
34173 * math/w_log10l_compat.c: Likewise.
34174 * math/w_log2_compat.c: Likewise.
34175 * math/w_log2f_compat.c: Likewise.
34176 * math/w_log2l_compat.c: Likewise.
34177 * math/w_log_compat.c: Likewise.
34178 * math/w_logf_compat.c: Likewise.
34179 * math/w_logl_compat.c: Likewise.
34180 * math/w_pow_compat.c: Likewise.
34181 * math/w_powf_compat.c: Likewise.
34182 * math/w_powl_compat.c: Likewise.
34183 * math/w_remainder_compat.c: Likewise.
34184 * math/w_remainderf_compat.c: Likewise.
34185 * math/w_remainderl_compat.c: Likewise.
34186 * math/w_sinh_compat.c: Likewise.
34187 * math/w_sinhf_compat.c: Likewise.
34188 * math/w_sinhl_compat.c: Likewise.
34189 * math/w_sqrt_compat.c: Likewise.
34190 * math/w_sqrtf_compat.c: Likewise.
34191 * math/w_sqrtl_compat.c: Likewise.
34192 * math/w_tgamma_compat.c: Likewise.
34193 * math/w_tgammaf_compat.c: Likewise.
34194 * math/w_tgammal_compat.c: Likewise.
34195 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
34196 [LIBM_SVID_COMPAT].
34197 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
34198 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
34199 [LIBM_SVID_COMPAT].
34200 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
34201 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
34202 [LIBM_SVID_COMPAT].
34203 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
34204 * sysdeps/i386/fpu/w_sqrt.c: New file.
34205 * sysdeps/ia64/fpu/w_acos.c: Likewise.
34206 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
34207 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
34208 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
34209 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
34210 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
34211 * sysdeps/ia64/fpu/w_asin.c: Likewise.
34212 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
34213 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
34214 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
34215 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
34216 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
34217 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
34218 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
34219 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
34220 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
34221 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
34222 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
34223 * sysdeps/ia64/fpu/w_exp.c: Likewise.
34224 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
34225 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
34226 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
34227 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
34228 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
34229 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
34230 * sysdeps/ia64/fpu/w_expf.c: Likewise.
34231 * sysdeps/ia64/fpu/w_expl.c: Likewise.
34232 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
34233 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
34234 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
34235 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
34236 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
34237 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
34238 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
34239 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
34240 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
34241 * sysdeps/ia64/fpu/w_log.c: Likewise.
34242 * sysdeps/ia64/fpu/w_log10.c: Likewise.
34243 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
34244 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
34245 * sysdeps/ia64/fpu/w_log2.c: Likewise.
34246 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
34247 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
34248 * sysdeps/ia64/fpu/w_logf.c: Likewise.
34249 * sysdeps/ia64/fpu/w_logl.c: Likewise.
34250 * sysdeps/ia64/fpu/w_pow.c: Likewise.
34251 * sysdeps/ia64/fpu/w_powf.c: Likewise.
34252 * sysdeps/ia64/fpu/w_powl.c: Likewise.
34253 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
34254 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
34255 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
34256 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
34257 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
34258 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
34259 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
34260 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
34261 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
34262 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
34263 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
34264 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
34265 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
34266 [LIBM_SVID_COMPAT].
34267 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
34268 * sysdeps/ieee754/k_standard.c: Likewise.
34269 * sysdeps/ieee754/k_standardf.c: Likewise.
34270 * sysdeps/ieee754/k_standardl.c: Likewise.
34271 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
34272 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
34273 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
34274 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
34275 long_double_symbol call on [LIBM_SVID_COMPAT].
34276 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
34277 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
34278 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
34279 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
34280 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
34281 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
34282 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
34283 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
34284 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
34285 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
34286 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
34287 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
34288 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
34289 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
34290 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
34291 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
34292 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
34293 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
34294 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
34295 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
34296 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
34297 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
34299 2017-09-05 Steve Ellcey <sellcey@cavium.com>
34301 * include/shlib-compat.h (TEST_COMPAT): New Macro.
34302 * malloc/tst-mallocstate.c: Convert from test-skeleton
34303 to test-driver. Ifdef code using TEST_COMPAT macro.
34304 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
34305 * math/test-matherr.c: Likewise.
34307 2017-09-05 Joseph Myers <joseph@codesourcery.com>
34310 * debug/pcprofiledump.c (main): Use byte-swapped mask when
34311 comparing word with byte-swapped constant.
34313 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
34316 * locale/iso-639.def: add Miskito.
34317 * localedata/SUPPORTED: Add miq_NI/UTF-8.
34318 * localedata/locales/miq_NI: New file.
34320 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
34323 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
34324 (__mkdir): Likewise.
34325 * io/chmod.c (__chmod): Add libc_hidden_def.
34326 * io/mkdir.c (__mkdir): Likewise.
34327 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
34328 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
34329 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
34330 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
34332 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34334 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
34338 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
34339 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
34341 2017-09-04 Florian Weimer <fweimer@redhat.com>
34343 * math/math.h: Issue warning if log is defined.
34345 2017-09-04 Joseph Myers <joseph@codesourcery.com>
34347 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
34348 kernel version to 4.13.
34350 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
34352 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
34353 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
34355 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
34356 just <bits/types.h>.
34357 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
34358 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
34359 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
34360 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
34361 * misc/preadv2.c: Include <errno.h>.
34362 * misc/preadv64v2.c: Include <errno.h>.
34363 * misc/pwritev2.c: Include <errno.h>.
34364 * misc/pwritev64v2.c: Include <errno.h>.
34365 * sysdeps/posix/preadv2.c: Include <errno.h>.
34366 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
34367 Fix <unistd.h> inclusion.
34368 * sysdeps/posix/pwritev2.c: Include <errno.h>.
34369 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
34370 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
34371 __strtoul_internal): New functions.
34372 * sysdeps/posix/pause.c: Include <sigsetops.h>.
34373 * sysdeps/posix/system.c: Include <sigsetops.h>.
34374 * sysdeps/mach/hurd/i386/Makefile
34375 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
34376 [$(subdir) = csu] (sysdep-only-routines): Likewise.
34377 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
34378 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
34379 __feraiseexcept_renamed to feraiseexcept instead of
34380 __GI_feraiseexcept.
34381 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
34382 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
34383 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
34384 RWF_NOWAIT): Define to 0 if undefined already.
34385 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
34387 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
34388 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
34390 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34392 * manual/math.texi (pow10): Do not document.
34393 (pow10f): Likewise.
34394 (pow10l): Likewise.
34395 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
34396 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
34397 * math/libm-test-exp10.inc (pow10_test): Remove.
34398 (do_test): Do not call pow10.
34399 * math/w_exp10_compat.c (pow10): Make into compat symbol.
34400 [NO_LONG_DOUBLE] (pow10l): Likewise.
34401 * math/w_exp10f_compat.c (pow10f): Likewise.
34402 * math/w_exp10l_compat.c (pow10l): Likewise.
34403 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
34404 (pow10): Make into compat symbol.
34405 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
34406 (pow10f): Make into compat symbol.
34407 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
34408 (pow10l): Make into compat symbol.
34409 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
34411 (CFLAGS-nldbl-pow10.c): Remove variable..
34412 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
34413 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
34414 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
34415 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
34416 Undefine and redefine.
34417 (pow10l): Make into compat symbol.
34418 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
34419 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34420 * sysdeps/arm/libm-test-ulps: Likewise.
34421 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
34422 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34423 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
34424 * sysdeps/microblaze/libm-test-ulps: Likewise.
34425 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34426 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34427 * sysdeps/nios2/libm-test-ulps: Likewise.
34428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34429 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34430 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34431 * sysdeps/sh/libm-test-ulps: Likewise.
34432 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34433 * sysdeps/tile/libm-test-ulps: Likewise.
34434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34436 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34438 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
34440 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34442 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
34443 "../ChangeLog.old/ChangeLog.8".
34444 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
34445 "../ChangeLog.old/ChangeLog.14".
34447 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34449 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
34452 2017-09-01 Joseph Myers <joseph@codesourcery.com>
34454 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
34456 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
34458 * csu/version.c (banner): Remove "by Roland McGrath et al.".
34459 * nptl/Banner: Remove "by Ulrich Drepper et al.".
34461 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
34463 * stdlib/tst-atexit-common.c (do_test): Test support for at least
34464 32 atexit handlers.
34466 2017-09-01 Zack Weinberg <zackw@panix.com>
34468 * math/math.h (HUGE_VAL): Improve commentary.
34470 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34471 Andreas Schwab <schwab@suse.de>
34474 * include/stdio.h (__gen_tempfd): New function.
34475 * stdio-common/Makefile (routines): Add gentempfd.
34476 * stdio-common/gentempfd.c: New file.
34477 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
34478 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
34479 unnamed file first.
34481 2017-09-01 Florian Weimer <fweimer@redhat.com>
34485 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
34486 result to determine success or failure, not the errno value.
34487 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
34488 (tst-nss-files-hosts-erange): Link with -ldl.
34489 * nss/tst-nss-files-hosts-erange.c: New file.
34490 * nss/tst-resolv-basic.c (response): Handle nodata.example.
34491 (do_test): Add NO_DATA tests.
34492 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
34493 (do_test): Call it.
34495 2017-09-01 Florian Weimer <fweimer@redhat.com>
34498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
34499 coming from gethostbyname2_r.
34501 2017-09-01 Florian Weimer <fweimer@redhat.com>
34503 * support/namespace.h (struct support_chroot_configuration): Add
34505 (struct support_chroot): Add path_hosts, path_host_conf.
34506 * support/support_chroot.c (write_file): New function.
34507 (support_chroot_create): Call it to process /etc/resolv.conf,
34508 /etc/hosts, /etc/host.conf.
34509 (support_chroot_free): Update.
34511 2017-09-01 Florian Weimer <fweimer@redhat.com>
34513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
34514 status indicates it is set.
34516 2017-09-01 Florian Weimer <fweimer@redhat.com>
34519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
34520 function lookup failures more reliable.
34522 2017-09-01 Florian Weimer <fweimer@redhat.com>
34524 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
34525 (getcanonname): Likewise.
34526 (gaih_inet): Likewise.
34528 2017-09-01 Florian Weimer <fweimer@redhat.com>
34530 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
34531 (getcanonname): Likewise.
34532 (gaih_inet): Likewise.
34534 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34535 Richard Henderson <rth@twiddle.net>
34537 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
34538 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
34539 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
34540 (IREG_SIZE, OREG_SIZE): New macros.
34541 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
34542 (IREG_SIZE, OREG_SIZE): New macros.
34543 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
34544 (IREG_SIZE): New macro.
34545 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
34546 (IREG_SIZE): New macro.
34547 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
34549 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
34550 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34551 (__CONCATX): Handle exceptions correctly on large values that may
34553 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
34554 Initialize if not already set.
34555 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
34557 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34559 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
34560 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
34562 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
34564 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
34566 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
34568 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
34570 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
34572 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
34574 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
34575 (NO_CANCELLATION): Likewise.
34576 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
34578 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
34580 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
34582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
34583 (NO_CANCELLATION): Likewise.
34584 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
34585 (NO_CANCELLATION): Likewise.
34586 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
34588 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
34590 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
34592 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
34594 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
34596 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
34597 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
34599 2017-08-31 Steve Ellcey <sellcey@cavium.com>
34601 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
34604 2017-08-31 Florian Weimer <fweimer@redhat.com>
34606 * include/libc-symbols.h (internal_function): Remove.
34608 2017-08-31 Florian Weimer <fweimer@redhat.com>
34610 * stdlib/fmtmsg.c (internal_addseverity): Remove
34613 2017-08-31 Florian Weimer <fweimer@redhat.com>
34615 * stdio-common/printf_fp.c (group_number): Remove
34617 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
34619 2017-08-31 Florian Weimer <fweimer@redhat.com>
34621 * posix/fnmatch.c (internal_function): Remove definition.
34622 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
34623 * posix/regcomp.c (peek_token, init_word_char)
34624 (duplicate_node_closure, fetch_token, peek_token)
34625 (peek_token_bracket, build_range_exp, build_collating_symbol):
34627 * posix/regex_internal.c (re_string_construct_common)
34628 (create_ci_newstate, create_cd_newstate, re_string_allocate)
34629 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
34630 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
34631 (re_string_translate_buffer, re_string_reconstruct)
34632 (re_string_peek_byte_case, re_string_fetch_byte_case)
34633 (re_string_destruct, re_string_context_at, re_node_set_alloc)
34634 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
34635 (re_node_set_add_intersect, re_node_set_init_union)
34636 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
34637 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
34638 (re_dfa_add_node, calc_state_hash, re_acquire_state)
34639 (re_acquire_state_context): Likewise.
34640 * posix/regex_internal.h (internal_function): Remove definition.
34641 (re_string_realloc_buffers, build_wcs_buffer)
34642 (build_wcs_upper_buffer, build_upper_buffer)
34643 (re_string_translate_buffer, re_string_context_at)
34644 (re_string_char_size_at, re_string_wchar_at)
34645 (re_string_elem_size_at): Likewise.
34646 * posix/regexec.c (match_ctx_init, match_ctx_clean)
34647 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
34648 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
34649 (re_search_internal, re_search_2_stub, re_search_stub)
34650 (re_copy_regs, prune_impossible_nodes, check_matching)
34651 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
34652 (free_fail_stack_return, sift_states_iter_mb)
34653 (sift_states_backward, build_sifted_states)
34654 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
34655 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
34656 (check_subexp_limits, sift_states_bkref, merge_state_array)
34657 (find_recover_state, transit_state, merge_state_with_log)
34658 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
34659 (transit_state_mb, transit_state_bkref, get_subexp)
34660 (get_subexp_sub, find_subexp_node, check_arrival)
34661 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
34662 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
34663 (check_node_accept_bytes, find_collation_sequence_value)
34664 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
34665 (acquire_init_state_context, check_halt_node_context)
34666 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
34667 (sub_epsilon_src_nodes): Likewise.
34668 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
34669 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
34670 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
34671 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
34672 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
34673 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
34674 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
34675 * sysdeps/posix/ttyname.c (getttyname): Likewise.
34676 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
34677 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
34678 (PREADV): Likewise.
34679 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
34680 (PREADV): Likewise.
34681 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
34682 (PWRITEV): Likewise.
34683 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
34684 (PWRITEV): Likewise.
34685 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
34686 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
34688 2017-08-31 Florian Weimer <fweimer@redhat.com>
34690 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
34691 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
34692 Remove internal_function.
34693 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34694 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
34695 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
34696 (__deallocate_stack, __libc_pthread_init)
34697 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
34698 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
34699 (__libc_disable_asynccancel, __librt_disable_asynccancel):
34701 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
34702 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
34703 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
34705 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
34706 (__pthread_mutex_unlock_usercnt): Likewise.
34708 2017-08-31 Florian Weimer <fweimer@redhat.com>
34710 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
34711 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
34712 (fts_safe_changedir): Remove internal_function.
34713 * io/ftw.c (internal_function): Remove definition.
34714 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
34716 2017-08-31 Florian Weimer <fweimer@redhat.com>
34718 * inet/deadline.c (__deadline_current_time)
34719 (__deadline_from_timeval, __deadline_to_ms): Remove
34721 * inet/getnameinfo.c (nrl_domainname): Likewise.
34722 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
34723 * inet/inet6_option.c (add_pad): Likewise.
34724 * inet/net-internal.h (__deadline_current_time)
34725 (__deadline_from_timeval, __deadline_to_ms): Likewise.
34726 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
34727 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
34728 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
34730 2017-08-31 Joseph Myers <joseph@codesourcery.com>
34732 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
34733 include <bits/nan.h>.
34734 * math/Makefile (headers): Remove bits/nan.h.
34735 * bits/nan.h: Remove.
34736 * sysdeps/ieee754/bits/nan.h: Likewise.
34737 * sysdeps/mips/bits/nan.h: Likewise.
34739 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
34740 not include <bits/inf.h>.
34741 * math/Makefile (headers): Remove bits/inf.h.
34742 * bits/inf.h: Remove.
34743 * sysdeps/ieee754/bits/inf.h: Likewise.
34745 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
34746 bits/huge_vall.h or bits/huge_val_flt128.h.
34747 (HUGE_VAL): Define directly here.
34748 [__USE_ISOC99] (HUGE_VALF): Likewise.
34749 [__USE_ISOC99] (HUGE_VALL): Likewise.
34750 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
34751 (HUGE_VAL_F128): Likewise.
34752 * math/Makefile (headers): Remove bits/huge_val.h,
34753 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
34754 * bits/huge_val.h: Remove.
34755 * bits/huge_val_flt128.h: Likewise.
34756 * bits/huge_valf.h: Likewise.
34757 * bits/huge_vall.h: Likewise.
34758 * sysdeps/ia64/bits/huge_vall.h: Likewise.
34759 * sysdeps/ieee754/bits/huge_val.h: Likewise.
34760 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
34761 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
34762 * sysdeps/sh/bits/huge_val.h: Likewise.
34763 * sysdeps/sparc/bits/huge_vall.h: Likewise.
34764 * sysdeps/x86/bits/huge_vall.h: Likewise.
34766 2017-08-31 Florian Weimer <fweimer@redhat.com>
34768 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
34770 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
34772 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
34773 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34774 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
34775 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
34776 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34777 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34778 * elf/dl-libc.c (dlerror_run): Likewise.
34779 * elf/dl-load.c (add_name_to_object, decompose_rpath)
34780 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
34781 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
34782 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
34784 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
34785 (_dl_higher_prime_number, _dl_strtoul): Likewise.
34786 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
34787 * elf/dl-profile.c (_dl_start_profile): Likewise.
34788 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
34789 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
34791 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
34792 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
34793 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
34794 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
34795 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
34796 (_dl_allocate_tls_storage): Likewise.
34797 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
34798 (_dl_check_all_versions): Likewise.
34799 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
34800 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
34801 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
34802 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34803 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
34804 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
34805 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
34806 internal_function from __dl_start.
34807 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
34808 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
34809 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
34810 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
34811 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
34812 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
34813 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
34814 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
34815 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
34816 (_dl_next_ld_env_entry, _dl_important_hwcaps)
34817 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
34818 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
34819 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
34820 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
34821 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
34823 (struct rtld_global_ro): Remove internal_function from the
34824 _dl_lookup_symbol_x member.
34825 (_dl_symbol_value): Remove. No longer defined anywhere.
34826 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
34828 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34829 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34830 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
34831 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
34832 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
34833 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
34834 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
34835 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
34836 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
34837 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
34838 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
34839 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34841 2017-08-31 Florian Weimer <fweimer@redhat.com>
34843 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
34844 Remove internal_function.
34845 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34847 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
34850 2017-08-31 Florian Weimer <fweimer@redhat.com>
34852 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
34853 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
34854 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
34856 2017-08-31 Florian Weimer <fweimer@redhat.com>
34858 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
34859 (__gai_enqueue_request): Remove internal_function.
34860 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
34861 (__gai_remove_request, __gai_notify, __gai_notify_only)
34862 (__gai_sigqueue): Likewise.
34863 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
34864 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
34865 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
34866 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34869 2017-08-31 Florian Weimer <fweimer@redhat.com>
34871 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
34872 * include/dirent.h (__opendirat, __getdents, __getdents64)
34873 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
34874 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
34875 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
34876 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
34878 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
34880 2017-08-31 Florian Weimer <fweimer@redhat.com>
34882 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
34884 (GETCWD_RETURN_TYPE): Likewise.
34886 2017-08-31 Florian Weimer <fweimer@redhat.com>
34888 * include/time.h (__tz_compute, __strptime_internal): Remove
34890 * time/strptime_l.c (__strptime_internal): Likewise.
34891 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
34893 2017-08-31 Florian Weimer <fweimer@redhat.com>
34895 * iconv/gconv.c (__gconv): Remove internal_function.
34896 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
34897 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
34898 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
34899 (__gconv_release_cache): Likewise.
34900 * iconv/gconv_close.c (__gconv_close): Likewise.
34901 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
34902 (read_conf_file, __gconv_get_path): Likewise.
34903 * iconv/gconv_db.c (derivation_lookup, add_derivation)
34904 (__gconv_release_step, gen_steps, increment_counter)
34905 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
34906 (__gconv_close_transform, free_modules_db): Likewise.
34907 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
34909 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
34910 (__gconv_find_transform, __gconv_lookup_cache)
34911 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
34912 (__gconv_close_transform, __gconv_release_cache)
34913 (__gconv_loaded_object, __gconv_release_shlib)
34914 (__gconv_compare_alias): Likewise.
34915 * iconv/gconv_open.c (__gconv_open): Likewise.
34916 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
34917 * iconv/iconvconfig.c (add_module): Likewise.
34918 * intl/dcigettext.c (plural_lookup, guess_category_value)
34919 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
34920 * intl/eval-plural.h (plural_eval): Likewise.
34921 * intl/finddomain.c (_nl_find_domain): Likewise.
34922 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
34923 (_nl_load_domain, _nl_find_msg): Likewise.
34924 (internal_function): Remove definition.
34925 * intl/loadinfo.h (internal_function): Likewise.
34926 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
34928 * intl/localealias.c (internal_function): Remove definition.
34929 (read_alias_file): Remove internal_function.
34930 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
34931 * intl/plural-exp.h (internal_function): Remove definition.
34932 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
34934 * intl/plural.c: Regenerate.
34935 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
34936 * locale/coll-lookup.c (__collidx_table_lookup)
34937 (__collseq_table_lookup): Likewise.
34938 * locale/coll-lookup.h (__collidx_table_lookup)
34939 (__collseq_table_lookup): Likewise.
34940 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
34941 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34942 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
34943 (_nl_unload_locale): Likewise.
34944 * locale/localeinfo.h (struct __locale_data): Remove
34945 internal_function from cleanup member.
34946 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
34947 (_nl_remove_locale, _nl_load_locale_from_archive)
34948 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
34949 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
34950 (_nl_cleanup_time): Remove internal_function.
34951 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
34952 (_nl_parse_alt_digit): Likewise.
34953 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
34954 (_nl_select_era_entry): Likewise.
34955 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
34956 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34957 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34958 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
34959 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
34961 2017-08-31 Florian Weimer <fweimer@redhat.com>
34963 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
34964 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
34965 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
34966 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
34968 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
34969 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
34970 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
34971 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
34973 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
34975 2017-08-31 Florian Weimer <fweimer@redhat.com>
34977 * misc/getttyent.c (skip, value): Remove internal_function.
34978 * misc/syslog.c (openlog_internal): Likewise.
34979 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
34981 2017-08-31 Florian Weimer <fweimer@redhat.com>
34983 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
34984 (__nss_rewrite_field): Remove internal_function.
34985 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34986 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
34987 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34988 * nss/nsswitch.c (nss_parse_file, nss_getline)
34989 (nss_parse_service_list, nss_new_service): Likewise.
34990 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
34991 * nss/valid_field.c (__nss_valid_field): Likewise.
34992 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
34994 2017-08-31 Florian Weimer <fweimer@redhat.com>
34996 * malloc/arena.c (__malloc_fork_lock_parent)
34997 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
34998 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
34999 internal_function from defintions.
35000 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
35001 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
35002 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
35003 internal_function from declarations.
35004 * malloc/malloc.c (internal_function): Do not define.
35005 (mem2mem_check): Remove internal_function from declaration.
35006 (munmap_chunk, mremap_chunk): Remove internal_function.
35007 * malloc/mtrace.c (tr_where): Likewise.
35009 2017-08-31 Florian Weimer <fweimer@redhat.com>
35011 * include/rpc/pmap_clnt.h (__get_socket): Remove
35013 * sunrpc/auth_des.c (synchronize): Likewise.
35014 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
35015 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
35016 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
35017 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
35018 (key_call): Likewise.
35019 * sunrpc/pm_getport.c (__get_socket): Likewise.
35020 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
35021 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
35022 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
35023 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
35024 (invalidate): Likewise.
35025 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
35026 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
35027 (set_input_fragment, get_input_bytes): Likewise.
35029 2017-08-31 Florian Weimer <fweimer@redhat.com>
35031 * malloc/malloc.c (_int_free): Remove locked variable and related
35034 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
35037 * Makerules (build-module-helper-objlist): Filter out
35038 $(elf-objpfx)sofini.os.
35039 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
35042 2017-08-31 Florian Weimer <fweimer@redhat.com>
35044 * libio/fcloseall.c: Assume weak_alias is defined.
35045 * libio/feof.c: Likewise.
35046 * libio/fileno.c: Likewise.
35047 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
35048 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35050 (_IO_file_open): Call __open directly.
35051 (_IO_new_file_sync): Assume ESPIPE is defined.
35052 (_IO_file_seekoff_maybe_mmap): Call __read directly.
35053 (_IO_new_file_write): Call __write directly.
35054 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
35055 * libio/ftello64.c (__ftello64): Assume EIO is defined.
35056 * libio/genops.c: Assume _LIBC is defined.
35057 (save_for_backup): Remove internal_function.
35058 * libio/getc.c: Assume weak_alias is defined.
35059 * libio/getwc.c: Likewise.
35060 * libio/iofclose.c: Assume _LIBC is defined.
35061 * libio/iofdopen.c: Likewise.
35062 (_IO_fcntl): Remove macro definition.
35063 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
35064 Call __fcntl directly.
35065 * libio/iofflush.c: Assume weak_alias is defined.
35066 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
35068 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
35069 * libio/iofgets.c: Likewise.
35070 * libio/iofopen.c: Assume _LIBC is defined.
35071 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
35072 * libio/iofputs.c: Assume weak_alias is defined.
35073 * libio/iofread.c: Likewise.
35074 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
35075 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
35076 * libio/ioftell.c: Assume weak_alias is defined.
35077 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
35078 * libio/iofwide.c: Assume _LIBC is defined.
35079 (_IO_fwide): Drop SHARED conditional because it is implied by
35081 * libio/iofwrite.c: Assume weak_alias is defined.
35082 * libio/iogetdelim.c: Likewise.
35083 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
35084 * libio/iogetwline.c (wmemcpy): Remove macro definition.
35085 (_IO_getwline): Call __wmemcpy directly.
35086 * libio/iopopen.c: Assume _LIBC is defined.
35087 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35088 (_IO_close): Remove macro definitions.
35089 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
35091 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
35093 * libio/ioputs.c: Assume weak_alias is defined.
35094 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
35095 * libio/iosetbuffer.c: Assume weak_alias is defined.
35096 * libio/iosetvbuf.c: Likewise.
35097 * libio/ioungetc.c: Likewise.
35098 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
35099 libc_hidden_def, libc_hidden_weak, NULL are defined.
35100 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
35101 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
35103 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
35105 (_IO_old_file_init_internal): Drop SHARED conditional because it
35106 is implied by SHLIB_COMPAT.
35107 (_IO_old_file_fopen): Call __open directly.
35108 (_IO_old_file_sync): Assume ESPIPE is defined.
35109 (_IO_old_file_write): Call __write directly.
35110 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
35111 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
35112 Call __fcntl directly.
35113 * libio/oldiofgetpos.c: Assume weak_alias is defined.
35114 (_IO_old_fgetpos): Assume EIO is defined.
35115 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
35116 (_IO_old_fgetpos64): Assume EIO is defined.
35117 * libio/oldiofsetpos.c: Assume weak_alias is defined.
35118 (_IO_old_fsetpos): Assume EIO is defined.
35119 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
35120 (_IO_old_fsetpos64): Assume EIO is defined.
35121 * libio/oldiopopen.c: Assume _LIBC is defined.
35122 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
35123 (_IO_close): Remove macro definitions.
35124 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
35126 (_IO_old_proc_close): Call __close, __waitpid directly.
35127 * libio/put.c: Assume weak_alias is defined.
35128 * libio/stdfiles.c: Assume _LIBC is defined.
35129 * libio/stdio.c: Likewise.
35130 * libio/wfileops.c: Likewise.
35131 (_IO_wfile_sync): Assume ESPIPE is defined.
35132 * libio/wgenops.c: Assume _LIBC is defined.
35133 (save_for_wbackup): Remove internal_function.
35135 2017-08-31 Florian Weimer <fweimer@redhat.com>
35137 * malloc/malloc.c (top_check): Change return type to void. Remove
35139 * malloc/hooks.c (top_check): Likewise.
35140 (malloc_check, realloc_check, memalign_check): Adjust.
35142 2017-08-30 Joseph Myers <joseph@codesourcery.com>
35145 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35146 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
35147 sigcontext and namespace requirements.
35148 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
35149 * sysdeps/m68k/sys/ucontext.h: Likewise.
35150 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
35151 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
35152 <bits/sigcontext.h>.
35153 (__ctx): Define earlier.
35154 (mcontext_t): Define structure contents rather than using struct
35156 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
35157 __glibc_reserved1 instead of __reserved.
35158 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
35159 <bits/sigcontext.h>.
35160 (__ctx): Define earlier.
35161 (mcontext_t): Define structure contents rather than using struct
35163 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
35164 mcontext_t instead of struct sigcontext.
35165 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
35166 <bits/sigcontext.h>.
35167 (__ctx): Define earlier.
35168 (mcontext_t): Define structure contents rather than using struct
35170 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
35171 <bits/sigcontext.h>.
35172 (__ctx): Define earlier.
35173 (mcontext_t): Define structure contents rather than using struct
35175 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
35176 mcontext_t instead of struct sigcontext.
35177 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
35178 mcontext_t instead of struct sigcontext.
35179 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
35180 <bits/sigcontext.h>.
35181 (__ctx): New macro.
35182 (struct __ia64_fpreg_mcontext): New type.
35183 (mcontext_t): Define structure contents rather than using struct
35185 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
35186 (uc_sigmask): Define using __ctx.
35187 (uc_stack): Likewise.
35188 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
35189 <bits/sigcontext.h>.
35190 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35191 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
35192 <bits/sigcontext.h>.
35193 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
35194 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
35195 <bits/sigcontext.h>.
35196 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
35197 <bits/sigcontext.h>.
35198 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
35199 <bits/sigcontext.h>.
35200 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
35201 <bits/sigcontext.h>.
35202 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
35203 <bits/sigcontext.h>.
35204 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
35205 <bits/sigcontext.h>.
35206 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
35207 <bits/sigcontext.h>.
35208 (__ctx): Define earlier.
35209 (mcontext_t): Define structure contents rather than using struct
35211 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
35212 <bits/sigcontext.h>. Include <bits/types.h>.
35213 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
35214 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
35215 (test-xfail-XPG42/ucontext.h/conform): Likewise.
35216 (test-xfail-UNIX98/signal.h/conform): Likewise.
35217 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35218 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35219 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35220 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35221 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35222 (test-xfail-POSIX2008/signal.h/conform): Likewise.
35223 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35224 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35225 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35227 2017-08-30 Florian Weimer <fweimer@redhat.com>
35229 * malloc/dynarray_emplace_enlarge.c
35230 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
35231 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
35232 * malloc/tst-dynarray.c (test_long_overflow): New function.
35233 (do_test): Call it.
35235 2017-08-30 Florian Weimer <fweimer@redhat.com>
35237 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
35238 (set_arena_corrupt): Remove definitions.
35239 (mtrim): Do not check for corrupt arena.
35240 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
35243 2017-08-30 Florian Weimer <fweimer@redhat.com>
35246 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
35248 (ptmalloc_init): Do not set or use check_action.
35249 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
35250 call to malloc_printerr. Remove return statement.
35251 (free_check): Likewise. Remove arena unlock.
35252 (top_check): Update comment. Adjust call to malloc_printerr.
35253 Remove heap repair code.
35254 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
35255 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
35256 (sysmalloc): Adjust call to malloc_printerr.
35257 (munmap_chunk, __libc_realloc): Likewise. Remove return
35259 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
35260 Remove errout label and corresponding gotos.
35261 (_int_free): Likewise. Remove arena unlock.
35262 (do_set_mallopt_check): Do not set check_action.
35263 (malloc_printerr): Adjust parameter list. Do not mark arena as
35265 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
35267 * manual/probes.texi (Memory Allocation Probes): Remove
35268 memory_mallopt_check_action.
35270 2017-08-30 Steve Ellcey <sellcey@cavium.com>
35272 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
35273 Use pointer to uint64_t instead of long int for sp.
35275 2017-08-30 Florian Weimer <fweimer@redhat.com>
35278 * malloc/malloc.c (malloc_printerr): Always terminate the process,
35279 without printing a backtrace. Do not leak any information in the
35281 * manual/memory.texi (Heap Consistency Checking): Update.
35282 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
35284 2017-08-30 Florian Weimer <fweimer@redhat.com>
35286 Do not scale NPTL tests with available number of CPUs.
35287 * nptl/tst-cond16.c (count): Set to constant value of 8.
35288 * nptl/tst-cond18.c (count): Likewise.
35290 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35293 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
35294 Define to take a second argument that is a macro that
35295 concatentates a suffix, not the suffix itself.
35296 (__CONCAT_d): New macro.
35297 (__CONCAT_f): Likewise.
35298 (__CONCAT_l): Likewise.
35300 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
35302 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
35305 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35306 Aurelien Jarno <aurelien@aurel32.net>
35307 Maciej W. Rozycki <macro@imgtec.com>
35310 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
35311 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
35312 `mips16-syscall6' and `mips16-syscall7'.
35313 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
35314 (CFLAGS-mips16-syscall7.c): Remove.
35315 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
35316 Remove `__mips16_syscall5', `__mips16_syscall6' and
35317 `__mips16_syscall7'.
35318 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
35319 (__mips16_syscall0): Rename `__mips16_syscall_return' to
35320 `__mips_syscall_return'.
35321 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
35322 (__mips16_syscall1): Likewise.
35323 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
35324 (__mips16_syscall2): Likewise.
35325 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
35326 (__mips16_syscall3): Likewise.
35327 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
35328 (__mips16_syscall4): Likewise.
35329 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
35331 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
35333 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
35335 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
35336 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
35337 `__mips16_syscall5'. Remove prototype.
35338 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
35339 `__mips16_syscall6'. Remove prototype.
35340 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
35341 `__mips16_syscall7'. Remove prototype.
35342 (__nomips16, __mips16_syscall_return): Move to...
35343 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
35344 (__nomips16, __mips_syscall_return): ... here.
35345 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
35346 `__mips16_syscall_return' to `__mips_syscall_return'.
35347 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
35348 `internal_syscall##nr'.
35349 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
35350 `internal_syscall##nr'.
35351 (FORCE_FRAME_POINTER): Remove.
35352 (__mips_syscall5): New prototype.
35353 (internal_syscall5): Rewrite to call `__mips_syscall5'.
35354 (__mips_syscall6): New prototype.
35355 (internal_syscall6): Rewrite to call `__mips_syscall6'.
35356 (__mips_syscall7): New prototype.
35357 (internal_syscall7): Rewrite to call `__mips_syscall7'.
35358 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
35359 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
35360 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
35361 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
35362 (sysdep_routines): Add libc-do-syscall.
35363 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
35364 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
35366 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35369 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
35370 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
35371 (advise_stack_range): New function.
35372 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
35373 stack non required to advise_stack_range at allocatestack.c
35375 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
35377 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
35379 2017-08-29 Florian Weimer <fweimer@redhat.com>
35382 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
35383 __end_fct. Mangle __end_fct after setting it to NULL.
35384 * iconv/Makefile (tests): Add tst-gconv-init-failure.
35385 (modules-names, modules-names-tests): Add
35386 tst-gconv-init-failure-mod.
35387 (gconv-modules): New target.
35388 (tst-gconv-init-failure-mod.so): Link against libsupport.
35389 (tst-gconv-init-failure): Depend on gconv-modules,
35390 tst-gconv-init-failure-mod.so.
35391 * iconv/tst-gconv-init-failure-mod.c: New file.
35392 * iconv/tst-gconv-init-failure.c: Likewise.
35393 * iconv/test-gconv-modules: Likewise.
35395 2017-08-29 Florian Weimer <fweimer@redhat.com>
35398 * iconv/gconv_db.c (free_derivation): Remove redundant
35400 (gen_steps): Unconditionally mangle __btowc_fct after
35402 (increment_counter): Likewise. Do not call init_fct for internal
35405 2017-08-29 Joseph Myers <joseph@codesourcery.com>
35408 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35409 (_MSUF_): Remove macro.
35410 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
35412 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
35413 (__REDIRFROM_X): New macro.
35414 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
35416 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
35417 (__REDIRTO_X): Likewise.
35418 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
35420 (__MATH_REDIRCALL_2): Likewise.
35421 (__MATH_REDIRCALL_INTERNAL): Likewise.
35422 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35423 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
35424 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
35425 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35426 * math/test-finite-macros.c: New file.
35427 * math/Makefile (tests): Add test-finite-macros.
35428 (CFLAGS-test-finite-macros.c): New variable.
35430 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
35431 Jeff Law <law@redhat.com>
35434 Mangle NULL pointers in iconv/gconv.
35435 * iconv/gconv_cache.c (find_module): Demangle init_fct before
35436 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
35437 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
35438 is non-NULL before demangling the end_fct. Check for NULL
35439 end_fct after demangling.
35440 (__gconv_release_step): Demangle the end_fct before checking
35441 it for NULL. Remove assert on __shlibc_handle != NULL.
35442 (gen_steps): Don't check btowc_fct for NULL before mangling.
35443 Demangle init_fct before checking for NULL.
35444 (increment_counter): Likewise.
35445 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
35446 end_fct for NULL before mangling.
35447 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
35450 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
35453 * locale/iso-639.def: add Morisyen.
35455 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35458 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
35459 (iszero): New C++ implementation that does not use
35460 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
35461 signaling nans are enabled, since __builtin_types_compatible_p
35462 is a C-only feature.
35463 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
35464 defined, include ieee754_float128.h for access to the union and
35465 member ieee854_float128.ieee.
35466 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
35467 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
35468 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35469 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
35470 options of test-math-zero on powerpc64le.
35472 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
35474 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
35475 Change double to float.
35477 2017-08-28 Joseph Myers <joseph@codesourcery.com>
35479 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
35481 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
35482 conditional code; define contents only for [LIBM_SVID_COMPAT].
35484 2017-08-28 Florian Weimer <fweimer@redhat.com>
35486 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
35487 (abi-lp64_be-options): Remove.
35488 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
35489 (abi-hard-options): Likewise.
35490 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
35491 (abi-o32_hard-options, abi-o32_soft_2008-options)
35492 (abi-o32_hard_2008-options, abi-n32_soft-options)
35493 (abi-n32_hard-options, abi-n32_soft_2008-options)
35494 (abi-n32_hard_2008-options, abi-n64_soft-options)
35495 (abi-n64_hard-options, abi-n64_soft_2008-options)
35496 (abi-n64_hard_2008-options): Likewise.
35497 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
35498 (abi-64-v1-options, abi-64-v2-options): Likewise.
35499 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
35500 (abi-64-options): Likewise.
35501 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
35502 (abi-64-options): Likewise.
35503 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
35504 (abi-64-options): Likewise.
35505 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
35506 (abi-64-options, abi-x32-options): Likewise.
35508 2017-08-28 Florian Weimer <fweimer@redhat.com>
35510 Store supported list of SYS_* system calls in the source tree.
35511 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
35512 (bits/syscall.h): Generate from list file.
35513 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
35514 [$(subdir) = misc] (tests): Add tst-syscall-list.
35515 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
35516 [$(subdir) = misc] (tst-syscall-list-macros.list)
35517 [$(subdir) = misc] (tst-syscall-list-nr.list)
35518 (tst-syscall-list-sys.list): Helper targets for new
35519 tst-syscall-list test.
35520 [$(subdir) = misc] (tst-syscall-list.out): Run test script
35521 tst-syscall-list.sh.
35522 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
35523 target. Do not include bits/syscall.d.
35524 [$(subdir) = misc] (generated): Do not update.
35525 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
35526 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
35527 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
35528 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
35530 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35532 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
35533 (tst-cxa_atexit, tst-on_exit): Likewise.
35534 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
35535 tst-cxa_atexit, and tst-on_exit.
35536 * stdlib/tst-atexit-common.c: New file.
35537 * stdlib/tst-atexit.c: New file.
35538 * stdlib/tst-at_quick_exit.c: New file.
35539 * stdlib/tst-cxa_atexit.c: New file.
35540 * stdlib/tst-on_exit.c: New file.
35542 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35544 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
35545 * mach/stack_chk_fail_local.c: New file.
35546 * hurd/stack_chk_fail_local.c: New file.
35547 * mach/Machrules ($(interface-library)-routines): Add
35548 stack_chk_fail_local.
35549 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
35550 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
35551 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
35552 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
35553 * hurd/Makefile (CFLAGS-hurdstartup.o,
35554 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
35556 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
35558 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
35559 (index_cpu_*, index_arch_*): Removed.
35561 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
35563 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
35564 Use uint64_t instead of unsigned long.
35566 2017-08-25 Joseph Myers <joseph@codesourcery.com>
35568 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
35569 [__HAVE_DISTINCT_FLOAT128].
35571 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
35572 of <bits/math-finite.h>.
35573 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
35574 inclusion of <bits/math-finite.h>.
35575 * math/bits/math-finite.h (__REDIRTO_X): Do not define
35576 conditionally on [__MATH_DECLARING_LDOUBLE && defined
35577 __NO_LONG_DOUBLE_MATH].
35578 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
35579 (__MATH_REDIRCALL_2): Likewise.
35580 (__MATH_REDIRCALL_INTERNAL): Likewise.
35581 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
35582 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
35583 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
35585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
35587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
35589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
35591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
35593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
35595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
35597 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
35598 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
35599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
35600 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
35601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
35602 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
35603 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
35604 w_sqrtf_compat-ppc32.
35606 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35608 * math/math.h [defined __cplusplus] (issignaling): In the long
35609 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
35610 is not defined. Call __issignaling, otherwise.
35612 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35614 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
35615 syscall definitions and replace __builtin_expect with __glibc_likely.
35616 * sysdeps/unix/syscall-template.S: Update comment about cancellable
35618 (SYSCALL_CANCELLABLE): Removedefinition
35619 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
35621 (PSEUDO_END): Likewise.
35622 [IS_IN (libpthread)] (CENABLE): Likewise.
35623 [IS_IN (libpthread)] (CDISABLE): Likewise.
35624 [IS_IN (libc)] (CENABLE): Likewise.
35625 [IS_IN (libc)] (CENABLE): Likewise.
35626 [IS_IN (librt)] (CDISABLE): Likewise.
35627 [IS_IN (librt)] (CDISABLE): Likewise.
35628 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35629 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
35631 (PSEUDO_END): Likewise.
35632 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
35633 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
35634 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35635 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
35636 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35637 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
35638 (CENABLE): Likewise.
35639 (CDISABLE): Likewise.
35640 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35641 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
35643 (PSEUDO_END): Likewise.
35644 [IS_IN (libpthread)] (CENABLE): Likewise.
35645 [IS_IN (libpthread)] (CDISABLE): Likewise.
35646 [IS_IN (libc)] (CENABLE): Likewise.
35647 [IS_IN (libc)] (CENABLE): Likewise.
35648 [IS_IN (librt)] (CDISABLE): Likewise.
35649 [IS_IN (librt)] (CDISABLE): Likewise.
35650 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35651 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
35653 (PSEUDO_END): Likewise.
35654 [IS_IN (libpthread)] (CENABLE): Likewise.
35655 [IS_IN (libpthread)] (CDISABLE): Likewise.
35656 [IS_IN (libc)] (CENABLE): Likewise.
35657 [IS_IN (libc)] (CENABLE): Likewise.
35658 [IS_IN (librt)] (CDISABLE): Likewise.
35659 [IS_IN (librt)] (CDISABLE): Likewise.
35660 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35661 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
35663 (PSEUDO_END): Likewise.
35664 [IS_IN (libpthread)] (CENABLE): Likewise.
35665 [IS_IN (libpthread)] (CDISABLE): Likewise.
35666 [IS_IN (libc)] (CENABLE): Likewise.
35667 [IS_IN (libc)] (CENABLE): Likewise.
35668 [IS_IN (librt)] (CDISABLE): Likewise.
35669 [IS_IN (librt)] (CDISABLE): Likewise.
35670 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35671 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
35673 (PSEUDO_END): Likewise.
35674 [IS_IN (libpthread)] (CENABLE): Likewise.
35675 [IS_IN (libpthread)] (CDISABLE): Likewise.
35676 [IS_IN (libc)] (CENABLE): Likewise.
35677 [IS_IN (libc)] (CENABLE): Likewise.
35678 [IS_IN (librt)] (CDISABLE): Likewise.
35679 [IS_IN (librt)] (CDISABLE): Likewise.
35680 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35681 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
35683 (PSEUDO_END): Likewise.
35684 [IS_IN (libpthread)] (CENABLE): Likewise.
35685 [IS_IN (libpthread)] (CDISABLE): Likewise.
35686 [IS_IN (libc)] (CENABLE): Likewise.
35687 [IS_IN (libc)] (CENABLE): Likewise.
35688 [IS_IN (librt)] (CDISABLE): Likewise.
35689 [IS_IN (librt)] (CDISABLE): Likewise.
35690 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35691 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
35693 (PSEUDO_END): Likewise.
35694 [IS_IN (libpthread)] (CENABLE): Likewise.
35695 [IS_IN (libpthread)] (CDISABLE): Likewise.
35696 [IS_IN (libc)] (CENABLE): Likewise.
35697 [IS_IN (libc)] (CENABLE): Likewise.
35698 [IS_IN (librt)] (CDISABLE): Likewise.
35699 [IS_IN (librt)] (CDISABLE): Likewise.
35700 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35701 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
35703 (PSEUDO_END): Likewise.
35704 [IS_IN (libpthread)] (CENABLE): Likewise.
35705 [IS_IN (libpthread)] (CDISABLE): Likewise.
35706 [IS_IN (libc)] (CENABLE): Likewise.
35707 [IS_IN (libc)] (CENABLE): Likewise.
35708 [IS_IN (librt)] (CDISABLE): Likewise.
35709 [IS_IN (librt)] (CDISABLE): Likewise.
35710 (SINGLE_THREAD_P): Likewise.
35711 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
35713 (PSEUDO_END): Likewise.
35714 [IS_IN (libpthread)] (CENABLE): Likewise.
35715 [IS_IN (libpthread)] (CDISABLE): Likewise.
35716 [IS_IN (libc)] (CENABLE): Likewise.
35717 [IS_IN (libc)] (CENABLE): Likewise.
35718 [IS_IN (librt)] (CDISABLE): Likewise.
35719 [IS_IN (librt)] (CDISABLE): Likewise.
35720 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35721 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
35723 (PSEUDO_END): Likewise.
35724 [IS_IN (libpthread)] (CENABLE): Likewise.
35725 [IS_IN (libpthread)] (CDISABLE): Likewise.
35726 [IS_IN (libc)] (CENABLE): Likewise.
35727 [IS_IN (libc)] (CENABLE): Likewise.
35728 [IS_IN (librt)] (CDISABLE): Likewise.
35729 [IS_IN (librt)] (CDISABLE): Likewise.
35730 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35731 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
35732 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35733 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
35734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
35736 (PSEUDO_END): Likewise.
35737 [IS_IN (libpthread)] (CENABLE): Likewise.
35738 [IS_IN (libpthread)] (CDISABLE): Likewise.
35739 [IS_IN (libc)] (CENABLE): Likewise.
35740 [IS_IN (libc)] (CENABLE): Likewise.
35741 [IS_IN (librt)] (CDISABLE): Likewise.
35742 [IS_IN (librt)] (CDISABLE): Likewise.
35743 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
35746 (PSEUDO_END): Likewise.
35747 [IS_IN (libpthread)] (CENABLE): Likewise.
35748 [IS_IN (libpthread)] (CDISABLE): Likewise.
35749 [IS_IN (libc)] (CENABLE): Likewise.
35750 [IS_IN (libc)] (CENABLE): Likewise.
35751 [IS_IN (librt)] (CDISABLE): Likewise.
35752 [IS_IN (librt)] (CDISABLE): Likewise.
35753 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35754 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
35756 (PSEUDO_END): Likewise.
35757 [IS_IN (libpthread)] (CENABLE): Likewise.
35758 [IS_IN (libpthread)] (CDISABLE): Likewise.
35759 [IS_IN (libc)] (CENABLE): Likewise.
35760 [IS_IN (libc)] (CENABLE): Likewise.
35761 [IS_IN (librt)] (CDISABLE): Likewise.
35762 [IS_IN (librt)] (CDISABLE): Likewise.
35763 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35764 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
35765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35766 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
35767 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
35769 (PSEUDO_END): Likewise.
35770 [IS_IN (libpthread)] (CENABLE): Likewise.
35771 [IS_IN (libpthread)] (CDISABLE): Likewise.
35772 [IS_IN (libc)] (CENABLE): Likewise.
35773 [IS_IN (libc)] (CENABLE): Likewise.
35774 [IS_IN (librt)] (CDISABLE): Likewise.
35775 [IS_IN (librt)] (CDISABLE): Likewise.
35776 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35777 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
35779 (PSEUDO_END): Likewise.
35780 [IS_IN (libpthread)] (CENABLE): Likewise.
35781 [IS_IN (libpthread)] (CDISABLE): Likewise.
35782 [IS_IN (libc)] (CENABLE): Likewise.
35783 [IS_IN (libc)] (CENABLE): Likewise.
35784 [IS_IN (librt)] (CDISABLE): Likewise.
35785 [IS_IN (librt)] (CDISABLE): Likewise.
35786 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
35788 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
35790 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
35792 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35794 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35796 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35799 * string/stratcliff.c (do_test): Declare size, nchars, inner,
35800 middle and outer with size_t instead of int. Repleace %d and
35801 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
35802 "MAX (outer, nchars - 64)" to support unsigned outer and
35803 nchars. Also exit loop when outer == 0.
35805 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35807 * include/fcntl.h (__fcntl_nocancel): Remove definition.
35808 * include/signal.h (__sigsuspend_nocancel): Likewise.
35809 * include/time.h (__nanosleep_nocancel): Likewise.
35810 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
35811 * login/utmp_file.c: Include non cancellable syscall header.
35812 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
35815 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
35817 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
35818 .byte sequences with AVX512F instructions.
35819 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
35820 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
35821 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
35822 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
35824 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
35827 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
35828 Steve Ellcey <sellcey@cavium.com>
35830 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
35831 Use PTR_REG macro in cmp instruction.
35833 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35835 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
35836 Change the return type of the ifunc resolver to match the return
35837 type of the target function.
35839 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35841 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
35842 (preadv64): Likewise.
35843 (pwrite64(: Likewise.
35844 (pwritev64): Likewise.
35846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35847 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
35848 (LOAD_ARGS_0): Likewise.
35849 (LOAD_ARGS_1): Likewise.
35850 (LOAD_ARGS_2): Likewise.
35851 (LOAD_ARGS_3): Likewise.
35852 (LOAD_ARGS_4): Likewise.
35853 (LOAD_ARGS_5): Likewise.
35854 (LOAD_ARGS_6): Likewise.
35855 (LOAD_REGS_0): Likewise.
35856 (LOAD_REGS_1): Likewise.
35857 (LOAD_REGS_2): Likewise.
35858 (LOAD_REGS_3): Likewise.
35859 (LOAD_REGS_4): Likewise.
35860 (LOAD_REGS_5): Likewise.
35861 (LOAD_REGS_6): Likewise.
35862 (ASM_ARGS_0): Likewise.
35863 (ASM_ARGS_1): Likewise.
35864 (ASM_ARGS_2): Likewise.
35865 (ASM_ARGS_3): Likewise.
35866 (ASM_ARGS_4): Likewise.
35867 (ASM_ARGS_5): Likewise.
35868 (ASM_ARGS_6): Likewise.
35869 (LOAD_ARGS_TYPES_1): Likewise.
35870 (LOAD_ARGS_TYPES_2): Likewise.
35871 (LOAD_ARGS_TYPES_3): Likewise.
35872 (LOAD_ARGS_TYPES_4): Likewise.
35873 (LOAD_ARGS_TYPES_5): Likewise.
35874 (LOAD_ARGS_TYPES_6): Likewise.
35875 (LOAD_REGS_TYPES_1): Likewise.
35876 (LOAD_REGS_TYPES_2): Likewise.
35877 (LOAD_REGS_TYPES_3): Likewise.
35878 (LOAD_REGS_TYPES_4): Likewise.
35879 (LOAD_REGS_TYPES_5): Likewise.
35880 (LOAD_REGS_TYPES_6): Likewise.
35881 (TYPEFY): New define.
35882 (ARGIFY): Likewise.
35883 (internal_syscall0): Likewise.
35884 (internal_syscall1): Likewise.
35885 (internal_syscall2): Likewise.
35886 (internal_syscall3): Likewise.
35887 (internal_syscall4): Likewise.
35888 (internal_syscall5): Likewise.
35889 (internal_syscall6): Likewise.
35890 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
35891 (INTERNAL_SYSCALL_NCS): Remove define.
35892 (internal_syscall1): Add define.
35894 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35896 * math/w_remainder_compat.c: Remove duplicate inclusion of
35897 math-svid-compat.h.
35898 * math/w_remainderf_compat.c: Likewise.
35899 * math/w_remainderl_compat.c: Likewise.
35901 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35905 2017-08-22 Joseph Myers <joseph@codesourcery.com>
35908 * math/tgmath.h (__floating_type): Simplify definitions.
35909 (__real_integer_type): New macro.
35910 (__complex_integer_type): Likewise.
35911 (__expr_is_real): Likewise.
35912 (__tgmath_real_type_sub): Update comment to describe handling of
35914 (__tgmath_complex_type_sub): New macro.
35915 (__tgmath_complex_type): Likewise.
35916 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35917 (__TGMATH_CF128): Use __expr_is_real.
35918 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
35920 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35921 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
35922 * math/gen-tgmath-tests.py (Type.create_type): Create complex
35925 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35927 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
35929 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
35931 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
35934 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
35935 nanosleep_not_cancel with __nanosleep_nocancel.
35936 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
35937 (__nanosleep_nocancel): New macro.
35938 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
35940 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
35942 (__nanosleep_nocancel): New prototype.
35944 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
35945 pause_not_cancel with __pause_nocancel.
35946 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
35947 (__pause_nocancel): New macro.
35948 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
35950 (__pause_nocancel): New prototype.
35951 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
35953 2017-08-22 Martin Sebor <msebor@redhat.com>
35955 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
35956 to return a pointer to the same type as the target function.
35958 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35962 * include/printf.h (__printf_fphex): Add attribute_hidden.
35963 (__guess_grouping): New prototype.
35964 * stdio-common/printf_fp.c (__guess_grouping): Removed.
35965 * stdio-common/reg-printf.c (__register_printf_specifier): Add
35966 libc_hidden_proto and libc_hidden_def.
35967 * stdlib/strfmon_l.c (__guess_grouping): Removed.
35968 (__vstrfmon_l): Remove the third argument passed to
35971 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
35973 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
35974 definition for issignaling that does not rely on __MATH_TG,
35975 since __MATH_TG uses __builtin_types_compatible_p, which is only
35976 available in C mode.
35977 (CFLAGS-test-math-issignaling.cc): New variable.
35978 * math/Makefile [CXX] (tests): Add test-math-issignaling.
35979 * math/test-math-issignaling.cc: New test for C++ implementation
35980 of type-generic issignaling.
35981 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
35982 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
35983 options of test-math-issignaling on powerpc64le.
35985 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
35987 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
35989 (hidden_proto): Likewise.
35990 (hidden_tls_proto): Likewise.
35991 (__hidden_proto): Likewise.
35993 2017-08-22 Florian Weimer <fweimer@redhat.com>
35995 math: Statically link tests of internal functionality.
35996 * math/Makefile (tests): Remove atest-exp, atest-sincos,
35998 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
35999 (gmp-objs): Remove assignment.
36000 (atest-exp, atest-sincos, atest-exp2): Remove targets.
36002 2017-08-22 Joseph Myers <joseph@codesourcery.com>
36005 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
36007 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
36009 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
36012 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
36013 variable definitions above inclusion of ../Rules.
36015 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36017 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
36018 case calling __builtin_unreachable.
36020 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36022 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
36023 __waitpid_nocancel.
36024 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
36025 (__waitpid_nocancel): New macro.
36026 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
36028 (__waitpid_nocancel): Replace macro with a function.
36029 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
36032 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
36034 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
36035 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
36037 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
36038 __writev_nocancel_nostatus.
36039 (write_call_graph): Likewise.
36040 (write_bb_counts): Likewise.
36041 * resolv/herror.c (herror): Likewise.
36042 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
36044 (__writev_nocancel_nostatus): New macro.
36045 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
36047 (__writev_nocancel_nostatus): New function.
36049 2017-08-21 Joseph Myers <joseph@codesourcery.com>
36052 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36054 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36056 (hidden_proto): Likewise.
36057 (hidden_tls_proto): Likewise.
36058 (__hidden_proto): Likewise.
36061 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
36062 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
36067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
36071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
36072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36073 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36074 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36075 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
36076 GLIBC_2.0 sqrtl symbol.
36078 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
36079 [__USE_MISC] (_LIB_VERSION): Likewise.
36080 [__USE_MISC] (struct exception): Likewise.
36081 [__USE_MISC] (matherr): Likewise.
36082 [__USE_MISC] (DOMAIN): Likewise.
36083 [__USE_MISC] (SING): Likewise.
36084 [__USE_MISC] (OVERFLOW): Likewise.
36085 [__USE_MISC] (UNDERFLOW): Likewise.
36086 [__USE_MISC] (TLOSS): Likewise.
36087 [__USE_MISC] (PLOSS): Likewise.
36088 [__USE_MISC] (HUGE): Likewise.
36089 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
36090 * math/math-svid-compat.h: New file.
36091 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
36093 * include/math.h [!_ISOMAC] (__matherr): Remove.
36094 * manual/arith.texi (FP Exceptions): Do not document matherr.
36095 * math/Makefile (tests): Change test-matherr to test-matherr-3.
36096 (tests-internal): New variable.
36097 (install-lib): Do not add libieee.a.
36098 (non-lib.a): Likewise.
36099 (extra-objs): Do not add libieee.a and ieee-math.o.
36100 (CPPFLAGS-s_lib_version.c): Remove variable.
36101 ($(objpfx)libieee.a): Remove rule.
36102 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
36103 * math/ieee-math.c: Remove.
36104 * math/libm-test-support.c (matherr): Remove.
36105 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
36106 and license notices. Include <math-svid-compat.h> and
36108 (matherr): Undefine as macro. Use compat_symbol_reference.
36109 (_LIB_VERSION): Likewise.
36110 * math/test-matherr-2.c: New file.
36111 * math/test-matherr-3.c: Likewise.
36112 * sysdeps/generic/math_private.h (__kernel_standard): Remove
36114 (__kernel_standard_f): Likewise.
36115 (__kernel_standard_l): Likewise.
36116 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
36117 <math_private.h>. Include <math-svid-compat.h>.
36118 (_LIB_VERSION): Undefine as macro.
36119 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
36120 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
36121 [LIBM_SVID_COMPAT], use compat_symbol.
36122 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
36123 <math_private.h>. Include <math-svid-compat.h>.
36124 (matherr): Undefine as macro.
36125 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
36127 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
36128 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
36129 compat_symbol_reference.
36130 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
36131 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
36132 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
36133 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
36134 (MATHERR_D): Remove declaration.
36135 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
36136 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
36137 [LIBM_BUILD] (pmatherrf): Likewise.
36138 [LIBM_BUILD] (pmatherr): Likewise.
36139 [LIBM_BUILD] (pmatherrl): Likewise.
36140 (DOMAIN): Likewise.
36142 (OVERFLOW): Likewise.
36143 (UNDERFLOW): Likewise.
36146 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
36147 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
36149 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
36150 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
36152 * math/lgamma-compat.h: Include <math-svid-compat.h>.
36153 * math/w_acos_compat.c: Likewise.
36154 * math/w_acosf_compat.c: Likewise.
36155 * math/w_acosh_compat.c: Likewise.
36156 * math/w_acoshf_compat.c: Likewise.
36157 * math/w_acoshl_compat.c: Likewise.
36158 * math/w_acosl_compat.c: Likewise.
36159 * math/w_asin_compat.c: Likewise.
36160 * math/w_asinf_compat.c: Likewise.
36161 * math/w_asinl_compat.c: Likewise.
36162 * math/w_atan2_compat.c: Likewise.
36163 * math/w_atan2f_compat.c: Likewise.
36164 * math/w_atan2l_compat.c: Likewise.
36165 * math/w_atanh_compat.c: Likewise.
36166 * math/w_atanhf_compat.c: Likewise.
36167 * math/w_atanhl_compat.c: Likewise.
36168 * math/w_cosh_compat.c: Likewise.
36169 * math/w_coshf_compat.c: Likewise.
36170 * math/w_coshl_compat.c: Likewise.
36171 * math/w_exp10_compat.c: Likewise.
36172 * math/w_exp10f_compat.c: Likewise.
36173 * math/w_exp10l_compat.c: Likewise.
36174 * math/w_exp2_compat.c: Likewise.
36175 * math/w_exp2f_compat.c: Likewise.
36176 * math/w_exp2l_compat.c: Likewise.
36177 * math/w_fmod_compat.c: Likewise.
36178 * math/w_fmodf_compat.c: Likewise.
36179 * math/w_fmodl_compat.c: Likewise.
36180 * math/w_hypot_compat.c: Likewise.
36181 * math/w_hypotf_compat.c: Likewise.
36182 * math/w_hypotl_compat.c: Likewise.
36183 * math/w_j0_compat.c: Likewise.
36184 * math/w_j0f_compat.c: Likewise.
36185 * math/w_j0l_compat.c: Likewise.
36186 * math/w_j1_compat.c: Likewise.
36187 * math/w_j1f_compat.c: Likewise.
36188 * math/w_j1l_compat.c: Likewise.
36189 * math/w_jn_compat.c: Likewise.
36190 * math/w_jnf_compat.c: Likewise.
36191 * math/w_jnl_compat.c: Likewise.
36192 * math/w_lgamma_main.c: Likewise.
36193 * math/w_lgamma_r_compat.c: Likewise.
36194 * math/w_lgammaf_main.c: Likewise.
36195 * math/w_lgammaf_r_compat.c: Likewise.
36196 * math/w_lgammal_main.c: Likewise.
36197 * math/w_lgammal_r_compat.c: Likewise.
36198 * math/w_log10_compat.c: Likewise.
36199 * math/w_log10f_compat.c: Likewise.
36200 * math/w_log10l_compat.c: Likewise.
36201 * math/w_log2_compat.c: Likewise.
36202 * math/w_log2f_compat.c: Likewise.
36203 * math/w_log2l_compat.c: Likewise.
36204 * math/w_log_compat.c: Likewise.
36205 * math/w_logf_compat.c: Likewise.
36206 * math/w_logl_compat.c: Likewise.
36207 * math/w_pow_compat.c: Likewise.
36208 * math/w_powf_compat.c: Likewise.
36209 * math/w_powl_compat.c: Likewise.
36210 * math/w_remainder_compat.c: Likewise.
36211 * math/w_remainderf_compat.c: Likewise.
36212 * math/w_remainderl_compat.c: Likewise.
36213 * math/w_scalb_compat.c: Likewise.
36214 * math/w_scalbf_compat.c: Likewise.
36215 * math/w_scalbl_compat.c: Likewise.
36216 * math/w_sinh_compat.c: Likewise.
36217 * math/w_sinhf_compat.c: Likewise.
36218 * math/w_sinhl_compat.c: Likewise.
36219 * math/w_sqrt_compat.c: Likewise.
36220 * math/w_sqrtf_compat.c: Likewise.
36221 * math/w_sqrtl_compat.c: Likewise.
36222 * math/w_tgamma_compat.c: Likewise.
36223 * math/w_tgammaf_compat.c: Likewise.
36224 * math/w_tgammal_compat.c: Likewise.
36225 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
36226 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
36227 * sysdeps/ieee754/k_standard.c: Likewise.
36228 * sysdeps/ieee754/k_standardf.c: Likewise.
36229 * sysdeps/ieee754/k_standardl.c: Likewise.
36230 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
36231 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
36232 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
36233 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
36234 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
36235 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
36236 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
36237 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
36238 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
36239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
36241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
36243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
36244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
36245 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
36246 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
36248 2017-08-21 Florian Weimer <fweimer@redhat.com>
36251 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
36252 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
36253 Move before inclusion of ../Rules.
36255 2017-08-21 Florian Weimer <fweimer@redhat.com>
36258 * assert/assert.h (assert): Use static_cast (bool) for C++.
36259 Use the ternary operator in the warning branch for GNU C.
36260 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
36261 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
36262 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
36263 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
36264 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
36266 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36269 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36270 (__syscall_clock_gettime): Add attribute_hidden.
36271 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
36272 (__start_context): Likewise.
36274 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36276 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
36278 (hidden_proto): Likewise.
36279 (hidden_tls_proto): Likewise.
36280 (__hidden_proto): Likewise.
36282 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36284 * include/libc-symbols.h (attribute_hidden): Enable hidden
36285 visibility in libc.a compiled with PIE.
36287 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36290 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
36291 Add attribute_hidden.
36293 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36296 * Makerules (all-nonlib): Add $(others-extras).
36297 * catgets/Makefile (others-extras): New.
36298 * elf/Makefile (others-extras): Likewise.
36299 * nss/Makefile (others-extras): Likewise.
36301 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36304 * csu/libc-start.c (__libc_multiple_libcs): Removed.
36305 * elf/dl-open.c: Include <libc-internal.h>.
36306 (__libc_multiple_libcs): Removed.
36307 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
36309 * include/libc-internal.h (__libc_multiple_libcs): New.
36310 * misc/sbrk.c: Include <libc-internal.h>.
36311 (__libc_multiple_libcs): Removed.
36313 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
36316 * grp/initgroups.c (__nss_group_database): Removed.
36317 (__nss_initgroups_database): Likewise.
36318 * nscd/gai.c (__nss_hosts_database): Likewise.
36319 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
36320 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
36321 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
36322 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
36323 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
36324 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
36326 * nss/nsswitch.c (__nss_database_custom): Define only if
36327 USE_NSCD is defined.
36328 (__nss_configure_lookup): Use __nss_database_custom only if
36329 USE_NSCD is defined.
36330 * nss/nsswitch.h (__nss_database_custom): Declare only if
36331 USE_NSCD is defined. Add attribute_hidden.
36332 (__nss_setent): Add attribute_hidden.
36333 (__nss_endent): Likewise.
36334 (__nss_getent_r): Likewise.
36335 (__nss_getent): Likewise.
36336 (DEFINE_DATABASE): Declare __nss_##arg##_database.
36338 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36341 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
36342 libc_hidden_proto and libc_hidden_def.
36344 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36347 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
36348 Add libc_hidden_proto.
36349 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
36350 Add libc_hidden_def.
36352 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36355 * gmon/Makefile (routines): Remove bb_init_func and
36357 (elide-routines.os): Removed.
36358 * gmon/bb_exit_func.c: Likewise.
36359 * gmon/bb_init_func.c: Likewise.
36360 * include/sys/gmon.h (__bb): Likewise.
36361 (__bb_init_func): Likewise.
36362 (__bb_exit_func): Likewise.
36363 * sysdeps/alpha/bb_init_func.S: Likewise.
36365 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
36367 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
36368 * include/setjmp.h (____longjmp_chk): Here. Add
36371 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
36374 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
36376 (__strspn_sse2): Likewise.
36378 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36380 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
36381 (close_not_cancel_no_status): Likewise.
36382 (__close_nocancel): New macro.
36383 (__close_nocancel_nostatus): Likewise.
36384 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
36386 (close_not_cancel): Likewise.
36387 (close_not_cancel_no_status): Likewise.
36388 (__close_nocancel): New prototype.
36389 (__close_nocancel_nostatus): New function.
36390 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
36391 * catgets/open_catalog.c (__open_catalog): Replace
36392 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
36393 * gmon/gmon.c (write_gmon): Likewise.
36394 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36395 * intl/loadmsgcat.c (close): Likewise.
36396 * io/ftw.c (open_dir_stream): Likewise.
36397 (ftw_startup): Likewise.
36398 * libio/fileops.c (_IO_file_open): Likewise.
36399 (_IO_file_close_mmap): Likewise.
36400 (_IO_file_close): Likewise.
36401 * libio/iopopen.c (_IO_dup2): Likewise.
36402 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36403 * locale/loadlocale.c (_nl_load_locale): Likewise.
36404 * login/utmp_file.c (pututline_file): Likewise.
36405 (endutent_file): Likewise.
36406 * misc/daemon.c (daemon): Likewise.
36407 * nscd/nscd_getai.c (__nscd_getai): Likewise.
36408 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36409 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
36410 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36411 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36412 * nscd/nscd_helper.c (open_socket): Likewise.
36413 (__nscd_open_socket): Likewise.
36414 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36415 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
36416 (__nscd_innetgr): Likewise.
36417 * nss/nss_db/db-open.c (internal_setent): Likewise.
36418 * resolv/res-close.c (__res_iclose): Likewise.
36419 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
36420 * sysdeps/posix/closedir.c (__closedir): Likewise.
36421 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
36422 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36423 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36424 (opendir_tail): Likewise.
36425 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36426 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
36427 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36428 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36429 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36430 (gethostid): Likewise.
36431 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36435 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
36436 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36437 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36439 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
36440 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
36441 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36443 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
36444 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36446 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36448 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36449 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36450 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36453 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
36454 (openat_not_cancel_3): Likewise.
36455 (openat64_not_cancel_3): Likewise).
36456 (openat_not_cancel_3): Likewise).
36457 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
36459 (openat_not_cancel_3): Likewise.
36460 (openat64_not_cancel): Likewise.
36461 (openat64_not_cancel_3): Likewise.
36462 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
36463 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
36464 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
36465 __open{64}_nocancel.
36466 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36467 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
36468 * sysdeps/posix/opendir.c (__opendirat): Likewise.
36470 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36473 * include/argz.h (__argz_create_sep): New function prototype.
36474 (__argz_append): Likewise.
36475 (__argz_add): Likewise.
36476 (__argz_add_sep): Likewise.
36477 (__argz_delete): Likewise.
36478 (__argz_insert): Likewise.
36479 (__argz_replace): Likewise.
36480 * string/argz.h (__argz_create_sep): Removed.
36481 (__argz_append): Likewise.
36482 (__argz_add): Likewise.
36483 (__argz_add_sep): Likewise.
36484 (__argz_delete): Likewise.
36485 (__argz_insert): Likewise.
36486 (__argz_replace): Likewise.
36488 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36490 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
36491 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
36492 (GNU_PROPERTY_STACK_SIZE): Likewie.
36493 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
36494 (GNU_PROPERTY_LOPROC): Likewise.
36495 (GNU_PROPERTY_HIPROC): Likewise.
36496 (GNU_PROPERTY_LOUSER): Likewise.
36497 (GNU_PROPERTY_HIUSER): Likewise.
36498 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
36499 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
36500 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
36501 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
36502 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
36503 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
36504 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
36505 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
36506 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
36507 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
36508 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
36509 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
36510 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
36511 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
36512 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
36513 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
36514 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
36515 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
36516 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
36517 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
36518 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
36519 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
36520 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
36522 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36524 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
36527 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
36530 * math/math.h (isinf): Check if in C or C++ mode before using
36531 __builtin_types_compatible_p, since this is a C mode feature.
36533 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36535 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
36536 (__write_nocancel): New macro.
36537 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
36538 Rewrite as a function prototype.
36539 (write_not_cancel): Remove macro.
36540 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
36541 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
36542 (write_gmon): Likewise.
36543 * libio/fileops.c (_IO_new_file_write): Likewise.
36544 * login/utmp_file.c (pututline_file): Likewise.
36545 (updwtmp_file): Likewise.
36546 * stdio-common/psiginfo.c (psiginfo): Likewise.
36547 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36548 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36549 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36551 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36554 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
36555 (__read_nocancel): New macro.
36556 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36558 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
36560 (__read_nocancel): New prototype.
36561 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
36562 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
36563 with __read_nocancel.
36564 * intl/loadmsgcat.c (read): Likewise.
36565 * libio/fileops.c (_IO_file_read): Likewise.
36566 * locale/loadlocale.c (_nl_load_locale): Likewise.
36567 * login/utmp_file.c (getutent_r_file): Likewise.
36568 (internal_getut_r): Likewise.
36569 (getutline_r_file): Likewise.
36570 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36571 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
36572 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36575 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
36576 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36577 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36579 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36581 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36583 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36585 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36587 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
36590 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
36591 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
36594 2017-08-17 DJ Delorie <dj@redhat.com>
36596 * bug17079.c: Update to new test harness.
36597 * test-digits-dots.c: Likewise.
36598 * test-netdb.c: Likewise.
36599 * tst-field.c: Likewise.
36600 * tst-nss-getpwent.c: Likewise.
36601 * tst-nss-static.c: Likewise.
36602 * tst-nss-test1.c: Likewise.
36603 * tst-nss-test2.c: Likewise.
36604 * tst-nss-test3.c: Likewise.
36605 * tst-nss-test4.c: Likewise.
36606 * tst-nss-test5.c: Likewise.
36608 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36610 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
36611 (open_not_cancel_2): Likewise.
36612 (open_nocancel): New macro.
36613 (open64_nocancel): Likewise.
36614 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
36615 (open_not_cancel_2): Likewise.
36616 (__open_nocancel): New prototype.
36617 (__open64_nocancel): Likewise.
36618 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
36620 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
36621 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
36622 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
36623 with __open_nocancel.
36624 * csu/check_fds.c (check_one_fd): Likewise.
36625 * gmon/gmon.c (write_gmon): Likewise.
36626 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
36627 * intl/loadmsgcat.c (open): Likewise.
36628 * libio/fileops.c (_IO_file_open): Likewise.
36629 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36630 * locale/loadlocale.c (_nl_load_locale): Likewise.
36631 * login/utmp_file.c (setutent_file): Likewise.
36632 * misc/daemon.c (daemon): Likewise.
36633 * nss/nss_db/db-open.c (internal_setent): Likewise.
36634 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
36635 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
36636 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
36637 (__opendir): Likewise.
36638 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
36639 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
36640 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
36641 (gethostid): Likewise.
36642 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
36643 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
36646 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
36647 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
36648 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
36650 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
36652 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
36654 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
36656 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
36658 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
36660 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
36661 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
36663 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
36665 * benchtests/bench-skeleton.c (main): Add support for
36666 latency benchmarking.
36667 * benchtests/scripts/bench.py: Add support for latency benchmarking.
36669 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
36671 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
36672 the startup object.
36674 2017-08-17 Florian Weimer <fweimer@redhat.com>
36676 * include/sys/socket.h (__opensock): Remove internal_function.
36677 * socket/opensock.c (__opensock): Likewise.
36678 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
36680 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36683 * signal/bits/types/__sigval_t.h: New file.
36684 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
36685 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
36686 and define sigval_t using __sigval_t.
36687 * include/bits/types/__sigval_t.h: New file.
36688 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
36689 instead of <bits/types/__sigval_t.h>.
36690 (struct sigevent): Use __sigval_t instead of sigval_t.
36691 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
36692 instead of <bits/types/__sigval_t.h>.
36693 (siginfo_t): Use __sigval_t instead of sigval_t.
36694 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
36695 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36696 (struct sigevent): Use __sigval_t instead of sigval_t.
36697 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
36698 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
36699 (siginfo_t): Use __sigval_t instead of sigval_t.
36700 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
36702 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36704 * NEWS: Remove "[Add new features here]" for 2.27.
36706 2017-08-16 Joseph Myers <joseph@codesourcery.com>
36708 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
36711 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36713 * NEWS: Mention x86-64 FMA optimization.
36715 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
36718 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36720 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
36721 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
36722 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
36724 2017-08-16 Andreas Schwab <schwab@suse.de>
36728 * elf/ldd.bash.in: Never run file directly.
36730 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
36733 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
36734 (L(SP_INF_0)): Likewise.
36736 2017-08-15 Florian Weimer <fweimer@redhat.com>
36738 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
36741 2017-08-15 Florian Weimer <fweimer@redhat.com>
36743 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
36744 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
36745 BROKEN_THREAD_SIGNALS code.
36746 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
36747 request_list): Remove caller_pid member used for
36748 BROKEN_THREAD_SIGNALS.
36749 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
36750 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
36751 Remove BROKEN_THREAD_SIGNALS support.
36752 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
36753 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
36755 2017-08-15 Florian Weimer <fweimer@redhat.com>
36757 * gmon/Makefile (tests): Add tst-gmon.
36758 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
36760 (tests-special): Add tst-gmon-prof.out.
36761 (tst-gmon.out): Depend on clean-tst-gmon-data.
36762 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
36763 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
36764 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
36766 * aclocal.m4 (GPROF): Set and substitute.
36767 * config.amke.in (GPROF): Set.
36768 * configure: Regenerate.
36770 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
36772 * elf/elf.h A (NT_PPC_TAR): New macro.
36773 (NT_PPC_PPR): Likewise.
36774 (NT_PPC_DSCR): Likewise.
36775 (NT_PPC_EBB): Likewise.
36776 (NT_PPC_PMU): Likewise.
36777 (NT_PPC_TM_CGPR): Likewise.
36778 (NT_PPC_TM_CFPR): Likewise.
36779 (NT_PPC_TM_CVMX): Likewise.
36780 (NT_PPC_TM_CVSX): Likewise.
36781 (NT_PPC_TM_SPR): Likewise.
36782 (NT_PPC_TM_CTAR): Likewise.
36783 (NT_PPC_TM_CPPR): Likewise.
36784 (NT_PPC_TM_CDSCR): Likewise.
36786 2017-08-15 Florian Weimer <fweimer@redhat.com>
36788 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
36789 regparm (2) instead of internal_function.
36790 (_MCOUNT_DECL): Adjust.
36792 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
36794 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
36795 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
36797 2017-08-14 Joseph Myers <joseph@codesourcery.com>
36799 * conform/data/sys/wait.h-data (si_value): Do not expect for
36802 2017-08-14 Florian Weimer <fweimer@redhat.com>
36805 NSS: Create stubs for accidentally exported lookup functions.
36806 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
36807 Remove declaration.
36808 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
36809 (ether_hostton): Call __nss_ethers_lookup2 instead.
36810 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
36811 (ether_ntohost): Call __nss_ethers_lookup2 instead.
36812 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
36813 (setup): Call __nss_netgroup_lookup2 instead.
36814 * nss/Makefile (routines): Add compat-lookup.
36815 * nss/Versions (GLIBC_2.27): Add symbol version.
36816 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
36817 (DB_COMPAT_FCT): Remove.
36818 * nss/compat-lookup.c: New file.
36819 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
36820 from databases.def.
36821 * nss/service-lookup.c (NO_COMPAT): Remove definition.
36822 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
36823 (netname2user): Call __nss_publickey_lookup2 instead.
36824 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
36825 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
36828 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36829 Sergei Trofimovich <slyfox@inbox.ru>
36832 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
36833 Rename to MMAP2_PAGE_UNIT.
36834 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
36835 __OFF_T_MATCHES_OFF64_T is not defined.
36836 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
36838 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
36839 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
36841 2017-08-14 Florian Weimer <fweimer@redhat.com>
36843 i386: Do not set internal_function.
36844 * config.h.in (USE_REGPARMS, internal_function): Remove.
36845 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
36846 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
36848 2017-08-14 Florian Weimer <fweimer@redhat.com>
36850 * elf/dl-init.c (_dl_init): Remove internal_function.
36851 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
36852 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
36854 2017-08-14 Florian Weimer <fweimer@redhat.com>
36856 * elf/rtld.c (_dl_start): Remove internal_function.
36857 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
36860 2017-08-14 Florian Weimer <fweimer@redhat.com>
36862 * elf/dl-fini.c (_dl_fini): Remove internal_function
36863 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
36865 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
36867 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
36868 (bit_cpu_SHSTK): Likewise.
36869 (index_cpu_IBT): Likewise.
36870 (index_cpu_SHSTK): Likewise.
36871 (reg_IBT): Likewise.
36872 (reg_SHSTK): Likewise.
36873 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
36874 Handle index_cpu_IBT and index_cpu_SHSTK.
36876 2017-08-14 Mike FABIAN <mfabian@redhat.com>
36879 * po/fr.po: Fix spelling mistake.
36881 2017-08-13 Florian Weimer <fweimer@redhat.com>
36883 * elf/dl-addr.c (_dl_addr): Remove internal_function.
36884 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
36885 (_dl_catch_error, _dl_receive_error): Likewise.
36886 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
36887 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
36888 (_dl_deallocate_tls): Likewise.
36889 * include/dlfcn.h (_dl_addr): Likewise.
36890 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
36891 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
36892 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
36895 2017-08-13 Florian Weimer <fweimer@redhat.com>
36897 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
36898 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
36900 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
36902 2017-08-13 Florian Weimer <fweimer@redhat.com>
36904 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
36906 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
36907 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
36908 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
36909 internal_function from _dl_make_stack_executable_hook member.
36910 (_dl_make_stack_executable): Remove internal_function.
36911 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
36913 * sysdeps/unix/sysv/linux/dl-execstack.c
36914 (_dl_make_stack_executable): Likewise.
36916 2017-08-13 Florian Weimer <fweimer@redhat.com>
36918 * sysdeps/unix/sysv/linux/netlinkaccess.h
36919 (__netlink_assert_response): Remove internal_function.
36920 * sysdeps/unix/sysv/linux/netlink_assert_response.c
36921 (__netlink_assert_response): Likewise.
36923 2017-08-13 Florian Weimer <fweimer@redhat.com>
36925 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
36927 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
36929 2017-08-13 Florian Weimer <fweimer@redhat.com>
36931 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
36933 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
36934 * inet/netgroup.h (__internal_setnetgrent)
36935 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36936 * inet/getnetgrent_r.c (__internal_setnetgrent)
36937 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
36938 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
36939 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
36940 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
36941 * nss/nsswitch.h (db_lookup_function): Likewise.
36943 2017-08-13 Florian Weimer <fweimer@redhat.com>
36945 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
36946 Remove internal_function.
36947 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
36948 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
36949 message argument on the stack.
36950 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
36953 2017-08-12 Mike FABIAN <mfabian@redhat.com>
36955 Adapt test case data to the changes in the thousands
36959 * localedata/tst-langinfo.sh: Adapt test case data.
36960 * stdlib/tst-strfmon_l.c: Likewise.
36961 * stdlib/tst-strtod4.c: Likewise.
36962 * stdlib/tst-strtod5i.c: Likewise.
36964 2017-08-11 Florian Weimer <fweimer@redhat.com>
36967 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
36968 Suppress pedantic warning resulting from statement expression.
36969 (__ASSERT_FUNCTION): Add missing __extension__.
36971 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
36973 * benchtests/bench-memmove-large.c: Print output in JSON
36975 * benchtests/bench-memmove.c: Likewise.
36977 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
36978 * benchtests/bench-memchr.c (do_one_test): Likewise.
36979 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
36980 * benchtests/bench-memcpy.c (do_one_test): Likewise.
36981 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
36982 * benchtests/bench-memmove.c (do_one_test): Likewise.
36983 * benchtests/bench-memset-large.c (do_one_test): Likewise.
36984 * benchtests/bench-memset.c (do_one_test): Likewise.
36985 * benchtests/bench-string.h (test_init): Remove memsets.
36987 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36990 (Computing the Width of an Integer Data Type): Rename section to
36991 "Width of an Integer Type". Remove inaccurate statement regarding
36992 lack of C language facilities for determining width of integer
36993 types, and reorder content to improve flow and context of
36996 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
36998 * lang.texi (va_copy): Change standard from ISO to C99.
36999 (__va_copy): Add standard and header annotation.
37000 Update description for clarity of origins and current use.
37002 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
37005 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
37006 xssqrtqp requires operands to be in Vector Registers
37007 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
37008 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
37009 (__ieee754_sqrtf128): Likewise.
37011 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
37013 * sysdeps/aarch64/memcmp.S (memcmp):
37014 Rewrite of optimized memcmp.
37016 2017-08-10 Florian Weimer <fweimer@redhat.com>
37018 Introduce ld.so exceptions.
37019 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
37020 (_dl_exception_create, _dl_exception_create_format)
37021 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
37022 (_dl_catch_exception): Declare.
37023 (_dl_catch_error): Update comment.
37024 * elf/dl-error-skeleton.c (struct catch): Replace objname,
37025 errstring, malloced members with exception member.
37026 (_dl_out_of_memory): Remove.
37027 (fatal_error): New function, extracted from _dl_signal_error.
37028 (_dl_signal_exception, _dl_signal_cexception): New functions.
37029 (_dl_signal_error): Call _dl_exception_create to allocate an
37031 (_dl_catch_exception): New function, based on _dl_catch_error.
37032 (_dl_catch_error): Implement using _dl_catch_exception.
37033 * elf/dl-exception.c: New file.
37034 * elf/Makefile (dl-routines): Add dl-exception.
37035 (elide-routines.os): Likewise.
37036 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
37037 _dl_exception_create_format, _dl_exception_free.
37038 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
37039 _dl_signal_exception.
37040 * elf/dl-lookup.c (make_string): Remove.
37041 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
37042 _dl_signal_cexception, _dl_exception_free.
37043 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
37044 _dl_signal_exception.
37045 * elf/dl-sym.c (do_sym): Likewise.
37046 * elf/dl-version.c (make_string): Remove.
37047 (match_symbol): Use _dl_exception_create_format,
37048 _dl_signal_cexception, _dl_exception_free.
37049 (_dl_check_map_versions): Likewise.
37050 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
37051 _dl_catch_exception.
37052 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
37053 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
37054 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
37055 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
37056 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
37057 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
37058 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
37059 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
37061 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
37062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
37064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
37066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
37068 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
37069 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
37070 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
37072 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
37074 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
37076 2017-08-10 Florian Weimer <fweimer@redhat.com>
37078 * inet/net-internal.h (__inet6_scopeid_pton): Remove
37079 attribute_hidden, internal_function.
37080 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
37083 2017-08-10 Florian Weimer <fweimer@redhat.com>
37085 * malloc/malloc.c (get_max_fast): Reimplement as an inline
37086 function which calls __builtin_unreachable.
37088 2017-08-10 Mike FABIAN <mfabian@redhat.com>
37090 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
37091 Indian monetary formatting
37092 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
37095 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
37097 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
37098 Fix typo in comment.
37101 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
37102 PTRACE_SEIZE_DEVEL): Remove.
37103 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
37104 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37109 2017-08-09 Joseph Myers <joseph@codesourcery.com>
37111 * posix/bits/types.h (__qaddr_t): Remove.
37114 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
37115 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37117 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
37118 (ucontext_t): Use __ctx with uc_flags.
37119 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
37120 (__ctxt): Likewise.
37121 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37123 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
37124 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37126 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
37127 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37129 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
37131 (ucontext_t): Use __ctx with uc_flags.
37132 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
37133 (ucontext_t): Use __ctx with uc_flags.
37134 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
37135 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
37136 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
37137 (ucontext_t): Use __ctx with uc_flags.
37138 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
37139 undefine further down.
37140 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
37142 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
37143 undefine further down.
37144 (ucontext_t): Use __ctx with uc_flags.
37145 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
37146 undefine further down.
37147 (ucontext_t): Use __ctx with uc_flags.
37148 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
37149 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
37150 Rename uc_pad to __glibc_reserved1.
37151 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
37152 undefine further down.
37153 (ucontext_t): Use __ctx with uc_flags.
37154 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
37156 (ucontext_t): Use __ctx with uc_flags.
37157 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
37158 __ctx with uc_flags.
37159 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
37160 (ucontext_t): Use __ctx with uc_flags.
37161 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
37162 __ctx with uc_flags.
37164 2017-08-09 Florian Weimer <fweimer@redhat.com>
37167 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
37168 before early return.
37170 2017-08-09 Andreas Schwab <schwab@suse.de>
37173 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
37177 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
37178 tst-compat-forwarder.
37179 (modules-names): Add tst-compat-forwarder-mod.
37180 ($(objpfx)tst-compat-forwarder): Depend on
37181 $(objpfx)tst-compat-forwarder-mod.so.
37182 * nptl/tst-compat-forwarder.c: New file.
37183 * nptl/tst-compat-forwarder-mod.c: New file.
37185 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
37187 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
37190 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
37191 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
37193 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
37195 (__libc_ifunc_impl_list): Add __memcpy_falkor.
37196 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
37197 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
37198 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
37200 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
37203 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37206 * manual/setjmp.texi (getcontex): Document uc_stack value
37207 compatibility differences.
37209 2017-08-08 Joseph Myers <joseph@codesourcery.com>
37211 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
37212 (old_malloc_hook): Likewise.
37213 (old_memalign_hook): Likewise.
37214 (old_realloc_hook): Likewise.
37215 (struct hdr): Likewise.
37217 (freehook): Likewise.
37218 (mallochook): Likewise.
37219 (memalignhook): Likewise.
37220 (reallochook): Likewise.
37221 (mprobe): Likewise.
37222 * malloc/mtrace.c (mallwatch): Likewise.
37223 (tr_old_free_hook): Likewise.
37224 (tr_old_malloc_hook): Likewise.
37225 (tr_old_realloc_hook): Likewise.
37226 (tr_old_memalign_hook): Likewise.
37227 (tr_where): Likewise.
37228 (lock_and_info): Likewise.
37229 (tr_freehook): Likewise.
37230 (tr_mallochook): Likewise.
37231 (tr_reallochook): Likewise.
37232 (tr_memalignhook): Likewise.
37233 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
37234 * misc/mmap.c (__mmap): Likewise.
37235 * misc/mmap64.c (__mmap64): Likewise.
37236 * misc/mprotect.c (__mprotect): Likewise.
37237 * misc/msync.c (msync): Likewise.
37238 * misc/munmap.c (__munmap): Likewise.
37239 * posix/posix_madvise.c (posix_madvise): Likewise.
37240 * socket/send.c (__send): Likewise.
37241 * socket/sendto.c (__sendto): Likewise.
37242 * socket/setsockopt.c (__setsockopt): Likewise.
37243 * string/memcmp.c (__ptr_t): Remove macro.
37244 (MEMCMP): Use void * instead of ptr_t.
37245 * string/memrchr.c (__ptr_t): Remove macro.
37246 (__memrchr): Use void * instead of ptr_t.
37247 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
37248 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
37249 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
37250 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
37251 * sysdeps/mach/msync.c (msync): Likewise.
37252 * sysdeps/mach/munmap.c (__munmap): Likewise.
37253 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
37255 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
37256 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
37257 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
37258 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
37259 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
37260 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37261 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
37262 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
37264 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37265 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
37266 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
37267 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
37268 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
37269 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
37270 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
37271 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
37272 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
37274 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
37275 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
37276 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
37277 (MEMCMP): Use void * instead of ptr_t.
37278 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
37279 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
37281 2017-08-08 Florian Weimer <fweimer@redhat.com>
37283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
37286 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
37289 * csu/libc-tls.c: Include <startup.h> first.
37290 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
37291 * elf/dl-tunables.c: Include <startup.h> first.
37292 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
37293 * sysdeps/generic/startup.h: New file.
37294 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
37295 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
37296 (I386_USE_SYSENTER): New. Defined to 0.
37298 2017-08-08 Andreas Schwab <schwab@suse.de>
37301 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
37302 * nptl/pt-system.c (system): Likewise.
37304 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37307 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
37309 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
37310 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
37311 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
37312 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
37313 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
37314 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
37315 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
37317 2017-08-07 Joseph Myers <joseph@codesourcery.com>
37320 * bits/sigaction.h (struct sigaction): Define sa_handler and
37321 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
37322 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37323 [__USE_XOPEN_EXTENDED].
37324 (SA_RESTART): Likewise.
37325 (SA_NODEFER): Likewise.
37326 (SA_RESETHAND): Likewise.
37327 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
37328 (struct sigaction): Define sa_handler and sa_sigaction using union
37329 also for [__USE_XOPEN_EXTENDED].
37330 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37331 [__USE_XOPEN_EXTENDED].
37332 (SA_RESTART): Likewise.
37333 (SA_NODEFER): Likewise.
37334 (SA_RESETHAND): Likewise.
37335 * sysdeps/unix/sysv/linux/bits/sigaction.h
37336 (struct sigaction): Define sa_handler and sa_sigaction using union
37337 also for [__USE_XOPEN_EXTENDED].
37338 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37339 [__USE_XOPEN_EXTENDED].
37340 (SA_RESTART): Likewise.
37341 (SA_NODEFER): Likewise.
37342 (SA_RESETHAND): Likewise.
37343 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
37344 (struct sigaction): Define sa_handler and sa_sigaction using union
37345 also for [__USE_XOPEN_EXTENDED].
37346 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37347 [__USE_XOPEN_EXTENDED].
37348 (SA_RESTART): Likewise.
37349 (SA_NODEFER): Likewise.
37350 (SA_RESETHAND): Likewise.
37351 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
37352 (struct sigaction): Define sa_handler and sa_sigaction using union
37353 also for [__USE_XOPEN_EXTENDED].
37354 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37355 [__USE_XOPEN_EXTENDED].
37356 (SA_RESTART): Likewise.
37357 (SA_NODEFER): Likewise.
37358 (SA_RESETHAND): Likewise.
37359 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
37360 (struct sigaction): Define sa_handler and sa_sigaction using union
37361 also for [__USE_XOPEN_EXTENDED].
37362 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37363 [__USE_XOPEN_EXTENDED].
37364 (SA_RESTART): Likewise.
37365 (SA_NODEFER): Likewise.
37366 (SA_RESETHAND): Likewise.
37367 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37368 (struct sigaction): Define sa_handler and sa_sigaction using union
37369 also for [__USE_XOPEN_EXTENDED].
37370 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37371 [__USE_XOPEN_EXTENDED].
37372 (SA_RESTART): Likewise.
37373 (SA_NODEFER): Likewise.
37374 (SA_RESETHAND): Likewise.
37375 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37376 (struct sigaction): Define sa_handler and sa_sigaction using union
37377 also for [__USE_XOPEN_EXTENDED].
37378 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37379 [__USE_XOPEN_EXTENDED].
37380 (SA_RESTART): Likewise.
37381 (SA_NODEFER): Likewise. Define directly rather than as alias.
37382 (SA_RESETHAND): Likewise.
37383 (SA_INTERRUPT): Define only for [__USE_MISC].
37384 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
37385 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
37387 (SA_STACK): Define only for [__USE_MISC].
37388 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
37389 (struct sigaction): Define sa_handler and sa_sigaction using union
37390 also for [__USE_XOPEN_EXTENDED].
37391 (SA_ONSTACK): Change [__USE_UNIX98] condition to
37392 [__USE_XOPEN_EXTENDED].
37393 (SA_RESTART): Likewise.
37394 (SA_NODEFER): Likewise.
37395 (SA_RESETHAND): Likewise.
37396 (SA_NOPTRACE): Define only for [__USE_MISC].
37398 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
37399 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
37400 (struct catalog_info): Likewise.
37401 * inet/htontest.c (lo): Likewise.
37403 * inet/inet_lnaof.c (inet_lnaof): Likewise.
37404 * inet/inet_net.c (inet_network): Likewise.
37405 * inet/inet_netof.c (inet_netof): Likewise.
37406 * inet/rcmd.c (__ivaliduser): Likewise.
37407 (iruserok): Likewise.
37408 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
37409 * locale/programs/locale-spec.c (locale_special): Likewise.
37410 * nis/nis_findserv.c (struct findserv_req): Likewise.
37411 (__nis_findfastest_with_timeout): Likewise.
37412 * nss/test-netdb.c (test_network): Likewise.
37413 * resolv/inet_neta.c (inet_neta): Likewise.
37414 * resolv/ns_date.c (ns_datetosecs): Likewise.
37415 (SECS_PER_DAY): Likewise.
37416 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
37418 * resolv/res_comp.c (__putlong): Likewise.
37419 (__putshort): Likewise.
37420 (_getlong): Likewise.
37421 (_getshort): Likewise.
37422 * resolv/res_debug.c (p_time): Likewise.
37423 (precsize_ntoa): Likewise.
37424 (precsize_aton): Likewise.
37425 (latlon2ul): Likewise.
37426 (loc_aton): Likewise.
37427 (loc_ntoa): Likewise.
37428 * resolv/res_hconf.c (struct netaddr): Likewise.
37429 (_res_hconf_reorder_addrs): Likewise.
37430 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
37431 (clnttcp_control): Likewise.
37432 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37433 (clntudp_control): Likewise.
37434 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
37435 (clntunix_control): Likewise.
37436 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
37437 * sunrpc/rpc/auth.h (union des_block): Likewise.
37438 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
37439 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
37440 (xdrrec_create): Likewise.
37441 (xdrrec_endofrecord): Likewise.
37442 (flush_out): Likewise.
37443 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
37444 (xdrstdio_putlong): Likewise.
37445 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
37448 * misc/sys/cdefs.h (__long_double_t): Remove.
37449 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
37450 instead of __long_double_t,
37451 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
37453 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
37455 * benchtests/scripts/compare_strings.py: Avoid display error when
37456 running on a text terminal.
37458 * benchtests/scripts/compare_strings.py (main): Add an
37459 optional -base option.
37460 (process_results): New argument base_func.
37462 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
37464 * benchtests/bench-memcpy-large.c (test_name): Likewise.
37465 * benchtests/bench-memcpy-random.c (test_name): Likewise.
37467 2017-08-07 Andreas Schwab <schwab@suse.de>
37469 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
37470 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
37471 * intl/Makefile ($(objpfx)tst-gettext.out)
37472 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
37473 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
37474 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
37475 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
37476 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
37477 * posix/Makefile ($(objpfx)globtest.out)
37478 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
37479 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
37480 ($(objpfx)tst-printf.out): Likewise.
37481 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
37482 ($(objpfx)tst-setcontext3.out): Likewise.
37484 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
37486 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37487 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
37488 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
37489 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
37490 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
37492 (CFLAGS-doasin-fma.c): New.
37493 (CFLAGS-dosincos-fma.c): Likewise.
37494 (CFLAGS-e_asin-fma.c): Likewise.
37495 (CFLAGS-e_atan2-fma.c): Likewise.
37496 (CFLAGS-e_exp-fma.c): Likewise.
37497 (CFLAGS-e_log-fma.c): Likewise.
37498 (CFLAGS-e_pow-fma.c): Likewise.
37499 (CFLAGS-halfulp-fma.c): Likewise.
37500 (CFLAGS-mpa-fma.c): Likewise.
37501 (CFLAGS-mpatan-fma.c): Likewise.
37502 (CFLAGS-mpatan2-fma.c): Likewise.
37503 (CFLAGS-mpexp-fma.c): Likewise.
37504 (CFLAGS-mplog-fma.c): Likewise.
37505 (CFLAGS-mpsqrt-fma.c): Likewise.
37506 (CFLAGS-mptan-fma.c): Likewise.
37507 (CFLAGS-s_atan-fma.c): Likewise.
37508 (CFLAGS-sincos32-fma.c): Likewise.
37509 (CFLAGS-slowexp-fma.c): Likewise.
37510 (CFLAGS-slowpow-fma.c): Likewise.
37511 (CFLAGS-s_sin-fma.c): Likewise.
37512 (CFLAGS-s_tan-fma.c): Likewise.
37513 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
37514 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
37515 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
37516 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
37517 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
37518 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
37519 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
37520 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
37521 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
37522 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
37523 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
37524 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
37525 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
37526 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
37527 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
37528 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
37529 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
37530 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
37531 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
37532 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
37533 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
37534 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
37535 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
37536 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
37537 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37539 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37540 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
37541 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37542 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37543 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37545 2017-08-04 Joseph Myers <joseph@codesourcery.com>
37547 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
37548 (min_of_type_f): New macro.
37549 (min_of_type_): Likewise.
37550 (min_of_type_l): Likewise.
37551 (min_of_type_f128): Likewise.
37552 (min_of_type): Define using __MATH_TG and taking an expression
37554 (math_check_force_underflow): Pass expression instead of type to
37556 (math_check_force_underflow_nonneg): Likewise.
37558 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37560 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
37561 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
37562 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
37564 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37567 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
37568 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
37569 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
37570 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
37571 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
37572 memcpy_chk-nonshared, mempcpy_chk-nonshared,
37573 memmove_chk-nonshared and memset_chk-nonshared
37574 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
37575 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
37576 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
37577 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
37578 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
37579 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
37580 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
37581 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
37582 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
37583 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
37584 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
37585 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
37586 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
37587 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
37588 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
37589 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
37590 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
37591 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
37592 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
37593 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
37594 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
37595 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
37596 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
37597 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
37598 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
37599 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
37600 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
37601 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
37602 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
37603 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
37604 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
37605 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
37606 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
37607 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37608 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
37609 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
37610 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
37611 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
37612 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
37613 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
37614 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
37615 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
37616 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
37617 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
37618 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
37619 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
37620 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
37621 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
37622 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
37623 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
37624 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
37625 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
37626 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
37627 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
37628 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
37629 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
37630 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
37631 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
37632 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
37633 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
37634 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
37635 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
37636 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
37637 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
37638 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
37639 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
37640 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
37641 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
37642 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
37643 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
37644 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
37645 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37646 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37647 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37648 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37649 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37650 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37651 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37652 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37653 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37654 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37655 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37656 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37657 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37658 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37659 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37660 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37661 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37662 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37663 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37664 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37665 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37666 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37667 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37668 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37669 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37670 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37671 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37672 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37673 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37674 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37675 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37676 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37677 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37678 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37679 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37680 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37681 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37683 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37685 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
37686 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
37687 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
37688 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
37689 svml_d_log2_core-sse2, svml_d_log4_core-sse,
37690 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
37691 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
37692 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
37693 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
37694 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
37695 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
37696 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
37697 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
37698 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
37699 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
37700 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
37701 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
37702 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
37703 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
37704 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
37705 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
37706 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
37707 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
37708 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
37709 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
37711 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
37712 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
37713 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
37714 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
37715 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
37716 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
37717 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
37718 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
37719 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
37720 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
37721 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
37722 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
37723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
37724 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
37725 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
37726 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
37727 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
37728 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
37729 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
37730 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
37731 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
37732 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
37733 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
37734 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
37735 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
37736 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
37737 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
37738 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
37739 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
37740 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
37741 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
37742 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
37743 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
37745 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
37746 Don't include <sysdep.h> nor <init-arch.h>.
37747 (_ZGVbN2v_cos): Removed.
37748 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
37750 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
37751 Don't include <sysdep.h> nor <init-arch.h>.
37752 (_ZGVdN4v_cos): Removed.
37753 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
37755 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
37756 Don't include <sysdep.h> nor <init-arch.h>.
37757 (_ZGVeN8v_cos): Removed.
37758 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
37760 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
37761 Don't include <sysdep.h> nor <init-arch.h>.
37762 (_ZGVbN2v_exp): Removed.
37763 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
37765 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
37766 Don't include <sysdep.h> nor <init-arch.h>.
37767 (_ZGVdN4v_exp): Removed.
37768 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
37770 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
37771 Don't include <sysdep.h> nor <init-arch.h>.
37772 (_ZGVeN8v_exp): Removed.
37773 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
37775 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
37776 Don't include <sysdep.h> nor <init-arch.h>.
37777 (_ZGVbN2v_log): Removed.
37778 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
37780 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
37781 Don't include <sysdep.h> nor <init-arch.h>.
37782 (_ZGVdN4v_log): Removed.
37783 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
37785 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
37786 Don't include <sysdep.h> nor <init-arch.h>.
37787 (_ZGVeN8v_log): Removed.
37788 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
37790 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
37791 Don't include <sysdep.h> nor <init-arch.h>.
37792 (_ZGVbN2vv_pow): Removed.
37793 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
37795 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
37796 Don't include <sysdep.h> nor <init-arch.h>.
37797 (_ZGVdN4vv_pow): Removed.
37798 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
37800 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
37801 Don't include <sysdep.h> nor <init-arch.h>.
37802 (_ZGVeN8vv_pow): Removed.
37803 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
37805 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
37806 Don't include <sysdep.h> nor <init-arch.h>.
37807 (_ZGVbN2v_sin): Removed.
37808 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
37810 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
37811 Don't include <sysdep.h> nor <init-arch.h>.
37812 (_ZGVbN4v_sin): Removed.
37813 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
37815 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
37816 Don't include <sysdep.h> nor <init-arch.h>.
37817 (_ZGVbN8v_sin): Removed.
37818 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
37820 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
37821 Don't include <sysdep.h> nor <init-arch.h>.
37822 (_ZGVbN2vvv_sincos): Removed.
37823 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
37825 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
37826 Don't include <sysdep.h> nor <init-arch.h>.
37827 (_ZGVdN4vvv_sincos): Removed.
37828 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
37830 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
37831 Don't include <sysdep.h> nor <init-arch.h>.
37832 (_ZGVeN8vvv_sincos): Removed.
37833 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
37835 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
37836 Don't include <sysdep.h> nor <init-arch.h>.
37837 (_ZGVeN16v_cosf): Removed.
37838 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
37840 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
37841 Don't include <sysdep.h> nor <init-arch.h>.
37842 (_ZGVbN4v_cosf): Removed.
37843 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
37845 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
37846 Don't include <sysdep.h> nor <init-arch.h>.
37847 (_ZGVdN8v_cosf): Removed.
37848 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
37850 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
37851 Don't include <sysdep.h> nor <init-arch.h>.
37852 (_ZGVeN16v_expf): Removed.
37853 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
37855 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
37856 Don't include <sysdep.h> nor <init-arch.h>.
37857 (_ZGVbN4v_expf): Removed.
37858 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
37860 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
37861 Don't include <sysdep.h> nor <init-arch.h>.
37862 (_ZGVdN8v_expf): Removed.
37863 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
37865 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
37866 Don't include <sysdep.h> nor <init-arch.h>.
37867 (_ZGVeN16v_logf): Removed.
37868 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
37870 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
37871 Don't include <sysdep.h> nor <init-arch.h>.
37872 (_ZGVbN4v_logf): Removed.
37873 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
37875 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
37876 Don't include <sysdep.h> nor <init-arch.h>.
37877 (_ZGVdN8v_logf): Removed.
37878 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
37880 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
37881 Don't include <sysdep.h> nor <init-arch.h>.
37882 (_ZGVeN16vv_powf): Removed.
37883 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
37885 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
37886 Don't include <sysdep.h> nor <init-arch.h>.
37887 (_ZGVbN4vv_powf): Removed.
37888 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
37890 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
37891 Don't include <sysdep.h> nor <init-arch.h>.
37892 (_ZGVdN8vv_powf): Removed.
37893 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
37895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
37896 Don't include <sysdep.h> nor <init-arch.h>.
37897 (_ZGVeN16vvv_sincosf): Removed.
37898 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
37900 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
37901 Don't include <sysdep.h> nor <init-arch.h>.
37902 (_ZGVbN4vvv_sincosf): Removed.
37903 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
37905 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
37906 Don't include <sysdep.h> nor <init-arch.h>.
37907 (_ZGVdN8vvv_sincosf): Removed.
37908 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
37910 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
37911 Don't include <sysdep.h> nor <init-arch.h>.
37912 (_ZGVeN16v_sinf): Removed.
37913 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
37915 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
37916 Don't include <sysdep.h> nor <init-arch.h>.
37917 (_ZGVbN4v_sinf): Removed.
37918 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
37920 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
37921 Don't include <sysdep.h> nor <init-arch.h>.
37922 (_ZGVdN8v_sinf): Removed.
37924 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37926 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37927 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
37928 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
37929 s_rint-sse4_1 and s_rintf-sse4_1.
37930 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
37931 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
37932 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
37933 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
37934 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
37935 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
37936 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
37937 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
37938 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
37939 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
37940 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
37941 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37943 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
37944 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
37945 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37946 (__ceilf): Removed.
37947 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
37948 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
37949 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37950 (__floor): Removed.
37951 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
37952 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
37953 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37954 (__floorf): Removed.
37955 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
37956 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
37957 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37958 (__nearbyint): Removed.
37959 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
37960 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
37961 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37962 (__nearbyintf): Removed.
37963 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
37964 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
37965 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37967 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
37968 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
37969 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
37970 (__rintf): Removed.
37972 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37974 * sysdeps/i386/start.S (_start): Check Check PIC instead of
37975 SHARED. Avoid dynamic relocation against main in static PIE.
37977 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37980 * elf/Makefile (CFLAGS-tst-prelink.c): New.
37981 (LDFLAGS-tst-prelink): Likewise.
37983 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37985 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
37986 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
37987 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
37988 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
37989 (INTERNAL_SYSCALL_NCS): Likewise.
37990 (LOADARGS_1): Likewise.
37991 (LOADARGS_5): Likewise.
37992 (RESTOREARGS_1): Likewise.
37993 (RESTOREARGS_5): Likewise.
37995 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
37997 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
37998 (MEMPCPY_SYMBOL): Likewise.
37999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38000 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
38001 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
38003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38004 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
38006 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
38007 (__hidden_ver1): Don't use in libc.a.
38008 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
38009 (__mempcpy): Don't create a weak alias in libc.a.
38010 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
38012 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
38013 (__hidden_ver1): Don't use in libc.a.
38015 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38017 * config.make.in (have-insert): New.
38018 * configure.ac (libc_cv_insert): New. Set to yes if linker
38019 supports INSERT in linker script.
38020 (AC_SUBST(libc_cv_insert): New.
38021 * configure: Regenerated.
38022 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
38023 if $(have-insert) == yes.
38025 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38027 * elf/Makefile (tests): Add vismain only if
38028 $(have-protected-data) == yes.
38029 (tests-pie): Likewise.
38031 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38034 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
38035 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
38037 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
38040 * sysdeps/i386/i586/memset.S
38041 (__memset_zero_constant_len_parameter): Removed.
38042 * sysdeps/i386/i686/memset.S
38043 (__memset_zero_constant_len_parameter): Likewise.
38044 * sysdeps/i386/i686/multiarch/memset_chk.S
38045 (__memset_zero_constant_len_parameter): Likewise.
38046 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
38049 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38051 * stdlib/getentropy.c (getentropy): Change return type to int.
38053 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
38055 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
38057 2017-08-03 Joseph Myers <joseph@codesourcery.com>
38059 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
38061 * math/s_nexttowardf.c (__nexttowardf): Likewise.
38062 * sysdeps/generic/math_private.h (ieee_double_shape_type):
38064 (ieee_float_shape_type): Likewise.
38065 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
38066 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
38067 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38068 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38069 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
38070 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
38071 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
38072 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
38073 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
38075 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
38076 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
38077 (__ieee754_yn): Likewise.
38078 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
38079 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
38080 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
38082 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
38083 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
38084 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
38085 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
38086 (__erfc): Likewise.
38087 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
38088 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
38089 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
38090 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
38091 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
38092 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
38094 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
38095 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
38096 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
38097 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
38098 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
38099 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
38100 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
38101 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
38102 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
38103 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
38104 (__issignaling): Likewise.
38105 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
38106 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
38107 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
38109 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38110 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
38111 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
38112 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
38114 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
38116 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
38117 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
38118 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
38119 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
38120 (__erfcf): Likewise.
38121 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
38122 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
38123 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
38124 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
38126 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
38127 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
38129 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
38130 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
38131 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
38132 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
38133 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
38134 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38135 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
38136 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
38138 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
38140 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
38142 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
38143 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
38145 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38147 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
38148 (__ieee754_ynl): Likewise.
38149 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
38150 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
38152 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
38154 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
38155 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
38156 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38158 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
38159 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
38160 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
38161 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
38162 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
38163 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
38164 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
38165 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
38167 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
38168 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
38169 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
38171 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
38172 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
38173 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
38174 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
38175 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
38176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
38178 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38182 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38184 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
38185 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38186 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38187 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
38188 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
38189 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
38190 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
38192 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38195 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38197 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
38198 (__ieee754_remainderl): Likewise.
38199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38200 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38201 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38202 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38204 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38205 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38207 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38208 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
38209 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
38210 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
38211 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38212 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
38214 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
38215 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
38216 (__ieee754_y0l): Likewise.
38219 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38220 (__ieee754_y1l): Likewise.
38223 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
38224 (__ieee754_ynl): Likewise.
38225 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
38226 (__ieee754_lgammal_r): Likewise.
38227 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
38229 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
38230 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
38231 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
38232 (__erfcl): Likewise.
38233 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
38234 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
38236 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
38237 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
38238 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
38239 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
38240 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
38241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38244 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
38245 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38246 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
38247 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
38248 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38250 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
38251 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
38253 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
38254 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
38255 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
38256 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38257 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
38259 2017-08-03 Florian Weimer <fweimer@redhat.com>
38262 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
38263 on memory allocation failure.
38265 2017-08-03 Alan Modra <amodra@gmail.com>
38267 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
38268 tst-tlsopt-powerpc.c with function name change and no test harness.
38269 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
38270 Call tls_get_addr_opt_test.
38271 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
38272 (modules-names): Add mod-tlsopt-powerpc.
38273 (mod-tlsopt-powerpc.so-no-z-defs): Define.
38274 (tst-tlsopt-powerpc): Depend on .so.
38275 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
38276 define. Expand use in TLS_GD and TLS_LD.
38278 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
38280 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
38282 * sysdeps/posix/shm_open.c: Include <pthread.h>.
38284 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38287 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
38288 comparing size with that of double.
38289 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38290 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38291 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38292 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38293 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38294 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
38295 unsigned __int128 types.
38297 2017-08-02 Steve Ellcey <sellcey@cavium.com>
38299 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
38300 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
38301 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
38302 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
38303 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
38305 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38307 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
38309 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38311 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
38313 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38314 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38315 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38316 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38317 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38318 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38319 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38321 2017-08-02 Joseph Myers <joseph@codesourcery.com>
38324 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
38325 bit-field expressions passed to sizeof or typeof.
38326 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38327 (__TGMATH_F128): Likewise.
38328 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
38329 (__TGMATH_CF128): Likewise.
38330 (__TGMATH_UNARY_REAL_ONLY): Likewise.
38331 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
38332 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
38333 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
38334 (__TGMATH_BINARY_REAL_ONLY): Likewise.
38335 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
38336 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
38337 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
38338 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
38339 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
38340 (__TGMATH_UNARY_REAL_IMAG): Likewise.
38341 (__TGMATH_UNARY_IMAG): Likewise.
38342 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
38343 (__TGMATH_BINARY_REAL_IMAG): Likewise.
38344 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
38346 (define_vars_for_type): Handle bit_field type specially.
38347 (Tests.__init__): Declare structure with bit-field element.
38349 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
38352 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
38353 (MEMCPY_CHK): Define only if SHARED is defined.
38354 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
38356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
38359 See ChangeLog.18 for earlier changes.